diff --git a/src/db/models/new/embed/index.ts b/src/db/models/new/embed/index.ts index 1fc6e38f..4d205b42 100644 --- a/src/db/models/new/embed/index.ts +++ b/src/db/models/new/embed/index.ts @@ -7,6 +7,8 @@ export const EmbedModelColumn = { EntryId: 'entryId', DepsIds: 'depsIds', UnsignedParams: 'unsignedParams', + PrivateParams: 'privateParams', + PublicParamsMode: 'publicParamsMode', CreatedBy: 'createdBy', CreatedAt: 'createdAt', } as const; @@ -26,6 +28,8 @@ export class EmbedModel extends Model { [EmbedModelColumn.EntryId]!: string; [EmbedModelColumn.DepsIds]!: string[]; [EmbedModelColumn.UnsignedParams]!: string[]; + [EmbedModelColumn.PrivateParams]!: string[]; + [EmbedModelColumn.PublicParamsMode]!: boolean; [EmbedModelColumn.CreatedBy]!: string; [EmbedModelColumn.CreatedAt]!: string; } diff --git a/src/db/presentations/joined-embed-embedding-secret/index.ts b/src/db/presentations/joined-embed-embedding-secret/index.ts index b27fd4fe..d670633b 100644 --- a/src/db/presentations/joined-embed-embedding-secret/index.ts +++ b/src/db/presentations/joined-embed-embedding-secret/index.ts @@ -10,6 +10,8 @@ const selectedEmbedColumns = [ EmbedModelColumn.EntryId, EmbedModelColumn.DepsIds, EmbedModelColumn.UnsignedParams, + EmbedModelColumn.PrivateParams, + EmbedModelColumn.PublicParamsMode, EmbedModelColumn.CreatedBy, EmbedModelColumn.CreatedAt, ] as const;