@objectstack/plugin-webhooks 15.0.0 → 15.1.1

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@15.0.0 build /home/runner/work/framework/framework/packages/plugins/plugin-webhooks
2
+ > @objectstack/plugin-webhooks@15.1.1 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
@@ -10,15 +10,15 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- ESM dist/index.js 13.47 KB
14
13
  ESM dist/schema.js 111.00 B
15
14
  ESM dist/chunk-YQG6SUP3.js 5.67 KB
16
15
  ESM dist/translations-AV47AVPV.js 19.41 KB
17
- ESM dist/index.js.map 34.03 KB
16
+ ESM dist/index.js 13.47 KB
18
17
  ESM dist/schema.js.map 71.00 B
19
18
  ESM dist/chunk-YQG6SUP3.js.map 10.28 KB
20
19
  ESM dist/translations-AV47AVPV.js.map 30.54 KB
21
- ESM ⚡️ Build success in 1263ms
20
+ ESM dist/index.js.map 34.03 KB
21
+ ESM ⚡️ Build success in 640ms
22
22
  CJS dist/index.cjs 17.15 KB
23
23
  CJS dist/schema.cjs 220.00 B
24
24
  CJS dist/chunk-I63ISOGO.cjs 5.81 KB
@@ -27,10 +27,10 @@
27
27
  CJS dist/schema.cjs.map 278.00 B
28
28
  CJS dist/chunk-I63ISOGO.cjs.map 12.15 KB
29
29
  CJS dist/translations-OAKKANSP.cjs.map 34.65 KB
30
- CJS ⚡️ Build success in 1283ms
30
+ CJS ⚡️ Build success in 641ms
31
31
  DTS Build start
32
- DTS ⚡️ Build success in 25732ms
32
+ DTS ⚡️ Build success in 23455ms
33
33
  DTS dist/index.d.ts 6.97 KB
34
- DTS dist/schema.d.ts 134.83 KB
34
+ DTS dist/schema.d.ts 138.01 KB
35
35
  DTS dist/index.d.cts 6.97 KB
36
- DTS dist/schema.d.cts 134.83 KB
36
+ DTS dist/schema.d.cts 138.01 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,51 @@
1
1
  # @objectstack/plugin-webhooks
2
2
 
3
+ ## 15.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @objectstack/spec@15.1.1
8
+ - @objectstack/core@15.1.1
9
+ - @objectstack/service-messaging@15.1.1
10
+
11
+ ## 15.1.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [f531a26]
16
+ - Updated dependencies [f531a26]
17
+ - Updated dependencies [f531a26]
18
+ - Updated dependencies [f531a26]
19
+ - Updated dependencies [f531a26]
20
+ - Updated dependencies [f531a26]
21
+ - Updated dependencies [3fe9df1]
22
+ - Updated dependencies [f531a26]
23
+ - Updated dependencies [f531a26]
24
+ - Updated dependencies [f531a26]
25
+ - Updated dependencies [f531a26]
26
+ - Updated dependencies [f531a26]
27
+ - Updated dependencies [f531a26]
28
+ - Updated dependencies [f531a26]
29
+ - Updated dependencies [f531a26]
30
+ - Updated dependencies [f531a26]
31
+ - Updated dependencies [f531a26]
32
+ - Updated dependencies [f531a26]
33
+ - Updated dependencies [f531a26]
34
+ - Updated dependencies [4109153]
35
+ - Updated dependencies [f531a26]
36
+ - Updated dependencies [f531a26]
37
+ - Updated dependencies [f531a26]
38
+ - Updated dependencies [f531a26]
39
+ - Updated dependencies [f531a26]
40
+ - Updated dependencies [f531a26]
41
+ - Updated dependencies [627f225]
42
+ - Updated dependencies [f531a26]
43
+ - Updated dependencies [f531a26]
44
+ - Updated dependencies [f531a26]
45
+ - @objectstack/spec@15.1.0
46
+ - @objectstack/core@15.1.0
47
+ - @objectstack/service-messaging@15.1.0
48
+
3
49
  ## 15.0.0
