@domino-sdk/relay 1.7.0 → 1.9.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.
Files changed (32) hide show
  1. package/dist/action-9Xl0StBg.d.ts +33 -0
  2. package/dist/{activity-Br6vyYze.d.ts → activity-CCe1e_7a.d.ts} +115 -115
  3. package/dist/authoring.d.ts +45 -45
  4. package/dist/authoring.js +1 -1
  5. package/dist/{automatic-outcomes-C1Q9LrDb.d.ts → automatic-outcomes-Dyk0VTUs.d.ts} +1 -1
  6. package/dist/browser.d.ts +7 -6
  7. package/dist/browser.js +5 -4
  8. package/dist/{chunk-C25TDFHN.js → chunk-2N464DDE.js} +1 -1
  9. package/dist/{chunk-GMPPLZKH.js → chunk-2V74CHDL.js} +191 -191
  10. package/dist/{chunk-6RBF3UDA.js → chunk-734LYHWP.js} +2 -2
  11. package/dist/chunk-ETPL6AAJ.js +98 -0
  12. package/dist/{chunk-ZOUEEK5L.js → chunk-FWSSMSIA.js} +49 -21
  13. package/dist/{chunk-BFZHJA2B.js → chunk-L3QFIRGO.js} +2 -2
  14. package/dist/{client-pfml_XAa.d.ts → client-CbASImpi.d.ts} +42 -36
  15. package/dist/{groups-BpWEqaPn.d.ts → groups-Dvmd4CYk.d.ts} +1 -1
  16. package/dist/{images-BaKYd0fl.d.ts → images-Dekv3DYF.d.ts} +1 -1
  17. package/dist/index.d.ts +8 -7
  18. package/dist/index.js +7 -3
  19. package/dist/internal.d.ts +3 -3
  20. package/dist/{offers-CYtal8jO.d.ts → offers-BEGVSOTD.d.ts} +2 -2
  21. package/dist/{pages-CixTNnF4.d.ts → pages-HmS6eedC.d.ts} +38 -38
  22. package/dist/react/index.d.ts +197 -10
  23. package/dist/react/index.js +253 -111
  24. package/dist/{referral-reward-kinds-ClxAuCGx.d.ts → referral-reward-kinds-Flbb1D2q.d.ts} +2 -2
  25. package/dist/schema.d.ts +8 -8
  26. package/dist/schema.js +3 -3
  27. package/dist/server/index.d.ts +592 -46
  28. package/dist/server/index.js +166 -43
  29. package/dist/{sign-in-options-CtXUFV7E.d.ts → sign-in-options-z3wsfizk.d.ts} +2 -2
  30. package/dist/{submission-input-CLefHTrj.d.ts → submission-input-Bs14jIsu.d.ts} +2 -2
  31. package/package.json +1 -1
  32. package/dist/{schema-CQydLqw4.d.ts → schema-BCuiO7eD.d.ts} +15 -15
@@ -186,8 +186,8 @@ type TriggerEnrollment = z.infer<typeof triggerEnrollmentSchema>;
186
186
  * `before-enrollment`.
187
187
  */
188
188
  declare const triggerSinceSchema: z.ZodEnum<{
189
- activation: "activation";
190
189
  window: "window";
190
+ activation: "activation";
191
191
  enrollment: "enrollment";
192
192
  }>;
193
193
  type TriggerSince = z.infer<typeof triggerSinceSchema>;
@@ -269,8 +269,8 @@ declare const trackerTriggerPolicySchema: z.ZodObject<{
269
269
  }>>;
270
270
  /** Absent means `"activation"`. */
271
271
  since: z.ZodOptional<z.ZodEnum<{
272
- activation: "activation";
273
272
  window: "window";
273
+ activation: "activation";
274
274
  enrollment: "enrollment";
275
275
  }>>;
276
276
  /** Absent means `"staff"`, or `"claim"` on a content quest. */
