@objectstack/plugin-approvals 7.4.1 → 7.6.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@7.4.1 build /home/runner/work/framework/framework/packages/plugins/plugin-approvals
2
+ > @objectstack/plugin-approvals@7.6.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 55.86 KB
14
- ESM dist/index.mjs.map 97.27 KB
15
- ESM ⚡️ Build success in 138ms
16
13
  CJS dist/index.js 57.19 KB
17
14
  CJS dist/index.js.map 98.45 KB
18
- CJS ⚡️ Build success in 165ms
15
+ CJS ⚡️ Build success in 197ms
16
+ ESM dist/index.mjs 55.86 KB
17
+ ESM dist/index.mjs.map 97.27 KB
18
+ ESM ⚡️ Build success in 208ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 6956ms
20
+ DTS ⚡️ Build success in 22941ms
21
21
  DTS dist/index.d.mts 286.36 KB
22
22
  DTS dist/index.d.ts 286.36 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # @objectstack/plugin-approvals
2
2
 
3
+ ## 7.6.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [955d4c8]
8
+ - Updated dependencies [c4a4cbd]
9
+ - Updated dependencies [b046ec2]
10
+ - Updated dependencies [2170ad9]
11
+ - Updated dependencies [02d6359]
12
+ - Updated dependencies [7648242]
13
+ - Updated dependencies [8fa1e7f]
14
+ - Updated dependencies [7ae6abc]
15
+ - Updated dependencies [55866f5]
16
+ - Updated dependencies [60f9c45]
17
+ - @objectstack/spec@7.6.0
18
+ - @objectstack/formula@7.6.0
19
+ - @objectstack/platform-objects@7.6.0
20
+ - @objectstack/core@7.6.0
21
+ - @objectstack/metadata-core@7.6.0
22
+
23
+ ## 7.5.0
24
+
25
+ ### Patch Changes
26
+
27
+ - @objectstack/spec@7.5.0
28
+ - @objectstack/core@7.5.0
29
+ - @objectstack/metadata-core@7.5.0
30
+ - @objectstack/formula@7.5.0
31
+ - @objectstack/platform-objects@7.5.0
32
+
3
33
  ## 7.4.1
4
34
 
5
35
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -233,7 +233,7 @@ declare const SysApprovalRequest: Omit<{
233
233
  description?: string | undefined;
234
234
  icon?: string | undefined;
235
235
  tags?: string[] | undefined;
236
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
236
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
237
237
  userActions?: {
238
238
  create?: boolean | undefined;
239
239
  import?: boolean | undefined;
@@ -364,14 +364,14 @@ declare const SysApprovalRequest: Omit<{
364
364
  provider: "api";
365
365
  read?: {
366
366
  url: string;
367
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
367
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
368
368
  headers?: Record<string, string> | undefined;
369
369
  params?: Record<string, unknown> | undefined;
370
370
  body?: unknown;
371
371
  } | undefined;
372
372
  write?: {
373
373
  url: string;
374
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
374
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
375
375
  headers?: Record<string, string> | undefined;
376
376
  params?: Record<string, unknown> | undefined;
377
377
  body?: unknown;
@@ -4190,7 +4190,7 @@ declare const SysApprovalAction: Omit<{
4190
4190
  description?: string | undefined;
4191
4191
  icon?: string | undefined;
4192
4192
  tags?: string[] | undefined;
4193
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
4193
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
4194
4194
  userActions?: {
4195
4195
  create?: boolean | undefined;
4196
4196
  import?: boolean | undefined;
@@ -4321,14 +4321,14 @@ declare const SysApprovalAction: Omit<{
4321
4321
  provider: "api";
4322
4322
  read?: {
4323
4323
  url: string;
4324
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
4324
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
4325
4325
  headers?: Record<string, string> | undefined;
4326
4326
  params?: Record<string, unknown> | undefined;
4327
4327
  body?: unknown;
4328
4328
  } | undefined;
4329
4329
  write?: {
4330
4330
  url: string;
4331
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
4331
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
4332
4332
  headers?: Record<string, string> | undefined;
4333
4333
  params?: Record<string, unknown> | undefined;
4334
4334
  body?: unknown;
package/dist/index.d.ts CHANGED
@@ -233,7 +233,7 @@ declare const SysApprovalRequest: Omit<{
233
233
  description?: string | undefined;
234
234
  icon?: string | undefined;
235
235
  tags?: string[] | undefined;
236
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
236
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
237
237
  userActions?: {
238
238
  create?: boolean | undefined;
239
239
  import?: boolean | undefined;
@@ -364,14 +364,14 @@ declare const SysApprovalRequest: Omit<{
364
364
  provider: "api";
365
365
  read?: {
366
366
  url: string;
367
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
367
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
368
368
  headers?: Record<string, string> | undefined;
369
369
  params?: Record<string, unknown> | undefined;
370
370
  body?: unknown;
371
371
  } | undefined;
372
372
  write?: {
373
373
  url: string;
374
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
374
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
375
375
  headers?: Record<string, string> | undefined;
376
376
  params?: Record<string, unknown> | undefined;
377
377
  body?: unknown;
@@ -4190,7 +4190,7 @@ declare const SysApprovalAction: Omit<{
4190
4190
  description?: string | undefined;
4191
4191
  icon?: string | undefined;
4192
4192
  tags?: string[] | undefined;
4193
- managedBy?: "system" | "config" | "platform" | "append-only" | "better-auth" | undefined;
4193
+ managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
4194
4194
  userActions?: {
4195
4195
  create?: boolean | undefined;
4196
4196
  import?: boolean | undefined;
@@ -4321,14 +4321,14 @@ declare const SysApprovalAction: Omit<{
4321
4321
  provider: "api";
4322
4322
  read?: {
4323
4323
  url: string;
4324
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
4324
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
4325
4325
  headers?: Record<string, string> | undefined;
4326
4326
  params?: Record<string, unknown> | undefined;
4327
4327
  body?: unknown;
4328
4328
  } | undefined;
4329
4329
  write?: {
4330
4330
  url: string;
4331
- method: "GET" | "POST" | "PATCH" | "PUT" | "DELETE";
4331
+ method: "POST" | "PATCH" | "PUT" | "DELETE" | "GET";
4332
4332
  headers?: Record<string, string> | undefined;
4333
4333
  params?: Record<string, unknown> | undefined;
4334
4334
  body?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-approvals",
3
- "version": "7.4.1",
3
+ "version": "7.6.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": "7.4.1",
17
- "@objectstack/formula": "7.4.1",
18
- "@objectstack/metadata-core": "7.4.1",
19
- "@objectstack/platform-objects": "7.4.1",
20
- "@objectstack/spec": "7.4.1"
16
+ "@objectstack/core": "7.6.0",
17
+ "@objectstack/formula": "7.6.0",
18
+ "@objectstack/metadata-core": "7.6.0",
19
+ "@objectstack/platform-objects": "7.6.0",
20
+ "@objectstack/spec": "7.6.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/node": "^25.9.1",
24
24
  "typescript": "^6.0.3",
25
- "vitest": "^4.1.7",
26
- "@objectstack/service-automation": "7.4.1"
25
+ "vitest": "^4.1.8",
26
+ "@objectstack/service-automation": "7.6.0"
27
27
  },
28
28
  "keywords": [
29
29
  "objectstack",