@objectstack/plugin-webhooks 12.5.0 → 13.0.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-webhooks@12.5.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
2
+ > @objectstack/plugin-webhooks@13.0.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts, src/schema.ts
@@ -18,7 +18,7 @@
18
18
  ESM dist/schema.js.map 71.00 B
19
19
  ESM dist/chunk-HSSV22TO.js.map 9.27 KB
20
20
  ESM dist/translations-AV47AVPV.js.map 30.54 KB
21
- ESM ⚡️ Build success in 966ms
21
+ ESM ⚡️ Build success in 833ms
22
22
  CJS dist/index.cjs 16.40 KB
23
23
  CJS dist/schema.cjs 220.00 B
24
24
  CJS dist/chunk-RA3REIOA.cjs 4.96 KB
@@ -27,10 +27,10 @@
27
27
  CJS dist/schema.cjs.map 278.00 B
28
28
  CJS dist/chunk-RA3REIOA.cjs.map 11.10 KB
29
29
  CJS dist/translations-OAKKANSP.cjs.map 34.65 KB
30
- CJS ⚡️ Build success in 968ms
30
+ CJS ⚡️ Build success in 834ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 10405ms
32
+ DTS ⚡️ Build success in 24434ms
33
33
  DTS dist/index.d.ts 6.97 KB
34
- DTS dist/schema.d.ts 132.29 KB
34
+ DTS dist/schema.d.ts 133.18 KB
35
35
  DTS dist/index.d.cts 6.97 KB
36
- DTS dist/schema.d.cts 132.29 KB
36
+ DTS dist/schema.d.cts 133.18 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 13.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6d83431]
8
+ - Updated dependencies [01917c2]
9
+ - Updated dependencies [b271691]
10
+ - Updated dependencies [a5a1e41]
11
+ - Updated dependencies [466adf6]
12
+ - Updated dependencies [5be00c3]
13
+ - Updated dependencies [466adf6]
14
+ - Updated dependencies [2bee609]
15
+ - Updated dependencies [fc7e7f7]
16
+ - @objectstack/spec@13.0.0
17
+ - @objectstack/core@13.0.0
18
+ - @objectstack/service-messaging@13.0.0
19
+
20
+ ## 12.6.0
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [6cebf22]
25
+ - Updated dependencies [21420d9]
26
+ - @objectstack/spec@12.6.0
27
+ - @objectstack/core@12.6.0
28
+ - @objectstack/service-messaging@12.6.0
29
+
3
30
  ## 12.5.0
4
31
 
5
32
  ### Patch Changes
