@domino-sdk/relay 1.0.0-next.6 → 1.0.0-next.7

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 (42) hide show
  1. package/README.md +13 -1
  2. package/build.mjs +18 -1
  3. package/dist/authoring.d.ts +316 -14
  4. package/dist/authoring.js +177 -23
  5. package/dist/avatar.d.ts +29 -0
  6. package/dist/avatar.js +21 -0
  7. package/dist/browser.d.ts +168 -165
  8. package/dist/browser.js +6 -6
  9. package/dist/catalog-C09gnPYT.d.ts +3948 -0
  10. package/dist/chunk-7HSTFBMO.js +24 -0
  11. package/dist/{chunk-5IIWKDFX.js → chunk-ADSP377G.js} +1 -1
  12. package/dist/{chunk-RTHN22KO.js → chunk-AWLLGCKU.js} +2 -2
  13. package/dist/chunk-DJZB5RY5.js +901 -0
  14. package/dist/chunk-SKETUPST.js +171 -0
  15. package/dist/chunk-UFXBQ6FN.js +257 -0
  16. package/dist/{chunk-BRESOTKV.js → chunk-UW6R2QGT.js} +604 -723
  17. package/dist/chunk-V7UKZLHA.js +35 -0
  18. package/dist/{chunk-ERBVT7GE.js → chunk-X6FJIPXR.js} +166 -724
  19. package/dist/client-BufGakEt.d.ts +4577 -0
  20. package/dist/collection-BGneJ6Bk.d.ts +114 -0
  21. package/dist/images-e6FW9QSx.d.ts +234 -0
  22. package/dist/index.d.ts +11 -13132
  23. package/dist/index.js +11 -693
  24. package/dist/integrations-C3Sp558f.d.ts +1297 -0
  25. package/dist/internal.d.ts +109 -0
  26. package/dist/internal.js +104 -0
  27. package/dist/point-ledgers-iS00Z_v0.d.ts +37 -0
  28. package/dist/portal-proxy.js +5 -6
  29. package/dist/profiles-BtOXMGcC.d.ts +297 -0
  30. package/dist/react/index.d.ts +37 -34
  31. package/dist/react/index.js +7 -13
  32. package/dist/schema-DCapSPHz.d.ts +3396 -0
  33. package/dist/schema.d.ts +3194 -2372
  34. package/dist/schema.js +539 -3
  35. package/dist/streaks-CwGReWGt.d.ts +73 -0
  36. package/dist/submission-input-Bter6XiI.d.ts +2672 -0
  37. package/dist/units-CwgsPB_r.d.ts +9 -0
  38. package/dist/wallet-Bu6sqJvQ.d.ts +231 -0
  39. package/package.json +17 -4
  40. package/dist/chunk-XEQDW7FM.js +0 -373
  41. package/dist/chunk-ZKJBCQNI.js +0 -624
  42. package/dist/submission-input-CZDukyb3.d.ts +0 -4998
@@ -0,0 +1,73 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const quizChoiceSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ label: z.ZodString;
6
+ }, z.core.$strict>;
7
+ declare const quizQuestionSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ prompt: z.ZodString;
10
+ choices: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodString;
12
+ label: z.ZodString;
13
+ }, z.core.$strict>>;
14
+ }, z.core.$strict>;
15
+ declare const quizQuestionsSchema: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodString;
17
+ prompt: z.ZodString;
18
+ choices: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodString;
20
+ label: z.ZodString;
21
+ }, z.core.$strict>>;
22
+ }, z.core.$strict>>;
23
+ declare const quizContentSchema: z.ZodArray<z.ZodObject<{
24
+ id: z.ZodString;
25
+ prompt: z.ZodString;
26
+ choices: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodString;
28
+ label: z.ZodString;
29
+ }, z.core.$strict>>;
30
+ correct: z.ZodString;
31
+ }, z.core.$strict>>;
32
+ type QuizContent = z.infer<typeof quizContentSchema>;
33
+
34
+ declare const communityTimeZoneSchema: z.ZodString;
35
+ declare const streakPolicySchema: z.ZodObject<{
36
+ kind: z.ZodLiteral<"streak">;
37
+ days: z.ZodNumber;
38
+ timeZone: z.ZodString;
39
+ }, z.core.$strict>;
40
+ type StreakPolicy = z.infer<typeof streakPolicySchema>;
41
+ declare const streakProgressSchema: z.ZodObject<{
42
+ goal: z.ZodNumber;
43
+ current: z.ZodNumber;
44
+ best: z.ZodNumber;
45
+ today: z.ZodString;
46
+ todayQualified: z.ZodBoolean;
47
+ timeZone: z.ZodString;
48
+ nextBoundary: z.ZodNumber;
49
+ pendingTimeZone: z.ZodNullable<z.ZodObject<{
50
+ timeZone: z.ZodString;
51
+ effectiveAt: z.ZodNumber;
52
+ }, z.core.$strip>>;
53
+ days: z.ZodArray<z.ZodObject<{
54
+ day: z.ZodNumber;
55
+ date: z.ZodString;
56
+ timeZone: z.ZodString;
57
+ occurredAt: z.ZodNumber;
58
+ }, z.core.$strip>>;
59
+ milestone: z.ZodDiscriminatedUnion<[z.ZodObject<{
60
+ status: z.ZodLiteral<"pending">;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ status: z.ZodLiteral<"awarded">;
63
+ completion: z.ZodString;
64
+ achievedAt: z.ZodNumber;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ status: z.ZodLiteral<"budget-exhausted">;
67
+ budget: z.ZodString;
68
+ achievedAt: z.ZodNumber;
69
+ }, z.core.$strip>], "status">;
70
+ }, z.core.$strip>;
71
+ type StreakProgress = z.infer<typeof streakProgressSchema>;
72
+
73
+ export { type QuizContent as Q, type StreakProgress as S, type StreakPolicy as a, quizContentSchema as b, communityTimeZoneSchema as c, quizQuestionSchema as d, quizQuestionsSchema as e, streakProgressSchema as f, quizChoiceSchema as q, streakPolicySchema as s };