Implement metadata versioning, history tracking, and rollback capabilities #3572
Annotations
11 errors
|
Build Core
Process completed with exit code 1.
|
|
Build Core
Argument of type '{ limit: number; }' is not assignable to parameter of type '{ includeMetadata: boolean; limit?: number | undefined; offset?: number | undefined; since?: string | undefined; until?: string | undefined; operationType?: "create" | "update" | "delete" | "publish" | "revert" | undefined; }'.
|
|
Build Core
Argument of type '{ limit: number; }' is not assignable to parameter of type '{ includeMetadata: boolean; limit?: number | undefined; offset?: number | undefined; since?: string | undefined; until?: string | undefined; operationType?: "create" | "update" | "delete" | "publish" | "revert" | undefined; }'.
|
|
Build Core
Object literal may only specify known properties, and 'recorded_at' does not exist in type '{ field: string; order: "asc" | "desc"; }[]'.
|
|
Build Core
'calculateChecksum' is declared but its value is never read.
|
|
Test Core
Process completed with exit code 1.
|
|
Test Core
@objectstack/plugin-security#test: command (/home/runner/work/framework/framework/packages/plugins/plugin-security) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
src/security-plugin.test.ts > SecurityPlugin > should register middleware when objectql supports it:
packages/plugins/plugin-security/src/security-plugin.ts#L42
TypeError: ctx.getService(...).register is not a function
❯ SecurityPlugin.init src/security-plugin.ts:42:60
❯ src/security-plugin.test.ts:67:18
|
|
src/security-plugin.test.ts > SecurityPlugin > should warn when objectql does not support middleware:
packages/plugins/plugin-security/src/security-plugin.ts#L42
TypeError: ctx.getService(...).register is not a function
❯ SecurityPlugin.init src/security-plugin.ts:42:60
❯ src/security-plugin.test.ts:54:18
|
|
src/security-plugin.test.ts > SecurityPlugin > should warn and return when objectql service is missing:
packages/plugins/plugin-security/src/security-plugin.test.ts#L40
Error: not found
❯ Object.<anonymous> src/security-plugin.test.ts:40:60
❯ SecurityPlugin.init src/security-plugin.ts:42:9
❯ src/security-plugin.test.ts:42:18
|
|
src/security-plugin.test.ts > SecurityPlugin > should register services during init:
packages/plugins/plugin-security/src/security-plugin.ts#L42
TypeError: Cannot read properties of undefined (reading 'register')
❯ SecurityPlugin.init src/security-plugin.ts:42:59
❯ src/security-plugin.test.ts:29:18
|