Compare commits

..

2 Commits

Author SHA1 Message Date
71b58d5099 1.3.5 2026-06-09 03:13:42 +02:00
3d6c5e2a52 Preserving database meta fields in profile interpolation. 2026-06-09 03:13:36 +02:00
3 changed files with 4 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ function mergeMainProfile(profile, mainProfile) {
export async function interpolateProfiles(actorIdsOrNames, context, options = {}) {
const profiles = await fetchProfiles(actorIdsOrNames, context);
const columns = await context.knex.table('actors').columnInfo().then((table) => Object.keys(table));
const preservedKeys = ['id', 'name', 'slug', 'entity_id', 'entry_id'];
const preservedKeys = ['id', 'name', 'slug', 'entity_id', 'entry_id', 'alias_for', 'created_at', 'batch_id', 'updated_at', 'comment'];
const profilesByActorId = profiles.reduce((acc, profile) => ({
...acc,

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "traxxx-utils",
"version": "1.3.4",
"version": "1.3.5",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx-utils",
"version": "1.3.4",
"version": "1.3.5",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.25.7",

View File

@@ -1,6 +1,6 @@
{
"name": "traxxx-common",
"version": "1.3.4",
"version": "1.3.5",
"description": "Common utilities for traxxx core and web.",
"main": "src/app.js",
"scripts": {