4
50
 
5
51
  ### Patch Changes
package/dist/schema.d.cts CHANGED
@@ -282,8 +282,80 @@ declare const SysWebhook: Omit<{
282
282
  userActions?: {
283
283
  create?: boolean | undefined;
284
284
  import?: boolean | undefined;
285
- edit?: boolean | undefined;
286
- delete?: boolean | undefined;
285
+ edit?: boolean | {
286
+ enabled?: boolean | undefined;
287
+ visibleWhen?: {
288
+ dialect: "cel" | "js" | "cron" | "template";
289
+ source?: string | undefined;
290
+ ast?: unknown;
291
+ meta?: {
292
+ rationale?: string | undefined;
293
+ generatedBy?: string | undefined;
294
+ } | undefined;
295
+ } | {
296
+ dialect: "cel" | "js" | "cron" | "template";
297
+ source?: string | undefined;
298
+ ast?: unknown;
299
+ meta?: {
300
+ rationale?: string | undefined;
301
+ generatedBy?: string | undefined;
302
+ } | undefined;
303
+ } | undefined;
304
+ disabledWhen?: {
305
+ dialect: "cel" | "js" | "cron" | "template";
306
+ source?: string | undefined;
307
+ ast?: unknown;
308
+ meta?: {
309
+ rationale?: string | undefined;
310
+ generatedBy?: string | undefined;
311
+ } | undefined;
312
+ } | {
313
+ dialect: "cel" | "js" | "cron" | "template";
314
+ source?: string | undefined;
315
+ ast?: unknown;
316
+ meta?: {
317
+ rationale?: string | undefined;
318
+ generatedBy?: string | undefined;
319
+ } | undefined;
320
+ } | undefined;
321
+ } | undefined;
322
+ delete?: boolean | {
323
+ enabled?: boolean | undefined;
324
+ visibleWhen?: {
325
+ dialect: "cel" | "js" | "cron" | "template";
326
+ source?: string | undefined;
327
+ ast?: unknown;
328
+ meta?: {
329
+ rationale?: string | undefined;
330
+ generatedBy?: string | undefined;
331
+ } | undefined;
332
+ } | {
333
+ dialect: "cel" | "js" | "cron" | "template";
334
+ source?: string | undefined;
335
+ ast?: unknown;
336
+ meta?: {
337
+ rationale?: string | undefined;
338
+ generatedBy?: string | undefined;
339
+ } | undefined;
340
+ } | undefined;
341
+ disabledWhen?: {
342
+ dialect: "cel" | "js" | "cron" | "template";
343
+ source?: string | undefined;
344
+ ast?: unknown;
345
+ meta?: {
346
+ rationale?: string | undefined;
347
+ generatedBy?: string | undefined;
348
+ } | undefined;
349
+ } | {
350
+ dialect: "cel" | "js" | "cron" | "template";
351
+ source?: string | undefined;
352
+ ast?: unknown;
353
+ meta?: {
354
+ rationale?: string | undefined;
355
+ generatedBy?: string | undefined;
356
+ } | undefined;
357
+ } | undefined;
358
+ } | undefined;
287
359
  exportCsv?: boolean | undefined;
288
360
  } | undefined;
289
361
  systemFields?: false | {
@@ -318,9 +390,7 @@ declare const SysWebhook: Omit<{
318
390
  }[] | undefined;
319
391
  tenancy?: {
320
392
  enabled: boolean;
321
- strategy: "hybrid" | "shared" | "isolated";
322
393
  tenantField: string;
323
- crossTenantAccess: boolean;
324
394
  } | undefined;
325
395
  access?: {
326
396
  default: "public" | "private";
@@ -713,7 +783,7 @@ declare const SysWebhook: Omit<{
713
783
  eligibility?: string | undefined;
714
784
  } | undefined;
715
785
  keyPrefix?: string | undefined;
716
- actions?: {
786
+ actions?: Omit<{
717
787
  name: string;
718
788
  label: string;
719
789
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -735,7 +805,7 @@ declare const SysWebhook: Omit<{
735
805
  memoryMb?: number | undefined;
736
806
  } | undefined;
737
807
  execute?: string | undefined;
738
- params?: {
808
+ params?: Omit<{
739
809
  required: boolean;
740
810
  name?: string | undefined;
741
811
  field?: string | undefined;
@@ -759,7 +829,8 @@ declare const SysWebhook: Omit<{
759
829
  generatedBy?: string | undefined;
760
830
  } | undefined;
761
831
  } | undefined;
762
- }[] | undefined;
832
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
833
+ }, "requiresFeature">[] | undefined;
763
834
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
764
835
  order?: number | undefined;
765
836
  confirmText?: string | undefined;
@@ -786,6 +857,7 @@ declare const SysWebhook: Omit<{
786
857
  generatedBy?: string | undefined;
787
858
  } | undefined;
788
859
  } | undefined;
860
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
789
861
  disabled?: boolean | {
790
862
  dialect: "cel" | "js" | "cron" | "template";
791
863
  source?: string | undefined;
@@ -826,7 +898,7 @@ declare const SysWebhook: Omit<{
826
898
  ariaDescribedBy?: string | undefined;
827
899
  role?: string | undefined;
828
900
  } | undefined;
829
- }[] | undefined;
901
+ }, "requiresFeature">[] | undefined;
830
902
  protection?: {
831
903
  lock: "full" | "none" | "no-overlay" | "no-delete";
832
904
  reason: string;
package/dist/schema.d.ts CHANGED
@@ -282,8 +282,80 @@ declare const SysWebhook: Omit<{
282
282
  userActions?: {
283
283
  create?: boolean | undefined;
284
284
  import?: boolean | undefined;
285
- edit?: boolean | undefined;
286
- delete?: boolean | undefined;
285
+ edit?: boolean | {
286
+ enabled?: boolean | undefined;
287
+ visibleWhen?: {
288
+ dialect: "cel" | "js" | "cron" | "template";
289
+ source?: string | undefined;
290
+ ast?: unknown;
291
+ meta?: {
292
+ rationale?: string | undefined;
293
+ generatedBy?: string | undefined;
294
+ } | undefined;
295
+ } | {
296
+ dialect: "cel" | "js" | "cron" | "template";
297
+ source?: string | undefined;
298
+ ast?: unknown;
299
+ meta?: {
300
+ rationale?: string | undefined;
301
+ generatedBy?: string | undefined;
302
+ } | undefined;
303
+ } | undefined;
304
+ disabledWhen?: {
305
+ dialect: "cel" | "js" | "cron" | "template";
306
+ source?: string | undefined;
307
+ ast?: unknown;
308
+ meta?: {
309
+ rationale?: string | undefined;
310
+ generatedBy?: string | undefined;
311
+ } | undefined;
312
+ } | {
313
+ dialect: "cel" | "js" | "cron" | "template";
314
+ source?: string | undefined;
315
+ ast?: unknown;
316
+ meta?: {
317
+ rationale?: string | undefined;
318
+ generatedBy?: string | undefined;
319
+ } | undefined;
320
+ } | undefined;
321
+ } | undefined;
322
+ delete?: boolean | {
323
+ enabled?: boolean | undefined;
324
+ visibleWhen?: {
325
+ dialect: "cel" | "js" | "cron" | "template";
326
+ source?: string | undefined;
327
+ ast?: unknown;
328
+ meta?: {
329
+ rationale?: string | undefined;
330
+ generatedBy?: string | undefined;
331
+ } | undefined;
332
+ } | {
333
+ dialect: "cel" | "js" | "cron" | "template";
334
+ source?: string | undefined;
335
+ ast?: unknown;
336
+ meta?: {
337
+ rationale?: string | undefined;
338
+ generatedBy?: string | undefined;
339
+ } | undefined;
340
+ } | undefined;
341
+ disabledWhen?: {
342
+ dialect: "cel" | "js" | "cron" | "template";
343
+ source?: string | undefined;
344
+ ast?: unknown;
345
+ meta?: {
346
+ rationale?: string | undefined;
347
+ generatedBy?: string | undefined;
348
+ } | undefined;
349
+ } | {
350
+ dialect: "cel" | "js" | "cron" | "template";
351
+ source?: string | undefined;
352
+ ast?: unknown;
353
+ meta?: {
354
+ rationale?: string | undefined;
355
+ generatedBy?: string | undefined;
356
+ } | undefined;
357
+ } | undefined;
358
+ } | undefined;
287
359
  exportCsv?: boolean | undefined;
288
360
  } | undefined;
289
361
  systemFields?: false | {
@@ -318,9 +390,7 @@ declare const SysWebhook: Omit<{
318
390
  }[] | undefined;
319
391
  tenancy?: {
320
392
  enabled: boolean;
321
- strategy: "hybrid" | "shared" | "isolated";
322
393
  tenantField: string;
323
- crossTenantAccess: boolean;
324
394
  } | undefined;
325
395
  access?: {
326
396
  default: "public" | "private";
@@ -713,7 +783,7 @@ declare const SysWebhook: Omit<{
713
783
  eligibility?: string | undefined;
714
784
  } | undefined;
715
785
  keyPrefix?: string | undefined;
716
- actions?: {
786
+ actions?: Omit<{
717
787
  name: string;
718
788
  label: string;
719
789
  type: "url" | "form" | "flow" | "api" | "script" | "modal";
@@ -735,7 +805,7 @@ declare const SysWebhook: Omit<{
735
805
  memoryMb?: number | undefined;
736
806
  } | undefined;
737
807
  execute?: string | undefined;
738
- params?: {
808
+ params?: Omit<{
739
809
  required: boolean;
740
810
  name?: string | undefined;
741
811
  field?: string | undefined;
@@ -759,7 +829,8 @@ declare const SysWebhook: Omit<{
759
829
  generatedBy?: string | undefined;
760
830
  } | undefined;
761
831
  } | undefined;
762
- }[] | undefined;
832
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
833
+ }, "requiresFeature">[] | undefined;
763
834
  variant?: "link" | "primary" | "secondary" | "danger" | "ghost" | undefined;
764
835
  order?: number | undefined;
765
836
  confirmText?: string | undefined;
@@ -786,6 +857,7 @@ declare const SysWebhook: Omit<{
786
857
  generatedBy?: string | undefined;
787
858
  } | undefined;
788
859
  } | undefined;
860
+ requiresFeature?: "twoFactor" | "passkeys" | "magicLink" | "organization" | "multiOrgEnabled" | "degradedTenancy" | "oidcProvider" | "sso" | "ssoEnforced" | "deviceAuthorization" | "admin" | "phoneNumber" | "phoneNumberOtp" | undefined;
789
861
  disabled?: boolean | {
790
862
  dialect: "cel" | "js" | "cron" | "template";
791
863
  source?: string | undefined;
@@ -826,7 +898,7 @@ declare const SysWebhook: Omit<{
826
898
  ariaDescribedBy?: string | undefined;
827
899
  role?: string | undefined;
828
900
  } | undefined;
829
- }[] | undefined;
901
+ }, "requiresFeature">[] | undefined;
830
902
  protection?: {
831
903
  lock: "full" | "none" | "no-overlay" | "no-delete";
832
904
  reason: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/plugin-webhooks",
3
- "version": "15.0.0",
3
+ "version": "15.1.1",
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": "15.0.0",
23
- "@objectstack/service-messaging": "15.0.0",
24
- "@objectstack/spec": "15.0.0"
22
+ "@objectstack/core": "15.1.1",
23
+ "@objectstack/service-messaging": "15.1.1",
24
+ "@objectstack/spec": "15.1.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^26.1.1",