@objectstack/plugin-approvals 9.11.0 → 10.2.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 +10 -10
- package/CHANGELOG.md +75 -0
- package/dist/index.d.mts +702 -10
- package/dist/index.d.ts +702 -10
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
- package/src/approval-service.ts +16 -16
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @objectstack/plugin-approvals@
|
|
2
|
+
> @objectstack/plugin-approvals@10.2.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
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m119.84 KB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m215.22 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 333ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.js [22m[32m121.50 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m216.42 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 338ms
|
|
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 20560ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m368.13 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m368.13 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,80 @@
|
|
|
1
1
|
# @objectstack/plugin-approvals
|
|
2
2
|
|
|
3
|
+
## 10.2.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [b496498]
|
|
8
|
+
- @objectstack/spec@10.2.0
|
|
9
|
+
- @objectstack/core@10.2.0
|
|
10
|
+
- @objectstack/formula@10.2.0
|
|
11
|
+
- @objectstack/metadata-core@10.2.0
|
|
12
|
+
- @objectstack/platform-objects@10.2.0
|
|
13
|
+
|
|
14
|
+
## 10.1.0
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [49da36e]
|
|
19
|
+
- Updated dependencies [ac79f16]
|
|
20
|
+
- @objectstack/spec@10.1.0
|
|
21
|
+
- @objectstack/core@10.1.0
|
|
22
|
+
- @objectstack/formula@10.1.0
|
|
23
|
+
- @objectstack/metadata-core@10.1.0
|
|
24
|
+
- @objectstack/platform-objects@10.1.0
|
|
25
|
+
|
|
26
|
+
## 10.0.0
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- e16f2a8: **BREAKING:** the system object `sys_department` is renamed to `sys_business_unit`
|
|
31
|
+
— object + member table (`sys_department_member` → `sys_business_unit_member`),
|
|
32
|
+
fields, and i18n — with **no compatibility alias**. Any deployment holding
|
|
33
|
+
`sys_department` rows, or metadata that references the object by name (lookups,
|
|
34
|
+
list views, queries, sharing/approval scopes), must migrate to `sys_business_unit`.
|
|
35
|
+
A renamed shipped system object is a breaking change to the platform's public
|
|
36
|
+
data surface, so this lands as a **major**. Verified per ADR-0059's pre-publish
|
|
37
|
+
hotcrm gate: no published downstream consumer references the old name.
|
|
38
|
+
|
|
39
|
+
ADR-0057 — ERP authorization core. Adds permission-grant access DEPTH
|
|
40
|
+
(`own`/`own_and_reports`/`unit`/`unit_and_below`/`org`), renames `sys_department`
|
|
41
|
+
→ `sys_business_unit` (no aliases — see BREAKING above), introduces the platform-owned
|
|
42
|
+
`sys_user_role` assignment, and seeds stack-declared `roles`/`sharingRules` into
|
|
43
|
+
`sys_role`/`sys_sharing_rule` at boot (closes #2077). Hierarchy-relative scopes are
|
|
44
|
+
delegated to a pluggable `IHierarchyScopeResolver` (open edition fails closed to
|
|
45
|
+
owner-only; `defineStack` errors without `requires: ['hierarchy-security']`). Also
|
|
46
|
+
fixes a latent over-grant where `engine.find({ filter })` was ignored (driver reads
|
|
47
|
+
`where`) — normalized `filter`→`where` in the engine.
|
|
48
|
+
|
|
49
|
+
- Updated dependencies [d7ff626]
|
|
50
|
+
- Updated dependencies [2a1b16b]
|
|
51
|
+
- Updated dependencies [2256e93]
|
|
52
|
+
- Updated dependencies [7108ff3]
|
|
53
|
+
- Updated dependencies [30c0313]
|
|
54
|
+
- Updated dependencies [e16f2a8]
|
|
55
|
+
- Updated dependencies [cfd86ce]
|
|
56
|
+
- Updated dependencies [e411a82]
|
|
57
|
+
- Updated dependencies [ae271d0]
|
|
58
|
+
- Updated dependencies [61ed5c7]
|
|
59
|
+
- Updated dependencies [a581385]
|
|
60
|
+
- Updated dependencies [d5f6d29]
|
|
61
|
+
- Updated dependencies [220ce5b]
|
|
62
|
+
- Updated dependencies [3efe334]
|
|
63
|
+
- Updated dependencies [0df063e]
|
|
64
|
+
- Updated dependencies [ce13bb8]
|
|
65
|
+
- Updated dependencies [feead7e]
|
|
66
|
+
- Updated dependencies [6ca20b3]
|
|
67
|
+
- Updated dependencies [5f875fe]
|
|
68
|
+
- Updated dependencies [b469950]
|
|
69
|
+
- Updated dependencies [47d978a]
|
|
70
|
+
- Updated dependencies [48a307a]
|
|
71
|
+
- Updated dependencies [25fc0e4]
|
|
72
|
+
- @objectstack/spec@10.0.0
|
|
73
|
+
- @objectstack/platform-objects@10.0.0
|
|
74
|
+
- @objectstack/formula@10.0.0
|
|
75
|
+
- @objectstack/core@10.0.0
|
|
76
|
+
- @objectstack/metadata-core@10.0.0
|
|
77
|
+
|
|
3
78
|
## 9.11.0
|
|
4
79
|
|
|
5
80
|
### Patch Changes
|