@objectstack/plugin-approvals 11.6.0 → 11.9.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@11.6.0 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
2
+ > @objectstack/plugin-approvals@11.9.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
@@ -12,11 +12,11 @@
12
12
  CJS Build start
13
13
  CJS dist/index.js 121.96 KB
14
14
  CJS dist/index.js.map 217.11 KB
15
- CJS ⚡️ Build success in 194ms
15
+ CJS ⚡️ Build success in 191ms
16
16
  ESM dist/index.mjs 120.29 KB
17
17
  ESM dist/index.mjs.map 215.91 KB
18
- ESM ⚡️ Build success in 196ms
18
+ ESM ⚡️ Build success in 219ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 25174ms
21
- DTS dist/index.d.mts 369.86 KB
22
- DTS dist/index.d.ts 369.86 KB
20
+ DTS ⚡️ Build success in 17406ms
21
+ DTS dist/index.d.mts 368.19 KB
22
+ DTS dist/index.d.ts 368.19 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @objectstack/plugin-approvals
2
2
 
3
+ ## 11.9.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d3595d9]
8
+ - @objectstack/spec@11.9.0
9
+ - @objectstack/core@11.9.0
10
+ - @objectstack/formula@11.9.0
11
+ - @objectstack/metadata-core@11.9.0
12
+ - @objectstack/platform-objects@11.9.0
13
+
14
+ ## 11.8.0
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [53d491a]
19
+ - Updated dependencies [b84726b]
20
+ - @objectstack/platform-objects@11.8.0
21
+ - @objectstack/spec@11.8.0
22
+ - @objectstack/core@11.8.0
23
+ - @objectstack/metadata-core@11.8.0
24
+ - @objectstack/formula@11.8.0
25
+
26
+ ## 11.7.0
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [5178906]
31
+ - @objectstack/spec@11.7.0
32
+ - @objectstack/platform-objects@11.7.0
33
+ - @objectstack/core@11.7.0
34
+ - @objectstack/formula@11.7.0
35
+ - @objectstack/metadata-core@11.7.0
36
+
3
37
  ## 11.6.0
4
38
 