@@ -629,8 +656,8 @@ priority, items }`) and an optional `navigationContributions` field on the
629
656
  `i18n.loadTranslations` (the i18n service is optional — load is best-effort).
630
657
  - `plugin-webhooks` ← `sys_webhook`, `sys_webhook_delivery`
631
658
  - `plugin-approvals` ← `sys_approval_request`, `sys_approval_action`
632
- - `plugin-security` ← `sys_role`, `sys_permission_set`,
633
- `sys_user_permission_set`, `sys_role_permission_set`
659
+ - `plugin-security` ← `sys_position`, `sys_permission_set`,
660
+ `sys_user_permission_set`, `sys_position_permission_set`
634
661
  - `plugin-sharing` ← `sys_record_share`, `sys_sharing_rule`, `sys_share_link`
635
662
  - `@objectstack/platform-objects` translation bundles are regenerated to drop
636
663
  those objects' keys (its extract config already excluded them); all other
package/dist/schema.d.cts CHANGED
@@ -277,7 +277,7 @@ declare const SysWebhook: Omit<{
277
277
  description?: string | undefined;
278
278
  icon?: string | undefined;
279
279
  tags?: string[] | undefined;
280
- managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
280
+ managedBy?: "system" | "platform" | "config" | "append-only" | "better-auth" | undefined;
281
281
  userActions?: {
282
282
  create?: boolean | undefined;
283
283
  import?: boolean | undefined;
@@ -324,7 +324,12 @@ declare const SysWebhook: Omit<{
324
324
  access?: {
325
325
  default: "public" | "private";
326
326
  } | undefined;
327
- requiredPermissions?: string[] | undefined;
327
+ requiredPermissions?: string[] | {
328
+ read?: string[] | undefined;
329
+ create?: string[] | undefined;
330
+ update?: string[] | undefined;
331
+ delete?: string[] | undefined;
332
+ } | undefined;
328
333
  softDelete?: {
329
334
  enabled: boolean;
330
335
  field: string;
@@ -638,6 +643,21 @@ declare const SysWebhook: Omit<{
638
643
  pageSize?: number | undefined;
639
644
  debounceMs?: number | undefined;
640
645
  } | undefined;
646
+ userFilters?: {
647
+ element: "toggle" | "dropdown";
648
+ fields?: {
649
+ field: string;
650
+ label?: string | undefined;
651
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
652
+ options?: {
653
+ value: string | number | boolean;
654
+ label: string;
655
+ color?: string | undefined;
656
+ }[] | undefined;
657
+ showCount?: boolean | undefined;
658
+ defaultValues?: (string | number | boolean)[] | undefined;
659
+ }[] | undefined;
660
+ } | undefined;
641
661
  }> | undefined;
642
662
  searchableFields?: string[] | undefined;
643
663
  search?: {
@@ -657,7 +677,8 @@ declare const SysWebhook: Omit<{
657
677
  clone: boolean;
658
678
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
659
679
  } | undefined;
660
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
680
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
681
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
661
682
  publicSharing?: {
662
683
  enabled: boolean;
663
684
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -706,6 +727,7 @@ declare const SysWebhook: Omit<{
706
727
  defaultFromRow?: boolean | undefined;
707
728
  }[] | undefined;
708
729
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
730
+ order?: number | undefined;
709
731
  confirmText?: string | undefined;
710
732
  successMessage?: string | undefined;
711
733
  errorMessage?: string | undefined;
package/dist/schema.d.ts CHANGED
@@ -277,7 +277,7 @@ declare const SysWebhook: Omit<{
277
277
  description?: string | undefined;
278
278
  icon?: string | undefined;
279
279
  tags?: string[] | undefined;
280
- managedBy?: "platform" | "system" | "config" | "append-only" | "better-auth" | undefined;
280
+ managedBy?: "system" | "platform" | "config" | "append-only" | "better-auth" | undefined;
281
281
  userActions?: {
282
282
  create?: boolean | undefined;
283
283
  import?: boolean | undefined;
@@ -324,7 +324,12 @@ declare const SysWebhook: Omit<{
324
324
  access?: {
325
325
  default: "public" | "private";
326
326
  } | undefined;
327
- requiredPermissions?: string[] | undefined;
327
+ requiredPermissions?: string[] | {
328
+ read?: string[] | undefined;
329
+ create?: string[] | undefined;
330
+ update?: string[] | undefined;
331
+ delete?: string[] | undefined;
332
+ } | undefined;
328
333
  softDelete?: {
329
334
  enabled: boolean;
330
335
  field: string;
@@ -638,6 +643,21 @@ declare const SysWebhook: Omit<{
638
643
  pageSize?: number | undefined;
639
644
  debounceMs?: number | undefined;
640
645
  } | undefined;
646
+ userFilters?: {
647
+ element: "toggle" | "dropdown";
648
+ fields?: {
649
+ field: string;
650
+ label?: string | undefined;
651
+ type?: "boolean" | "text" | "select" | "multi-select" | "date-range" | undefined;
652
+ options?: {
653
+ value: string | number | boolean;
654
+ label: string;
655
+ color?: string | undefined;
656
+ }[] | undefined;
657
+ showCount?: boolean | undefined;
658
+ defaultValues?: (string | number | boolean)[] | undefined;
659
+ }[] | undefined;
660
+ } | undefined;
641
661
  }> | undefined;
642
662
  searchableFields?: string[] | undefined;
643
663
  search?: {
@@ -657,7 +677,8 @@ declare const SysWebhook: Omit<{
657
677
  clone: boolean;
658
678
  apiMethods?: ("create" | "update" | "delete" | "search" | "import" | "get" | "upsert" | "list" | "bulk" | "aggregate" | "history" | "restore" | "purge" | "export")[] | undefined;
659
679
  } | undefined;
660
- sharingModel?: "full" | "private" | "read" | "public_read" | "public_read_write" | "controlled_by_parent" | "read_write" | undefined;
680
+ sharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
681
+ externalSharingModel?: "private" | "public_read" | "public_read_write" | "controlled_by_parent" | undefined;
661
682
  publicSharing?: {
662
683
  enabled: boolean;
663
684
  allowedAudiences?: ("email" | "public" | "link_only" | "signed_in")[] | undefined;
@@ -706,6 +727,7 @@ declare const SysWebhook: Omit<{
706
727
  defaultFromRow?: boolean | undefined;
707
728
  }[] | undefined;
708
729
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
730
+ order?: number | undefined;
709
731
  confirmText?: string | undefined;
710
732
  successMessage?: string | undefined;
711
733
  errorMessage?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "12.5.0",
3
+ "version": "13.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Persistent, cluster-aware webhook dispatcher. Durable outbox + per-partition cluster.lock for exactly-once-ish delivery across nodes. See content/docs/concepts/webhook-delivery.mdx.",
6
6
  "type": "module",
@@ -19,9 +19,9 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@objectstack/core": "12.5.0",
23
- "@objectstack/service-messaging": "12.5.0",
24
- "@objectstack/spec": "12.5.0"
22
+ "@objectstack/core": "13.0.0",
23
+ "@objectstack/service-messaging": "13.0.0",
24
+ "@objectstack/spec": "13.0.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.0",