@domino-sdk/relay 0.30.0 → 0.31.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/dist/schema.d.ts CHANGED
@@ -151,10 +151,30 @@ declare const triggerSchema: z.ZodUnion<readonly [z.ZodObject<{
151
151
  custom: "custom";
152
152
  "x-search": "x-search";
153
153
  }>;
154
- beneficiary: z.ZodEnum<{
155
- author: "author";
156
- "replied-to": "replied-to";
157
- }>;
154
+ on: z.ZodOptional<z.ZodEnum<{
155
+ "new-record": "new-record";
156
+ "new-observation": "new-observation";
157
+ "data-changed": "data-changed";
158
+ }>>;
159
+ where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
160
+ path: z.ZodString;
161
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
162
+ }, z.core.$strict>, z.ZodObject<{
163
+ path: z.ZodString;
164
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
165
+ setting: z.ZodString;
166
+ }, z.core.$strict>]>>;
167
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
168
+ setting: z.ZodString;
169
+ }, z.core.$strict>]>>;
170
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
171
+ setting: z.ZodString;
172
+ }, z.core.$strict>]>>;
173
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
174
+ setting: z.ZodString;
175
+ }, z.core.$strict>]>>;
176
+ }, z.core.$strict>]>>;
177
+ beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
158
178
  }, z.core.$strict>>;
159
179
  }, z.core.$strict>]>;
160
180
  declare const prerequisiteSchema: z.ZodObject<{
@@ -518,10 +538,30 @@ declare const questDescriptionSchema: z.ZodObject<{
518
538
  custom: "custom";
519
539
  "x-search": "x-search";
520
540
  }>;
521
- beneficiary: z.ZodEnum<{
522
- author: "author";
523
- "replied-to": "replied-to";
524
- }>;
541
+ on: z.ZodOptional<z.ZodEnum<{
542
+ "new-record": "new-record";
543
+ "new-observation": "new-observation";
544
+ "data-changed": "data-changed";
545
+ }>>;
546
+ where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
547
+ path: z.ZodString;
548
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ path: z.ZodString;
551
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
552
+ setting: z.ZodString;
553
+ }, z.core.$strict>]>>;
554
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
555
+ setting: z.ZodString;
556
+ }, z.core.$strict>]>>;
557
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
558
+ setting: z.ZodString;
559
+ }, z.core.$strict>]>>;
560
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
561
+ setting: z.ZodString;
562
+ }, z.core.$strict>]>>;
563
+ }, z.core.$strict>]>>;
564
+ beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
525
565
  }, z.core.$strict>>;
526
566
  }, z.core.$strict>]>;
527
567
  performance: z.ZodOptional<z.ZodObject<{
@@ -828,10 +868,30 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
828
868
  custom: "custom";
829
869
  "x-search": "x-search";
830
870
  }>;
831
- beneficiary: z.ZodEnum<{
832
- author: "author";
833
- "replied-to": "replied-to";
834
- }>;
871
+ on: z.ZodOptional<z.ZodEnum<{
872
+ "new-record": "new-record";
873
+ "new-observation": "new-observation";
874
+ "data-changed": "data-changed";
875
+ }>>;
876
+ where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
877
+ path: z.ZodString;
878
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
879
+ }, z.core.$strict>, z.ZodObject<{
880
+ path: z.ZodString;
881
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
882
+ setting: z.ZodString;
883
+ }, z.core.$strict>]>>;
884
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
885
+ setting: z.ZodString;
886
+ }, z.core.$strict>]>>;
887
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
888
+ setting: z.ZodString;
889
+ }, z.core.$strict>]>>;
890
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
891
+ setting: z.ZodString;
892
+ }, z.core.$strict>]>>;
893
+ }, z.core.$strict>]>>;
894
+ beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
835
895
  }, z.core.$strict>>;
836
896
  }, z.core.$strict>]>;
837
897
  performance: z.ZodOptional<z.ZodObject<{
@@ -1112,7 +1172,26 @@ declare const publishedReleaseSchema: z.ZodUnion<readonly [z.ZodObject<{
1112
1172
  tracker?: {
1113
1173
  tracker: string;
1114
1174
  source: "custom" | "x-search";
1115
- beneficiary: "author" | "replied-to";
1175
+ beneficiary: string;
1176
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
1177
+ where?: {
1178
+ path: string;
1179
+ gt?: number | {
1180
+ setting: string;
1181
+ } | undefined;
1182
+ gte?: number | {
1183
+ setting: string;
1184
+ } | undefined;
1185
+ lt?: number | {
1186
+ setting: string;
1187
+ } | undefined;
1188
+ lte?: number | {
1189
+ setting: string;
1190
+ } | undefined;
1191
+ } | {
1192
+ path: string;
1193
+ equals: string | number | boolean;
1194
+ } | undefined;
1116
1195
  } | undefined;
1117
1196
  } | {
1118
1197
  kind: "manual";
@@ -1437,10 +1516,30 @@ declare const templateSchema: z.ZodObject<{
1437
1516
  custom: "custom";
1438
1517
  "x-search": "x-search";
1439
1518
  }>;
1440
- beneficiary: z.ZodEnum<{
1441
- author: "author";
1442
- "replied-to": "replied-to";
1443
- }>;
1519
+ on: z.ZodOptional<z.ZodEnum<{
1520
+ "new-record": "new-record";
1521
+ "new-observation": "new-observation";
1522
+ "data-changed": "data-changed";
1523
+ }>>;
1524
+ where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1525
+ path: z.ZodString;
1526
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
1527
+ }, z.core.$strict>, z.ZodObject<{
1528
+ path: z.ZodString;
1529
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1530
+ setting: z.ZodString;
1531
+ }, z.core.$strict>]>>;
1532
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1533
+ setting: z.ZodString;
1534
+ }, z.core.$strict>]>>;
1535
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1536
+ setting: z.ZodString;
1537
+ }, z.core.$strict>]>>;
1538
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
1539
+ setting: z.ZodString;
1540
+ }, z.core.$strict>]>>;
1541
+ }, z.core.$strict>]>>;
1542
+ beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
1444
1543
  }, z.core.$strict>>;