@@ -1813,8 +1813,8 @@ declare const triggerSchema: z.ZodUnion<readonly [z.ZodObject<{
1813
1813
  required: "required";
1814
1814
  }>>;
1815
1815
  since: z.ZodOptional<z.ZodEnum<{
1816
- activation: "activation";
1817
1816
  window: "window";
1817
+ activation: "activation";
1818
1818
  enrollment: "enrollment";
1819
1819
  }>>;
1820
1820
  historical: z.ZodOptional<z.ZodEnum<{
@@ -2245,8 +2245,8 @@ declare const questDescriptionSchema: z.ZodObject<{
2245
2245
  required: "required";
2246
2246
  }>>;
2247
2247
  since: z.ZodOptional<z.ZodEnum<{
2248
- activation: "activation";
2249
2248
  window: "window";
2249
+ activation: "activation";
2250
2250
  enrollment: "enrollment";
2251
2251
  }>>;
2252
2252
  historical: z.ZodOptional<z.ZodEnum<{
@@ -2638,8 +2638,8 @@ declare const storedQuestDescriptionSchema: z.ZodObject<{
2638
2638
  required: "required";
2639
2639
  }>>;
2640
2640
  since: z.ZodOptional<z.ZodEnum<{
2641
- activation: "activation";
2642
2641
  window: "window";
2642
+ activation: "activation";
2643
2643
  enrollment: "enrollment";
2644
2644
  }>>;
2645
2645
  historical: z.ZodOptional<z.ZodEnum<{
@@ -2971,8 +2971,8 @@ declare const publishedReleaseSchema: z.ZodObject<{
2971
2971
  required: "required";
2972
2972
  }>>;
2973
2973
  since: z.ZodOptional<z.ZodEnum<{
2974
- activation: "activation";
2975
2974
  window: "window";
2975
+ activation: "activation";
2976
2976
  enrollment: "enrollment";
2977
2977
  }>>;
2978
2978
  historical: z.ZodOptional<z.ZodEnum<{
@@ -3347,8 +3347,8 @@ declare const templateSchema: z.ZodObject<{
3347
3347
  required: "required";
3348
3348
  }>>;
3349
3349
  since: z.ZodOptional<z.ZodEnum<{
3350
- activation: "activation";
3351
3350
  window: "window";
3351
+ activation: "activation";
3352
3352
  enrollment: "enrollment";
3353
3353
  }>>;
3354
3354
  historical: z.ZodOptional<z.ZodEnum<{
@@ -4032,9 +4032,9 @@ declare const completionRecordSchema: z.ZodObject<{
4032
4032
  declare const questAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4033
4033
  kind: z.ZodLiteral<"available">;
4034
4034
  input: z.ZodEnum<{
4035
+ url: "url";
4035
4036
  text: "text";
4036
4037
  none: "none";
4037
- url: "url";
4038
4038
  quiz: "quiz";
4039
4039
  photo: "photo";
4040
4040
  }>;
@@ -4072,12 +4072,12 @@ declare const questAvailabilitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4072
4072
  }, z.core.$strict>, z.ZodObject<{
4073
4073
  kind: z.ZodLiteral<"blocked">;
4074
4074
  reason: z.ZodEnum<{
4075
- paused: "paused";
4076
4075
  "outside-window": "outside-window";
4076
+ "enrollment-required": "enrollment-required";
4077
4077
  "budget-exhausted": "budget-exhausted";
4078
+ paused: "paused";
4078
4079
  "connection-required": "connection-required";
4079
4080
  "wallet-required": "wallet-required";
4080
- "enrollment-required": "enrollment-required";
4081
4081
  }>;
4082
4082
  window: z.ZodOptional<z.ZodEnum<{
4083
4083
  quest: "quest";
@@ -4233,8 +4233,8 @@ declare const memberProgressSchema: z.ZodObject<{
4233
4233
  required: "required";
4234
4234
  }>>;
4235
4235
  since: z.ZodOptional<z.ZodEnum<{
4236
- activation: "activation";
4237
4236
  window: "window";
4237
+ activation: "activation";
4238
4238
  enrollment: "enrollment";
4239
4239
  }>>;
4240
4240
  historical: z.ZodOptional<z.ZodEnum<{
@@ -4248,9 +4248,9 @@ declare const memberProgressSchema: z.ZodObject<{
4248
4248
  availability: z.ZodUnion<(z.ZodObject<{
4249
4249
  kind: z.ZodLiteral<"available">;
4250
4250
  input: z.ZodEnum<{
4251
+ url: "url";
4251
4252
  text: "text";
4252
4253
  none: "none";
4253
- url: "url";
4254
4254
  quiz: "quiz";
4255
4255
  photo: "photo";
4256
4256
  }>;
@@ -4288,12 +4288,12 @@ declare const memberProgressSchema: z.ZodObject<{
4288
4288
  }, z.core.$strip> | z.ZodObject<{
4289
4289
  kind: z.ZodLiteral<"blocked">;
4290
4290
  reason: z.ZodEnum<{
4291
- paused: "paused";
4292
4291
  "outside-window": "outside-window";
4292
+ "enrollment-required": "enrollment-required";
4293
4293
  "budget-exhausted": "budget-exhausted";
4294
+ paused: "paused";
4294
4295
  "connection-required": "connection-required";
4295
4296
  "wallet-required": "wallet-required";
4296
- "enrollment-required": "enrollment-required";
4297
4297
  }>;
4298
4298
  window: z.ZodOptional<z.ZodEnum<{
4299
4299
  quest: "quest";
@@ -4954,8 +4954,8 @@ declare const snapshotSchema: z.ZodObject<{
4954
4954
  required: "required";
4955
4955
  }>>;
4956
4956
  since: z.ZodOptional<z.ZodEnum<{
4957
- activation: "activation";
4958
4957
  window: "window";
4958
+ activation: "activation";
4959
4959
  enrollment: "enrollment";
4960
4960
  }>>;
4961
4961
  historical: z.ZodOptional<z.ZodEnum<{