@objectstack/plugin-approvals 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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/plugin-approvals@9.9.1 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
2
+ > @objectstack/plugin-approvals@9.11.0 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
3
3
  > tsup --config ../../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,13 +10,13 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM dist/index.mjs 119.79 KB
14
- ESM dist/index.mjs.map 215.17 KB
15
- ESM ⚡️ Build success in 203ms
16
13
  CJS dist/index.js 121.46 KB
17
14
  CJS dist/index.js.map 216.37 KB
18
- CJS ⚡️ Build success in 236ms
15
+ CJS ⚡️ Build success in 288ms
16
+ ESM dist/index.mjs 119.79 KB
17
+ ESM dist/index.mjs.map 215.17 KB
18
+ ESM ⚡️ Build success in 291ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 22901ms
21
- DTS dist/index.d.mts 335.44 KB
22
- DTS dist/index.d.ts 335.44 KB
20
+ DTS ⚡️ Build success in 24978ms
21
+ DTS dist/index.d.mts 338.51 KB
22
+ DTS dist/index.d.ts 338.51 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @objectstack/plugin-approvals
2
2
 
3
+ ## 9.11.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e7f6539]
8
+ - Updated dependencies [2365d07]
9
+ - Updated dependencies [6595b53]
10
+ - Updated dependencies [fa8964d]
11
+ - Updated dependencies [36138c7]
12
+ - Updated dependencies [a8e4f3b]
13
+ - Updated dependencies [4c213c2]
14
+ - Updated dependencies [2afb612]
15
+ - @objectstack/spec@9.11.0
16
+ - @objectstack/core@9.11.0
17
+ - @objectstack/formula@9.11.0
18
+ - @objectstack/metadata-core@9.11.0
19
+ - @objectstack/platform-objects@9.11.0
20
+
21
+ ## 9.10.0
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [db02bd5]
26
+ - Updated dependencies [641675d]
27
+ - Updated dependencies [1f88fd9]
28
+ - Updated dependencies [94e9040]
29
+ - Updated dependencies [4331adb]
30
+ - Updated dependencies [1f88fd9]
31
+ - Updated dependencies [1f88fd9]
32
+ - @objectstack/spec@9.10.0
33
+ - @objectstack/formula@9.10.0
34
+ - @objectstack/platform-objects@9.10.0
35
+ - @objectstack/core@9.10.0
36
+ - @objectstack/metadata-core@9.10.0
37
+
3
38
  ## 9.9.1
4
39
 
5
40
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -466,6 +466,29 @@ declare const SysApprovalRequest: Omit<{
466
466
  titleField: string;
467
467
  progressField?: string | undefined;
468
468
  dependenciesField?: string | undefined;
469
+ colorField?: string | undefined;
470
+ parentField?: string | undefined;
471
+ typeField?: string | undefined;
472
+ baselineStartField?: string | undefined;
473
+ baselineEndField?: string | undefined;
474
+ groupByField?: string | undefined;
475
+ resourceView?: boolean | undefined;
476
+ assigneeField?: string | undefined;
477
+ effortField?: string | undefined;
478
+ capacity?: number | undefined;
479
+ tooltipFields?: (string | {
480
+ field: string;
481
+ label?: string | undefined;
482
+ })[] | undefined;
483
+ quickFilters?: {
484
+ field: string;
485
+ label?: string | undefined;
486
+ options?: (string | {
487
+ value: string | number;
488
+ label?: string | undefined;
489
+ })[] | undefined;
490
+ }[] | undefined;
491
+ autoZoomToFilter?: boolean | undefined;
469
492
  } | undefined;
