@alpic-ai/api 0.0.0-staging.ffd67d5 → 0.0.0-staging.g03f5f10
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/index.d.mts +227 -233
- package/dist/index.mjs +1314 -87
- package/package.json +9 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _orpc_contract0 from "@orpc/contract";
|
|
2
|
-
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
3
1
|
import { z } from "zod";
|
|
2
|
+
import { InferContractRouterInputs, InferContractRouterOutputs } from "@orpc/contract";
|
|
4
3
|
|
|
5
4
|
//#region src/api.contract.d.ts
|
|
6
5
|
type ApiContext = {
|
|
@@ -11,12 +10,12 @@ type ApiContext = {
|
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
12
|
declare const deploymentStatusSchema: z.ZodEnum<{
|
|
14
|
-
failed: "failed";
|
|
15
13
|
ongoing: "ongoing";
|
|
16
14
|
deployed: "deployed";
|
|
15
|
+
failed: "failed";
|
|
17
16
|
canceled: "canceled";
|
|
18
17
|
}>;
|
|
19
|
-
declare const createEnvironmentContractV1:
|
|
18
|
+
declare const createEnvironmentContractV1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
20
19
|
projectId: z.ZodString;
|
|
21
20
|
name: z.ZodString;
|
|
22
21
|
sourceBranch: z.ZodString;
|
|
@@ -29,17 +28,17 @@ declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuil
|
|
|
29
28
|
id: z.ZodString;
|
|
30
29
|
name: z.ZodString;
|
|
31
30
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
32
|
-
urls: z.ZodArray<z.
|
|
31
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
33
32
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
34
33
|
projectId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>,
|
|
34
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
36
35
|
NOT_FOUND: {};
|
|
37
36
|
BAD_REQUEST: {};
|
|
38
37
|
}>, Record<never, never>>;
|
|
39
38
|
declare const contract: {
|
|
40
39
|
teams: {
|
|
41
40
|
list: {
|
|
42
|
-
v1:
|
|
41
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
43
42
|
id: z.ZodString;
|
|
44
43
|
name: z.ZodString;
|
|
45
44
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -49,7 +48,7 @@ declare const contract: {
|
|
|
49
48
|
};
|
|
50
49
|
analytics: {
|
|
51
50
|
get: {
|
|
52
|
-
v1:
|
|
51
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
53
52
|
projectId: z.ZodString;
|
|
54
53
|
startTimestamp: z.ZodCoercedNumber<unknown>;
|
|
55
54
|
endTimestamp: z.ZodCoercedNumber<unknown>;
|
|
@@ -92,7 +91,7 @@ declare const contract: {
|
|
|
92
91
|
categories: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
93
92
|
}, z.core.$strip>>;
|
|
94
93
|
}, z.core.$strip>;
|
|
95
|
-
}, z.core.$strip>,
|
|
94
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
96
95
|
NOT_FOUND: {};
|
|
97
96
|
BAD_REQUEST: {};
|
|
98
97
|
}>, Record<never, never>>;
|
|
@@ -100,21 +99,21 @@ declare const contract: {
|
|
|
100
99
|
};
|
|
101
100
|
deployments: {
|
|
102
101
|
list: {
|
|
103
|
-
v1:
|
|
102
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
104
103
|
projectId: z.ZodString;
|
|
105
104
|
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
106
|
-
failed: "failed";
|
|
107
105
|
ongoing: "ongoing";
|
|
108
106
|
deployed: "deployed";
|
|
107
|
+
failed: "failed";
|
|
109
108
|
canceled: "canceled";
|
|
110
109
|
}>>>;
|
|
111
110
|
environmentId: z.ZodOptional<z.ZodString>;
|
|
112
111
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
113
112
|
id: z.ZodString;
|
|
114
113
|
status: z.ZodEnum<{
|
|
115
|
-
failed: "failed";
|
|
116
114
|
ongoing: "ongoing";
|
|
117
115
|
deployed: "deployed";
|
|
116
|
+
failed: "failed";
|
|
118
117
|
canceled: "canceled";
|
|
119
118
|
}>;
|
|
120
119
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -128,19 +127,19 @@ declare const contract: {
|
|
|
128
127
|
environmentName: z.ZodString;
|
|
129
128
|
isCurrent: z.ZodBoolean;
|
|
130
129
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
131
|
-
}, z.core.$strip>>,
|
|
130
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
132
131
|
NOT_FOUND: {};
|
|
133
132
|
}>, Record<never, never>>;
|
|
134
133
|
};
|
|
135
134
|
get: {
|
|
136
|
-
v1:
|
|
135
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
137
136
|
deploymentId: z.ZodString;
|
|
138
137
|
}, z.core.$strip>, z.ZodObject<{
|
|
139
138
|
id: z.ZodString;
|
|
140
139
|
status: z.ZodEnum<{
|
|
141
|
-
failed: "failed";
|
|
142
140
|
ongoing: "ongoing";
|
|
143
141
|
deployed: "deployed";
|
|
142
|
+
failed: "failed";
|
|
144
143
|
canceled: "canceled";
|
|
145
144
|
}>;
|
|
146
145
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -154,21 +153,24 @@ declare const contract: {
|
|
|
154
153
|
environmentName: z.ZodString;
|
|
155
154
|
isCurrent: z.ZodBoolean;
|
|
156
155
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
157
|
-
}, z.core.$strip>,
|
|
156
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
158
157
|
NOT_FOUND: {};
|
|
159
158
|
}>, Record<never, never>>;
|
|
160
159
|
};
|
|
161
160
|
uploadArtifact: {
|
|
162
|
-
v1:
|
|
161
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
163
162
|
teamId: z.ZodOptional<z.ZodString>;
|
|
164
163
|
}, z.core.$strip>>, z.ZodObject<{
|
|
165
164
|
uploadUrl: z.ZodURL;
|
|
166
165
|
token: z.ZodString;
|
|
167
166
|
expiresAt: z.ZodCoercedDate<unknown>;
|
|
168
|
-
}, z.core.$strip>, Record<never, never>,
|
|
167
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
168
|
+
NOT_FOUND: {};
|
|
169
|
+
BAD_REQUEST: {};
|
|
170
|
+
}>, Record<never, never>>;
|
|
169
171
|
};
|
|
170
172
|
getLogs: {
|
|
171
|
-
v1:
|
|
173
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
172
174
|
deploymentId: z.ZodString;
|
|
173
175
|
}, z.core.$strip>, z.ZodObject<{
|
|
174
176
|
logs: z.ZodArray<z.ZodObject<{
|
|
@@ -176,14 +178,14 @@ declare const contract: {
|
|
|
176
178
|
content: z.ZodOptional<z.ZodString>;
|
|
177
179
|
}, z.core.$strip>>;
|
|
178
180
|
hasMoreLogs: z.ZodBoolean;
|
|
179
|
-
}, z.core.$strip>,
|
|
181
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
180
182
|
NOT_FOUND: {};
|
|
181
183
|
}>, Record<never, never>>;
|
|
182
184
|
};
|
|
183
185
|
};
|
|
184
186
|
environments: {
|
|
185
187
|
create: {
|
|
186
|
-
v1:
|
|
188
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
187
189
|
projectId: z.ZodString;
|
|
188
190
|
name: z.ZodString;
|
|
189
191
|
sourceBranch: z.ZodString;
|
|
@@ -196,39 +198,39 @@ declare const contract: {
|
|
|
196
198
|
id: z.ZodString;
|
|
197
199
|
name: z.ZodString;
|
|
198
200
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
199
|
-
urls: z.ZodArray<z.
|
|
201
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
200
202
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
201
203
|
projectId: z.ZodString;
|
|
202
|
-
}, z.core.$strip>,
|
|
204
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
203
205
|
NOT_FOUND: {};
|
|
204
206
|
BAD_REQUEST: {};
|
|
205
207
|
}>, Record<never, never>>;
|
|
206
208
|
};
|
|
207
209
|
get: {
|
|
208
|
-
v1:
|
|
210
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
209
211
|
environmentId: z.ZodString;
|
|
210
212
|
}, z.core.$strip>, z.ZodObject<{
|
|
211
213
|
id: z.ZodString;
|
|
212
214
|
name: z.ZodString;
|
|
213
215
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
214
216
|
mcpServerUrl: z.ZodString;
|
|
215
|
-
domains: z.ZodArray<z.
|
|
217
|
+
domains: z.ZodArray<z.ZodCustomStringFormat<"hostname">>;
|
|
216
218
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
217
219
|
projectId: z.ZodString;
|
|
218
|
-
}, z.core.$strip>,
|
|
220
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
219
221
|
NOT_FOUND: {};
|
|
220
222
|
}>, Record<never, never>>;
|
|
221
223
|
};
|
|
222
224
|
deploy: {
|
|
223
|
-
v1:
|
|
225
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
224
226
|
environmentId: z.ZodString;
|
|
225
227
|
token: z.ZodOptional<z.ZodString>;
|
|
226
228
|
}, z.core.$strip>, z.ZodObject<{
|
|
227
229
|
id: z.ZodString;
|
|
228
230
|
status: z.ZodEnum<{
|
|
229
|
-
failed: "failed";
|
|
230
231
|
ongoing: "ongoing";
|
|
231
232
|
deployed: "deployed";
|
|
233
|
+
failed: "failed";
|
|
232
234
|
canceled: "canceled";
|
|
233
235
|
}>;
|
|
234
236
|
sourceRef: z.ZodNullable<z.ZodString>;
|
|
@@ -242,13 +244,13 @@ declare const contract: {
|
|
|
242
244
|
environmentName: z.ZodString;
|
|
243
245
|
isCurrent: z.ZodBoolean;
|
|
244
246
|
deploymentPageUrl: z.ZodNullable<z.ZodURL>;
|
|
245
|
-
}, z.core.$strip>,
|
|
247
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
246
248
|
NOT_FOUND: {};
|
|
247
249
|
BAD_REQUEST: {};
|
|
248
250
|
}>, Record<never, never>>;
|
|
249
251
|
};
|
|
250
252
|
getLogs: {
|
|
251
|
-
v1:
|
|
253
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
252
254
|
environmentId: z.ZodString;
|
|
253
255
|
since: z.ZodOptional<z.ZodString>;
|
|
254
256
|
until: z.ZodOptional<z.ZodString>;
|
|
@@ -278,7 +280,39 @@ declare const contract: {
|
|
|
278
280
|
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
279
281
|
}, z.core.$strip>>;
|
|
280
282
|
nextToken: z.ZodNullable<z.ZodString>;
|
|
281
|
-
}, z.core.$strip>,
|
|
283
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
284
|
+
NOT_FOUND: {};
|
|
285
|
+
BAD_REQUEST: {};
|
|
286
|
+
}>, Record<never, never>>;
|
|
287
|
+
};
|
|
288
|
+
getLatestLogs: {
|
|
289
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
290
|
+
environmentId: z.ZodString;
|
|
291
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
292
|
+
level: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
293
|
+
INFO: "INFO";
|
|
294
|
+
ERROR: "ERROR";
|
|
295
|
+
WARNING: "WARNING";
|
|
296
|
+
DEBUG: "DEBUG";
|
|
297
|
+
}>>>;
|
|
298
|
+
search: z.ZodOptional<z.ZodString>;
|
|
299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
300
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
301
|
+
timestamp: z.ZodCoercedDate<unknown>;
|
|
302
|
+
type: z.ZodEnum<{
|
|
303
|
+
INFO: "INFO";
|
|
304
|
+
ERROR: "ERROR";
|
|
305
|
+
WARNING: "WARNING";
|
|
306
|
+
DEBUG: "DEBUG";
|
|
307
|
+
START: "START";
|
|
308
|
+
END: "END";
|
|
309
|
+
}>;
|
|
310
|
+
requestId: z.ZodString;
|
|
311
|
+
content: z.ZodOptional<z.ZodString>;
|
|
312
|
+
method: z.ZodOptional<z.ZodString>;
|
|
313
|
+
durationInMs: z.ZodOptional<z.ZodNumber>;
|
|
314
|
+
}, z.core.$strip>>;
|
|
315
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
282
316
|
NOT_FOUND: {};
|
|
283
317
|
BAD_REQUEST: {};
|
|
284
318
|
}>, Record<never, never>>;
|
|
@@ -286,7 +320,7 @@ declare const contract: {
|
|
|
286
320
|
};
|
|
287
321
|
environmentVariables: {
|
|
288
322
|
list: {
|
|
289
|
-
v1:
|
|
323
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
290
324
|
environmentId: z.ZodString;
|
|
291
325
|
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
292
326
|
id: z.ZodString;
|
|
@@ -294,12 +328,12 @@ declare const contract: {
|
|
|
294
328
|
value: z.ZodString;
|
|
295
329
|
isSecret: z.ZodBoolean;
|
|
296
330
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
297
|
-
}, z.core.$strip>>,
|
|
331
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
298
332
|
NOT_FOUND: {};
|
|
299
333
|
}>, Record<never, never>>;
|
|
300
334
|
};
|
|
301
335
|
create: {
|
|
302
|
-
v1:
|
|
336
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
303
337
|
environmentId: z.ZodString;
|
|
304
338
|
environmentVariables: z.ZodArray<z.ZodObject<{
|
|
305
339
|
key: z.ZodString;
|
|
@@ -308,37 +342,38 @@ declare const contract: {
|
|
|
308
342
|
}, z.core.$strip>>;
|
|
309
343
|
}, z.core.$strip>, z.ZodObject<{
|
|
310
344
|
success: z.ZodLiteral<true>;
|
|
311
|
-
}, z.core.$strip>,
|
|
345
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
312
346
|
NOT_FOUND: {};
|
|
313
347
|
BAD_REQUEST: {};
|
|
314
348
|
}>, Record<never, never>>;
|
|
315
349
|
};
|
|
316
350
|
update: {
|
|
317
|
-
v1:
|
|
351
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
318
352
|
environmentVariableId: z.ZodString;
|
|
319
353
|
key: z.ZodString;
|
|
320
354
|
value: z.ZodOptional<z.ZodString>;
|
|
321
|
-
isSecret: z.ZodDefault<z.ZodBoolean
|
|
355
|
+
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
322
356
|
}, z.core.$strip>, z.ZodObject<{
|
|
323
357
|
success: z.ZodLiteral<true>;
|
|
324
|
-
}, z.core.$strip>,
|
|
358
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
325
359
|
NOT_FOUND: {};
|
|
326
360
|
BAD_REQUEST: {};
|
|
327
361
|
}>, Record<never, never>>;
|
|
328
362
|
};
|
|
329
363
|
delete: {
|
|
330
|
-
v1:
|
|
364
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
331
365
|
environmentVariableId: z.ZodString;
|
|
332
366
|
}, z.core.$strip>, z.ZodObject<{
|
|
333
367
|
success: z.ZodLiteral<true>;
|
|
334
|
-
}, z.core.$strip>,
|
|
368
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
335
369
|
NOT_FOUND: {};
|
|
370
|
+
BAD_REQUEST: {};
|
|
336
371
|
}>, Record<never, never>>;
|
|
337
372
|
};
|
|
338
373
|
};
|
|
339
374
|
projects: {
|
|
340
375
|
update: {
|
|
341
|
-
v1:
|
|
376
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
342
377
|
projectId: z.ZodString;
|
|
343
378
|
name: z.ZodOptional<z.ZodString>;
|
|
344
379
|
sourceRepository: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -371,18 +406,18 @@ declare const contract: {
|
|
|
371
406
|
domains: z.ZodArray<z.ZodObject<{
|
|
372
407
|
domain: z.ZodString;
|
|
373
408
|
status: z.ZodEnum<{
|
|
374
|
-
failed: "failed";
|
|
375
409
|
ongoing: "ongoing";
|
|
376
410
|
deployed: "deployed";
|
|
411
|
+
failed: "failed";
|
|
377
412
|
}>;
|
|
378
413
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
379
414
|
}, z.core.$strip>>;
|
|
380
415
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
381
416
|
id: z.ZodString;
|
|
382
417
|
status: z.ZodEnum<{
|
|
383
|
-
failed: "failed";
|
|
384
418
|
ongoing: "ongoing";
|
|
385
419
|
deployed: "deployed";
|
|
420
|
+
failed: "failed";
|
|
386
421
|
canceled: "canceled";
|
|
387
422
|
}>;
|
|
388
423
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -400,9 +435,9 @@ declare const contract: {
|
|
|
400
435
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
401
436
|
id: z.ZodString;
|
|
402
437
|
status: z.ZodEnum<{
|
|
403
|
-
failed: "failed";
|
|
404
438
|
ongoing: "ongoing";
|
|
405
439
|
deployed: "deployed";
|
|
440
|
+
failed: "failed";
|
|
406
441
|
canceled: "canceled";
|
|
407
442
|
}>;
|
|
408
443
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -410,13 +445,13 @@ declare const contract: {
|
|
|
410
445
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
411
446
|
}, z.core.$strip>>;
|
|
412
447
|
}, z.core.$strip>>;
|
|
413
|
-
}, z.core.$strip>,
|
|
448
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
414
449
|
NOT_FOUND: {};
|
|
415
450
|
BAD_REQUEST: {};
|
|
416
451
|
}>, Record<never, never>>;
|
|
417
452
|
};
|
|
418
453
|
get: {
|
|
419
|
-
v1:
|
|
454
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
420
455
|
projectId: z.ZodString;
|
|
421
456
|
}, z.core.$strip>, z.ZodObject<{
|
|
422
457
|
id: z.ZodString;
|
|
@@ -447,18 +482,18 @@ declare const contract: {
|
|
|
447
482
|
domains: z.ZodArray<z.ZodObject<{
|
|
448
483
|
domain: z.ZodString;
|
|
449
484
|
status: z.ZodEnum<{
|
|
450
|
-
failed: "failed";
|
|
451
485
|
ongoing: "ongoing";
|
|
452
486
|
deployed: "deployed";
|
|
487
|
+
failed: "failed";
|
|
453
488
|
}>;
|
|
454
489
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
455
490
|
}, z.core.$strip>>;
|
|
456
491
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
457
492
|
id: z.ZodString;
|
|
458
493
|
status: z.ZodEnum<{
|
|
459
|
-
failed: "failed";
|
|
460
494
|
ongoing: "ongoing";
|
|
461
495
|
deployed: "deployed";
|
|
496
|
+
failed: "failed";
|
|
462
497
|
canceled: "canceled";
|
|
463
498
|
}>;
|
|
464
499
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -476,9 +511,9 @@ declare const contract: {
|
|
|
476
511
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
477
512
|
id: z.ZodString;
|
|
478
513
|
status: z.ZodEnum<{
|
|
479
|
-
failed: "failed";
|
|
480
514
|
ongoing: "ongoing";
|
|
481
515
|
deployed: "deployed";
|
|
516
|
+
failed: "failed";
|
|
482
517
|
canceled: "canceled";
|
|
483
518
|
}>;
|
|
484
519
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -486,12 +521,12 @@ declare const contract: {
|
|
|
486
521
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
487
522
|
}, z.core.$strip>>;
|
|
488
523
|
}, z.core.$strip>>;
|
|
489
|
-
}, z.core.$strip>,
|
|
524
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
490
525
|
NOT_FOUND: {};
|
|
491
526
|
}>, Record<never, never>>;
|
|
492
527
|
};
|
|
493
528
|
list: {
|
|
494
|
-
v1:
|
|
529
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodOptional<z.ZodObject<{
|
|
495
530
|
teamId: z.ZodOptional<z.ZodString>;
|
|
496
531
|
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
497
532
|
id: z.ZodString;
|
|
@@ -522,18 +557,18 @@ declare const contract: {
|
|
|
522
557
|
domains: z.ZodArray<z.ZodObject<{
|
|
523
558
|
domain: z.ZodString;
|
|
524
559
|
status: z.ZodEnum<{
|
|
525
|
-
failed: "failed";
|
|
526
560
|
ongoing: "ongoing";
|
|
527
561
|
deployed: "deployed";
|
|
562
|
+
failed: "failed";
|
|
528
563
|
}>;
|
|
529
564
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
530
565
|
}, z.core.$strip>>;
|
|
531
566
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
532
567
|
id: z.ZodString;
|
|
533
568
|
status: z.ZodEnum<{
|
|
534
|
-
failed: "failed";
|
|
535
569
|
ongoing: "ongoing";
|
|
536
570
|
deployed: "deployed";
|
|
571
|
+
failed: "failed";
|
|
537
572
|
canceled: "canceled";
|
|
538
573
|
}>;
|
|
539
574
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -551,9 +586,9 @@ declare const contract: {
|
|
|
551
586
|
latestDeployment: z.ZodNullable<z.ZodObject<{
|
|
552
587
|
id: z.ZodString;
|
|
553
588
|
status: z.ZodEnum<{
|
|
554
|
-
failed: "failed";
|
|
555
589
|
ongoing: "ongoing";
|
|
556
590
|
deployed: "deployed";
|
|
591
|
+
failed: "failed";
|
|
557
592
|
canceled: "canceled";
|
|
558
593
|
}>;
|
|
559
594
|
sourceCommitId: z.ZodNullable<z.ZodString>;
|
|
@@ -561,10 +596,13 @@ declare const contract: {
|
|
|
561
596
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
562
597
|
}, z.core.$strip>>;
|
|
563
598
|
}, z.core.$strip>>;
|
|
564
|
-
}, z.core.$strip>>, Record<never, never>,
|
|
599
|
+
}, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
600
|
+
NOT_FOUND: {};
|
|
601
|
+
BAD_REQUEST: {};
|
|
602
|
+
}>, Record<never, never>>;
|
|
565
603
|
};
|
|
566
604
|
create: {
|
|
567
|
-
v1:
|
|
605
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
568
606
|
teamId: z.ZodOptional<z.ZodString>;
|
|
569
607
|
name: z.ZodString;
|
|
570
608
|
sourceRepository: z.ZodOptional<z.ZodString>;
|
|
@@ -622,33 +660,97 @@ declare const contract: {
|
|
|
622
660
|
installCommand: z.ZodNullable<z.ZodString>;
|
|
623
661
|
startCommand: z.ZodNullable<z.ZodString>;
|
|
624
662
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
625
|
-
}, z.core.$strip>,
|
|
663
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
626
664
|
NOT_FOUND: {};
|
|
627
665
|
BAD_REQUEST: {};
|
|
628
666
|
}>, Record<never, never>>;
|
|
629
667
|
};
|
|
630
668
|
delete: {
|
|
631
|
-
v1:
|
|
669
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
632
670
|
projectId: z.ZodString;
|
|
633
671
|
}, z.core.$strip>, z.ZodObject<{
|
|
634
672
|
success: z.ZodLiteral<true>;
|
|
635
|
-
}, z.core.$strip>,
|
|
673
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
674
|
+
NOT_FOUND: {};
|
|
675
|
+
}>, Record<never, never>>;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
playground: {
|
|
679
|
+
get: {
|
|
680
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
681
|
+
environmentId: z.ZodString;
|
|
682
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
683
|
+
isPlaygroundEnabled: z.ZodBoolean;
|
|
684
|
+
serverMetadata: z.ZodNullable<z.ZodObject<{
|
|
685
|
+
name: z.ZodString;
|
|
686
|
+
description: z.ZodString;
|
|
687
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
688
|
+
name: z.ZodString;
|
|
689
|
+
description: z.ZodString;
|
|
690
|
+
isRequired: z.ZodBoolean;
|
|
691
|
+
isSecret: z.ZodBoolean;
|
|
692
|
+
}, z.core.$strip>>;
|
|
693
|
+
examplePrompts: z.ZodArray<z.ZodObject<{
|
|
694
|
+
title: z.ZodString;
|
|
695
|
+
prompt: z.ZodString;
|
|
696
|
+
}, z.core.$strip>>;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
699
|
+
NOT_FOUND: {};
|
|
700
|
+
}>, Record<never, never>>;
|
|
701
|
+
};
|
|
702
|
+
upsert: {
|
|
703
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
704
|
+
environmentId: z.ZodString;
|
|
705
|
+
isPlaygroundEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
706
|
+
name: z.ZodOptional<z.ZodString>;
|
|
707
|
+
description: z.ZodOptional<z.ZodString>;
|
|
708
|
+
headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
709
|
+
name: z.ZodString;
|
|
710
|
+
description: z.ZodString;
|
|
711
|
+
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
712
|
+
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
713
|
+
}, z.core.$strip>>>;
|
|
714
|
+
examplePrompts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
715
|
+
title: z.ZodString;
|
|
716
|
+
prompt: z.ZodString;
|
|
717
|
+
}, z.core.$strip>>>;
|
|
718
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
719
|
+
isPlaygroundEnabled: z.ZodBoolean;
|
|
720
|
+
serverMetadata: z.ZodNullable<z.ZodObject<{
|
|
721
|
+
name: z.ZodString;
|
|
722
|
+
description: z.ZodString;
|
|
723
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
724
|
+
name: z.ZodString;
|
|
725
|
+
description: z.ZodString;
|
|
726
|
+
isRequired: z.ZodBoolean;
|
|
727
|
+
isSecret: z.ZodBoolean;
|
|
728
|
+
}, z.core.$strip>>;
|
|
729
|
+
examplePrompts: z.ZodArray<z.ZodObject<{
|
|
730
|
+
title: z.ZodString;
|
|
731
|
+
prompt: z.ZodString;
|
|
732
|
+
}, z.core.$strip>>;
|
|
733
|
+
}, z.core.$strip>>;
|
|
734
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
636
735
|
NOT_FOUND: {};
|
|
736
|
+
BAD_REQUEST: {};
|
|
637
737
|
}>, Record<never, never>>;
|
|
638
738
|
};
|
|
639
739
|
};
|
|
640
740
|
tunnels: {
|
|
641
741
|
getTicket: {
|
|
642
|
-
v1:
|
|
742
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
643
743
|
subdomain: z.ZodString;
|
|
644
744
|
ticket: z.ZodString;
|
|
645
745
|
tunnelHost: z.ZodString;
|
|
646
|
-
}, z.core.$strip>, Record<never, never>,
|
|
746
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
747
|
+
FORBIDDEN: {};
|
|
748
|
+
}>, Record<never, never>>;
|
|
647
749
|
};
|
|
648
750
|
};
|
|
649
751
|
distribution: {
|
|
650
752
|
publish: {
|
|
651
|
-
v1:
|
|
753
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
652
754
|
projectId: z.ZodString;
|
|
653
755
|
domain: z.ZodString;
|
|
654
756
|
title: z.ZodString;
|
|
@@ -680,13 +782,13 @@ declare const contract: {
|
|
|
680
782
|
}, z.core.$strip>>>;
|
|
681
783
|
}, z.core.$strip>>>;
|
|
682
784
|
}, z.core.$strip>;
|
|
683
|
-
}, z.core.$strip>,
|
|
785
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
684
786
|
NOT_FOUND: {};
|
|
685
787
|
BAD_REQUEST: {};
|
|
686
788
|
}>, Record<never, never>>;
|
|
687
789
|
};
|
|
688
790
|
get: {
|
|
689
|
-
v1:
|
|
791
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
690
792
|
projectId: z.ZodString;
|
|
691
793
|
domain: z.ZodString;
|
|
692
794
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -713,7 +815,7 @@ declare const contract: {
|
|
|
713
815
|
}, z.core.$strip>>>;
|
|
714
816
|
}, z.core.$strip>>>;
|
|
715
817
|
}, z.core.$strip>;
|
|
716
|
-
}, z.core.$strip>,
|
|
818
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
717
819
|
NOT_FOUND: {};
|
|
718
820
|
BAD_REQUEST: {};
|
|
719
821
|
}>, Record<never, never>>;
|
|
@@ -721,28 +823,38 @@ declare const contract: {
|
|
|
721
823
|
};
|
|
722
824
|
beacon: {
|
|
723
825
|
create: {
|
|
724
|
-
v1:
|
|
725
|
-
targetUrl: z.
|
|
826
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
827
|
+
targetUrl: z.ZodURL;
|
|
726
828
|
teamId: z.ZodOptional<z.ZodString>;
|
|
727
829
|
projectId: z.ZodOptional<z.ZodString>;
|
|
830
|
+
excludeCategories: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
831
|
+
connectivity: "connectivity";
|
|
832
|
+
"tool-metadata": "tool-metadata";
|
|
833
|
+
"resource-metadata": "resource-metadata";
|
|
834
|
+
performance: "performance";
|
|
835
|
+
e2e: "e2e";
|
|
836
|
+
}>>>;
|
|
728
837
|
}, z.core.$strip>, z.ZodObject<{
|
|
729
838
|
id: z.ZodString;
|
|
730
|
-
}, z.core.$strip>,
|
|
839
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
731
840
|
NOT_FOUND: {};
|
|
732
841
|
BAD_REQUEST: {};
|
|
842
|
+
DNS_RESOLUTION_FAILED: {
|
|
843
|
+
status: number;
|
|
844
|
+
};
|
|
733
845
|
}>, Record<never, never>>;
|
|
734
846
|
};
|
|
735
847
|
get: {
|
|
736
|
-
v1:
|
|
737
|
-
|
|
848
|
+
v1: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
849
|
+
auditId: z.ZodString;
|
|
738
850
|
}, z.core.$strip>, z.ZodObject<{
|
|
739
851
|
id: z.ZodString;
|
|
740
852
|
targetUrl: z.ZodString;
|
|
741
853
|
status: z.ZodEnum<{
|
|
854
|
+
failed: "failed";
|
|
742
855
|
pending: "pending";
|
|
743
856
|
partial: "partial";
|
|
744
857
|
completed: "completed";
|
|
745
|
-
failed: "failed";
|
|
746
858
|
}>;
|
|
747
859
|
durationMs: z.ZodNullable<z.ZodNumber>;
|
|
748
860
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
@@ -755,6 +867,8 @@ declare const contract: {
|
|
|
755
867
|
durationMs: z.ZodNumber;
|
|
756
868
|
results: z.ZodArray<z.ZodObject<{
|
|
757
869
|
checkId: z.ZodString;
|
|
870
|
+
checkName: z.ZodString;
|
|
871
|
+
description: z.ZodString;
|
|
758
872
|
status: z.ZodEnum<{
|
|
759
873
|
pending: "pending";
|
|
760
874
|
pass: "pass";
|
|
@@ -802,20 +916,20 @@ declare const contract: {
|
|
|
802
916
|
chatgpt: "chatgpt";
|
|
803
917
|
claudeai: "claudeai";
|
|
804
918
|
}>, z.ZodBoolean>;
|
|
805
|
-
widgetScreenshotKeys: z.
|
|
919
|
+
widgetScreenshotKeys: z.ZodObject<{
|
|
806
920
|
chatgpt: z.ZodOptional<z.ZodString>;
|
|
807
921
|
claudeai: z.ZodOptional<z.ZodString>;
|
|
808
|
-
}, z.core.$strip
|
|
809
|
-
widgetScreenshots: z.
|
|
922
|
+
}, z.core.$strip>;
|
|
923
|
+
widgetScreenshots: z.ZodObject<{
|
|
810
924
|
chatgpt: z.ZodOptional<z.ZodObject<{
|
|
811
925
|
url: z.ZodString;
|
|
812
926
|
}, z.core.$strip>>;
|
|
813
927
|
claudeai: z.ZodOptional<z.ZodObject<{
|
|
814
928
|
url: z.ZodString;
|
|
815
929
|
}, z.core.$strip>>;
|
|
816
|
-
}, z.core.$strip
|
|
930
|
+
}, z.core.$strip>;
|
|
817
931
|
}, z.core.$strip>>;
|
|
818
|
-
}, z.core.$strip>,
|
|
932
|
+
}, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
|
|
819
933
|
NOT_FOUND: {};
|
|
820
934
|
}>, Record<never, never>>;
|
|
821
935
|
};
|
|
@@ -824,7 +938,30 @@ declare const contract: {
|
|
|
824
938
|
type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
825
939
|
type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
826
940
|
//#endregion
|
|
941
|
+
//#region ../domains/src/platforms/schemas.d.ts
|
|
942
|
+
declare const platformSchema: z.ZodEnum<{
|
|
943
|
+
chatgpt: "chatgpt";
|
|
944
|
+
claudeai: "claudeai";
|
|
945
|
+
}>;
|
|
946
|
+
type Platform = z.infer<typeof platformSchema>;
|
|
947
|
+
declare const PLATFORM_LABELS: Record<Platform, string>;
|
|
948
|
+
//#endregion
|
|
949
|
+
//#region ../domains/src/projects/schemas.d.ts
|
|
950
|
+
declare const runtimeSchema: z.ZodEnum<{
|
|
951
|
+
"python3.13": "python3.13";
|
|
952
|
+
"python3.14": "python3.14";
|
|
953
|
+
node22: "node22";
|
|
954
|
+
node24: "node24";
|
|
955
|
+
}>;
|
|
956
|
+
declare const transportSchema: z.ZodEnum<{
|
|
957
|
+
stdio: "stdio";
|
|
958
|
+
sse: "sse";
|
|
959
|
+
streamablehttp: "streamablehttp";
|
|
960
|
+
}>;
|
|
961
|
+
//#endregion
|
|
827
962
|
//#region src/schemas.d.ts
|
|
963
|
+
type Runtime = z.infer<typeof runtimeSchema>;
|
|
964
|
+
type Transport = z.infer<typeof transportSchema>;
|
|
828
965
|
declare const environmentVariableSchema: z.ZodObject<{
|
|
829
966
|
key: z.ZodString;
|
|
830
967
|
value: z.ZodString;
|
|
@@ -835,170 +972,27 @@ declare const environmentVariablesSchema: z.ZodArray<z.ZodObject<{
|
|
|
835
972
|
value: z.ZodString;
|
|
836
973
|
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
837
974
|
}, z.core.$strip>>;
|
|
975
|
+
declare const updateEnvironmentVariableSchema: z.ZodObject<{
|
|
976
|
+
key: z.ZodString;
|
|
977
|
+
value: z.ZodOptional<z.ZodString>;
|
|
978
|
+
isSecret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
979
|
+
}, z.core.$strip>;
|
|
838
980
|
declare const buildSettingsSchema: z.ZodObject<{
|
|
839
981
|
installCommand: z.ZodOptional<z.ZodString>;
|
|
840
982
|
buildCommand: z.ZodOptional<z.ZodString>;
|
|
841
983
|
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
842
984
|
startCommand: z.ZodOptional<z.ZodString>;
|
|
843
985
|
}, z.core.$strip>;
|
|
844
|
-
declare const
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
}>;
|
|
850
|
-
type Runtime = z.infer<typeof runtimeSchema>;
|
|
851
|
-
declare const transportSchema: z.ZodEnum<{
|
|
852
|
-
stdio: "stdio";
|
|
853
|
-
sse: "sse";
|
|
854
|
-
streamablehttp: "streamablehttp";
|
|
855
|
-
}>;
|
|
856
|
-
type Transport = z.infer<typeof transportSchema>;
|
|
857
|
-
declare const analysisStatusSchema: z.ZodEnum<{
|
|
858
|
-
pending: "pending";
|
|
859
|
-
partial: "partial";
|
|
860
|
-
completed: "completed";
|
|
861
|
-
failed: "failed";
|
|
862
|
-
}>;
|
|
863
|
-
declare const platformSchema: z.ZodEnum<{
|
|
864
|
-
chatgpt: "chatgpt";
|
|
865
|
-
claudeai: "claudeai";
|
|
866
|
-
}>;
|
|
867
|
-
type Platform = z.infer<typeof platformSchema>;
|
|
868
|
-
declare const checkSeveritySchema: z.ZodEnum<{
|
|
869
|
-
error: "error";
|
|
870
|
-
warning: "warning";
|
|
871
|
-
info: "info";
|
|
872
|
-
}>;
|
|
873
|
-
type CheckSeverity = z.infer<typeof checkSeveritySchema>;
|
|
874
|
-
declare const checkCategorySchema: z.ZodEnum<{
|
|
875
|
-
connectivity: "connectivity";
|
|
876
|
-
"tool-metadata": "tool-metadata";
|
|
877
|
-
"resource-metadata": "resource-metadata";
|
|
878
|
-
performance: "performance";
|
|
879
|
-
e2e: "e2e";
|
|
880
|
-
}>;
|
|
881
|
-
type CheckCategory = z.infer<typeof checkCategorySchema>;
|
|
882
|
-
declare const checkScopeSchema: z.ZodEnum<{
|
|
883
|
-
server: "server";
|
|
884
|
-
view: "view";
|
|
885
|
-
}>;
|
|
886
|
-
type CheckScope = z.infer<typeof checkScopeSchema>;
|
|
887
|
-
declare const checkDetailSchema: z.ZodObject<{
|
|
888
|
-
label: z.ZodString;
|
|
889
|
-
value: z.ZodOptional<z.ZodString>;
|
|
890
|
-
}, z.core.$strip>;
|
|
891
|
-
type CheckDetail = z.infer<typeof checkDetailSchema>;
|
|
892
|
-
declare const checkResultSchema: z.ZodObject<{
|
|
893
|
-
checkId: z.ZodString;
|
|
894
|
-
status: z.ZodEnum<{
|
|
895
|
-
pending: "pending";
|
|
896
|
-
pass: "pass";
|
|
897
|
-
fail: "fail";
|
|
898
|
-
skip: "skip";
|
|
899
|
-
}>;
|
|
900
|
-
message: z.ZodString;
|
|
901
|
-
skipReason: z.ZodOptional<z.ZodString>;
|
|
902
|
-
severity: z.ZodEnum<{
|
|
903
|
-
error: "error";
|
|
904
|
-
warning: "warning";
|
|
905
|
-
info: "info";
|
|
906
|
-
}>;
|
|
907
|
-
category: z.ZodEnum<{
|
|
908
|
-
connectivity: "connectivity";
|
|
909
|
-
"tool-metadata": "tool-metadata";
|
|
910
|
-
"resource-metadata": "resource-metadata";
|
|
911
|
-
performance: "performance";
|
|
912
|
-
e2e: "e2e";
|
|
913
|
-
}>;
|
|
914
|
-
scope: z.ZodEnum<{
|
|
915
|
-
server: "server";
|
|
916
|
-
view: "view";
|
|
917
|
-
}>;
|
|
918
|
-
platforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
919
|
-
chatgpt: "chatgpt";
|
|
920
|
-
claudeai: "claudeai";
|
|
921
|
-
}>>>>;
|
|
922
|
-
durationMs: z.ZodNumber;
|
|
923
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
924
|
-
label: z.ZodString;
|
|
925
|
-
value: z.ZodOptional<z.ZodString>;
|
|
926
|
-
}, z.core.$strip>>>;
|
|
927
|
-
hint: z.ZodOptional<z.ZodObject<{
|
|
928
|
-
text: z.ZodString;
|
|
929
|
-
}, z.core.$strip>>;
|
|
986
|
+
declare const playgroundHeaderSchema: z.ZodObject<{
|
|
987
|
+
name: z.ZodString;
|
|
988
|
+
description: z.ZodString;
|
|
989
|
+
isRequired: z.ZodDefault<z.ZodBoolean>;
|
|
990
|
+
isSecret: z.ZodDefault<z.ZodBoolean>;
|
|
930
991
|
}, z.core.$strip>;
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
auditId: z.ZodString;
|
|
935
|
-
targetUrl: z.ZodString;
|
|
936
|
-
startedAt: z.ZodString;
|
|
937
|
-
completedAt: z.ZodString;
|
|
938
|
-
durationMs: z.ZodNumber;
|
|
939
|
-
results: z.ZodArray<z.ZodObject<{
|
|
940
|
-
checkId: z.ZodString;
|
|
941
|
-
status: z.ZodEnum<{
|
|
942
|
-
pending: "pending";
|
|
943
|
-
pass: "pass";
|
|
944
|
-
fail: "fail";
|
|
945
|
-
skip: "skip";
|
|
946
|
-
}>;
|
|
947
|
-
message: z.ZodString;
|
|
948
|
-
skipReason: z.ZodOptional<z.ZodString>;
|
|
949
|
-
severity: z.ZodEnum<{
|
|
950
|
-
error: "error";
|
|
951
|
-
warning: "warning";
|
|
952
|
-
info: "info";
|
|
953
|
-
}>;
|
|
954
|
-
category: z.ZodEnum<{
|
|
955
|
-
connectivity: "connectivity";
|
|
956
|
-
"tool-metadata": "tool-metadata";
|
|
957
|
-
"resource-metadata": "resource-metadata";
|
|
958
|
-
performance: "performance";
|
|
959
|
-
e2e: "e2e";
|
|
960
|
-
}>;
|
|
961
|
-
scope: z.ZodEnum<{
|
|
962
|
-
server: "server";
|
|
963
|
-
view: "view";
|
|
964
|
-
}>;
|
|
965
|
-
platforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
966
|
-
chatgpt: "chatgpt";
|
|
967
|
-
claudeai: "claudeai";
|
|
968
|
-
}>>>>;
|
|
969
|
-
durationMs: z.ZodNumber;
|
|
970
|
-
details: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
971
|
-
label: z.ZodString;
|
|
972
|
-
value: z.ZodOptional<z.ZodString>;
|
|
973
|
-
}, z.core.$strip>>>;
|
|
974
|
-
hint: z.ZodOptional<z.ZodObject<{
|
|
975
|
-
text: z.ZodString;
|
|
976
|
-
}, z.core.$strip>>;
|
|
977
|
-
}, z.core.$strip>>;
|
|
978
|
-
requiresAuth: z.ZodBoolean;
|
|
979
|
-
hasViewSupport: z.ZodBoolean;
|
|
980
|
-
viewPlatforms: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
981
|
-
chatgpt: "chatgpt";
|
|
982
|
-
claudeai: "claudeai";
|
|
983
|
-
}>>>>;
|
|
984
|
-
isReadyForPlatform: z.ZodRecord<z.ZodEnum<{
|
|
985
|
-
chatgpt: "chatgpt";
|
|
986
|
-
claudeai: "claudeai";
|
|
987
|
-
}>, z.ZodBoolean>;
|
|
988
|
-
widgetScreenshotKeys: z.ZodOptional<z.ZodObject<{
|
|
989
|
-
chatgpt: z.ZodOptional<z.ZodString>;
|
|
990
|
-
claudeai: z.ZodOptional<z.ZodString>;
|
|
991
|
-
}, z.core.$strip>>;
|
|
992
|
-
widgetScreenshots: z.ZodOptional<z.ZodObject<{
|
|
993
|
-
chatgpt: z.ZodOptional<z.ZodObject<{
|
|
994
|
-
url: z.ZodString;
|
|
995
|
-
}, z.core.$strip>>;
|
|
996
|
-
claudeai: z.ZodOptional<z.ZodObject<{
|
|
997
|
-
url: z.ZodString;
|
|
998
|
-
}, z.core.$strip>>;
|
|
999
|
-
}, z.core.$strip>>;
|
|
992
|
+
declare const playgroundExamplePromptSchema: z.ZodObject<{
|
|
993
|
+
title: z.ZodString;
|
|
994
|
+
prompt: z.ZodString;
|
|
1000
995
|
}, z.core.$strip>;
|
|
1001
|
-
type AuditReport = z.infer<typeof auditReportSchema>;
|
|
1002
996
|
declare const serverFieldsSchema: z.ZodObject<{
|
|
1003
997
|
$schema: z.ZodString;
|
|
1004
998
|
name: z.ZodString;
|
|
@@ -1023,4 +1017,4 @@ declare const serverFieldsSchema: z.ZodObject<{
|
|
|
1023
1017
|
}, z.core.$strip>>>;
|
|
1024
1018
|
}, z.core.$strip>;
|
|
1025
1019
|
//#endregion
|
|
1026
|
-
export { ApiContext,
|
|
1020
|
+
export { ApiContext, PLATFORM_LABELS, type Platform, RouterInput, RouterOutput, Runtime, Transport, buildSettingsSchema, contract, createEnvironmentContractV1, deploymentStatusSchema, environmentVariableSchema, environmentVariablesSchema, playgroundExamplePromptSchema, playgroundHeaderSchema, runtimeSchema, serverFieldsSchema, transportSchema, updateEnvironmentVariableSchema };
|