@alpic-ai/api 0.0.0-staging.ff03b3f → 0.0.0-staging.g0538916
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 +34 -20
- package/dist/index.mjs +1144 -24
- package/package.json +7 -16
package/dist/index.d.mts
CHANGED
|
@@ -29,7 +29,7 @@ declare const createEnvironmentContractV1: _$_orpc_contract0.ContractProcedureBu
|
|
|
29
29
|
id: z.ZodString;
|
|
30
30
|
name: z.ZodString;
|
|
31
31
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
32
|
-
urls: z.ZodArray<z.
|
|
32
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
33
33
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
34
34
|
projectId: z.ZodString;
|
|
35
35
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
@@ -165,7 +165,10 @@ declare const contract: {
|
|
|
165
165
|
uploadUrl: z.ZodURL;
|
|
166
166
|
token: z.ZodString;
|
|
167
167
|
expiresAt: z.ZodCoercedDate<unknown>;
|
|
168
|
-
}, z.core.$strip>, Record<never, never>,
|
|
168
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
169
|
+
NOT_FOUND: {};
|
|
170
|
+
BAD_REQUEST: {};
|
|
171
|
+
}>, Record<never, never>>;
|
|
169
172
|
};
|
|
170
173
|
getLogs: {
|
|
171
174
|
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -196,7 +199,7 @@ declare const contract: {
|
|
|
196
199
|
id: z.ZodString;
|
|
197
200
|
name: z.ZodString;
|
|
198
201
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
199
|
-
urls: z.ZodArray<z.
|
|
202
|
+
urls: z.ZodArray<z.ZodURL>;
|
|
200
203
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
201
204
|
projectId: z.ZodString;
|
|
202
205
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
@@ -212,7 +215,7 @@ declare const contract: {
|
|
|
212
215
|
name: z.ZodString;
|
|
213
216
|
sourceBranch: z.ZodNullable<z.ZodString>;
|
|
214
217
|
mcpServerUrl: z.ZodString;
|
|
215
|
-
domains: z.ZodArray<z.
|
|
218
|
+
domains: z.ZodArray<z.ZodCustomStringFormat<"hostname">>;
|
|
216
219
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
217
220
|
projectId: z.ZodString;
|
|
218
221
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
@@ -365,6 +368,7 @@ declare const contract: {
|
|
|
365
368
|
success: z.ZodLiteral<true>;
|
|
366
369
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
367
370
|
NOT_FOUND: {};
|
|
371
|
+
BAD_REQUEST: {};
|
|
368
372
|
}>, Record<never, never>>;
|
|
369
373
|
};
|
|
370
374
|
};
|
|
@@ -593,7 +597,10 @@ declare const contract: {
|
|
|
593
597
|
completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
594
598
|
}, z.core.$strip>>;
|
|
595
599
|
}, z.core.$strip>>;
|
|
596
|
-
}, z.core.$strip>>, Record<never, never>,
|
|
600
|
+
}, z.core.$strip>>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
601
|
+
NOT_FOUND: {};
|
|
602
|
+
BAD_REQUEST: {};
|
|
603
|
+
}>, Record<never, never>>;
|
|
597
604
|
};
|
|
598
605
|
create: {
|
|
599
606
|
v1: _$_orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -737,7 +744,9 @@ declare const contract: {
|
|
|
737
744
|
subdomain: z.ZodString;
|
|
738
745
|
ticket: z.ZodString;
|
|
739
746
|
tunnelHost: z.ZodString;
|
|
740
|
-
}, z.core.$strip>, Record<never, never>,
|
|
747
|
+
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
748
|
+
FORBIDDEN: {};
|
|
749
|
+
}>, Record<never, never>>;
|
|
741
750
|
};
|
|
742
751
|
};
|
|
743
752
|
distribution: {
|
|
@@ -831,6 +840,9 @@ declare const contract: {
|
|
|
831
840
|
}, z.core.$strip>, _$_orpc_contract0.MergedErrorMap<Record<never, never>, {
|
|
832
841
|
NOT_FOUND: {};
|
|
833
842
|
BAD_REQUEST: {};
|
|
843
|
+
DNS_RESOLUTION_FAILED: {
|
|
844
|
+
status: number;
|
|
845
|
+
};
|
|
834
846
|
}>, Record<never, never>>;
|
|
835
847
|
};
|
|
836
848
|
get: {
|
|
@@ -927,7 +939,7 @@ declare const contract: {
|
|
|
927
939
|
type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
928
940
|
type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
929
941
|
//#endregion
|
|
930
|
-
//#region ../domains/src/
|
|
942
|
+
//#region ../domains/src/platforms/schemas.d.ts
|
|
931
943
|
declare const platformSchema: z.ZodEnum<{
|
|
932
944
|
chatgpt: "chatgpt";
|
|
933
945
|
claudeai: "claudeai";
|
|
@@ -935,7 +947,22 @@ declare const platformSchema: z.ZodEnum<{
|
|
|
935
947
|
type Platform = z.infer<typeof platformSchema>;
|
|
936
948
|
declare const PLATFORM_LABELS: Record<Platform, string>;
|
|
937
949
|
//#endregion
|
|
950
|
+
//#region ../domains/src/projects/schemas.d.ts
|
|
951
|
+
declare const runtimeSchema: z.ZodEnum<{
|
|
952
|
+
"python3.13": "python3.13";
|
|
953
|
+
"python3.14": "python3.14";
|
|
954
|
+
node22: "node22";
|
|
955
|
+
node24: "node24";
|
|
956
|
+
}>;
|
|
957
|
+
declare const transportSchema: z.ZodEnum<{
|
|
958
|
+
stdio: "stdio";
|
|
959
|
+
sse: "sse";
|
|
960
|
+
streamablehttp: "streamablehttp";
|
|
961
|
+
}>;
|
|
962
|
+
//#endregion
|
|
938
963
|
//#region src/schemas.d.ts
|
|
964
|
+
type Runtime = z.infer<typeof runtimeSchema>;
|
|
965
|
+
type Transport = z.infer<typeof transportSchema>;
|
|
939
966
|
declare const environmentVariableSchema: z.ZodObject<{
|
|
940
967
|
key: z.ZodString;
|
|
941
968
|
value: z.ZodString;
|
|
@@ -957,19 +984,6 @@ declare const buildSettingsSchema: z.ZodObject<{
|
|
|
957
984
|
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
958
985
|
startCommand: z.ZodOptional<z.ZodString>;
|
|
959
986
|
}, z.core.$strip>;
|
|
960
|
-
declare const runtimeSchema: z.ZodEnum<{
|
|
961
|
-
"python3.13": "python3.13";
|
|
962
|
-
"python3.14": "python3.14";
|
|
963
|
-
node22: "node22";
|
|
964
|
-
node24: "node24";
|
|
965
|
-
}>;
|
|
966
|
-
type Runtime = z.infer<typeof runtimeSchema>;
|
|
967
|
-
declare const transportSchema: z.ZodEnum<{
|
|
968
|
-
stdio: "stdio";
|
|
969
|
-
sse: "sse";
|
|
970
|
-
streamablehttp: "streamablehttp";
|
|
971
|
-
}>;
|
|
972
|
-
type Transport = z.infer<typeof transportSchema>;
|
|
973
987
|
declare const playgroundHeaderSchema: z.ZodObject<{
|
|
974
988
|
name: z.ZodString;
|
|
975
989
|
description: z.ZodString;
|