@objectstack/plugin-approvals 14.3.0 → 14.5.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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +33 -0
- package/dist/index.d.mts +75 -3
- package/dist/index.d.ts +75 -3
- package/package.json +7 -7
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/plugin-approvals@14.
|
|
2
|
+
> @objectstack/plugin-approvals@14.5.0 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
|
|
3
3
|
> tsup --config ../../../tsup.config.ts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[32mCJS[39m [1mdist/index.js [22m[32m123.99 KB[39m
|
|
14
14
|
[32mCJS[39m [1mdist/index.js.map [22m[32m220.47 KB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 267ms
|
|
16
16
|
[32mESM[39m [1mdist/index.mjs [22m[32m122.33 KB[39m
|
|
17
17
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m219.27 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 274ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 25609ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m384.81 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m384.81 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @objectstack/plugin-approvals
|
|
2
2
|
|
|
3
|
+
## 14.5.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [526805e]
|
|
8
|
+
- Updated dependencies [d79ca07]
|
|
9
|
+
- Updated dependencies [33ebd34]
|
|
10
|
+
- Updated dependencies [c044f08]
|
|
11
|
+
- Updated dependencies [01274eb]
|
|
12
|
+
- Updated dependencies [8f23746]
|
|
13
|
+
- Updated dependencies [b97af7e]
|
|
14
|
+
- Updated dependencies [6da03ee]
|
|
15
|
+
- @objectstack/spec@14.5.0
|
|
16
|
+
- @objectstack/platform-objects@14.5.0
|
|
17
|
+
- @objectstack/core@14.5.0
|
|
18
|
+
- @objectstack/formula@14.5.0
|
|
19
|
+
- @objectstack/metadata-core@14.5.0
|
|
20
|
+
|
|
21
|
+
## 14.4.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [7953832]
|
|
26
|
+
- Updated dependencies [82e745e]
|
|
27
|
+
- Updated dependencies [f3035bd]
|
|
28
|
+
- Updated dependencies [82c0d94]
|
|
29
|
+
- Updated dependencies [7449476]
|
|
30
|
+
- @objectstack/spec@14.4.0
|
|
31
|
+
- @objectstack/platform-objects@14.4.0
|
|
32
|
+
- @objectstack/metadata-core@14.4.0
|
|
33
|
+
- @objectstack/core@14.4.0
|
|
34
|
+
- @objectstack/formula@14.4.0
|
|
35
|
+
|
|
3
36
|
## 14.3.0
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -337,6 +337,30 @@ declare const SysApprovalRequest: Omit<{
|
|
|
337
337
|
versionField: string;
|
|
338
338
|
retentionDays?: number | undefined;
|
|
339
339
|
} | undefined;
|
|
340
|
+
lifecycle?: {
|
|
341
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
342
|
+
retention?: {
|
|
343
|
+
maxAge: string;
|
|
344
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
345
|
+
$in: (string | number)[];
|
|
346
|
+
}> | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
ttl?: {
|
|
349
|
+
field: string;
|
|
350
|
+
expireAfter: string;
|
|
351
|
+
} | undefined;
|
|
352
|
+
storage?: {
|
|
353
|
+
strategy: "rotation";
|
|
354
|
+
shards: number;
|
|
355
|
+
unit: "day" | "week" | "month";
|
|
356
|
+
} | undefined;
|
|
357
|
+
archive?: {
|
|
358
|
+
after: string;
|
|
359
|
+
to: string;
|
|
360
|
+
keep?: string | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
reclaim?: boolean | undefined;
|
|
363
|
+
} | undefined;
|
|
340
364
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
341
365
|
activityMilestones?: {
|
|
342
366
|
field: string;
|
|
@@ -494,7 +518,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
494
518
|
timeline?: {
|
|
495
519
|
startDateField: string;
|
|
496
520
|
titleField: string;
|
|
497
|
-
scale: "
|
|
521
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
498
522
|
endDateField?: string | undefined;
|
|
499
523
|
groupByField?: string | undefined;
|
|
500
524
|
colorField?: string | undefined;
|
|
@@ -4530,6 +4554,30 @@ declare const SysApprovalAction: Omit<{
|
|
|
4530
4554
|
versionField: string;
|
|
4531
4555
|
retentionDays?: number | undefined;
|
|
4532
4556
|
} | undefined;
|
|
4557
|
+
lifecycle?: {
|
|
4558
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
4559
|
+
retention?: {
|
|
4560
|
+
maxAge: string;
|
|
4561
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
4562
|
+
$in: (string | number)[];
|
|
4563
|
+
}> | undefined;
|
|
4564
|
+
} | undefined;
|
|
4565
|
+
ttl?: {
|
|
4566
|
+
field: string;
|
|
4567
|
+
expireAfter: string;
|
|
4568
|
+
} | undefined;
|
|
4569
|
+
storage?: {
|
|
4570
|
+
strategy: "rotation";
|
|
4571
|
+
shards: number;
|
|
4572
|
+
unit: "day" | "week" | "month";
|
|
4573
|
+
} | undefined;
|
|
4574
|
+
archive?: {
|
|
4575
|
+
after: string;
|
|
4576
|
+
to: string;
|
|
4577
|
+
keep?: string | undefined;
|
|
4578
|
+
} | undefined;
|
|
4579
|
+
reclaim?: boolean | undefined;
|
|
4580
|
+
} | undefined;
|
|
4533
4581
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
4534
4582
|
activityMilestones?: {
|
|
4535
4583
|
field: string;
|
|
@@ -4687,7 +4735,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4687
4735
|
timeline?: {
|
|
4688
4736
|
startDateField: string;
|
|
4689
4737
|
titleField: string;
|
|
4690
|
-
scale: "
|
|
4738
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
4691
4739
|
endDateField?: string | undefined;
|
|
4692
4740
|
groupByField?: string | undefined;
|
|
4693
4741
|
colorField?: string | undefined;
|
|
@@ -7057,6 +7105,30 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7057
7105
|
versionField: string;
|
|
7058
7106
|
retentionDays?: number | undefined;
|
|
7059
7107
|
} | undefined;
|
|
7108
|
+
lifecycle?: {
|
|
7109
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
7110
|
+
retention?: {
|
|
7111
|
+
maxAge: string;
|
|
7112
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
7113
|
+
$in: (string | number)[];
|
|
7114
|
+
}> | undefined;
|
|
7115
|
+
} | undefined;
|
|
7116
|
+
ttl?: {
|
|
7117
|
+
field: string;
|
|
7118
|
+
expireAfter: string;
|
|
7119
|
+
} | undefined;
|
|
7120
|
+
storage?: {
|
|
7121
|
+
strategy: "rotation";
|
|
7122
|
+
shards: number;
|
|
7123
|
+
unit: "day" | "week" | "month";
|
|
7124
|
+
} | undefined;
|
|
7125
|
+
archive?: {
|
|
7126
|
+
after: string;
|
|
7127
|
+
to: string;
|
|
7128
|
+
keep?: string | undefined;
|
|
7129
|
+
} | undefined;
|
|
7130
|
+
reclaim?: boolean | undefined;
|
|
7131
|
+
} | undefined;
|
|
7060
7132
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
7061
7133
|
activityMilestones?: {
|
|
7062
7134
|
field: string;
|
|
@@ -7214,7 +7286,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7214
7286
|
timeline?: {
|
|
7215
7287
|
startDateField: string;
|
|
7216
7288
|
titleField: string;
|
|
7217
|
-
scale: "
|
|
7289
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
7218
7290
|
endDateField?: string | undefined;
|
|
7219
7291
|
groupByField?: string | undefined;
|
|
7220
7292
|
colorField?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -337,6 +337,30 @@ declare const SysApprovalRequest: Omit<{
|
|
|
337
337
|
versionField: string;
|
|
338
338
|
retentionDays?: number | undefined;
|
|
339
339
|
} | undefined;
|
|
340
|
+
lifecycle?: {
|
|
341
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
342
|
+
retention?: {
|
|
343
|
+
maxAge: string;
|
|
344
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
345
|
+
$in: (string | number)[];
|
|
346
|
+
}> | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
ttl?: {
|
|
349
|
+
field: string;
|
|
350
|
+
expireAfter: string;
|
|
351
|
+
} | undefined;
|
|
352
|
+
storage?: {
|
|
353
|
+
strategy: "rotation";
|
|
354
|
+
shards: number;
|
|
355
|
+
unit: "day" | "week" | "month";
|
|
356
|
+
} | undefined;
|
|
357
|
+
archive?: {
|
|
358
|
+
after: string;
|
|
359
|
+
to: string;
|
|
360
|
+
keep?: string | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
reclaim?: boolean | undefined;
|
|
363
|
+
} | undefined;
|
|
340
364
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
341
365
|
activityMilestones?: {
|
|
342
366
|
field: string;
|
|
@@ -494,7 +518,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
494
518
|
timeline?: {
|
|
495
519
|
startDateField: string;
|
|
496
520
|
titleField: string;
|
|
497
|
-
scale: "
|
|
521
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
498
522
|
endDateField?: string | undefined;
|
|
499
523
|
groupByField?: string | undefined;
|
|
500
524
|
colorField?: string | undefined;
|
|
@@ -4530,6 +4554,30 @@ declare const SysApprovalAction: Omit<{
|
|
|
4530
4554
|
versionField: string;
|
|
4531
4555
|
retentionDays?: number | undefined;
|
|
4532
4556
|
} | undefined;
|
|
4557
|
+
lifecycle?: {
|
|
4558
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
4559
|
+
retention?: {
|
|
4560
|
+
maxAge: string;
|
|
4561
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
4562
|
+
$in: (string | number)[];
|
|
4563
|
+
}> | undefined;
|
|
4564
|
+
} | undefined;
|
|
4565
|
+
ttl?: {
|
|
4566
|
+
field: string;
|
|
4567
|
+
expireAfter: string;
|
|
4568
|
+
} | undefined;
|
|
4569
|
+
storage?: {
|
|
4570
|
+
strategy: "rotation";
|
|
4571
|
+
shards: number;
|
|
4572
|
+
unit: "day" | "week" | "month";
|
|
4573
|
+
} | undefined;
|
|
4574
|
+
archive?: {
|
|
4575
|
+
after: string;
|
|
4576
|
+
to: string;
|
|
4577
|
+
keep?: string | undefined;
|
|
4578
|
+
} | undefined;
|
|
4579
|
+
reclaim?: boolean | undefined;
|
|
4580
|
+
} | undefined;
|
|
4533
4581
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
4534
4582
|
activityMilestones?: {
|
|
4535
4583
|
field: string;
|
|
@@ -4687,7 +4735,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4687
4735
|
timeline?: {
|
|
4688
4736
|
startDateField: string;
|
|
4689
4737
|
titleField: string;
|
|
4690
|
-
scale: "
|
|
4738
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
4691
4739
|
endDateField?: string | undefined;
|
|
4692
4740
|
groupByField?: string | undefined;
|
|
4693
4741
|
colorField?: string | undefined;
|
|
@@ -7057,6 +7105,30 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7057
7105
|
versionField: string;
|
|
7058
7106
|
retentionDays?: number | undefined;
|
|
7059
7107
|
} | undefined;
|
|
7108
|
+
lifecycle?: {
|
|
7109
|
+
class: "audit" | "record" | "telemetry" | "transient" | "event";
|
|
7110
|
+
retention?: {
|
|
7111
|
+
maxAge: string;
|
|
7112
|
+
onlyWhen?: Record<string, string | number | boolean | {
|
|
7113
|
+
$in: (string | number)[];
|
|
7114
|
+
}> | undefined;
|
|
7115
|
+
} | undefined;
|
|
7116
|
+
ttl?: {
|
|
7117
|
+
field: string;
|
|
7118
|
+
expireAfter: string;
|
|
7119
|
+
} | undefined;
|
|
7120
|
+
storage?: {
|
|
7121
|
+
strategy: "rotation";
|
|
7122
|
+
shards: number;
|
|
7123
|
+
unit: "day" | "week" | "month";
|
|
7124
|
+
} | undefined;
|
|
7125
|
+
archive?: {
|
|
7126
|
+
after: string;
|
|
7127
|
+
to: string;
|
|
7128
|
+
keep?: string | undefined;
|
|
7129
|
+
} | undefined;
|
|
7130
|
+
reclaim?: boolean | undefined;
|
|
7131
|
+
} | undefined;
|
|
7060
7132
|
validations?: _objectstack_spec_data.BaseValidationRuleShape[] | undefined;
|
|
7061
7133
|
activityMilestones?: {
|
|
7062
7134
|
field: string;
|
|
@@ -7214,7 +7286,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7214
7286
|
timeline?: {
|
|
7215
7287
|
startDateField: string;
|
|
7216
7288
|
titleField: string;
|
|
7217
|
-
scale: "
|
|
7289
|
+
scale: "day" | "week" | "month" | "hour" | "quarter" | "year";
|
|
7218
7290
|
endDateField?: string | undefined;
|
|
7219
7291
|
groupByField?: string | undefined;
|
|
7220
7292
|
colorField?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@objectstack/plugin-approvals",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.5.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": "14.
|
|
17
|
-
"@objectstack/formula": "14.
|
|
18
|
-
"@objectstack/metadata-core": "14.
|
|
19
|
-
"@objectstack/platform-objects": "14.
|
|
20
|
-
"@objectstack/spec": "14.
|
|
16
|
+
"@objectstack/core": "14.5.0",
|
|
17
|
+
"@objectstack/formula": "14.5.0",
|
|
18
|
+
"@objectstack/metadata-core": "14.5.0",
|
|
19
|
+
"@objectstack/platform-objects": "14.5.0",
|
|
20
|
+
"@objectstack/spec": "14.5.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/node": "^26.1.0",
|
|
24
24
|
"typescript": "^6.0.3",
|
|
25
25
|
"vitest": "^4.1.10",
|
|
26
|
-
"@objectstack/service-automation": "14.
|
|
26
|
+
"@objectstack/service-automation": "14.5.0"
|
|
27
27
|
},
|
|
28
28
|
"keywords": [
|
|
29
29
|
"objectstack",
|