1445
1544
  }, z.core.$strict>]>;
1446
1545
  performance: z.ZodOptional<z.ZodObject<{
@@ -1918,10 +2017,30 @@ declare const memberProgressSchema: z.ZodObject<{
1918
2017
  custom: "custom";
1919
2018
  "x-search": "x-search";
1920
2019
  }>;
1921
- beneficiary: z.ZodEnum<{
1922
- author: "author";
1923
- "replied-to": "replied-to";
1924
- }>;
2020
+ on: z.ZodOptional<z.ZodEnum<{
2021
+ "new-record": "new-record";
2022
+ "new-observation": "new-observation";
2023
+ "data-changed": "data-changed";
2024
+ }>>;
2025
+ where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2026
+ path: z.ZodString;
2027
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2028
+ }, z.core.$strict>, z.ZodObject<{
2029
+ path: z.ZodString;
2030
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2031
+ setting: z.ZodString;
2032
+ }, z.core.$strict>]>>;
2033
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2034
+ setting: z.ZodString;
2035
+ }, z.core.$strict>]>>;
2036
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2037
+ setting: z.ZodString;
2038
+ }, z.core.$strict>]>>;
2039
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2040
+ setting: z.ZodString;
2041
+ }, z.core.$strict>]>>;
2042
+ }, z.core.$strict>]>>;
2043
+ beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
1925
2044
  }, z.core.$strict>>;
1926
2045
  }, z.core.$strict>]>;
1927
2046
  availability: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2349,10 +2468,30 @@ declare const snapshotSchema: z.ZodObject<{
2349
2468
  custom: "custom";
2350
2469
  "x-search": "x-search";
2351
2470
  }>;
2352
- beneficiary: z.ZodEnum<{
2353
- author: "author";
2354
- "replied-to": "replied-to";
2355
- }>;
2471
+ on: z.ZodOptional<z.ZodEnum<{
2472
+ "new-record": "new-record";
2473
+ "new-observation": "new-observation";
2474
+ "data-changed": "data-changed";
2475
+ }>>;
2476
+ where: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
2477
+ path: z.ZodString;
2478
+ equals: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
2479
+ }, z.core.$strict>, z.ZodObject<{
2480
+ path: z.ZodString;
2481
+ gt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2482
+ setting: z.ZodString;
2483
+ }, z.core.$strict>]>>;
2484
+ gte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2485
+ setting: z.ZodString;
2486
+ }, z.core.$strict>]>>;
2487
+ lt: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2488
+ setting: z.ZodString;
2489
+ }, z.core.$strict>]>>;
2490
+ lte: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
2491
+ setting: z.ZodString;
2492
+ }, z.core.$strict>]>>;
2493
+ }, z.core.$strict>]>>;
2494
+ beneficiary: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"replied-to">]>;
2356
2495
  }, z.core.$strict>>;
2357
2496
  }, z.core.$strict>]>;
2358
2497
  performance: z.ZodOptional<z.ZodObject<{
@@ -2633,7 +2772,26 @@ declare const snapshotSchema: z.ZodObject<{
2633
2772
  tracker?: {
2634
2773
  tracker: string;
2635
2774
  source: "custom" | "x-search";
2636
- beneficiary: "author" | "replied-to";
2775
+ beneficiary: string;
2776
+ on?: "new-record" | "new-observation" | "data-changed" | undefined;
2777
+ where?: {
2778
+ path: string;
2779
+ gt?: number | {
2780
+ setting: string;
2781
+ } | undefined;
2782
+ gte?: number | {
2783
+ setting: string;
2784
+ } | undefined;
2785
+ lt?: number | {
2786
+ setting: string;
2787
+ } | undefined;
2788
+ lte?: number | {
2789
+ setting: string;
2790
+ } | undefined;
2791
+ } | {
2792
+ path: string;
2793
+ equals: string | number | boolean;
2794
+ } | undefined;
2637
2795
  } | undefined;
2638
2796
  } | {
2639
2797
  kind: "manual";
package/dist/schema.js CHANGED
@@ -60,7 +60,7 @@ import {
60
60
  tieredRewardDefinitionSchema,
61
61
  tieredRewardReferenceSchema,
62
62
  triggerSchema
63
- } from "./chunk-BE5V6RFD.js";
63
+ } from "./chunk-UPWID5KS.js";
64
64
  export {
65
65
  artifactSchema,
66
66
  attemptSchema,