@domino-sdk/relay 1.0.0 → 1.1.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/authoring.d.ts +37 -37
- package/dist/{browser-DFe7sWSN.d.ts → browser-J7tUpXxy.d.ts} +114 -114
- package/dist/browser.d.ts +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/schema.d.ts +1 -1
- package/dist/server/index.d.ts +229 -5
- package/dist/server/index.js +494 -445
- package/package.json +1 -1
- package/dist/{activity-DeKJsRry.d.ts → activity-B8k9Sa_a.d.ts} +114 -114
|
@@ -1292,7 +1292,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1292
1292
|
actor?: "staff" | "member" | undefined;
|
|
1293
1293
|
} | {
|
|
1294
1294
|
kind: "manual";
|
|
1295
|
-
input: "
|
|
1295
|
+
input: "none" | "quiz" | "photo";
|
|
1296
1296
|
actor?: "staff" | "member" | undefined;
|
|
1297
1297
|
} | {
|
|
1298
1298
|
kind: "automatic";
|
|
@@ -1336,15 +1336,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1336
1336
|
path: string;
|
|
1337
1337
|
equals: string | number | boolean;
|
|
1338
1338
|
})[] | undefined;
|
|
1339
|
-
enrollment?: "
|
|
1339
|
+
enrollment?: "none" | "required" | undefined;
|
|
1340
1340
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1341
|
-
historical?: "
|
|
1341
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
1342
1342
|
content?: true | undefined;
|
|
1343
1343
|
} | undefined;
|
|
1344
1344
|
};
|
|
1345
1345
|
availability: {
|
|
1346
1346
|
kind: "available";
|
|
1347
|
-
input: "text" | "
|
|
1347
|
+
input: "text" | "none" | "url" | "quiz" | "photo";
|
|
1348
1348
|
} | {
|
|
1349
1349
|
kind: "completed";
|
|
1350
1350
|
} | {
|
|
@@ -1392,9 +1392,6 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1392
1392
|
};
|
|
1393
1393
|
completed: boolean;
|
|
1394
1394
|
completion: {
|
|
1395
|
-
kind: "streak";
|
|
1396
|
-
days: number;
|
|
1397
|
-
} | {
|
|
1398
1395
|
kind: "progress";
|
|
1399
1396
|
goal: {
|
|
1400
1397
|
kind: "count";
|
|
@@ -1411,6 +1408,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1411
1408
|
durationMs: number;
|
|
1412
1409
|
};
|
|
1413
1410
|
repeat: "repeat" | "once";
|
|
1411
|
+
} | {
|
|
1412
|
+
kind: "streak";
|
|
1413
|
+
days: number;
|
|
1414
1414
|
} | {
|
|
1415
1415
|
kind: "once";
|
|
1416
1416
|
} | {
|
|
@@ -1449,7 +1449,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1449
1449
|
campaign: {
|
|
1450
1450
|
key: string;
|
|
1451
1451
|
title: string;
|
|
1452
|
-
enrollment: "
|
|
1452
|
+
enrollment: "none" | "required";
|
|
1453
1453
|
enrolledAt: number | null;
|
|
1454
1454
|
withdrawnAt: number | null;
|
|
1455
1455
|
withdrawalReason: string | null;
|
|
@@ -1499,15 +1499,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1499
1499
|
};
|
|
1500
1500
|
};
|
|
1501
1501
|
tier: string;
|
|
1502
|
-
} | {
|
|
1503
|
-
kind: "points";
|
|
1504
|
-
balance: string;
|
|
1505
|
-
amount: number;
|
|
1506
1502
|
} | {
|
|
1507
1503
|
kind: "integration";
|
|
1508
1504
|
provider: "discord";
|
|
1509
1505
|
action: "grant-role";
|
|
1510
1506
|
roleId: string;
|
|
1507
|
+
} | {
|
|
1508
|
+
kind: "points";
|
|
1509
|
+
balance: string;
|
|
1510
|
+
amount: number;
|
|
1511
1511
|
})[] | null;
|
|
1512
1512
|
evaluationRun: number;
|
|
1513
1513
|
deferCount: number;
|
|
@@ -1522,21 +1522,21 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1522
1522
|
requestedReview: boolean;
|
|
1523
1523
|
createdAt: number;
|
|
1524
1524
|
input?: {
|
|
1525
|
-
kind: "quiz";
|
|
1526
|
-
answers: {
|
|
1527
|
-
[k: string]: string;
|
|
1528
|
-
};
|
|
1529
|
-
release?: string | undefined;
|
|
1530
|
-
} | {
|
|
1531
1525
|
kind: "text";
|
|
1532
1526
|
value: string;
|
|
1533
1527
|
} | {
|
|
1534
1528
|
kind: "url";
|
|
1535
1529
|
value: string;
|
|
1530
|
+
} | {
|
|
1531
|
+
kind: "quiz";
|
|
1532
|
+
answers: {
|
|
1533
|
+
[k: string]: string;
|
|
1534
|
+
};
|
|
1535
|
+
release?: string | undefined;
|
|
1536
1536
|
} | undefined;
|
|
1537
1537
|
} | null;
|
|
1538
1538
|
release: string;
|
|
1539
|
-
interaction: "
|
|
1539
|
+
interaction: "text" | "staff" | "claim" | "automatic" | "url" | "quiz" | "photo";
|
|
1540
1540
|
lifecycle: "paused" | "active" | "archived";
|
|
1541
1541
|
rewards: ({
|
|
1542
1542
|
kind: "points";
|
|
@@ -1692,15 +1692,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1692
1692
|
};
|
|
1693
1693
|
};
|
|
1694
1694
|
tier: string;
|
|
1695
|
-
} | {
|
|
1696
|
-
kind: "points";
|
|
1697
|
-
balance: string;
|
|
1698
|
-
amount: number;
|
|
1699
1695
|
} | {
|
|
1700
1696
|
kind: "integration";
|
|
1701
1697
|
provider: "discord";
|
|
1702
1698
|
action: "grant-role";
|
|
1703
1699
|
roleId: string;
|
|
1700
|
+
} | {
|
|
1701
|
+
kind: "points";
|
|
1702
|
+
balance: string;
|
|
1703
|
+
amount: number;
|
|
1704
1704
|
})[] | null;
|
|
1705
1705
|
evaluationRun: number;
|
|
1706
1706
|
deferCount: number;
|
|
@@ -1715,17 +1715,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1715
1715
|
requestedReview: boolean;
|
|
1716
1716
|
createdAt: number;
|
|
1717
1717
|
input?: {
|
|
1718
|
-
kind: "quiz";
|
|
1719
|
-
answers: {
|
|
1720
|
-
[k: string]: string;
|
|
1721
|
-
};
|
|
1722
|
-
release?: string | undefined;
|
|
1723
|
-
} | {
|
|
1724
1718
|
kind: "text";
|
|
1725
1719
|
value: string;
|
|
1726
1720
|
} | {
|
|
1727
1721
|
kind: "url";
|
|
1728
1722
|
value: string;
|
|
1723
|
+
} | {
|
|
1724
|
+
kind: "quiz";
|
|
1725
|
+
answers: {
|
|
1726
|
+
[k: string]: string;
|
|
1727
|
+
};
|
|
1728
|
+
release?: string | undefined;
|
|
1729
1729
|
} | undefined;
|
|
1730
1730
|
}>;
|
|
1731
1731
|
experience: (requestOptions?: RelayRequestOptions) => Promise<{
|
|
@@ -1926,7 +1926,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1926
1926
|
actor?: "staff" | "member" | undefined;
|
|
1927
1927
|
} | {
|
|
1928
1928
|
kind: "manual";
|
|
1929
|
-
input: "
|
|
1929
|
+
input: "none" | "quiz" | "photo";
|
|
1930
1930
|
actor?: "staff" | "member" | undefined;
|
|
1931
1931
|
} | {
|
|
1932
1932
|
kind: "automatic";
|
|
@@ -1970,15 +1970,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
1970
1970
|
path: string;
|
|
1971
1971
|
equals: string | number | boolean;
|
|
1972
1972
|
})[] | undefined;
|
|
1973
|
-
enrollment?: "
|
|
1973
|
+
enrollment?: "none" | "required" | undefined;
|
|
1974
1974
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
1975
|
-
historical?: "
|
|
1975
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
1976
1976
|
content?: true | undefined;
|
|
1977
1977
|
} | undefined;
|
|
1978
1978
|
};
|
|
1979
1979
|
availability: {
|
|
1980
1980
|
kind: "available";
|
|
1981
|
-
input: "text" | "
|
|
1981
|
+
input: "text" | "none" | "url" | "quiz" | "photo";
|
|
1982
1982
|
} | {
|
|
1983
1983
|
kind: "completed";
|
|
1984
1984
|
} | {
|
|
@@ -2026,9 +2026,6 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2026
2026
|
};
|
|
2027
2027
|
completed: boolean;
|
|
2028
2028
|
completion: {
|
|
2029
|
-
kind: "streak";
|
|
2030
|
-
days: number;
|
|
2031
|
-
} | {
|
|
2032
2029
|
kind: "progress";
|
|
2033
2030
|
goal: {
|
|
2034
2031
|
kind: "count";
|
|
@@ -2045,6 +2042,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2045
2042
|
durationMs: number;
|
|
2046
2043
|
};
|
|
2047
2044
|
repeat: "repeat" | "once";
|
|
2045
|
+
} | {
|
|
2046
|
+
kind: "streak";
|
|
2047
|
+
days: number;
|
|
2048
2048
|
} | {
|
|
2049
2049
|
kind: "once";
|
|
2050
2050
|
} | {
|
|
@@ -2083,7 +2083,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2083
2083
|
campaign: {
|
|
2084
2084
|
key: string;
|
|
2085
2085
|
title: string;
|
|
2086
|
-
enrollment: "
|
|
2086
|
+
enrollment: "none" | "required";
|
|
2087
2087
|
enrolledAt: number | null;
|
|
2088
2088
|
withdrawnAt: number | null;
|
|
2089
2089
|
withdrawalReason: string | null;
|
|
@@ -2133,15 +2133,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2133
2133
|
};
|
|
2134
2134
|
};
|
|
2135
2135
|
tier: string;
|
|
2136
|
-
} | {
|
|
2137
|
-
kind: "points";
|
|
2138
|
-
balance: string;
|
|
2139
|
-
amount: number;
|
|
2140
2136
|
} | {
|
|
2141
2137
|
kind: "integration";
|
|
2142
2138
|
provider: "discord";
|
|
2143
2139
|
action: "grant-role";
|
|
2144
2140
|
roleId: string;
|
|
2141
|
+
} | {
|
|
2142
|
+
kind: "points";
|
|
2143
|
+
balance: string;
|
|
2144
|
+
amount: number;
|
|
2145
2145
|
})[] | null;
|
|
2146
2146
|
evaluationRun: number;
|
|
2147
2147
|
deferCount: number;
|
|
@@ -2156,21 +2156,21 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2156
2156
|
requestedReview: boolean;
|
|
2157
2157
|
createdAt: number;
|
|
2158
2158
|
input?: {
|
|
2159
|
-
kind: "quiz";
|
|
2160
|
-
answers: {
|
|
2161
|
-
[k: string]: string;
|
|
2162
|
-
};
|
|
2163
|
-
release?: string | undefined;
|
|
2164
|
-
} | {
|
|
2165
2159
|
kind: "text";
|
|
2166
2160
|
value: string;
|
|
2167
2161
|
} | {
|
|
2168
2162
|
kind: "url";
|
|
2169
2163
|
value: string;
|
|
2164
|
+
} | {
|
|
2165
|
+
kind: "quiz";
|
|
2166
|
+
answers: {
|
|
2167
|
+
[k: string]: string;
|
|
2168
|
+
};
|
|
2169
|
+
release?: string | undefined;
|
|
2170
2170
|
} | undefined;
|
|
2171
2171
|
} | null;
|
|
2172
2172
|
release: string;
|
|
2173
|
-
interaction: "
|
|
2173
|
+
interaction: "text" | "staff" | "claim" | "automatic" | "url" | "quiz" | "photo";
|
|
2174
2174
|
lifecycle: "paused" | "active" | "archived";
|
|
2175
2175
|
rewards: ({
|
|
2176
2176
|
kind: "points";
|
|
@@ -2306,7 +2306,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2306
2306
|
actor?: "staff" | "member" | undefined;
|
|
2307
2307
|
} | {
|
|
2308
2308
|
kind: "manual";
|
|
2309
|
-
input: "
|
|
2309
|
+
input: "none" | "quiz" | "photo";
|
|
2310
2310
|
actor?: "staff" | "member" | undefined;
|
|
2311
2311
|
} | {
|
|
2312
2312
|
kind: "automatic";
|
|
@@ -2350,15 +2350,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2350
2350
|
path: string;
|
|
2351
2351
|
equals: string | number | boolean;
|
|
2352
2352
|
})[] | undefined;
|
|
2353
|
-
enrollment?: "
|
|
2353
|
+
enrollment?: "none" | "required" | undefined;
|
|
2354
2354
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
2355
|
-
historical?: "
|
|
2355
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
2356
2356
|
content?: true | undefined;
|
|
2357
2357
|
} | undefined;
|
|
2358
2358
|
};
|
|
2359
2359
|
availability: {
|
|
2360
2360
|
kind: "available";
|
|
2361
|
-
input: "text" | "
|
|
2361
|
+
input: "text" | "none" | "url" | "quiz" | "photo";
|
|
2362
2362
|
} | {
|
|
2363
2363
|
kind: "completed";
|
|
2364
2364
|
} | {
|
|
@@ -2406,9 +2406,6 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2406
2406
|
};
|
|
2407
2407
|
completed: boolean;
|
|
2408
2408
|
completion: {
|
|
2409
|
-
kind: "streak";
|
|
2410
|
-
days: number;
|
|
2411
|
-
} | {
|
|
2412
2409
|
kind: "progress";
|
|
2413
2410
|
goal: {
|
|
2414
2411
|
kind: "count";
|
|
@@ -2425,6 +2422,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2425
2422
|
durationMs: number;
|
|
2426
2423
|
};
|
|
2427
2424
|
repeat: "repeat" | "once";
|
|
2425
|
+
} | {
|
|
2426
|
+
kind: "streak";
|
|
2427
|
+
days: number;
|
|
2428
2428
|
} | {
|
|
2429
2429
|
kind: "once";
|
|
2430
2430
|
} | {
|
|
@@ -2463,7 +2463,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2463
2463
|
campaign: {
|
|
2464
2464
|
key: string;
|
|
2465
2465
|
title: string;
|
|
2466
|
-
enrollment: "
|
|
2466
|
+
enrollment: "none" | "required";
|
|
2467
2467
|
enrolledAt: number | null;
|
|
2468
2468
|
withdrawnAt: number | null;
|
|
2469
2469
|
withdrawalReason: string | null;
|
|
@@ -2513,15 +2513,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2513
2513
|
};
|
|
2514
2514
|
};
|
|
2515
2515
|
tier: string;
|
|
2516
|
-
} | {
|
|
2517
|
-
kind: "points";
|
|
2518
|
-
balance: string;
|
|
2519
|
-
amount: number;
|
|
2520
2516
|
} | {
|
|
2521
2517
|
kind: "integration";
|
|
2522
2518
|
provider: "discord";
|
|
2523
2519
|
action: "grant-role";
|
|
2524
2520
|
roleId: string;
|
|
2521
|
+
} | {
|
|
2522
|
+
kind: "points";
|
|
2523
|
+
balance: string;
|
|
2524
|
+
amount: number;
|
|
2525
2525
|
})[] | null;
|
|
2526
2526
|
evaluationRun: number;
|
|
2527
2527
|
deferCount: number;
|
|
@@ -2536,21 +2536,21 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2536
2536
|
requestedReview: boolean;
|
|
2537
2537
|
createdAt: number;
|
|
2538
2538
|
input?: {
|
|
2539
|
-
kind: "quiz";
|
|
2540
|
-
answers: {
|
|
2541
|
-
[k: string]: string;
|
|
2542
|
-
};
|
|
2543
|
-
release?: string | undefined;
|
|
2544
|
-
} | {
|
|
2545
2539
|
kind: "text";
|
|
2546
2540
|
value: string;
|
|
2547
2541
|
} | {
|
|
2548
2542
|
kind: "url";
|
|
2549
2543
|
value: string;
|
|
2544
|
+
} | {
|
|
2545
|
+
kind: "quiz";
|
|
2546
|
+
answers: {
|
|
2547
|
+
[k: string]: string;
|
|
2548
|
+
};
|
|
2549
|
+
release?: string | undefined;
|
|
2550
2550
|
} | undefined;
|
|
2551
2551
|
} | null;
|
|
2552
2552
|
release: string;
|
|
2553
|
-
interaction: "
|
|
2553
|
+
interaction: "text" | "staff" | "claim" | "automatic" | "url" | "quiz" | "photo";
|
|
2554
2554
|
lifecycle: "paused" | "active" | "archived";
|
|
2555
2555
|
rewards: ({
|
|
2556
2556
|
kind: "points";
|
|
@@ -2689,7 +2689,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2689
2689
|
actor?: "staff" | "member" | undefined;
|
|
2690
2690
|
} | {
|
|
2691
2691
|
kind: "manual";
|
|
2692
|
-
input: "
|
|
2692
|
+
input: "none" | "quiz" | "photo";
|
|
2693
2693
|
actor?: "staff" | "member" | undefined;
|
|
2694
2694
|
} | {
|
|
2695
2695
|
kind: "automatic";
|
|
@@ -2733,15 +2733,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2733
2733
|
path: string;
|
|
2734
2734
|
equals: string | number | boolean;
|
|
2735
2735
|
})[] | undefined;
|
|
2736
|
-
enrollment?: "
|
|
2736
|
+
enrollment?: "none" | "required" | undefined;
|
|
2737
2737
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
2738
|
-
historical?: "
|
|
2738
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
2739
2739
|
content?: true | undefined;
|
|
2740
2740
|
} | undefined;
|
|
2741
2741
|
};
|
|
2742
2742
|
availability: {
|
|
2743
2743
|
kind: "available";
|
|
2744
|
-
input: "text" | "
|
|
2744
|
+
input: "text" | "none" | "url" | "quiz" | "photo";
|
|
2745
2745
|
} | {
|
|
2746
2746
|
kind: "completed";
|
|
2747
2747
|
} | {
|
|
@@ -2789,9 +2789,6 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2789
2789
|
};
|
|
2790
2790
|
completed: boolean;
|
|
2791
2791
|
completion: {
|
|
2792
|
-
kind: "streak";
|
|
2793
|
-
days: number;
|
|
2794
|
-
} | {
|
|
2795
2792
|
kind: "progress";
|
|
2796
2793
|
goal: {
|
|
2797
2794
|
kind: "count";
|
|
@@ -2808,6 +2805,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2808
2805
|
durationMs: number;
|
|
2809
2806
|
};
|
|
2810
2807
|
repeat: "repeat" | "once";
|
|
2808
|
+
} | {
|
|
2809
|
+
kind: "streak";
|
|
2810
|
+
days: number;
|
|
2811
2811
|
} | {
|
|
2812
2812
|
kind: "once";
|
|
2813
2813
|
} | {
|
|
@@ -2846,7 +2846,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2846
2846
|
campaign: {
|
|
2847
2847
|
key: string;
|
|
2848
2848
|
title: string;
|
|
2849
|
-
enrollment: "
|
|
2849
|
+
enrollment: "none" | "required";
|
|
2850
2850
|
enrolledAt: number | null;
|
|
2851
2851
|
withdrawnAt: number | null;
|
|
2852
2852
|
withdrawalReason: string | null;
|
|
@@ -2896,15 +2896,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2896
2896
|
};
|
|
2897
2897
|
};
|
|
2898
2898
|
tier: string;
|
|
2899
|
-
} | {
|
|
2900
|
-
kind: "points";
|
|
2901
|
-
balance: string;
|
|
2902
|
-
amount: number;
|
|
2903
2899
|
} | {
|
|
2904
2900
|
kind: "integration";
|
|
2905
2901
|
provider: "discord";
|
|
2906
2902
|
action: "grant-role";
|
|
2907
2903
|
roleId: string;
|
|
2904
|
+
} | {
|
|
2905
|
+
kind: "points";
|
|
2906
|
+
balance: string;
|
|
2907
|
+
amount: number;
|
|
2908
2908
|
})[] | null;
|
|
2909
2909
|
evaluationRun: number;
|
|
2910
2910
|
deferCount: number;
|
|
@@ -2919,21 +2919,21 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
2919
2919
|
requestedReview: boolean;
|
|
2920
2920
|
createdAt: number;
|
|
2921
2921
|
input?: {
|
|
2922
|
-
kind: "quiz";
|
|
2923
|
-
answers: {
|
|
2924
|
-
[k: string]: string;
|
|
2925
|
-
};
|
|
2926
|
-
release?: string | undefined;
|
|
2927
|
-
} | {
|
|
2928
2922
|
kind: "text";
|
|
2929
2923
|
value: string;
|
|
2930
2924
|
} | {
|
|
2931
2925
|
kind: "url";
|
|
2932
2926
|
value: string;
|
|
2927
|
+
} | {
|
|
2928
|
+
kind: "quiz";
|
|
2929
|
+
answers: {
|
|
2930
|
+
[k: string]: string;
|
|
2931
|
+
};
|
|
2932
|
+
release?: string | undefined;
|
|
2933
2933
|
} | undefined;
|
|
2934
2934
|
} | null;
|
|
2935
2935
|
release: string;
|
|
2936
|
-
interaction: "
|
|
2936
|
+
interaction: "text" | "staff" | "claim" | "automatic" | "url" | "quiz" | "photo";
|
|
2937
2937
|
lifecycle: "paused" | "active" | "archived";
|
|
2938
2938
|
rewards: ({
|
|
2939
2939
|
kind: "points";
|
|
@@ -3383,7 +3383,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3383
3383
|
actor?: "staff" | "member" | undefined;
|
|
3384
3384
|
} | {
|
|
3385
3385
|
kind: "manual";
|
|
3386
|
-
input: "
|
|
3386
|
+
input: "none" | "quiz" | "photo";
|
|
3387
3387
|
actor?: "staff" | "member" | undefined;
|
|
3388
3388
|
} | {
|
|
3389
3389
|
kind: "automatic";
|
|
@@ -3427,15 +3427,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3427
3427
|
path: string;
|
|
3428
3428
|
equals: string | number | boolean;
|
|
3429
3429
|
})[] | undefined;
|
|
3430
|
-
enrollment?: "
|
|
3430
|
+
enrollment?: "none" | "required" | undefined;
|
|
3431
3431
|
since?: "activation" | "window" | "enrollment" | undefined;
|
|
3432
|
-
historical?: "
|
|
3432
|
+
historical?: "staff" | "claim" | "automatic" | undefined;
|
|
3433
3433
|
content?: true | undefined;
|
|
3434
3434
|
} | undefined;
|
|
3435
3435
|
};
|
|
3436
3436
|
availability: {
|
|
3437
3437
|
kind: "available";
|
|
3438
|
-
input: "text" | "
|
|
3438
|
+
input: "text" | "none" | "url" | "quiz" | "photo";
|
|
3439
3439
|
} | {
|
|
3440
3440
|
kind: "completed";
|
|
3441
3441
|
} | {
|
|
@@ -3483,9 +3483,6 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3483
3483
|
};
|
|
3484
3484
|
completed: boolean;
|
|
3485
3485
|
completion: {
|
|
3486
|
-
kind: "streak";
|
|
3487
|
-
days: number;
|
|
3488
|
-
} | {
|
|
3489
3486
|
kind: "progress";
|
|
3490
3487
|
goal: {
|
|
3491
3488
|
kind: "count";
|
|
@@ -3502,6 +3499,9 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3502
3499
|
durationMs: number;
|
|
3503
3500
|
};
|
|
3504
3501
|
repeat: "repeat" | "once";
|
|
3502
|
+
} | {
|
|
3503
|
+
kind: "streak";
|
|
3504
|
+
days: number;
|
|
3505
3505
|
} | {
|
|
3506
3506
|
kind: "once";
|
|
3507
3507
|
} | {
|
|
@@ -3540,7 +3540,7 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3540
3540
|
campaign: {
|
|
3541
3541
|
key: string;
|
|
3542
3542
|
title: string;
|
|
3543
|
-
enrollment: "
|
|
3543
|
+
enrollment: "none" | "required";
|
|
3544
3544
|
enrolledAt: number | null;
|
|
3545
3545
|
withdrawnAt: number | null;
|
|
3546
3546
|
withdrawalReason: string | null;
|
|
@@ -3590,15 +3590,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3590
3590
|
};
|
|
3591
3591
|
};
|
|
3592
3592
|
tier: string;
|
|
3593
|
-
} | {
|
|
3594
|
-
kind: "points";
|
|
3595
|
-
balance: string;
|
|
3596
|
-
amount: number;
|
|
3597
3593
|
} | {
|
|
3598
3594
|
kind: "integration";
|
|
3599
3595
|
provider: "discord";
|
|
3600
3596
|
action: "grant-role";
|
|
3601
3597
|
roleId: string;
|
|
3598
|
+
} | {
|
|
3599
|
+
kind: "points";
|
|
3600
|
+
balance: string;
|
|
3601
|
+
amount: number;
|
|
3602
3602
|
})[] | null;
|
|
3603
3603
|
evaluationRun: number;
|
|
3604
3604
|
deferCount: number;
|
|
@@ -3613,17 +3613,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3613
3613
|
requestedReview: boolean;
|
|
3614
3614
|
createdAt: number;
|
|
3615
3615
|
input?: {
|
|
3616
|
-
kind: "quiz";
|
|
3617
|
-
answers: {
|
|
3618
|
-
[k: string]: string;
|
|
3619
|
-
};
|
|
3620
|
-
release?: string | undefined;
|
|
3621
|
-
} | {
|
|
3622
3616
|
kind: "text";
|
|
3623
3617
|
value: string;
|
|
3624
3618
|
} | {
|
|
3625
3619
|
kind: "url";
|
|
3626
3620
|
value: string;
|
|
3621
|
+
} | {
|
|
3622
|
+
kind: "quiz";
|
|
3623
|
+
answers: {
|
|
3624
|
+
[k: string]: string;
|
|
3625
|
+
};
|
|
3626
|
+
release?: string | undefined;
|
|
3627
3627
|
} | undefined;
|
|
3628
3628
|
} | null;
|
|
3629
3629
|
key?: string | undefined;
|
|
@@ -3949,15 +3949,15 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3949
3949
|
};
|
|
3950
3950
|
};
|
|
3951
3951
|
tier: string;
|
|
3952
|
-
} | {
|
|
3953
|
-
kind: "points";
|
|
3954
|
-
balance: string;
|
|
3955
|
-
amount: number;
|
|
3956
3952
|
} | {
|
|
3957
3953
|
kind: "integration";
|
|
3958
3954
|
provider: "discord";
|
|
3959
3955
|
action: "grant-role";
|
|
3960
3956
|
roleId: string;
|
|
3957
|
+
} | {
|
|
3958
|
+
kind: "points";
|
|
3959
|
+
balance: string;
|
|
3960
|
+
amount: number;
|
|
3961
3961
|
})[] | null;
|
|
3962
3962
|
evaluationRun: number;
|
|
3963
3963
|
deferCount: number;
|
|
@@ -3972,17 +3972,17 @@ declare function createBrowserRelayClient(options: Parameters<typeof createRelay
|
|
|
3972
3972
|
requestedReview: boolean;
|
|
3973
3973
|
createdAt: number;
|
|
3974
3974
|
input?: {
|
|
3975
|
-
kind: "quiz";
|
|
3976
|
-
answers: {
|
|
3977
|
-
[k: string]: string;
|
|
3978
|
-
};
|
|
3979
|
-
release?: string | undefined;
|
|
3980
|
-
} | {
|
|
3981
3975
|
kind: "text";
|
|
3982
3976
|
value: string;
|
|
3983
3977
|
} | {
|
|
3984
3978
|
kind: "url";
|
|
3985
3979
|
value: string;
|
|
3980
|
+
} | {
|
|
3981
|
+
kind: "quiz";
|
|
3982
|
+
answers: {
|
|
3983
|
+
[k: string]: string;
|
|
3984
|
+
};
|
|
3985
|
+
release?: string | undefined;
|
|
3986
3986
|
} | undefined;
|
|
3987
3987
|
}>;
|
|
3988
3988
|
upload: (file: Blob, requestOptions?: RelayRequestOptions) => Promise<{
|
package/dist/browser.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ import './submission-input-BZkm6ohU.js';
|
|
|
6
6
|
import './wallet-YssWxGg8.js';
|
|
7
7
|
import './schema-DfJzH2ci.js';
|
|
8
8
|
import './profiles-D2aFcOxu.js';
|
|
9
|
-
export { C as CosmosChains, D as DiscoveredWallet, f as Eip1193Provider, E as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, g as SignInClient, e as SignInIcon, S as SignInMethods, a as SignInOption, h as SignInOptions, b as SignInUnavailable, d as SignInWallet, i as SolanaInjectedProvider, j as StandardWallet, k as StandardWalletAccount, W as WalletSignInOption, l as browserSubmissionStore, m as cosmosChainList, n as cosmosSigner, c as createBrowserRelayClient, o as discoverCosmosWallets, p as discoverEvmWallets, q as discoverSignInWallets, r as discoverSolanaWallets, s as evmSigner, t as signInOptions, u as solanaSigner, w as walletStandardSolanaSigner } from './browser-
|
|
9
|
+
export { C as CosmosChains, D as DiscoveredWallet, f as Eip1193Provider, E as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, g as SignInClient, e as SignInIcon, S as SignInMethods, a as SignInOption, h as SignInOptions, b as SignInUnavailable, d as SignInWallet, i as SolanaInjectedProvider, j as StandardWallet, k as StandardWalletAccount, W as WalletSignInOption, l as browserSubmissionStore, m as cosmosChainList, n as cosmosSigner, c as createBrowserRelayClient, o as discoverCosmosWallets, p as discoverEvmWallets, q as discoverSignInWallets, r as discoverSolanaWallets, s as evmSigner, t as signInOptions, u as solanaSigner, w as walletStandardSolanaSigner } from './browser-J7tUpXxy.js';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import './request-error-DWduJCGV.js';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ import { aG as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollm
|
|
|
7
7
|
import { E as Entitlement, a as AttemptStatus, h as TrackerSkipCode, bI as submitSchema, aI as contentPerformanceQuerySchema, T as TieredRewardReference } from '../schema-DfJzH2ci.js';
|
|
8
8
|
import { y as walletAddressInputSchema, I as walletSignatureSchema, L as LinkedWallet, f as WalletSigner, d as WalletSignInNetwork } from '../wallet-YssWxGg8.js';
|
|
9
9
|
import { F as profileUpdateSchema, c as ProfileCompletionQuery, f as ProfileUpdate, e as ProfileSummary, a as ProfileCompletion, d as ProfileReferral } from '../profiles-D2aFcOxu.js';
|
|
10
|
-
import { c as createBrowserRelayClient, J as JSONType, S as SignInMethods, C as CosmosChains, a as SignInOption, b as SignInUnavailable, d as SignInWallet, D as DiscoveredWallet } from '../browser-
|
|
11
|
-
export { E as EmailSignInOption, O as OAuthSignInOption, e as SignInIcon, W as WalletSignInOption } from '../browser-
|
|
10
|
+
import { c as createBrowserRelayClient, J as JSONType, S as SignInMethods, C as CosmosChains, a as SignInOption, b as SignInUnavailable, d as SignInWallet, D as DiscoveredWallet } from '../browser-J7tUpXxy.js';
|
|
11
|
+
export { E as EmailSignInOption, O as OAuthSignInOption, e as SignInIcon, W as WalletSignInOption } from '../browser-J7tUpXxy.js';
|
|
12
12
|
import * as zod from 'zod';
|
|
13
13
|
import { z } from 'zod';
|
|
14
14
|
import { a as AuthProvider, A as AccountConnection } from '../submission-input-BZkm6ohU.js';
|