@domino-sdk/relay 1.34.0 → 1.37.1
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/{attempt-captures-nMDnKGdI.d.ts → attempt-captures-B2Clh9Df.d.ts} +1 -1
- package/dist/authoring.d.ts +10 -9
- package/dist/authoring.js +4 -4
- package/dist/{automatic-outcomes-CHiFP_U-.d.ts → automatic-outcomes-BiarOoiy.d.ts} +1 -1
- package/dist/browser.d.ts +7 -7
- package/dist/browser.js +10 -10
- package/dist/{chunk-BDWZ2BZP.js → chunk-2GGITG27.js} +2 -2
- package/dist/{chunk-BUHGXKPY.js → chunk-2NNVJUP4.js} +1 -1
- package/dist/{chunk-Q2PUNIPL.js → chunk-4MPF5Y5A.js} +1 -1
- package/dist/{chunk-OW22TOV7.js → chunk-5D3O4GEM.js} +34 -2
- package/dist/{chunk-OEDG75KH.js → chunk-6KNYVJHM.js} +2 -2
- package/dist/{chunk-2SL7K42N.js → chunk-DOTZUOUI.js} +6 -6
- package/dist/{chunk-466IRAJP.js → chunk-EOCAYQUY.js} +15 -2
- package/dist/{chunk-3WJBL74Q.js → chunk-FB5GDPUU.js} +1 -1
- package/dist/{chunk-5C5AZTKA.js → chunk-FSJPYDW7.js} +4 -4
- package/dist/{chunk-V7K7XXFB.js → chunk-IBNS3X7D.js} +1 -1
- package/dist/{chunk-IJT4EKFY.js → chunk-OTDMH4IB.js} +1 -1
- package/dist/{chunk-V36CPSZW.js → chunk-PWHKIZ2F.js} +2 -2
- package/dist/{chunk-XOHMDXSQ.js → chunk-TIXJGCWY.js} +12 -9
- package/dist/{chunk-ON7RDKQ3.js → chunk-WYFGWUUJ.js} +9 -2
- package/dist/{chunk-32UPB7Q3.js → chunk-XJCOVZZJ.js} +1 -1
- package/dist/{chunk-KUZXNKHL.js → chunk-ZG7XRZIF.js} +1 -1
- package/dist/{client-Bkc7gOmF.d.ts → client-B3rMXsx2.d.ts} +12 -6
- package/dist/{deployments-DMVpPnGX.d.ts → deployments-CztfY7C8.d.ts} +17 -1
- package/dist/{groups-C06mpYOs.d.ts → groups-CRUAE6hI.d.ts} +9 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/internal.d.ts +9 -9
- package/dist/internal.js +8 -8
- package/dist/{offers-BbQ9O-5J.d.ts → offers-B04ZE2JR.d.ts} +2 -2
- package/dist/{pages-C1tNuRoB.d.ts → pages-B5agdH0f.d.ts} +1 -1
- package/dist/{participant-activity-BPZiW7m7.d.ts → participant-activity-CoB2F30C.d.ts} +2 -0
- package/dist/portal-proxy.js +3 -3
- package/dist/react/index.d.ts +12 -10
- package/dist/react/index.js +10 -10
- package/dist/{schema-DquhoBae.d.ts → schema--jNn3OfJ.d.ts} +54 -1
- package/dist/schema.d.ts +22 -12
- package/dist/schema.js +13 -7
- package/dist/server/index.d.ts +9 -9
- package/dist/server/index.js +130 -16
- package/dist/{submission-input-DUmt6Wyx.d.ts → submission-input-DGBBygFe.d.ts} +2 -2
- package/dist/{telegram-browser-DWFPGBgU.d.ts → telegram-browser-CiTSBNKo.d.ts} +2 -2
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +5 -5
- package/dist/{transport-DpI_Hhng.d.ts → transport-BLq1PH-O.d.ts} +465 -15
- package/dist/{x-58jkoblN.d.ts → x-imfTy_I1.d.ts} +1 -1
- package/package.json +1 -1
package/dist/server/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
attemptCaptureSchema,
|
|
3
3
|
capturedFactSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XJCOVZZJ.js";
|
|
5
5
|
import {
|
|
6
6
|
activityTypeSchema,
|
|
7
7
|
activityTypes,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
publishDeploymentSchema,
|
|
28
28
|
rejectDeploymentSchema,
|
|
29
29
|
submitDeploymentSchema
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-DOTZUOUI.js";
|
|
31
31
|
import "../chunk-4OC7REYX.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MANAGEMENT_TIMEOUT,
|
|
@@ -48,21 +48,21 @@ import {
|
|
|
48
48
|
participantExchangeSchema,
|
|
49
49
|
questConfiguration,
|
|
50
50
|
sequenceCursorSchema
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-FSJPYDW7.js";
|
|
52
52
|
import {
|
|
53
53
|
parseImageExtraction,
|
|
54
54
|
parseImageResult
|
|
55
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-PWHKIZ2F.js";
|
|
56
56
|
import {
|
|
57
57
|
imageAssetArtifactSchema,
|
|
58
58
|
xUserLookupInputSchema,
|
|
59
59
|
xUserSchema
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-ZG7XRZIF.js";
|
|
61
61
|
import {
|
|
62
62
|
sourceDataSchema,
|
|
63
63
|
sourceRoles,
|
|
64
64
|
validateQuestShape
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-FB5GDPUU.js";
|
|
66
66
|
import {
|
|
67
67
|
isIntegrationParticipantPath,
|
|
68
68
|
isParticipantRoute,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "../chunk-DP4YWFMY.js";
|
|
72
72
|
import {
|
|
73
73
|
withActionId
|
|
74
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-OTDMH4IB.js";
|
|
75
75
|
import {
|
|
76
76
|
allocateQuestSchema,
|
|
77
77
|
allocatedQuestSchema,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
rewardDeliveryQuerySchema,
|
|
91
91
|
rewardDeliverySchema,
|
|
92
92
|
saveQuestDraftSchema
|
|
93
|
-
} from "../chunk-
|
|
93
|
+
} from "../chunk-2GGITG27.js";
|
|
94
94
|
import {
|
|
95
95
|
badgeMutationResultSchema,
|
|
96
96
|
badgeMutationSchema,
|
|
@@ -144,15 +144,15 @@ import {
|
|
|
144
144
|
referralQualificationSchema,
|
|
145
145
|
referralRewardResolutionSchema,
|
|
146
146
|
referralSuspensionSchema
|
|
147
|
-
} from "../chunk-
|
|
147
|
+
} from "../chunk-WYFGWUUJ.js";
|
|
148
148
|
import {
|
|
149
149
|
telegramChatConnectionSchema,
|
|
150
150
|
telegramChatIdSchema,
|
|
151
151
|
telegramChatsSchema
|
|
152
|
-
} from "../chunk-
|
|
153
|
-
import "../chunk-
|
|
154
|
-
import "../chunk-
|
|
155
|
-
import "../chunk-
|
|
152
|
+
} from "../chunk-2NNVJUP4.js";
|
|
153
|
+
import "../chunk-IBNS3X7D.js";
|
|
154
|
+
import "../chunk-4MPF5Y5A.js";
|
|
155
|
+
import "../chunk-EOCAYQUY.js";
|
|
156
156
|
import {
|
|
157
157
|
CompletionSourceKind,
|
|
158
158
|
addGroupMemberSchema,
|
|
@@ -217,6 +217,7 @@ import {
|
|
|
217
217
|
trackerContentReadSchema,
|
|
218
218
|
trackerContentSchema,
|
|
219
219
|
trackerControlSchema,
|
|
220
|
+
trackerCreateSchema,
|
|
220
221
|
trackerDataIssue,
|
|
221
222
|
trackerDataIssues,
|
|
222
223
|
trackerIngestResultSchema,
|
|
@@ -233,13 +234,14 @@ import {
|
|
|
233
234
|
trackerSummarySchema,
|
|
234
235
|
trackerTriggerOutcomePageSchema,
|
|
235
236
|
trackerTriggerOutcomeQuerySchema,
|
|
237
|
+
trackerUpdateSchema,
|
|
236
238
|
updateGroupSchema,
|
|
237
239
|
walletBalanceSchema,
|
|
238
240
|
walletChainSchema,
|
|
239
241
|
walletSignInNetworksSchema,
|
|
240
242
|
walletUnlinkInputSchema,
|
|
241
243
|
whereSchemaIssue
|
|
242
|
-
} from "../chunk-
|
|
244
|
+
} from "../chunk-5D3O4GEM.js";
|
|
243
245
|
|
|
244
246
|
// src/server/identity-links.ts
|
|
245
247
|
import * as z from "zod";
|
|
@@ -946,6 +948,36 @@ function nextScheduleRun(schedule, after) {
|
|
|
946
948
|
return next.getTime();
|
|
947
949
|
}
|
|
948
950
|
var appScheduleStateSchema = z10.enum(["active", "paused", "archived"]);
|
|
951
|
+
var APP_SCHEDULE_RESULT_BYTES = 16384;
|
|
952
|
+
var appScheduleDiagnosticSchema = z10.object({
|
|
953
|
+
level: z10.enum(["error", "warning", "info"]),
|
|
954
|
+
message: z10.string().min(1).max(500),
|
|
955
|
+
/** What the line is about, such as a member, record or tracker ID. */
|
|
956
|
+
subject: z10.string().min(1).max(200).optional(),
|
|
957
|
+
/** A stable code the app chooses, such as `ingest-timeout`. */
|
|
958
|
+
code: z10.string().min(1).max(100).optional()
|
|
959
|
+
});
|
|
960
|
+
var appScheduleResultSchema = z10.object({
|
|
961
|
+
outcome: z10.enum(["succeeded", "partial", "failed"]),
|
|
962
|
+
summary: z10.string().min(1).max(500).optional(),
|
|
963
|
+
/** Counts and gauges, such as processed and failed members. */
|
|
964
|
+
metrics: z10.record(z10.string().regex(/^[A-Za-z][\w.-]{0,63}$/), z10.number()).refine(
|
|
965
|
+
(metrics) => Object.keys(metrics).length <= 50,
|
|
966
|
+
"Report at most 50 metrics"
|
|
967
|
+
).optional(),
|
|
968
|
+
diagnostics: z10.array(appScheduleDiagnosticSchema).max(50).optional()
|
|
969
|
+
});
|
|
970
|
+
function scheduleResult(result) {
|
|
971
|
+
const body = JSON.stringify(appScheduleResultSchema.parse(result));
|
|
972
|
+
if (new TextEncoder().encode(body).byteLength > APP_SCHEDULE_RESULT_BYTES) {
|
|
973
|
+
throw new Error(
|
|
974
|
+
`A schedule result must be at most ${APP_SCHEDULE_RESULT_BYTES.toLocaleString("en-US")} bytes of JSON: send fewer or shorter diagnostics`
|
|
975
|
+
);
|
|
976
|
+
}
|
|
977
|
+
return new Response(body, {
|
|
978
|
+
headers: { "Content-Type": "application/json" }
|
|
979
|
+
});
|
|
980
|
+
}
|
|
949
981
|
var appScheduleRunSchema = z10.object({
|
|
950
982
|
id: z10.string().uuid(),
|
|
951
983
|
build: z10.string().uuid(),
|
|
@@ -954,7 +986,14 @@ var appScheduleRunSchema = z10.object({
|
|
|
954
986
|
manual: z10.boolean(),
|
|
955
987
|
status: z10.enum(["queued", "running", "succeeded", "failed", "uncertain"]),
|
|
956
988
|
duration: z10.number().nullable(),
|
|
957
|
-
|
|
989
|
+
/** Why the run failed or is uncertain, or why Relay ignored the app's result. */
|
|
990
|
+
error: z10.string().nullable(),
|
|
991
|
+
/** The app's JSON answer when it sent a valid result. Absent on runs from before results. */
|
|
992
|
+
result: appScheduleResultSchema.nullable().optional()
|
|
993
|
+
});
|
|
994
|
+
var appScheduleRunsSchema = z10.object({
|
|
995
|
+
/** Newest first: the latest twenty runs of one schedule, including a queued or running one. */
|
|
996
|
+
runs: z10.array(appScheduleRunSchema)
|
|
958
997
|
});
|
|
959
998
|
var appScheduleListSchema = z10.object({
|
|
960
999
|
state: appScheduleStateSchema,
|
|
@@ -1190,6 +1229,23 @@ var appStorageValueSchema = z12.object({
|
|
|
1190
1229
|
text: z12.string().nullable(),
|
|
1191
1230
|
truncated: z12.boolean()
|
|
1192
1231
|
});
|
|
1232
|
+
var APP_STORAGE_CELL_CHARACTERS = 1e5;
|
|
1233
|
+
var appStorageCellPageSchema = z12.object({
|
|
1234
|
+
table: z12.string(),
|
|
1235
|
+
column: z12.string(),
|
|
1236
|
+
/** The row's position in storage order: a rows page's `offset` plus its index on that page. */
|
|
1237
|
+
row: z12.number().int().min(0),
|
|
1238
|
+
/** SQLite's storage class. */
|
|
1239
|
+
type: z12.enum(["text", "integer", "real", "blob", "null"]),
|
|
1240
|
+
/** Characters of text, or of a number's text form; bytes of a BLOB; null for NULL. */
|
|
1241
|
+
length: z12.number().int().min(0).nullable(),
|
|
1242
|
+
/** How many characters come before this page. */
|
|
1243
|
+
offset: z12.number().int().min(0),
|
|
1244
|
+
/** Up to 100,000 characters from `offset`. Null for a BLOB, whose bytes are never read, and NULL. */
|
|
1245
|
+
text: z12.string().nullable(),
|
|
1246
|
+
/** Pass back as `cursor` for the next page; null on the last one. */
|
|
1247
|
+
nextCursor: pageCursorSchema.nullable().default(null)
|
|
1248
|
+
});
|
|
1193
1249
|
var appMigrationNameSchema = z12.string().max(255).regex(/^[\w-][\w.-]*\.sql$/);
|
|
1194
1250
|
function compareAppMigrations(a, b) {
|
|
1195
1251
|
const left = Number.parseInt(a.split("_")[0], 10);
|
|
@@ -1857,7 +1913,7 @@ var auditRecordSchema = z15.object({
|
|
|
1857
1913
|
detail: z15.string(),
|
|
1858
1914
|
at: z15.number(),
|
|
1859
1915
|
attempt: z15.string().nullable()
|
|
1860
|
-
}).refine((
|
|
1916
|
+
}).refine((record5) => !record5.user || record5.user.id === record5.actor, {
|
|
1861
1917
|
message: "User profile must match the recorded actor",
|
|
1862
1918
|
path: ["user"]
|
|
1863
1919
|
});
|
|
@@ -2392,6 +2448,30 @@ function managementClient(options) {
|
|
|
2392
2448
|
);
|
|
2393
2449
|
},
|
|
2394
2450
|
trackers: {
|
|
2451
|
+
/**
|
|
2452
|
+
* Creates an X search tracker as data in test, with the same validation as `defineTracker`;
|
|
2453
|
+
* requires `publish`. Its first collection searches from `window.start`. Live refuses it with
|
|
2454
|
+
* `promotion-required`: the tracker reaches live through a promotion. A key a deployment
|
|
2455
|
+
* already publishes is refused with `tracker-owned-by-code`.
|
|
2456
|
+
*/
|
|
2457
|
+
create: (input, call) => create(
|
|
2458
|
+
"/trackers",
|
|
2459
|
+
trackerStatusSchema,
|
|
2460
|
+
trackerCreateSchema,
|
|
2461
|
+
input,
|
|
2462
|
+
call
|
|
2463
|
+
),
|
|
2464
|
+
/**
|
|
2465
|
+
* Changes a tracker created with `create`, in test; fields left out keep their value. A new
|
|
2466
|
+
* query or window collects from now on and never searches the past. A tracker defined in
|
|
2467
|
+
* code changes only through a deployment (`tracker-owned-by-code`).
|
|
2468
|
+
*/
|
|
2469
|
+
update: (reference, input, call) => post(
|
|
2470
|
+
`/trackers/${identifier.parse(reference)}/update`,
|
|
2471
|
+
trackerStatusSchema,
|
|
2472
|
+
trackerUpdateSchema.parse(withActionId(input)),
|
|
2473
|
+
call
|
|
2474
|
+
),
|
|
2395
2475
|
pause: (reference, input = {}, call) => post(
|
|
2396
2476
|
`/trackers/${identifier.parse(reference)}/pause`,
|
|
2397
2477
|
trackerStatusSchema,
|
|
@@ -3997,6 +4077,12 @@ function managementClient(options) {
|
|
|
3997
4077
|
*/
|
|
3998
4078
|
schedules: {
|
|
3999
4079
|
list: (call) => get("/schedules", appScheduleListSchema, call),
|
|
4080
|
+
/** One schedule's latest twenty runs, newest first, each with the app's result. */
|
|
4081
|
+
runs: (name, call) => get(
|
|
4082
|
+
`/schedules/${appScheduleNameSchema.parse(name)}/runs`,
|
|
4083
|
+
appScheduleRunsSchema,
|
|
4084
|
+
call
|
|
4085
|
+
),
|
|
4000
4086
|
run: (name, call) => post(
|
|
4001
4087
|
`/schedules/${appScheduleNameSchema.parse(name)}/run`,
|
|
4002
4088
|
appScheduleListSchema,
|
|
@@ -4036,6 +4122,23 @@ function managementClient(options) {
|
|
|
4036
4122
|
appStorageRowsSchema,
|
|
4037
4123
|
call
|
|
4038
4124
|
),
|
|
4125
|
+
/**
|
|
4126
|
+
* One SQL value in full, 100,000 characters at a time, where a rows page shows a preview. `row`
|
|
4127
|
+
* is the row's position in storage order: its page's `offset` plus its index on that page.
|
|
4128
|
+
* Pass a page's `nextCursor` back as `cursor` for the next characters.
|
|
4129
|
+
*/
|
|
4130
|
+
cell: (name, table, options2, call) => get(
|
|
4131
|
+
`/storage/sql/${appSecretNameSchema.parse(name)}/cell?${new URLSearchParams(
|
|
4132
|
+
{
|
|
4133
|
+
table,
|
|
4134
|
+
row: String(z15.number().int().min(0).parse(options2.row)),
|
|
4135
|
+
column: options2.column,
|
|
4136
|
+
...options2.cursor === void 0 ? {} : { cursor: pageCursorSchema.parse(options2.cursor) }
|
|
4137
|
+
}
|
|
4138
|
+
)}`,
|
|
4139
|
+
appStorageCellPageSchema,
|
|
4140
|
+
call
|
|
4141
|
+
),
|
|
4039
4142
|
/** One page of a KV store's keys. Pass a page's `nextCursor` back as `cursor` for the next. */
|
|
4040
4143
|
keys: (name, options2 = {}, call) => get(
|
|
4041
4144
|
`/storage/kv/${appSecretNameSchema.parse(name)}/keys?${new URLSearchParams(
|
|
@@ -4372,6 +4475,9 @@ var managementResponseSchemas = lazyResponseReaders({
|
|
|
4372
4475
|
get appSecretSchema() {
|
|
4373
4476
|
return knownResponse(appSecretSchema);
|
|
4374
4477
|
},
|
|
4478
|
+
get appStorageCellPageSchema() {
|
|
4479
|
+
return knownResponse(appStorageCellPageSchema);
|
|
4480
|
+
},
|
|
4375
4481
|
get appStorageKeysSchema() {
|
|
4376
4482
|
return knownResponse(appStorageKeysSchema);
|
|
4377
4483
|
},
|
|
@@ -4766,6 +4872,7 @@ var managementResponses = {
|
|
|
4766
4872
|
allocatedQuestSchema: responseSchema(allocatedQuestSchema),
|
|
4767
4873
|
appSecretListSchema: responseSchema(appSecretListSchema),
|
|
4768
4874
|
appSecretSchema: responseSchema(appSecretSchema),
|
|
4875
|
+
appStorageCellPageSchema: responseSchema(appStorageCellPageSchema),
|
|
4769
4876
|
appStorageKeysSchema: responseSchema(appStorageKeysSchema),
|
|
4770
4877
|
appStorageListSchema: responseSchema(appStorageListSchema),
|
|
4771
4878
|
appStorageRowsSchema: responseSchema(appStorageRowsSchema),
|
|
@@ -4907,9 +5014,11 @@ export {
|
|
|
4907
5014
|
APP_MIGRATION_TOTAL_BYTES,
|
|
4908
5015
|
APP_SCHEDULE_LIMIT,
|
|
4909
5016
|
APP_SCHEDULE_MIN_INTERVAL,
|
|
5017
|
+
APP_SCHEDULE_RESULT_BYTES,
|
|
4910
5018
|
APP_SCHEDULE_TIMEOUT,
|
|
4911
5019
|
APP_SECRET_LIMIT,
|
|
4912
5020
|
APP_SQL_LIMIT,
|
|
5021
|
+
APP_STORAGE_CELL_CHARACTERS,
|
|
4913
5022
|
APP_STORAGE_PREVIEW_CHARACTERS,
|
|
4914
5023
|
APP_STORAGE_ROW_LIMIT,
|
|
4915
5024
|
CompletionSourceKind,
|
|
@@ -4932,10 +5041,13 @@ export {
|
|
|
4932
5041
|
appIdentitySelectorSchema,
|
|
4933
5042
|
appMigrationNameSchema,
|
|
4934
5043
|
appRoutingSchema,
|
|
5044
|
+
appScheduleDiagnosticSchema,
|
|
4935
5045
|
appScheduleListSchema,
|
|
4936
5046
|
appScheduleNameSchema,
|
|
4937
5047
|
appSchedulePathSchema,
|
|
5048
|
+
appScheduleResultSchema,
|
|
4938
5049
|
appScheduleRunSchema,
|
|
5050
|
+
appScheduleRunsSchema,
|
|
4939
5051
|
appScheduleSchema,
|
|
4940
5052
|
appScheduleStateSchema,
|
|
4941
5053
|
appSchedulesSchema,
|
|
@@ -4946,6 +5058,7 @@ export {
|
|
|
4946
5058
|
appSecretNameSchema,
|
|
4947
5059
|
appSecretSchema,
|
|
4948
5060
|
appSecretValueSchema,
|
|
5061
|
+
appStorageCellPageSchema,
|
|
4949
5062
|
appStorageCellSchema,
|
|
4950
5063
|
appStorageKeysSchema,
|
|
4951
5064
|
appStorageKindSchema,
|
|
@@ -5126,6 +5239,7 @@ export {
|
|
|
5126
5239
|
resourceLifecycleResultSchema,
|
|
5127
5240
|
rolePermissions,
|
|
5128
5241
|
roleSchema,
|
|
5242
|
+
scheduleResult,
|
|
5129
5243
|
scheduledInvocationSchema,
|
|
5130
5244
|
sequenceCursorSchema,
|
|
5131
5245
|
serviceKeyInputSchema,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { L as LedgerReference, r as QuestHandle } from './schema
|
|
3
|
-
import { p as ProjectGroupReference } from './groups-
|
|
2
|
+
import { L as LedgerReference, r as QuestHandle } from './schema--jNn3OfJ.js';
|
|
3
|
+
import { p as ProjectGroupReference } from './groups-CRUAE6hI.js';
|
|
4
4
|
|
|
5
5
|
declare const completionPrerequisiteSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"completion">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as AuthProvider, b as TelegramSignInMethods } from './accounts-DRPENuZe.js';
|
|
2
|
-
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-
|
|
3
|
-
import { b as ParticipantSession } from './participant-activity-
|
|
2
|
+
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError } from './client-B3rMXsx2.js';
|
|
3
|
+
import { b as ParticipantSession } from './participant-activity-CoB2F30C.js';
|
|
4
4
|
import { C as CosmosChain, a as CosmosNetwork, f as WalletSigner, d as WalletSignInNetwork } from './wallet-t7uNDg9p.js';
|
|
5
5
|
|
|
6
6
|
/** An EIP-1193 provider, such as `window.ethereum` or an EIP-6963 announcement's provider. */
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bI as memberIdentitySchema, cY as trackerQuerySchema, cT as trackerPageSchema, d5 as trackerSummarySchema, aM as TrackerContentQuery, cE as trackerContentSchema, bN as photoResultSchema, Y as TextReviewInput, R as Reward, $ as Decision, aI as TrackerAttribution, y as Tracker, z as TrackerData, a4 as ContentBody, U as TrackerTriggerContext, aa as TrackerPage } from './schema--jNn3OfJ.js';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
import { t as discordMemberSchema, w as discordMessageSchema, G as telegramChatMemberSchema } from './accounts-DRPENuZe.js';
|
|
4
4
|
import { b as CapabilityFailure } from './capability-error-FQGGb5xS.js';
|
|
5
5
|
export { C as CapabilityError } from './capability-error-FQGGb5xS.js';
|
|
6
|
-
import { z as xConnectionSchema, C as xProfileSchema, B as xPostSchema, f as ImageReference, s as imageInspectionSchema, o as imageComparisonSchema, v as imageSightingsSchema } from './x-
|
|
6
|
+
import { z as xConnectionSchema, C as xProfileSchema, B as xPostSchema, f as ImageReference, s as imageInspectionSchema, o as imageComparisonSchema, v as imageSightingsSchema } from './x-imfTy_I1.js';
|
|
7
7
|
import { u as linkedWalletSchema, z as walletBalanceSchema } from './wallet-t7uNDg9p.js';
|
|
8
|
-
export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-
|
|
8
|
+
export { A as AttemptCapture, C as CapturedFact } from './attempt-captures-B2Clh9Df.js';
|
|
9
9
|
|
|
10
10
|
/** One project time-zone change: from `effectiveAt` on, days are counted in `timeZone`. */
|
|
11
11
|
type CalendarSegment = {
|
package/dist/testing.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
attemptCaptureSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XJCOVZZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
CapabilityError
|
|
6
6
|
} from "./chunk-4OC7REYX.js";
|
|
7
7
|
import {
|
|
8
8
|
parseImageResult
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PWHKIZ2F.js";
|
|
10
10
|
import {
|
|
11
11
|
imageRequestSchema,
|
|
12
12
|
xConnectionSchema,
|
|
13
13
|
xPostSchema,
|
|
14
14
|
xProfileSchema,
|
|
15
15
|
xRequestSchema
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZG7XRZIF.js";
|
|
17
17
|
import {
|
|
18
18
|
telegramChatMemberSchema,
|
|
19
19
|
telegramMemberInputSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2NNVJUP4.js";
|
|
21
21
|
import {
|
|
22
22
|
contentPerformanceSnapshotSchema,
|
|
23
23
|
cosmosNetworkSchema,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
urlEvidenceSchema,
|
|
47
47
|
validateSubmissionValue,
|
|
48
48
|
walletBalanceSchema
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-5D3O4GEM.js";
|
|
50
50
|
|
|
51
51
|
// src/testing/run.ts
|
|
52
52
|
import * as z3 from "zod";
|