@alpic-ai/api 0.0.0-staging.dd7df19 → 0.0.0-staging.de0d4e0

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 CHANGED
@@ -259,6 +259,15 @@ declare const contract: {
259
259
  id: z.ZodString;
260
260
  name: z.ZodString;
261
261
  mcpServerUrl: z.ZodString;
262
+ domains: z.ZodArray<z.ZodObject<{
263
+ domain: z.ZodString;
264
+ status: z.ZodEnum<{
265
+ ongoing: "ongoing";
266
+ deployed: "deployed";
267
+ failed: "failed";
268
+ }>;
269
+ createdAt: z.ZodCoercedDate<unknown>;
270
+ }, z.core.$strip>>;
262
271
  latestDeployment: z.ZodNullable<z.ZodObject<{
263
272
  id: z.ZodString;
264
273
  status: z.ZodEnum<{
@@ -326,6 +335,15 @@ declare const contract: {
326
335
  id: z.ZodString;
327
336
  name: z.ZodString;
328
337
  mcpServerUrl: z.ZodString;
338
+ domains: z.ZodArray<z.ZodObject<{
339
+ domain: z.ZodString;
340
+ status: z.ZodEnum<{
341
+ ongoing: "ongoing";
342
+ deployed: "deployed";
343
+ failed: "failed";
344
+ }>;
345
+ createdAt: z.ZodCoercedDate<unknown>;
346
+ }, z.core.$strip>>;
329
347
  latestDeployment: z.ZodNullable<z.ZodObject<{
330
348
  id: z.ZodString;
331
349
  status: z.ZodEnum<{
@@ -392,6 +410,15 @@ declare const contract: {
392
410
  id: z.ZodString;
393
411
  name: z.ZodString;
394
412
  mcpServerUrl: z.ZodString;
413
+ domains: z.ZodArray<z.ZodObject<{
414
+ domain: z.ZodString;
415
+ status: z.ZodEnum<{
416
+ ongoing: "ongoing";
417
+ deployed: "deployed";
418
+ failed: "failed";
419
+ }>;
420
+ createdAt: z.ZodCoercedDate<unknown>;
421
+ }, z.core.$strip>>;
395
422
  latestDeployment: z.ZodNullable<z.ZodObject<{
396
423
  id: z.ZodString;
397
424
  status: z.ZodEnum<{
package/dist/index.mjs CHANGED
@@ -126,10 +126,20 @@ const getEnvironmentContractV1 = oc.route({
126
126
  createdAt: z.coerce.date(),
127
127
  projectId: z.string()
128
128
  }));
129
+ const domainSchema = z.object({
130
+ domain: z.string(),
131
+ status: z.enum([
132
+ "ongoing",
133
+ "deployed",
134
+ "failed"
135
+ ]),
136
+ createdAt: z.coerce.date()
137
+ });
129
138
  const productionEnvironmentSchema = z.object({
130
139
  id: z.string(),
131
140
  name: z.string(),
132
141
  mcpServerUrl: z.string(),
142
+ domains: z.array(domainSchema),
133
143
  latestDeployment: latestDeploymentSchema.nullable()
134
144
  });
135
145
  const environmentSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alpic-ai/api",
3
- "version": "0.0.0-staging.dd7df19",
3
+ "version": "0.0.0-staging.de0d4e0",
4
4
  "description": "Contract for the Alpic API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -17,7 +17,7 @@
17
17
  "author": "Alpic",
18
18
  "license": "ISC",
19
19
  "dependencies": {
20
- "@orpc/contract": "^1.13.5",
20
+ "@orpc/contract": "^1.13.6",
21
21
  "zod": "^4.3.6"
22
22
  },
23
23
  "devDependencies": {