@objectstack/plugin-approvals 11.7.0 → 11.10.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 +9 -9
- package/CHANGELOG.md +45 -0
- package/dist/index.d.mts +3 -6
- package/dist/index.d.ts +3 -6
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -7
- package/src/sys-approval-action.object.ts +1 -1
- package/src/sys-approval-approver.object.ts +1 -1
- package/src/sys-approval-request.object.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/plugin-approvals@11.
|
|
2
|
+
> @objectstack/plugin-approvals@11.10.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
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
|
-
[32mCJS[39m [1mdist/index.js [22m[32m121.96 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m217.11 KB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in 197ms
|
|
16
13
|
[32mESM[39m [1mdist/index.mjs [22m[32m120.29 KB[39m
|
|
17
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m215.
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m215.92 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 197ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m121.96 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m217.12 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 240ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m368.
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m368.
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 27024ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m368.08 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m368.08 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# @objectstack/plugin-approvals
|
|
2
2
|
|
|
3
|
+
## 11.10.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6a9397e: Retire the deprecated `compactLayout` alias for `highlightFields` (framework#2536, closes the ADR-0085 deprecation window).
|
|
8
|
+
|
|
9
|
+
- `ObjectSchema` no longer declares `compactLayout`: `create()` rejects it like any unknown key; lenient `parse()` strips it (no silent aliasing).
|
|
10
|
+
- The parse-time alias AND the `highlightFields → compactLayout` back-fill transition mirror are removed from `normalizeSemanticRoleAliases`. Served metadata now carries the canonical key only.
|
|
11
|
+
- All remaining first-party authors (27 system objects across plugin-audit / approvals / security / sharing / webhooks / service-storage / automation / messaging / realtime — missed by the #2521 sweep, caught by the type gate) renamed to `highlightFields`.
|
|
12
|
+
- The downstream smoke pin moves to hotcrm v1.2.2 (hotcrm#424: same rename + deps ^11.7.0).
|
|
13
|
+
- Consumers were switched in objectui#2168 and shipped via the console pin bump (#2526); this closes the window scheduled there. The dogfood mirror assertion (#2528) flips to `compactLayout: undefined` in this same change, per the plan it carried.
|
|
14
|
+
|
|
15
|
+
Version note: minor, not major — the key was deprecated-with-alias for a full release window, all first-party consumers/authors are migrated, and the spec api-surface gate reports no export changes (same documented-exception path as the ADR-0085 removals in 11.7.0). External metadata still authoring `compactLayout` will now fail `create()` loudly with the standard unknown-key error naming the key.
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [6a9397e]
|
|
18
|
+
- Updated dependencies [c0efe5d]
|
|
19
|
+
- @objectstack/spec@11.10.0
|
|
20
|
+
- @objectstack/core@11.10.0
|
|
21
|
+
- @objectstack/formula@11.10.0
|
|
22
|
+
- @objectstack/metadata-core@11.10.0
|
|
23
|
+
- @objectstack/platform-objects@11.10.0
|
|
24
|
+
|
|
25
|
+
## 11.9.0
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [d3595d9]
|
|
30
|
+
- @objectstack/spec@11.9.0
|
|
31
|
+
- @objectstack/core@11.9.0
|
|
32
|
+
- @objectstack/formula@11.9.0
|
|
33
|
+
- @objectstack/metadata-core@11.9.0
|
|
34
|
+
- @objectstack/platform-objects@11.9.0
|
|
35
|
+
|
|
36
|
+
## 11.8.0
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [53d491a]
|
|
41
|
+
- Updated dependencies [b84726b]
|
|
42
|
+
- @objectstack/platform-objects@11.8.0
|
|
43
|
+
- @objectstack/spec@11.8.0
|
|
44
|
+
- @objectstack/core@11.8.0
|
|
45
|
+
- @objectstack/metadata-core@11.8.0
|
|
46
|
+
- @objectstack/formula@11.8.0
|
|
47
|
+
|
|
3
48
|
## 11.7.0
|
|
4
49
|
|
|
5
50
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -347,7 +347,6 @@ declare const SysApprovalRequest: Omit<{
|
|
|
347
347
|
} | undefined;
|
|
348
348
|
} | undefined;
|
|
349
349
|
highlightFields?: string[] | undefined;
|
|
350
|
-
compactLayout?: string[] | undefined;
|
|
351
350
|
stageField?: string | false | undefined;
|
|
352
351
|
listViews?: Record<string, {
|
|
353
352
|
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
@@ -797,7 +796,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
797
796
|
readonly displayNameField: "id";
|
|
798
797
|
readonly nameField: "id";
|
|
799
798
|
readonly titleFormat: "{process_name} · {record_id}";
|
|
800
|
-
readonly
|
|
799
|
+
readonly highlightFields: ["process_name", "object_name", "record_id", "status", "current_step", "submitter_id", "updated_at"];
|
|
801
800
|
readonly listViews: {
|
|
802
801
|
readonly my_pending: {
|
|
803
802
|
readonly type: "grid";
|
|
@@ -4370,7 +4369,6 @@ declare const SysApprovalAction: Omit<{
|
|
|
4370
4369
|
} | undefined;
|
|
4371
4370
|
} | undefined;
|
|
4372
4371
|
highlightFields?: string[] | undefined;
|
|
4373
|
-
compactLayout?: string[] | undefined;
|
|
4374
4372
|
stageField?: string | false | undefined;
|
|
4375
4373
|
listViews?: Record<string, {
|
|
4376
4374
|
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
@@ -4820,7 +4818,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4820
4818
|
readonly displayNameField: "id";
|
|
4821
4819
|
readonly nameField: "id";
|
|
4822
4820
|
readonly titleFormat: "{action} · {step_name}";
|
|
4823
|
-
readonly
|
|
4821
|
+
readonly highlightFields: ["request_id", "step_name", "action", "actor_id", "created_at"];
|
|
4824
4822
|
readonly listViews: {
|
|
4825
4823
|
readonly recent: {
|
|
4826
4824
|
readonly type: "grid";
|
|
@@ -6808,7 +6806,6 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6808
6806
|
} | undefined;
|
|
6809
6807
|
} | undefined;
|
|
6810
6808
|
highlightFields?: string[] | undefined;
|
|
6811
|
-
compactLayout?: string[] | undefined;
|
|
6812
6809
|
stageField?: string | false | undefined;
|
|
6813
6810
|
listViews?: Record<string, {
|
|
6814
6811
|
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
@@ -7258,7 +7255,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7258
7255
|
readonly displayNameField: "id";
|
|
7259
7256
|
readonly nameField: "id";
|
|
7260
7257
|
readonly titleFormat: "{approver} · {request_id}";
|
|
7261
|
-
readonly
|
|
7258
|
+
readonly highlightFields: ["request_id", "approver", "created_at"];
|
|
7262
7259
|
readonly fields: {
|
|
7263
7260
|
readonly id: {
|
|
7264
7261
|
readonly readonly?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -347,7 +347,6 @@ declare const SysApprovalRequest: Omit<{
|
|
|
347
347
|
} | undefined;
|
|
348
348
|
} | undefined;
|
|
349
349
|
highlightFields?: string[] | undefined;
|
|
350
|
-
compactLayout?: string[] | undefined;
|
|
351
350
|
stageField?: string | false | undefined;
|
|
352
351
|
listViews?: Record<string, {
|
|
353
352
|
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
@@ -797,7 +796,7 @@ declare const SysApprovalRequest: Omit<{
|
|
|
797
796
|
readonly displayNameField: "id";
|
|
798
797
|
readonly nameField: "id";
|
|
799
798
|
readonly titleFormat: "{process_name} · {record_id}";
|
|
800
|
-
readonly
|
|
799
|
+
readonly highlightFields: ["process_name", "object_name", "record_id", "status", "current_step", "submitter_id", "updated_at"];
|
|
801
800
|
readonly listViews: {
|
|
802
801
|
readonly my_pending: {
|
|
803
802
|
readonly type: "grid";
|
|
@@ -4370,7 +4369,6 @@ declare const SysApprovalAction: Omit<{
|
|
|
4370
4369
|
} | undefined;
|
|
4371
4370
|
} | undefined;
|
|
4372
4371
|
highlightFields?: string[] | undefined;
|
|
4373
|
-
compactLayout?: string[] | undefined;
|
|
4374
4372
|
stageField?: string | false | undefined;
|
|
4375
4373
|
listViews?: Record<string, {
|
|
4376
4374
|
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
@@ -4820,7 +4818,7 @@ declare const SysApprovalAction: Omit<{
|
|
|
4820
4818
|
readonly displayNameField: "id";
|
|
4821
4819
|
readonly nameField: "id";
|
|
4822
4820
|
readonly titleFormat: "{action} · {step_name}";
|
|
4823
|
-
readonly
|
|
4821
|
+
readonly highlightFields: ["request_id", "step_name", "action", "actor_id", "created_at"];
|
|
4824
4822
|
readonly listViews: {
|
|
4825
4823
|
readonly recent: {
|
|
4826
4824
|
readonly type: "grid";
|
|
@@ -6808,7 +6806,6 @@ declare const SysApprovalApprover: Omit<{
|
|
|
6808
6806
|
} | undefined;
|
|
6809
6807
|
} | undefined;
|
|
6810
6808
|
highlightFields?: string[] | undefined;
|
|
6811
|
-
compactLayout?: string[] | undefined;
|
|
6812
6809
|
stageField?: string | false | undefined;
|
|
6813
6810
|
listViews?: Record<string, {
|
|
6814
6811
|
type: "tree" | "grid" | "kanban" | "calendar" | "gantt" | "gallery" | "timeline" | "chart" | "map";
|
|
@@ -7258,7 +7255,7 @@ declare const SysApprovalApprover: Omit<{
|
|
|
7258
7255
|
readonly displayNameField: "id";
|
|
7259
7256
|
readonly nameField: "id";
|
|
7260
7257
|
readonly titleFormat: "{approver} · {request_id}";
|
|
7261
|
-
readonly
|
|
7258
|
+
readonly highlightFields: ["request_id", "approver", "created_at"];
|
|
7262
7259
|
readonly fields: {
|
|
7263
7260
|
readonly id: {
|
|
7264
7261
|
readonly readonly?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -689,7 +689,7 @@ var SysApprovalRequest = import_data.ObjectSchema.create({
|
|
|
689
689
|
nameField: "id",
|
|
690
690
|
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
691
691
|
titleFormat: "{process_name} \xB7 {record_id}",
|
|
692
|
-
|
|
692
|
+
highlightFields: ["process_name", "object_name", "record_id", "status", "current_step", "submitter_id", "updated_at"],
|
|
693
693
|
// Curated built-in list views — render as segmented tabs in the console.
|
|
694
694
|
// Filters use {current_user_id} substitution wired by the console.
|
|
695
695
|
listViews: {
|
|
@@ -881,7 +881,7 @@ var SysApprovalAction = import_data2.ObjectSchema.create({
|
|
|
881
881
|
nameField: "id",
|
|
882
882
|
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
883
883
|
titleFormat: "{action} \xB7 {step_name}",
|
|
884
|
-
|
|
884
|
+
highlightFields: ["request_id", "step_name", "action", "actor_id", "created_at"],
|
|
885
885
|
listViews: {
|
|
886
886
|
recent: {
|
|
887
887
|
type: "grid",
|
|
@@ -984,7 +984,7 @@ var SysApprovalApprover = import_data3.ObjectSchema.create({
|
|
|
984
984
|
nameField: "id",
|
|
985
985
|
// [ADR-0079] canonical primary-title pointer (mirrors deprecated displayNameField)
|
|
986
986
|
titleFormat: "{approver} \xB7 {request_id}",
|
|
987
|
-
|
|
987
|
+
highlightFields: ["request_id", "approver", "created_at"],
|
|
988
988
|
fields: {
|
|
989
989
|
id: import_data3.Field.text({ label: "Row ID", required: true, readonly: true, group: "System" }),
|
|
990
990
|
organization_id: import_data3.Field.lookup("sys_organization", {
|