@alpic-ai/api 0.0.0-dev.fdd8a62 → 0.0.0-dev.fe3e667
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 +1 -4
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -6,7 +6,6 @@ import { z } from "zod";
|
|
|
6
6
|
type ApiContext = {
|
|
7
7
|
request: Request & {
|
|
8
8
|
teamIds: string[];
|
|
9
|
-
defaultTeamId: string | undefined;
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
declare const createEnvironmentContractV1: _orpc_contract0.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -364,9 +363,7 @@ declare const contract: {
|
|
|
364
363
|
}>, Record<never, never>>;
|
|
365
364
|
};
|
|
366
365
|
list: {
|
|
367
|
-
v1: _orpc_contract0.
|
|
368
|
-
teamId: z.ZodOptional<z.ZodString>;
|
|
369
|
-
}, z.core.$strip>>, z.ZodArray<z.ZodObject<{
|
|
366
|
+
v1: _orpc_contract0.ContractProcedureBuilderWithOutput<_orpc_contract0.Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
|
|
370
367
|
id: z.ZodString;
|
|
371
368
|
name: z.ZodString;
|
|
372
369
|
teamId: z.ZodString;
|
package/dist/index.mjs
CHANGED
|
@@ -168,7 +168,7 @@ const listProjectsContractV1 = oc.route({
|
|
|
168
168
|
description: "List all projects for a team",
|
|
169
169
|
tags: ["projects"],
|
|
170
170
|
successDescription: "The list of projects"
|
|
171
|
-
}).
|
|
171
|
+
}).output(z.array(projectOutputSchema));
|
|
172
172
|
const createProjectContractV1 = oc.route({
|
|
173
173
|
path: "/v1/projects",
|
|
174
174
|
method: "POST",
|