470
493
  gallery?: {
471
494
  coverFit: "cover" | "contain";
@@ -629,7 +652,7 @@ declare const SysApprovalRequest: Omit<{
629
652
  clone: boolean;
630
653
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
631
654
  } | undefined;
632
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
655
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
633
656
  publicSharing?: {
634
657
  enabled: boolean;
635
658
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -661,7 +684,7 @@ declare const SysApprovalRequest: Omit<{
661
684
  } | {
662
685
  language: "js";
663
686
  source: string;
664
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
687
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
665
688
  timeoutMs?: number | undefined;
666
689
  memoryMb?: number | undefined;
667
690
  } | undefined;
@@ -4112,6 +4135,29 @@ declare const SysApprovalAction: Omit<{
4112
4135
  titleField: string;
4113
4136
  progressField?: string | undefined;
4114
4137
  dependenciesField?: string | undefined;
4138
+ colorField?: string | undefined;
4139
+ parentField?: string | undefined;
4140
+ typeField?: string | undefined;
4141
+ baselineStartField?: string | undefined;
4142
+ baselineEndField?: string | undefined;
4143
+ groupByField?: string | undefined;
4144
+ resourceView?: boolean | undefined;
4145
+ assigneeField?: string | undefined;
4146
+ effortField?: string | undefined;
4147
+ capacity?: number | undefined;
4148
+ tooltipFields?: (string | {
4149
+ field: string;
4150
+ label?: string | undefined;
4151
+ })[] | undefined;
4152
+ quickFilters?: {
4153
+ field: string;
4154
+ label?: string | undefined;
4155
+ options?: (string | {
4156
+ value: string | number;
4157
+ label?: string | undefined;
4158
+ })[] | undefined;
4159
+ }[] | undefined;
4160
+ autoZoomToFilter?: boolean | undefined;
4115
4161
  } | undefined;
4116
4162
  gallery?: {
4117
4163
  coverFit: "cover" | "contain";
@@ -4275,7 +4321,7 @@ declare const SysApprovalAction: Omit<{
4275
4321
  clone: boolean;
4276
4322
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
4277
4323
  } | undefined;
4278
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
4324
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
4279
4325
  publicSharing?: {
4280
4326
  enabled: boolean;
4281
4327
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -4307,7 +4353,7 @@ declare const SysApprovalAction: Omit<{
4307
4353
  } | {
4308
4354
  language: "js";
4309
4355
  source: string;
4310
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
4356
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
4311
4357
  timeoutMs?: number | undefined;
4312
4358
  memoryMb?: number | undefined;
4313
4359
  } | undefined;
@@ -6344,6 +6390,29 @@ declare const SysApprovalApprover: Omit<{
6344
6390
  titleField: string;
6345
6391
  progressField?: string | undefined;
6346
6392
  dependenciesField?: string | undefined;
6393
+ colorField?: string | undefined;
6394
+ parentField?: string | undefined;
6395
+ typeField?: string | undefined;
6396
+ baselineStartField?: string | undefined;
6397
+ baselineEndField?: string | undefined;
6398
+ groupByField?: string | undefined;
6399
+ resourceView?: boolean | undefined;
6400
+ assigneeField?: string | undefined;
6401
+ effortField?: string | undefined;
6402
+ capacity?: number | undefined;
6403
+ tooltipFields?: (string | {
6404
+ field: string;
6405
+ label?: string | undefined;
6406
+ })[] | undefined;
6407
+ quickFilters?: {
6408
+ field: string;
6409
+ label?: string | undefined;
6410
+ options?: (string | {
6411
+ value: string | number;
6412
+ label?: string | undefined;
6413
+ })[] | undefined;
6414
+ }[] | undefined;
6415
+ autoZoomToFilter?: boolean | undefined;
6347
6416
  } | undefined;
6348
6417
  gallery?: {
6349
6418
  coverFit: "cover" | "contain";
@@ -6507,7 +6576,7 @@ declare const SysApprovalApprover: Omit<{
6507
6576
  clone: boolean;
6508
6577
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
6509
6578
  } | undefined;
6510
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
6579
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
6511
6580
  publicSharing?: {
6512
6581
  enabled: boolean;
6513
6582
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6539,7 +6608,7 @@ declare const SysApprovalApprover: Omit<{
6539
6608
  } | {
6540
6609
  language: "js";
6541
6610
  source: string;
6542
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
6611
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
6543
6612
  timeoutMs?: number | undefined;
6544
6613
  memoryMb?: number | undefined;
6545
6614
  } | undefined;
package/dist/index.d.ts CHANGED
@@ -466,6 +466,29 @@ declare const SysApprovalRequest: Omit<{
466
466
  titleField: string;
467
467
  progressField?: string | undefined;
468
468
  dependenciesField?: string | undefined;
469
+ colorField?: string | undefined;
470
+ parentField?: string | undefined;
471
+ typeField?: string | undefined;
472
+ baselineStartField?: string | undefined;
473
+ baselineEndField?: string | undefined;
474
+ groupByField?: string | undefined;
475
+ resourceView?: boolean | undefined;
476
+ assigneeField?: string | undefined;
477
+ effortField?: string | undefined;
478
+ capacity?: number | undefined;
479
+ tooltipFields?: (string | {
480
+ field: string;
481
+ label?: string | undefined;
482
+ })[] | undefined;
483
+ quickFilters?: {
484
+ field: string;
485
+ label?: string | undefined;
486
+ options?: (string | {
487
+ value: string | number;
488
+ label?: string | undefined;
489
+ })[] | undefined;
490
+ }[] | undefined;
491
+ autoZoomToFilter?: boolean | undefined;
469
492
  } | undefined;
470
493
  gallery?: {
471
494
  coverFit: "cover" | "contain";
@@ -629,7 +652,7 @@ declare const SysApprovalRequest: Omit<{
629
652
  clone: boolean;
630
653
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
631
654
  } | undefined;
632
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
655
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
633
656
  publicSharing?: {
634
657
  enabled: boolean;
635
658
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -661,7 +684,7 @@ declare const SysApprovalRequest: Omit<{
661
684
  } | {
662
685
  language: "js";
663
686
  source: string;
664
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
687
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
665
688
  timeoutMs?: number | undefined;
666
689
  memoryMb?: number | undefined;
667
690
  } | undefined;
@@ -4112,6 +4135,29 @@ declare const SysApprovalAction: Omit<{
4112
4135
  titleField: string;
4113
4136
  progressField?: string | undefined;
4114
4137
  dependenciesField?: string | undefined;
4138
+ colorField?: string | undefined;
4139
+ parentField?: string | undefined;
4140
+ typeField?: string | undefined;
4141
+ baselineStartField?: string | undefined;
4142
+ baselineEndField?: string | undefined;
4143
+ groupByField?: string | undefined;
4144
+ resourceView?: boolean | undefined;
4145
+ assigneeField?: string | undefined;
4146
+ effortField?: string | undefined;
4147
+ capacity?: number | undefined;
4148
+ tooltipFields?: (string | {
4149
+ field: string;
4150
+ label?: string | undefined;
4151
+ })[] | undefined;
4152
+ quickFilters?: {
4153
+ field: string;
4154
+ label?: string | undefined;
4155
+ options?: (string | {
4156
+ value: string | number;
4157
+ label?: string | undefined;
4158
+ })[] | undefined;
4159
+ }[] | undefined;
4160
+ autoZoomToFilter?: boolean | undefined;
4115
4161
  } | undefined;
4116
4162
  gallery?: {
4117
4163
  coverFit: "cover" | "contain";
@@ -4275,7 +4321,7 @@ declare const SysApprovalAction: Omit<{
4275
4321
  clone: boolean;
4276
4322
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
4277
4323
  } | undefined;
4278
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
4324
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
4279
4325
  publicSharing?: {
4280
4326
  enabled: boolean;
4281
4327
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -4307,7 +4353,7 @@ declare const SysApprovalAction: Omit<{
4307
4353
  } | {
4308
4354
  language: "js";
4309
4355
  source: string;
4310
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
4356
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
4311
4357
  timeoutMs?: number | undefined;
4312
4358
  memoryMb?: number | undefined;
4313
4359
  } | undefined;
@@ -6344,6 +6390,29 @@ declare const SysApprovalApprover: Omit<{
6344
6390
  titleField: string;
6345
6391
  progressField?: string | undefined;
6346
6392
  dependenciesField?: string | undefined;
6393
+ colorField?: string | undefined;
6394
+ parentField?: string | undefined;
6395
+ typeField?: string | undefined;
6396
+ baselineStartField?: string | undefined;
6397
+ baselineEndField?: string | undefined;
6398
+ groupByField?: string | undefined;
6399
+ resourceView?: boolean | undefined;
6400
+ assigneeField?: string | undefined;
6401
+ effortField?: string | undefined;
6402
+ capacity?: number | undefined;
6403
+ tooltipFields?: (string | {
6404
+ field: string;
6405
+ label?: string | undefined;
6406
+ })[] | undefined;
6407
+ quickFilters?: {
6408
+ field: string;
6409
+ label?: string | undefined;
6410
+ options?: (string | {
6411
+ value: string | number;
6412
+ label?: string | undefined;
6413
+ })[] | undefined;
6414
+ }[] | undefined;
6415
+ autoZoomToFilter?: boolean | undefined;
6347
6416
  } | undefined;
6348
6417
  gallery?: {
6349
6418
  coverFit: "cover" | "contain";
@@ -6507,7 +6576,7 @@ declare const SysApprovalApprover: Omit<{
6507
6576
  clone: boolean;
6508
6577
  apiMethods?: ("search" | "create" | "import" | "delete" | "list" | "get" | "update" | "upsert" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
6509
6578
  } | undefined;
6510
- sharingModel?: "full" | "read" | "private" | "read_write" | undefined;
6579
+ sharingModel?: "full" | "read" | "private" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
6511
6580
  publicSharing?: {
6512
6581
  enabled: boolean;
6513
6582
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -6539,7 +6608,7 @@ declare const SysApprovalApprover: Omit<{
6539
6608
  } | {
6540
6609
  language: "js";
6541
6610
  source: string;
6542
- capabilities: ("api.read" | "api.write" | "crypto.uuid" | "crypto.hash" | "log")[];
6611
+ capabilities: ("api.read" | "api.write" | "api.transaction" | "crypto.uuid" | "crypto.hash" | "log")[];
6543
6612
  timeoutMs?: number | undefined;
6544
6613
  memoryMb?: number | undefined;
6545
6614
  } | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-approvals",
3
- "version": "9.9.1",
3
+ "version": "9.11.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Multi-step approval engine for ObjectStack — sys_approval_process + sys_approval_request + sys_approval_action + IApprovalService.",
6
6
  "main": "dist/index.js",
@@ -13,17 +13,17 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@objectstack/core": "9.9.1",
17
- "@objectstack/formula": "9.9.1",
18
- "@objectstack/metadata-core": "9.9.1",
19
- "@objectstack/platform-objects": "9.9.1",
20
- "@objectstack/spec": "9.9.1"
16
+ "@objectstack/core": "9.11.0",
17
+ "@objectstack/formula": "9.11.0",
18
+ "@objectstack/metadata-core": "9.11.0",
19
+ "@objectstack/platform-objects": "9.11.0",
20
+ "@objectstack/spec": "9.11.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^25.9.3",
24
24
  "typescript": "^6.0.3",
25
25
  "vitest": "^4.1.9",
26
- "@objectstack/service-automation": "9.9.1"
26
+ "@objectstack/service-automation": "9.11.0"
27
27
  },
28
28
  "keywords": [
29
29
  "objectstack",