@objectstack/platform-objects 7.4.1 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -221,7 +221,7 @@ declare const SysMetadataObject: Omit<{
221
221
  description?: string | undefined;
222
222
  icon?: string | undefined;
223
223
  tags?: string[] | undefined;
224
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
224
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
225
225
  userActions?: {
226
226
  create?: boolean | undefined;
227
227
  import?: boolean | undefined;
@@ -352,14 +352,14 @@ declare const SysMetadataObject: Omit<{
352
352
  provider: "api";
353
353
  read?: {
354
354
  url: string;
355
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
355
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
356
356
  headers?: Record<string, string> | undefined;
357
357
  params?: Record<string, unknown> | undefined;
358
358
  body?: unknown;
359
359
  } | undefined;
360
360
  write?: {
361
361
  url: string;
362
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
362
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
363
363
  headers?: Record<string, string> | undefined;
364
364
  params?: Record<string, unknown> | undefined;
365
365
  body?: unknown;
@@ -5090,7 +5090,7 @@ declare const SysMetadataHistoryObject: Omit<{
5090
5090
  description?: string | undefined;
5091
5091
  icon?: string | undefined;
5092
5092
  tags?: string[] | undefined;
5093
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
5093
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
5094
5094
  userActions?: {
5095
5095
  create?: boolean | undefined;
5096
5096
  import?: boolean | undefined;
@@ -5221,14 +5221,14 @@ declare const SysMetadataHistoryObject: Omit<{
5221
5221
  provider: "api";
5222
5222
  read?: {
5223
5223
  url: string;
5224
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5224
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5225
5225
  headers?: Record<string, string> | undefined;
5226
5226
  params?: Record<string, unknown> | undefined;
5227
5227
  body?: unknown;
5228
5228
  } | undefined;
5229
5229
  write?: {
5230
5230
  url: string;
5231
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5231
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5232
5232
  headers?: Record<string, string> | undefined;
5233
5233
  params?: Record<string, unknown> | undefined;
5234
5234
  body?: unknown;
@@ -8304,7 +8304,7 @@ declare const SysMetadataAuditObject: Omit<{
8304
8304
  description?: string | undefined;
8305
8305
  icon?: string | undefined;
8306
8306
  tags?: string[] | undefined;
8307
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
8307
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
8308
8308
  userActions?: {
8309
8309
  create?: boolean | undefined;
8310
8310
  import?: boolean | undefined;
@@ -8435,14 +8435,14 @@ declare const SysMetadataAuditObject: Omit<{
8435
8435
  provider: "api";
8436
8436
  read?: {
8437
8437
  url: string;
8438
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
8438
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
8439
8439
  headers?: Record<string, string> | undefined;
8440
8440
  params?: Record<string, unknown> | undefined;
8441
8441
  body?: unknown;
8442
8442
  } | undefined;
8443
8443
  write?: {
8444
8444
  url: string;
8445
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
8445
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
8446
8446
  headers?: Record<string, string> | undefined;
8447
8447
  params?: Record<string, unknown> | undefined;
8448
8448
  body?: unknown;
@@ -11510,7 +11510,7 @@ declare const SysViewDefinitionObject: Omit<{
11510
11510
  description?: string | undefined;
11511
11511
  icon?: string | undefined;
11512
11512
  tags?: string[] | undefined;
11513
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
11513
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
11514
11514
  userActions?: {
11515
11515
  create?: boolean | undefined;
11516
11516
  import?: boolean | undefined;
@@ -11641,14 +11641,14 @@ declare const SysViewDefinitionObject: Omit<{
11641
11641
  provider: "api";
11642
11642
  read?: {
11643
11643
  url: string;
11644
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
11644
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
11645
11645
  headers?: Record<string, string> | undefined;
11646
11646
  params?: Record<string, unknown> | undefined;
11647
11647
  body?: unknown;
11648
11648
  } | undefined;
11649
11649
  write?: {
11650
11650
  url: string;
11651
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
11651
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
11652
11652
  headers?: Record<string, string> | undefined;
11653
11653
  params?: Record<string, unknown> | undefined;
11654
11654
  body?: unknown;
@@ -221,7 +221,7 @@ declare const SysMetadataObject: Omit<{
221
221
  description?: string | undefined;
222
222
  icon?: string | undefined;
223
223
  tags?: string[] | undefined;
224
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
224
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
225
225
  userActions?: {
226
226
  create?: boolean | undefined;
227
227
  import?: boolean | undefined;
@@ -352,14 +352,14 @@ declare const SysMetadataObject: Omit<{
352
352
  provider: "api";
353
353
  read?: {
354
354
  url: string;
355
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
355
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
356
356
  headers?: Record<string, string> | undefined;
357
357
  params?: Record<string, unknown> | undefined;
358
358
  body?: unknown;
359
359
  } | undefined;
360
360
  write?: {
361
361
  url: string;
362
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
362
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
363
363
  headers?: Record<string, string> | undefined;
364
364
  params?: Record<string, unknown> | undefined;
365
365
  body?: unknown;
@@ -5090,7 +5090,7 @@ declare const SysMetadataHistoryObject: Omit<{
5090
5090
  description?: string | undefined;
5091
5091
  icon?: string | undefined;
5092
5092
  tags?: string[] | undefined;
5093
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
5093
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
5094
5094
  userActions?: {
5095
5095
  create?: boolean | undefined;
5096
5096
  import?: boolean | undefined;
@@ -5221,14 +5221,14 @@ declare const SysMetadataHistoryObject: Omit<{
5221
5221
  provider: "api";
5222
5222
  read?: {
5223
5223
  url: string;
5224
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5224
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5225
5225
  headers?: Record<string, string> | undefined;
5226
5226
  params?: Record<string, unknown> | undefined;
5227
5227
  body?: unknown;
5228
5228
  } | undefined;
5229
5229
  write?: {
5230
5230
  url: string;
5231
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5231
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5232
5232
  headers?: Record<string, string> | undefined;
5233
5233
  params?: Record<string, unknown> | undefined;
5234
5234
  body?: unknown;
@@ -8304,7 +8304,7 @@ declare const SysMetadataAuditObject: Omit<{
8304
8304
  description?: string | undefined;
8305
8305
  icon?: string | undefined;
8306
8306
  tags?: string[] | undefined;
8307
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
8307
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
8308
8308
  userActions?: {
8309
8309
  create?: boolean | undefined;
8310
8310
  import?: boolean | undefined;
@@ -8435,14 +8435,14 @@ declare const SysMetadataAuditObject: Omit<{
8435
8435
  provider: "api";
8436
8436
  read?: {
8437
8437
  url: string;
8438
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
8438
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
8439
8439
  headers?: Record<string, string> | undefined;
8440
8440
  params?: Record<string, unknown> | undefined;
8441
8441
  body?: unknown;
8442
8442
  } | undefined;
8443
8443
  write?: {
8444
8444
  url: string;
8445
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
8445
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
8446
8446
  headers?: Record<string, string> | undefined;
8447
8447
  params?: Record<string, unknown> | undefined;
8448
8448
  body?: unknown;
@@ -11510,7 +11510,7 @@ declare const SysViewDefinitionObject: Omit<{
11510
11510
  description?: string | undefined;
11511
11511
  icon?: string | undefined;
11512
11512
  tags?: string[] | undefined;
11513
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
11513
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
11514
11514
  userActions?: {
11515
11515
  create?: boolean | undefined;
11516
11516
  import?: boolean | undefined;
@@ -11641,14 +11641,14 @@ declare const SysViewDefinitionObject: Omit<{
11641
11641
  provider: "api";
11642
11642
  read?: {
11643
11643
  url: string;
11644
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
11644
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
11645
11645
  headers?: Record<string, string> | undefined;
11646
11646
  params?: Record<string, unknown> | undefined;
11647
11647
  body?: unknown;
11648
11648
  } | undefined;
11649
11649
  write?: {
11650
11650
  url: string;
11651
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
11651
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
11652
11652
  headers?: Record<string, string> | undefined;
11653
11653
  params?: Record<string, unknown> | undefined;
11654
11654
  body?: unknown;
@@ -238,7 +238,7 @@ declare const SysSetting: Omit<{
238
238
  description?: string | undefined;
239
239
  icon?: string | undefined;
240
240
  tags?: string[] | undefined;
241
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
241
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
242
242
  userActions?: {
243
243
  create?: boolean | undefined;
244
244
  import?: boolean | undefined;
@@ -369,14 +369,14 @@ declare const SysSetting: Omit<{
369
369
  provider: "api";
370
370
  read?: {
371
371
  url: string;
372
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
372
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
373
373
  headers?: Record<string, string> | undefined;
374
374
  params?: Record<string, unknown> | undefined;
375
375
  body?: unknown;
376
376
  } | undefined;
377
377
  write?: {
378
378
  url: string;
379
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
379
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
380
380
  headers?: Record<string, string> | undefined;
381
381
  params?: Record<string, unknown> | undefined;
382
382
  body?: unknown;
@@ -3348,7 +3348,7 @@ declare const SysSecret: Omit<{
3348
3348
  description?: string | undefined;
3349
3349
  icon?: string | undefined;
3350
3350
  tags?: string[] | undefined;
3351
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3351
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
3352
3352
  userActions?: {
3353
3353
  create?: boolean | undefined;
3354
3354
  import?: boolean | undefined;
@@ -3479,14 +3479,14 @@ declare const SysSecret: Omit<{
3479
3479
  provider: "api";
3480
3480
  read?: {
3481
3481
  url: string;
3482
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3482
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
3483
3483
  headers?: Record<string, string> | undefined;
3484
3484
  params?: Record<string, unknown> | undefined;
3485
3485
  body?: unknown;
3486
3486
  } | undefined;
3487
3487
  write?: {
3488
3488
  url: string;
3489
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3489
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
3490
3490
  headers?: Record<string, string> | undefined;
3491
3491
  params?: Record<string, unknown> | undefined;
3492
3492
  body?: unknown;
@@ -5669,7 +5669,7 @@ declare const SysSettingAudit: Omit<{
5669
5669
  description?: string | undefined;
5670
5670
  icon?: string | undefined;
5671
5671
  tags?: string[] | undefined;
5672
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
5672
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
5673
5673
  userActions?: {
5674
5674
  create?: boolean | undefined;
5675
5675
  import?: boolean | undefined;
@@ -5800,14 +5800,14 @@ declare const SysSettingAudit: Omit<{
5800
5800
  provider: "api";
5801
5801
  read?: {
5802
5802
  url: string;
5803
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5803
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5804
5804
  headers?: Record<string, string> | undefined;
5805
5805
  params?: Record<string, unknown> | undefined;
5806
5806
  body?: unknown;
5807
5807
  } | undefined;
5808
5808
  write?: {
5809
5809
  url: string;
5810
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5810
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5811
5811
  headers?: Record<string, string> | undefined;
5812
5812
  params?: Record<string, unknown> | undefined;
5813
5813
  body?: unknown;
@@ -238,7 +238,7 @@ declare const SysSetting: Omit<{
238
238
  description?: string | undefined;
239
239
  icon?: string | undefined;
240
240
  tags?: string[] | undefined;
241
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
241
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
242
242
  userActions?: {
243
243
  create?: boolean | undefined;
244
244
  import?: boolean | undefined;
@@ -369,14 +369,14 @@ declare const SysSetting: Omit<{
369
369
  provider: "api";
370
370
  read?: {
371
371
  url: string;
372
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
372
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
373
373
  headers?: Record<string, string> | undefined;
374
374
  params?: Record<string, unknown> | undefined;
375
375
  body?: unknown;
376
376
  } | undefined;
377
377
  write?: {
378
378
  url: string;
379
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
379
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
380
380
  headers?: Record<string, string> | undefined;
381
381
  params?: Record<string, unknown> | undefined;
382
382
  body?: unknown;
@@ -3348,7 +3348,7 @@ declare const SysSecret: Omit<{
3348
3348
  description?: string | undefined;
3349
3349
  icon?: string | undefined;
3350
3350
  tags?: string[] | undefined;
3351
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
3351
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
3352
3352
  userActions?: {
3353
3353
  create?: boolean | undefined;
3354
3354
  import?: boolean | undefined;
@@ -3479,14 +3479,14 @@ declare const SysSecret: Omit<{
3479
3479
  provider: "api";
3480
3480
  read?: {
3481
3481
  url: string;
3482
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3482
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
3483
3483
  headers?: Record<string, string> | undefined;
3484
3484
  params?: Record<string, unknown> | undefined;
3485
3485
  body?: unknown;
3486
3486
  } | undefined;
3487
3487
  write?: {
3488
3488
  url: string;
3489
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
3489
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
3490
3490
  headers?: Record<string, string> | undefined;
3491
3491
  params?: Record<string, unknown> | undefined;
3492
3492
  body?: unknown;
@@ -5669,7 +5669,7 @@ declare const SysSettingAudit: Omit<{
5669
5669
  description?: string | undefined;
5670
5670
  icon?: string | undefined;
5671
5671
  tags?: string[] | undefined;
5672
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
5672
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
5673
5673
  userActions?: {
5674
5674
  create?: boolean | undefined;
5675
5675
  import?: boolean | undefined;
@@ -5800,14 +5800,14 @@ declare const SysSettingAudit: Omit<{
5800
5800
  provider: "api";
5801
5801
  read?: {
5802
5802
  url: string;
5803
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5803
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5804
5804
  headers?: Record<string, string> | undefined;
5805
5805
  params?: Record<string, unknown> | undefined;
5806
5806
  body?: unknown;
5807
5807
  } | undefined;
5808
5808
  write?: {
5809
5809
  url: string;
5810
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
5810
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
5811
5811
  headers?: Record<string, string> | undefined;
5812
5812
  params?: Record<string, unknown> | undefined;
5813
5813
  body?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/platform-objects",
3
- "version": "7.4.1",
3
+ "version": "7.6.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Core platform object schemas for ObjectStack — identity, security, audit, tenant, and metadata objects",
6
6
  "main": "dist/index.js",
@@ -63,13 +63,13 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@objectstack/spec": "7.4.1"
66
+ "@objectstack/spec": "7.6.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/node": "^25.9.1",
70
70
  "tsup": "^8.5.1",
71
71
  "typescript": "^6.0.3",
72
- "vitest": "^4.1.7"
72
+ "vitest": "^4.1.8"
73
73
  },
74
74
  "keywords": [
75
75
  "objectstack",