@domino-sdk/relay 1.0.0-next.8 → 1.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.
- package/README.md +1 -1
- package/dist/activity-DeKJsRry.d.ts +9112 -0
- package/dist/authoring.d.ts +1135 -285
- package/dist/authoring.js +545 -269
- package/dist/automatic-outcomes-B1xrETxm.d.ts +758 -0
- package/dist/avatar.d.ts +2 -2
- package/dist/browser-DFe7sWSN.d.ts +4154 -0
- package/dist/browser.d.ts +11 -2528
- package/dist/browser.js +8 -6
- package/dist/capability-error-DNMwKmlL.d.ts +458 -0
- package/dist/{chunk-V7EZUZ3Z.js → chunk-36HTX2BM.js} +389 -169
- package/dist/chunk-6QJ3LADK.js +112 -0
- package/dist/{chunk-77H7APVD.js → chunk-BGGKNIRP.js} +1 -1
- package/dist/chunk-EYH5RDIE.js +496 -0
- package/dist/chunk-GQKYAQM6.js +84 -0
- package/dist/chunk-GUP7YRR4.js +42 -0
- package/dist/{chunk-V5R2DMGY.js → chunk-GZ6FJAXN.js} +380 -128
- package/dist/chunk-JON5SESL.js +2986 -0
- package/dist/chunk-MC6V6VMG.js +49 -0
- package/dist/chunk-NPGENI7K.js +37 -0
- package/dist/chunk-VFHHLN6A.js +284 -0
- package/dist/chunk-WJSSJ7AF.js +151 -0
- package/dist/{chunk-QBOHLT7M.js → chunk-XFMSUPNS.js} +1 -1
- package/dist/{chunk-6A6K5RUD.js → chunk-ZVIRG24J.js} +145 -42
- package/dist/{client-CK4nwt7V.d.ts → client-XiuFnug_.d.ts} +2193 -562
- package/dist/{submission-input-C9qm9ixd.d.ts → groups-Ck-OxzjD.d.ts} +919 -1142
- package/dist/identity-integration-GxAHdKR2.d.ts +58 -0
- package/dist/{images--vZ9U0kr.d.ts → images-Dv-P5VBw.d.ts} +2 -2
- package/dist/index.d.ts +13 -9
- package/dist/index.js +17 -6
- package/dist/internal.d.ts +82 -43
- package/dist/internal.js +58 -90
- package/dist/offers-Cy-e4o5x.d.ts +431 -0
- package/dist/{pages-BzqJuI69.d.ts → outcomes-kVB-Juzs.d.ts} +2386 -1490
- package/dist/pages-BBYD21IE.d.ts +359 -0
- package/dist/participant-rewards-3duLb8YJ.d.ts +668 -0
- package/dist/portal-proxy.js +22 -4
- package/dist/{profiles-DDMFBRKe.d.ts → profiles-D2aFcOxu.d.ts} +15 -15
- package/dist/react/index.d.ts +3122 -1011
- package/dist/react/index.js +1627 -779
- package/dist/request-error-DWduJCGV.d.ts +62 -0
- package/dist/schema-DfJzH2ci.d.ts +5644 -0
- package/dist/schema.d.ts +15 -4216
- package/dist/schema.js +322 -81
- package/dist/server/index.d.ts +81498 -0
- package/dist/server/index.js +2520 -0
- package/dist/{streaks-CwGReWGt.d.ts → streaks-CWyq8Px5.d.ts} +2 -4
- package/dist/submission-input-BZkm6ohU.d.ts +290 -0
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1 -0
- package/dist/{wallet-BGOfFkG9.d.ts → wallet-YssWxGg8.d.ts} +35 -38
- package/package.json +8 -2
- package/dist/chunk-MRIURJE3.js +0 -257
- package/dist/chunk-VARGF4JS.js +0 -1733
- package/dist/chunk-ZWY3R6B3.js +0 -26
- package/dist/collection-BGneJ6Bk.d.ts +0 -114
- package/dist/integrations-C3Sp558f.d.ts +0 -1297
- package/dist/point-ledgers-iS00Z_v0.d.ts +0 -37
- package/dist/schema-pnuWqvGn.d.ts +0 -3396
package/dist/chunk-ZWY3R6B3.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// src/participant-routes.ts
|
|
2
|
-
function isContentParticipantRoute(path, method) {
|
|
3
|
-
return method === "GET" && (path === "/v1/content/admissions" || path === "/v1/content/qualifications" || path === "/v1/content/performance" || path === "/v1/engagement/history" || path === "/v1/engagement/boundaries") || method === "POST" && (path === "/v1/content/enrollments" || path === "/v1/content/claims");
|
|
4
|
-
}
|
|
5
|
-
function isProfileParticipantRoute(path, method) {
|
|
6
|
-
return method === "GET" && (path === "/v1/me/profile" || /^\/v1\/profiles\/[\w-]+(?:\/completions|\/referrals\/[\w-]+)?$/.test(
|
|
7
|
-
path
|
|
8
|
-
) || /^\/v1\/leaderboards\/[\w-]+\/profiles\/[\w-]+$/.test(path)) || method === "POST" && (path === "/v1/me/profile" || path === "/v1/me/profile/avatar");
|
|
9
|
-
}
|
|
10
|
-
function isWalletParticipantRoute(path) {
|
|
11
|
-
return /^\/v1\/me\/wallets(?:\/challenge|\/verify|\/unlink)?$/.test(path);
|
|
12
|
-
}
|
|
13
|
-
function isLegacyWalletRoute(path) {
|
|
14
|
-
return /^\/v1\/me\/wallet(?:\/challenge|\/verify)?$/.test(path);
|
|
15
|
-
}
|
|
16
|
-
function isWalletSignInRoute(path) {
|
|
17
|
-
return /^\/v1\/auth\/wallet\/(?:start|verify)$/.test(path);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export {
|
|
21
|
-
isContentParticipantRoute,
|
|
22
|
-
isProfileParticipantRoute,
|
|
23
|
-
isWalletParticipantRoute,
|
|
24
|
-
isLegacyWalletRoute,
|
|
25
|
-
isWalletSignInRoute
|
|
26
|
-
};
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const collectionCodeSchema: z.ZodString;
|
|
4
|
-
declare const collectionPassSchema: z.ZodObject<{
|
|
5
|
-
code: z.ZodString;
|
|
6
|
-
expiresAt: z.ZodNumber;
|
|
7
|
-
entitlement: z.ZodString;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
type CollectionPass = z.infer<typeof collectionPassSchema>;
|
|
10
|
-
declare const collectionResolveSchema: z.ZodObject<{
|
|
11
|
-
code: z.ZodString;
|
|
12
|
-
}, z.core.$strict>;
|
|
13
|
-
declare const collectionBeginSchema: z.ZodObject<{
|
|
14
|
-
code: z.ZodString;
|
|
15
|
-
actionId: z.ZodString;
|
|
16
|
-
revision: z.ZodNumber;
|
|
17
|
-
selection: z.ZodOptional<z.ZodObject<{
|
|
18
|
-
item: z.ZodString;
|
|
19
|
-
revision: z.ZodNumber;
|
|
20
|
-
}, z.core.$strict>>;
|
|
21
|
-
}, z.core.$strict>;
|
|
22
|
-
declare const collectionPreviewSchema: z.ZodObject<{
|
|
23
|
-
entitlement: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
24
|
-
status: z.ZodLiteral<"available">;
|
|
25
|
-
id: z.ZodString;
|
|
26
|
-
member: z.ZodString;
|
|
27
|
-
reward: z.ZodObject<{
|
|
28
|
-
id: z.ZodString;
|
|
29
|
-
title: z.ZodString;
|
|
30
|
-
tiers: z.ZodArray<z.ZodObject<{
|
|
31
|
-
id: z.ZodString;
|
|
32
|
-
title: z.ZodString;
|
|
33
|
-
}, z.core.$strict>>;
|
|
34
|
-
inventory: z.ZodObject<{
|
|
35
|
-
kind: z.ZodLiteral<"untracked">;
|
|
36
|
-
}, z.core.$strict>;
|
|
37
|
-
fulfillment: z.ZodObject<{
|
|
38
|
-
kind: z.ZodLiteral<"staff-handover">;
|
|
39
|
-
}, z.core.$strict>;
|
|
40
|
-
}, z.core.$strict>;
|
|
41
|
-
earnedTier: z.ZodString;
|
|
42
|
-
tier: z.ZodString;
|
|
43
|
-
revision: z.ZodNumber;
|
|
44
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
45
|
-
status: z.ZodLiteral<"handing-over">;
|
|
46
|
-
handover: z.ZodString;
|
|
47
|
-
startedAt: z.ZodNumber;
|
|
48
|
-
allocation: z.ZodOptional<z.ZodObject<{
|
|
49
|
-
item: z.ZodString;
|
|
50
|
-
label: z.ZodString;
|
|
51
|
-
}, z.core.$strict>>;
|
|
52
|
-
id: z.ZodString;
|
|
53
|
-
member: z.ZodString;
|
|
54
|
-
reward: z.ZodObject<{
|
|
55
|
-
id: z.ZodString;
|
|
56
|
-
title: z.ZodString;
|
|
57
|
-
tiers: z.ZodArray<z.ZodObject<{
|
|
58
|
-
id: z.ZodString;
|
|
59
|
-
title: z.ZodString;
|
|
60
|
-
}, z.core.$strict>>;
|
|
61
|
-
inventory: z.ZodObject<{
|
|
62
|
-
kind: z.ZodLiteral<"untracked">;
|
|
63
|
-
}, z.core.$strict>;
|
|
64
|
-
fulfillment: z.ZodObject<{
|
|
65
|
-
kind: z.ZodLiteral<"staff-handover">;
|
|
66
|
-
}, z.core.$strict>;
|
|
67
|
-
}, z.core.$strict>;
|
|
68
|
-
earnedTier: z.ZodString;
|
|
69
|
-
tier: z.ZodString;
|
|
70
|
-
revision: z.ZodNumber;
|
|
71
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
72
|
-
status: z.ZodLiteral<"collected">;
|
|
73
|
-
handover: z.ZodString;
|
|
74
|
-
startedAt: z.ZodNumber;
|
|
75
|
-
allocation: z.ZodOptional<z.ZodObject<{
|
|
76
|
-
item: z.ZodString;
|
|
77
|
-
label: z.ZodString;
|
|
78
|
-
}, z.core.$strict>>;
|
|
79
|
-
collectedAt: z.ZodNumber;
|
|
80
|
-
id: z.ZodString;
|
|
81
|
-
member: z.ZodString;
|
|
82
|
-
reward: z.ZodObject<{
|
|
83
|
-
id: z.ZodString;
|
|
84
|
-
title: z.ZodString;
|
|
85
|
-
tiers: z.ZodArray<z.ZodObject<{
|
|
86
|
-
id: z.ZodString;
|
|
87
|
-
title: z.ZodString;
|
|
88
|
-
}, z.core.$strict>>;
|
|
89
|
-
inventory: z.ZodObject<{
|
|
90
|
-
kind: z.ZodLiteral<"untracked">;
|
|
91
|
-
}, z.core.$strict>;
|
|
92
|
-
fulfillment: z.ZodObject<{
|
|
93
|
-
kind: z.ZodLiteral<"staff-handover">;
|
|
94
|
-
}, z.core.$strict>;
|
|
95
|
-
}, z.core.$strict>;
|
|
96
|
-
earnedTier: z.ZodString;
|
|
97
|
-
tier: z.ZodString;
|
|
98
|
-
revision: z.ZodNumber;
|
|
99
|
-
}, z.core.$strict>], "status">;
|
|
100
|
-
inventory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
101
|
-
kind: z.ZodLiteral<"untracked">;
|
|
102
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
103
|
-
kind: z.ZodLiteral<"at-pickup">;
|
|
104
|
-
revision: z.ZodNumber;
|
|
105
|
-
variants: z.ZodArray<z.ZodObject<{
|
|
106
|
-
item: z.ZodString;
|
|
107
|
-
label: z.ZodString;
|
|
108
|
-
available: z.ZodNumber;
|
|
109
|
-
}, z.core.$strict>>;
|
|
110
|
-
}, z.core.$strict>], "kind">;
|
|
111
|
-
expiresAt: z.ZodNumber;
|
|
112
|
-
}, z.core.$strip>;
|
|
113
|
-
|
|
114
|
-
export { type CollectionPass as C, collectionCodeSchema as a, collectionPassSchema as b, collectionBeginSchema as c, collectionPreviewSchema as d, collectionResolveSchema as e };
|