@objectstack/metadata-core 9.9.1 → 9.11.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.
package/dist/index.d.cts CHANGED
@@ -702,6 +702,29 @@ declare const SysMetadataObject: Omit<{
702
702
  titleField: string;
703
703
  progressField?: string | undefined;
704
704
  dependenciesField?: string | undefined;
705
+ colorField?: string | undefined;
706
+ parentField?: string | undefined;
707
+ typeField?: string | undefined;
708
+ baselineStartField?: string | undefined;
709
+ baselineEndField?: string | undefined;
710
+ groupByField?: string | undefined;
711
+ resourceView?: boolean | undefined;
712
+ assigneeField?: string | undefined;
713
+ effortField?: string | undefined;
714
+ capacity?: number | undefined;
715
+ tooltipFields?: (string | {
716
+ field: string;
717
+ label?: string | undefined;
718
+ })[] | undefined;
719
+ quickFilters?: {
720
+ field: string;
721
+ label?: string | undefined;
722
+ options?: (string | {
723
+ value: string | number;
724
+ label?: string | undefined;
725
+ })[] | undefined;
726
+ }[] | undefined;
727
+ autoZoomToFilter?: boolean | undefined;
705
728
  } | undefined;
706
729
  gallery?: {
707
730
  coverFit: "cover" | "contain";
@@ -865,7 +888,7 @@ declare const SysMetadataObject: Omit<{
865
888
  clone: boolean;
866
889
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
867
890
  } | undefined;
868
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
891
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
869
892
  publicSharing?: {
870
893
  enabled: boolean;
871
894
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -897,7 +920,7 @@ declare const SysMetadataObject: Omit<{
897
920
  } | {
898
921
  language: "js";
899
922
  source: string;
900
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
923
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
901
924
  timeoutMs?: number | undefined;
902
925
  memoryMb?: number | undefined;
903
926
  } | undefined;
@@ -5160,6 +5183,29 @@ declare const SysMetadataHistoryObject: Omit<{
5160
5183
  titleField: string;
5161
5184
  progressField?: string | undefined;
5162
5185
  dependenciesField?: string | undefined;
5186
+ colorField?: string | undefined;
5187
+ parentField?: string | undefined;
5188
+ typeField?: string | undefined;
5189
+ baselineStartField?: string | undefined;
5190
+ baselineEndField?: string | undefined;
5191
+ groupByField?: string | undefined;
5192
+ resourceView?: boolean | undefined;
5193
+ assigneeField?: string | undefined;
5194
+ effortField?: string | undefined;
5195
+ capacity?: number | undefined;
5196
+ tooltipFields?: (string | {
5197
+ field: string;
5198
+ label?: string | undefined;
5199
+ })[] | undefined;
5200
+ quickFilters?: {
5201
+ field: string;
5202
+ label?: string | undefined;
5203
+ options?: (string | {
5204
+ value: string | number;
5205
+ label?: string | undefined;
5206
+ })[] | undefined;
5207
+ }[] | undefined;
5208
+ autoZoomToFilter?: boolean | undefined;
5163
5209
  } | undefined;
5164
5210
  gallery?: {
5165
5211
  coverFit: "cover" | "contain";
@@ -5323,7 +5369,7 @@ declare const SysMetadataHistoryObject: Omit<{
5323
5369
  clone: boolean;
5324
5370
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
5325
5371
  } | undefined;
5326
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
5372
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5327
5373
  publicSharing?: {
5328
5374
  enabled: boolean;
5329
5375
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -5355,7 +5401,7 @@ declare const SysMetadataHistoryObject: Omit<{
5355
5401
  } | {
5356
5402
  language: "js";
5357
5403
  source: string;
5358
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
5404
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
5359
5405
  timeoutMs?: number | undefined;
5360
5406
  memoryMb?: number | undefined;
5361
5407
  } | undefined;
@@ -8143,6 +8189,29 @@ declare const SysMetadataAuditObject: Omit<{
8143
8189
  titleField: string;
8144
8190
  progressField?: string | undefined;
8145
8191
  dependenciesField?: string | undefined;
8192
+ colorField?: string | undefined;
8193
+ parentField?: string | undefined;
8194
+ typeField?: string | undefined;
8195
+ baselineStartField?: string | undefined;
8196
+ baselineEndField?: string | undefined;
8197
+ groupByField?: string | undefined;
8198
+ resourceView?: boolean | undefined;
8199
+ assigneeField?: string | undefined;
8200
+ effortField?: string | undefined;
8201
+ capacity?: number | undefined;
8202
+ tooltipFields?: (string | {
8203
+ field: string;
8204
+ label?: string | undefined;
8205
+ })[] | undefined;
8206
+ quickFilters?: {
8207
+ field: string;
8208
+ label?: string | undefined;
8209
+ options?: (string | {
8210
+ value: string | number;
8211
+ label?: string | undefined;
8212
+ })[] | undefined;
8213
+ }[] | undefined;
8214
+ autoZoomToFilter?: boolean | undefined;
8146
8215
  } | undefined;
8147
8216
  gallery?: {
8148
8217
  coverFit: "cover" | "contain";
@@ -8306,7 +8375,7 @@ declare const SysMetadataAuditObject: Omit<{
8306
8375
  clone: boolean;
8307
8376
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
8308
8377
  } | undefined;
8309
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
8378
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
8310
8379
  publicSharing?: {
8311
8380
  enabled: boolean;
8312
8381
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -8338,7 +8407,7 @@ declare const SysMetadataAuditObject: Omit<{
8338
8407
  } | {
8339
8408
  language: "js";
8340
8409
  source: string;
8341
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
8410
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
8342
8411
  timeoutMs?: number | undefined;
8343
8412
  memoryMb?: number | undefined;
8344
8413
  } | undefined;
@@ -11118,6 +11187,29 @@ declare const SysViewDefinitionObject: Omit<{
11118
11187
  titleField: string;
11119
11188
  progressField?: string | undefined;
11120
11189
  dependenciesField?: string | undefined;
11190
+ colorField?: string | undefined;
11191
+ parentField?: string | undefined;
11192
+ typeField?: string | undefined;
11193
+ baselineStartField?: string | undefined;
11194
+ baselineEndField?: string | undefined;
11195
+ groupByField?: string | undefined;
11196
+ resourceView?: boolean | undefined;
11197
+ assigneeField?: string | undefined;
11198
+ effortField?: string | undefined;
11199
+ capacity?: number | undefined;
11200
+ tooltipFields?: (string | {
11201
+ field: string;
11202
+ label?: string | undefined;
11203
+ })[] | undefined;
11204
+ quickFilters?: {
11205
+ field: string;
11206
+ label?: string | undefined;
11207
+ options?: (string | {
11208
+ value: string | number;
11209
+ label?: string | undefined;
11210
+ })[] | undefined;
11211
+ }[] | undefined;
11212
+ autoZoomToFilter?: boolean | undefined;
11121
11213
  } | undefined;
11122
11214
  gallery?: {
11123
11215
  coverFit: "cover" | "contain";
@@ -11281,7 +11373,7 @@ declare const SysViewDefinitionObject: Omit<{
11281
11373
  clone: boolean;
11282
11374
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
11283
11375
  } | undefined;
11284
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
11376
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
11285
11377
  publicSharing?: {
11286
11378
  enabled: boolean;
11287
11379
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -11313,7 +11405,7 @@ declare const SysViewDefinitionObject: Omit<{
11313
11405
  } | {
11314
11406
  language: "js";
11315
11407
  source: string;
11316
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
11408
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
11317
11409
  timeoutMs?: number | undefined;
11318
11410
  memoryMb?: number | undefined;
11319
11411
  } | undefined;
package/dist/index.d.ts CHANGED
@@ -702,6 +702,29 @@ declare const SysMetadataObject: Omit<{
702
702
  titleField: string;
703
703
  progressField?: string | undefined;
704
704
  dependenciesField?: string | undefined;
705
+ colorField?: string | undefined;
706
+ parentField?: string | undefined;
707
+ typeField?: string | undefined;
708
+ baselineStartField?: string | undefined;
709
+ baselineEndField?: string | undefined;
710
+ groupByField?: string | undefined;
711
+ resourceView?: boolean | undefined;
712
+ assigneeField?: string | undefined;
713
+ effortField?: string | undefined;
714
+ capacity?: number | undefined;
715
+ tooltipFields?: (string | {
716
+ field: string;
717
+ label?: string | undefined;
718
+ })[] | undefined;
719
+ quickFilters?: {
720
+ field: string;
721
+ label?: string | undefined;
722
+ options?: (string | {
723
+ value: string | number;
724
+ label?: string | undefined;
725
+ })[] | undefined;
726
+ }[] | undefined;
727
+ autoZoomToFilter?: boolean | undefined;
705
728
  } | undefined;
706
729
  gallery?: {
707
730
  coverFit: "cover" | "contain";
@@ -865,7 +888,7 @@ declare const SysMetadataObject: Omit<{
865
888
  clone: boolean;
866
889
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
867
890
  } | undefined;
868
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
891
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
869
892
  publicSharing?: {
870
893
  enabled: boolean;
871
894
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -897,7 +920,7 @@ declare const SysMetadataObject: Omit<{
897
920
  } | {
898
921
  language: "js";
899
922
  source: string;
900
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
923
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
901
924
  timeoutMs?: number | undefined;
902
925
  memoryMb?: number | undefined;
903
926
  } | undefined;
@@ -5160,6 +5183,29 @@ declare const SysMetadataHistoryObject: Omit<{
5160
5183
  titleField: string;
5161
5184
  progressField?: string | undefined;
5162
5185
  dependenciesField?: string | undefined;
5186
+ colorField?: string | undefined;
5187
+ parentField?: string | undefined;
5188
+ typeField?: string | undefined;
5189
+ baselineStartField?: string | undefined;
5190
+ baselineEndField?: string | undefined;
5191
+ groupByField?: string | undefined;
5192
+ resourceView?: boolean | undefined;
5193
+ assigneeField?: string | undefined;
5194
+ effortField?: string | undefined;
5195
+ capacity?: number | undefined;
5196
+ tooltipFields?: (string | {
5197
+ field: string;
5198
+ label?: string | undefined;
5199
+ })[] | undefined;
5200
+ quickFilters?: {
5201
+ field: string;
5202
+ label?: string | undefined;
5203
+ options?: (string | {
5204
+ value: string | number;
5205
+ label?: string | undefined;
5206
+ })[] | undefined;
5207
+ }[] | undefined;
5208
+ autoZoomToFilter?: boolean | undefined;
5163
5209
  } | undefined;
5164
5210
  gallery?: {
5165
5211
  coverFit: "cover" | "contain";
@@ -5323,7 +5369,7 @@ declare const SysMetadataHistoryObject: Omit<{
5323
5369
  clone: boolean;
5324
5370
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
5325
5371
  } | undefined;
5326
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
5372
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
5327
5373
  publicSharing?: {
5328
5374
  enabled: boolean;
5329
5375
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -5355,7 +5401,7 @@ declare const SysMetadataHistoryObject: Omit<{
5355
5401
  } | {
5356
5402
  language: "js";
5357
5403
  source: string;
5358
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
5404
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
5359
5405
  timeoutMs?: number | undefined;
5360
5406
  memoryMb?: number | undefined;
5361
5407
  } | undefined;
@@ -8143,6 +8189,29 @@ declare const SysMetadataAuditObject: Omit<{
8143
8189
  titleField: string;
8144
8190
  progressField?: string | undefined;
8145
8191
  dependenciesField?: string | undefined;
8192
+ colorField?: string | undefined;
8193
+ parentField?: string | undefined;
8194
+ typeField?: string | undefined;
8195
+ baselineStartField?: string | undefined;
8196
+ baselineEndField?: string | undefined;
8197
+ groupByField?: string | undefined;
8198
+ resourceView?: boolean | undefined;
8199
+ assigneeField?: string | undefined;
8200
+ effortField?: string | undefined;
8201
+ capacity?: number | undefined;
8202
+ tooltipFields?: (string | {
8203
+ field: string;
8204
+ label?: string | undefined;
8205
+ })[] | undefined;
8206
+ quickFilters?: {
8207
+ field: string;
8208
+ label?: string | undefined;
8209
+ options?: (string | {
8210
+ value: string | number;
8211
+ label?: string | undefined;
8212
+ })[] | undefined;
8213
+ }[] | undefined;
8214
+ autoZoomToFilter?: boolean | undefined;
8146
8215
  } | undefined;
8147
8216
  gallery?: {
8148
8217
  coverFit: "cover" | "contain";
@@ -8306,7 +8375,7 @@ declare const SysMetadataAuditObject: Omit<{
8306
8375
  clone: boolean;
8307
8376
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
8308
8377
  } | undefined;
8309
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
8378
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
8310
8379
  publicSharing?: {
8311
8380
  enabled: boolean;
8312
8381
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -8338,7 +8407,7 @@ declare const SysMetadataAuditObject: Omit<{
8338
8407
  } | {
8339
8408
  language: "js";
8340
8409
  source: string;
8341
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
8410
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
8342
8411
  timeoutMs?: number | undefined;
8343
8412
  memoryMb?: number | undefined;
8344
8413
  } | undefined;
@@ -11118,6 +11187,29 @@ declare const SysViewDefinitionObject: Omit<{
11118
11187
  titleField: string;
11119
11188
  progressField?: string | undefined;
11120
11189
  dependenciesField?: string | undefined;
11190
+ colorField?: string | undefined;
11191
+ parentField?: string | undefined;
11192
+ typeField?: string | undefined;
11193
+ baselineStartField?: string | undefined;
11194
+ baselineEndField?: string | undefined;
11195
+ groupByField?: string | undefined;
11196
+ resourceView?: boolean | undefined;
11197
+ assigneeField?: string | undefined;
11198
+ effortField?: string | undefined;
11199
+ capacity?: number | undefined;
11200
+ tooltipFields?: (string | {
11201
+ field: string;
11202
+ label?: string | undefined;
11203
+ })[] | undefined;
11204
+ quickFilters?: {
11205
+ field: string;
11206
+ label?: string | undefined;
11207
+ options?: (string | {
11208
+ value: string | number;
11209
+ label?: string | undefined;
11210
+ })[] | undefined;
11211
+ }[] | undefined;
11212
+ autoZoomToFilter?: boolean | undefined;
11121
11213
  } | undefined;
11122
11214
  gallery?: {
11123
11215
  coverFit: "cover" | "contain";
@@ -11281,7 +11373,7 @@ declare const SysViewDefinitionObject: Omit<{
11281
11373
  clone: boolean;
11282
11374
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "list" | "get" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
11283
11375
  } | undefined;
11284
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
11376
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
11285
11377
  publicSharing?: {
11286
11378
  enabled: boolean;
11287
11379
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -11313,7 +11405,7 @@ declare const SysViewDefinitionObject: Omit<{
11313
11405
  } | {
11314
11406
  language: "js";
11315
11407
  source: string;
11316
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
11408
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
11317
11409
  timeoutMs?: number | undefined;
11318
11410
  memoryMb?: number | undefined;
11319
11411
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/metadata-core",
3
- "version": "9.9.1",
3
+ "version": "9.11.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Metadata Repository contracts: types, canonicalization, errors, interface (ADR-0008).",
6
6
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "zod": "^4.4.3",
33
- "@objectstack/spec": "9.9.1"
33
+ "@objectstack/spec": "9.11.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "vitest": "^4.0.0"