5
39
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -287,26 +287,12 @@ declare const SysApprovalRequest: Omit<{
287
287
  fieldGroups?: {
288
288
  key: string;
289
289
  label: string;
290
- defaultExpanded: boolean;
290
+ collapse: "none" | "collapsed" | "expanded";
291
291
  icon?: string | undefined;
292
292
  description?: string | undefined;
293
- visibleOn?: {
294
- dialect: "cel" | "js" | "cron" | "template";
295
- source?: string | undefined;
296
- ast?: unknown;
297
- meta?: {
298
- rationale?: string | undefined;
299
- generatedBy?: string | undefined;
300
- } | undefined;
301
- } | {
302
- dialect: "cel" | "js" | "cron" | "template";
303
- source?: string | undefined;
304
- ast?: unknown;
305
- meta?: {
306
- rationale?: string | undefined;
307
- generatedBy?: string | undefined;
308
- } | undefined;
309
- } | undefined;
293
+ defaultExpanded?: boolean | undefined;
294
+ collapsible?: boolean | undefined;
295
+ collapsed?: boolean | undefined;
310
296
  }[] | undefined;
311
297
  tenancy?: {
312
298
  enabled: boolean;
@@ -360,7 +346,9 @@ declare const SysApprovalRequest: Omit<{
360
346
  generatedBy?: string | undefined;
361
347
  } | undefined;
362
348
  } | undefined;
349
+ highlightFields?: string[] | undefined;
363
350
  compactLayout?: string[] | undefined;
351
+ stageField?: string | false | undefined;
364
352
  listViews?: Record<string, {
365
353
  type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
366
354
  columns: string[] | {
@@ -689,12 +677,6 @@ declare const SysApprovalRequest: Omit<{
689
677
  eligibility?: string | undefined;
690
678
  } | undefined;
691
679
  keyPrefix?: string | undefined;
692
- detail?: {
693
- [x: string]: unknown;
694
- renderViaSchema?: boolean | undefined;
695
- hideReferenceRail?: boolean | undefined;
696
- hideRelatedTab?: boolean | undefined;
697
- } | undefined;
698
680
  actions?: {
699
681
  name: string;
700
682
  label: string;
@@ -4328,26 +4310,12 @@ declare const SysApprovalAction: Omit<{
4328
4310
  fieldGroups?: {
4329
4311
  key: string;
4330
4312
  label: string;
4331
- defaultExpanded: boolean;
4313
+ collapse: "none" | "collapsed" | "expanded";
4332
4314
  icon?: string | undefined;
4333
4315
  description?: string | undefined;
4334
- visibleOn?: {
4335
- dialect: "cel" | "js" | "cron" | "template";
4336
- source?: string | undefined;
4337
- ast?: unknown;
4338
- meta?: {
4339
- rationale?: string | undefined;
4340
- generatedBy?: string | undefined;
4341
- } | undefined;
4342
- } | {
4343
- dialect: "cel" | "js" | "cron" | "template";
4344
- source?: string | undefined;
4345
- ast?: unknown;
4346
- meta?: {
4347
- rationale?: string | undefined;
4348
- generatedBy?: string | undefined;
4349
- } | undefined;
4350
- } | undefined;
4316
+ defaultExpanded?: boolean | undefined;
4317
+ collapsible?: boolean | undefined;
4318
+ collapsed?: boolean | undefined;
4351
4319
  }[] | undefined;
4352
4320
  tenancy?: {
4353
4321
  enabled: boolean;
@@ -4401,7 +4369,9 @@ declare const SysApprovalAction: Omit<{
4401
4369
  generatedBy?: string | undefined;
4402
4370
  } | undefined;
4403
4371
  } | undefined;
4372
+ highlightFields?: string[] | undefined;
4404
4373
  compactLayout?: string[] | undefined;
4374
+ stageField?: string | false | undefined;
4405
4375
  listViews?: Record<string, {
4406
4376
  type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
4407
4377
  columns: string[] | {
@@ -4730,12 +4700,6 @@ declare const SysApprovalAction: Omit<{
4730
4700
  eligibility?: string | undefined;
4731
4701
  } | undefined;
4732
4702
  keyPrefix?: string | undefined;
4733
- detail?: {
4734
- [x: string]: unknown;
4735
- renderViaSchema?: boolean | undefined;
4736
- hideReferenceRail?: boolean | undefined;
4737
- hideRelatedTab?: boolean | undefined;
4738
- } | undefined;
4739
4703
  actions?: {
4740
4704
  name: string;
4741
4705
  label: string;
@@ -6784,26 +6748,12 @@ declare const SysApprovalApprover: Omit<{
6784
6748
  fieldGroups?: {
6785
6749
  key: string;
6786
6750
  label: string;
6787
- defaultExpanded: boolean;
6751
+ collapse: "none" | "collapsed" | "expanded";
6788
6752
  icon?: string | undefined;
6789
6753
  description?: string | undefined;
6790
- visibleOn?: {
6791
- dialect: "cel" | "js" | "cron" | "template";
6792
- source?: string | undefined;
6793
- ast?: unknown;
6794
- meta?: {
6795
- rationale?: string | undefined;
6796
- generatedBy?: string | undefined;
6797
- } | undefined;
6798
- } | {
6799
- dialect: "cel" | "js" | "cron" | "template";
6800
- source?: string | undefined;
6801
- ast?: unknown;
6802
- meta?: {
6803
- rationale?: string | undefined;
6804
- generatedBy?: string | undefined;
6805
- } | undefined;
6806
- } | undefined;
6754
+ defaultExpanded?: boolean | undefined;
6755
+ collapsible?: boolean | undefined;
6756
+ collapsed?: boolean | undefined;
6807
6757
  }[] | undefined;
6808
6758
  tenancy?: {
6809
6759
  enabled: boolean;
@@ -6857,7 +6807,9 @@ declare const SysApprovalApprover: Omit<{
6857
6807
  generatedBy?: string | undefined;
6858
6808
  } | undefined;
6859
6809
  } | undefined;
6810
+ highlightFields?: string[] | undefined;
6860
6811
  compactLayout?: string[] | undefined;
6812
+ stageField?: string | false | undefined;
6861
6813
  listViews?: Record<string, {
6862
6814
  type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
6863
6815
  columns: string[] | {
@@ -7186,12 +7138,6 @@ declare const SysApprovalApprover: Omit<{
7186
7138
  eligibility?: string | undefined;
7187
7139
  } | undefined;
7188
7140
  keyPrefix?: string | undefined;
7189
- detail?: {
7190
- [x: string]: unknown;
7191
- renderViaSchema?: boolean | undefined;
7192
- hideReferenceRail?: boolean | undefined;
7193
- hideRelatedTab?: boolean | undefined;
7194
- } | undefined;
7195
7141
  actions?: {
7196
7142
  name: string;
7197
7143
  label: string;
package/dist/index.d.ts CHANGED
@@ -287,26 +287,12 @@ declare const SysApprovalRequest: Omit<{
287
287
  fieldGroups?: {
288
288
  key: string;
289
289
  label: string;
290
- defaultExpanded: boolean;
290
+ collapse: "none" | "collapsed" | "expanded";
291
291
  icon?: string | undefined;
292
292
  description?: string | undefined;
293
- visibleOn?: {
294
- dialect: "cel" | "js" | "cron" | "template";
295
- source?: string | undefined;
296
- ast?: unknown;
297
- meta?: {
298
- rationale?: string | undefined;
299
- generatedBy?: string | undefined;
300
- } | undefined;
301
- } | {
302
- dialect: "cel" | "js" | "cron" | "template";
303
- source?: string | undefined;
304
- ast?: unknown;
305
- meta?: {
306
- rationale?: string | undefined;
307
- generatedBy?: string | undefined;
308
- } | undefined;
309
- } | undefined;
293
+ defaultExpanded?: boolean | undefined;
294
+ collapsible?: boolean | undefined;
295
+ collapsed?: boolean | undefined;
310
296
  }[] | undefined;
311
297
  tenancy?: {
312
298
  enabled: boolean;
@@ -360,7 +346,9 @@ declare const SysApprovalRequest: Omit<{
360
346
  generatedBy?: string | undefined;
361
347
  } | undefined;
362
348
  } | undefined;
349
+ highlightFields?: string[] | undefined;
363
350
  compactLayout?: string[] | undefined;
351
+ stageField?: string | false | undefined;
364
352
  listViews?: Record<string, {
365
353
  type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
366
354
  columns: string[] | {
@@ -689,12 +677,6 @@ declare const SysApprovalRequest: Omit<{
689
677
  eligibility?: string | undefined;
690
678
  } | undefined;
691
679
  keyPrefix?: string | undefined;
692
- detail?: {
693
- [x: string]: unknown;
694
- renderViaSchema?: boolean | undefined;
695
- hideReferenceRail?: boolean | undefined;
696
- hideRelatedTab?: boolean | undefined;
697
- } | undefined;
698
680
  actions?: {
699
681
  name: string;
700
682
  label: string;
@@ -4328,26 +4310,12 @@ declare const SysApprovalAction: Omit<{
4328
4310
  fieldGroups?: {
4329
4311
  key: string;
4330
4312
  label: string;
4331
- defaultExpanded: boolean;
4313
+ collapse: "none" | "collapsed" | "expanded";
4332
4314
  icon?: string | undefined;
4333
4315
  description?: string | undefined;
4334
- visibleOn?: {
4335
- dialect: "cel" | "js" | "cron" | "template";
4336
- source?: string | undefined;
4337
- ast?: unknown;
4338
- meta?: {
4339
- rationale?: string | undefined;
4340
- generatedBy?: string | undefined;
4341
- } | undefined;
4342
- } | {
4343
- dialect: "cel" | "js" | "cron" | "template";
4344
- source?: string | undefined;
4345
- ast?: unknown;
4346
- meta?: {
4347
- rationale?: string | undefined;
4348
- generatedBy?: string | undefined;
4349
- } | undefined;
4350
- } | undefined;
4316
+ defaultExpanded?: boolean | undefined;
4317
+ collapsible?: boolean | undefined;
4318
+ collapsed?: boolean | undefined;
4351
4319
  }[] | undefined;
4352
4320
  tenancy?: {
4353
4321
  enabled: boolean;
@@ -4401,7 +4369,9 @@ declare const SysApprovalAction: Omit<{
4401
4369
  generatedBy?: string | undefined;
4402
4370
  } | undefined;
4403
4371
  } | undefined;
4372
+ highlightFields?: string[] | undefined;
4404
4373
  compactLayout?: string[] | undefined;
4374
+ stageField?: string | false | undefined;
4405
4375
  listViews?: Record<string, {
4406
4376
  type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
4407
4377
  columns: string[] | {
@@ -4730,12 +4700,6 @@ declare const SysApprovalAction: Omit<{
4730
4700
  eligibility?: string | undefined;
4731
4701
  } | undefined;
4732
4702
  keyPrefix?: string | undefined;
4733
- detail?: {
4734
- [x: string]: unknown;
4735
- renderViaSchema?: boolean | undefined;
4736
- hideReferenceRail?: boolean | undefined;
4737
- hideRelatedTab?: boolean | undefined;
4738
- } | undefined;
4739
4703
  actions?: {
4740
4704
  name: string;
4741
4705
  label: string;
@@ -6784,26 +6748,12 @@ declare const SysApprovalApprover: Omit<{
6784
6748
  fieldGroups?: {
6785
6749
  key: string;
6786
6750
  label: string;
6787
- defaultExpanded: boolean;
6751
+ collapse: "none" | "collapsed" | "expanded";
6788
6752
  icon?: string | undefined;
6789
6753
  description?: string | undefined;
6790
- visibleOn?: {
6791
- dialect: "cel" | "js" | "cron" | "template";
6792
- source?: string | undefined;
6793
- ast?: unknown;
6794
- meta?: {
6795
- rationale?: string | undefined;
6796
- generatedBy?: string | undefined;
6797
- } | undefined;
6798
- } | {
6799
- dialect: "cel" | "js" | "cron" | "template";
6800
- source?: string | undefined;
6801
- ast?: unknown;
6802
- meta?: {
6803
- rationale?: string | undefined;
6804
- generatedBy?: string | undefined;
6805
- } | undefined;
6806
- } | undefined;
6754
+ defaultExpanded?: boolean | undefined;
6755
+ collapsible?: boolean | undefined;
6756
+ collapsed?: boolean | undefined;
6807
6757
  }[] | undefined;
6808
6758
  tenancy?: {
6809
6759
  enabled: boolean;
@@ -6857,7 +6807,9 @@ declare const SysApprovalApprover: Omit<{
6857
6807
  generatedBy?: string | undefined;
6858
6808
  } | undefined;
6859
6809
  } | undefined;
6810
+ highlightFields?: string[] | undefined;
6860
6811
  compactLayout?: string[] | undefined;
6812
+ stageField?: string | false | undefined;
6861
6813
  listViews?: Record<string, {
6862
6814
  type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
6863
6815
  columns: string[] | {
@@ -7186,12 +7138,6 @@ declare const SysApprovalApprover: Omit<{
7186
7138
  eligibility?: string | undefined;
7187
7139
  } | undefined;
7188
7140
  keyPrefix?: string | undefined;
7189
- detail?: {
7190
- [x: string]: unknown;
7191
- renderViaSchema?: boolean | undefined;
7192
- hideReferenceRail?: boolean | undefined;
7193
- hideRelatedTab?: boolean | undefined;
7194
- } | undefined;
7195
7141
  actions?: {
7196
7142
  name: string;
7197
7143
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-approvals",
3
- "version": "11.6.0",
3
+ "version": "11.9.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": "11.6.0",
17
- "@objectstack/formula": "11.6.0",
18
- "@objectstack/metadata-core": "11.6.0",
19
- "@objectstack/platform-objects": "11.6.0",
20
- "@objectstack/spec": "11.6.0"
16
+ "@objectstack/core": "11.9.0",
17
+ "@objectstack/formula": "11.9.0",
18
+ "@objectstack/metadata-core": "11.9.0",
19
+ "@objectstack/platform-objects": "11.9.0",
20
+ "@objectstack/spec": "11.9.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^26.0.1",
24
24
  "typescript": "^6.0.3",
25
25
  "vitest": "^4.1.9",
26
- "@objectstack/service-automation": "11.6.0"
26
+ "@objectstack/service-automation": "11.9.0"
27
27
  },
28
28
  "keywords": [
29
29
  "objectstack",