@alpic-ai/api 1.173.1 → 1.173.3
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 +7 -7
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -2346,8 +2346,8 @@ export declare const contract: {
|
|
|
2346
2346
|
environmentId: z.ZodString;
|
|
2347
2347
|
content: z.ZodString;
|
|
2348
2348
|
source: z.ZodEnum<{
|
|
2349
|
-
user: "user";
|
|
2350
2349
|
model: "model";
|
|
2350
|
+
user: "user";
|
|
2351
2351
|
}>;
|
|
2352
2352
|
clientName: z.ZodNullable<z.ZodString>;
|
|
2353
2353
|
clientId: z.ZodNullable<z.ZodString>;
|
|
@@ -4317,8 +4317,8 @@ export declare const contractForDocs: {
|
|
|
4317
4317
|
environmentId: z.ZodString;
|
|
4318
4318
|
content: z.ZodString;
|
|
4319
4319
|
source: z.ZodEnum<{
|
|
4320
|
-
user: "user";
|
|
4321
4320
|
model: "model";
|
|
4321
|
+
user: "user";
|
|
4322
4322
|
}>;
|
|
4323
4323
|
clientName: z.ZodNullable<z.ZodString>;
|
|
4324
4324
|
clientId: z.ZodNullable<z.ZodString>;
|
|
@@ -5869,11 +5869,11 @@ await logger(() => Promise.resolve('bar'));
|
|
|
5869
5869
|
*/
|
|
5870
5870
|
type Promisable<T> = T | PromiseLike<T>;
|
|
5871
5871
|
//#endregion
|
|
5872
|
-
//#region ../../node_modules/.pnpm/@orpc+shared@1.15.
|
|
5872
|
+
//#region ../../node_modules/.pnpm/@orpc+shared@1.15.2_@opentelemetry+api@1.9.1/node_modules/@orpc/shared/dist/index.d.mts
|
|
5873
5873
|
type MaybeOptionalOptions<TOptions> = Record<never, never> extends TOptions ? [options?: TOptions] : [options: TOptions];
|
|
5874
5874
|
type Value<T, TArgs extends any[] = []> = T | ((...args: TArgs) => T);
|
|
5875
5875
|
//#endregion
|
|
5876
|
-
//#region ../../node_modules/.pnpm/@orpc+client@1.15.
|
|
5876
|
+
//#region ../../node_modules/.pnpm/@orpc+client@1.15.2_@opentelemetry+api@1.9.1/node_modules/@orpc/client/dist/index.d.mts
|
|
5877
5877
|
declare const COMMON_ORPC_ERROR_DEFS: {
|
|
5878
5878
|
readonly BAD_REQUEST: {
|
|
5879
5879
|
readonly status: 400;
|
|
@@ -5986,7 +5986,7 @@ declare class ORPCError<TCode extends ORPCErrorCode, TData> extends Error {
|
|
|
5986
5986
|
}
|
|
5987
5987
|
type ORPCErrorJSON<TCode extends string, TData> = Pick<ORPCError<TCode, TData>, 'defined' | 'code' | 'status' | 'message' | 'data'>;
|
|
5988
5988
|
//#endregion
|
|
5989
|
-
//#region ../../node_modules/.pnpm/@orpc+server@1.15.
|
|
5989
|
+
//#region ../../node_modules/.pnpm/@orpc+server@1.15.2_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/server/dist/shared/server.qKsRrdxW.d.mts
|
|
5990
5990
|
type Context = Record<PropertyKey, any>;
|
|
5991
5991
|
type ORPCErrorConstructorMapItemOptions<TData> = Omit<ORPCErrorOptions<TData>, 'defined' | 'status'>;
|
|
5992
5992
|
type ORPCErrorConstructorMapItem<TCode extends ORPCErrorCode, TInData> = (...rest: MaybeOptionalOptions<ORPCErrorConstructorMapItemOptions<TInData>>) => ORPCError<TCode, TInData>;
|
|
@@ -6057,7 +6057,7 @@ interface Middleware<TInContext extends Context, TOutContext extends Context, TI
|
|
|
6057
6057
|
}
|
|
6058
6058
|
type AnyMiddleware = Middleware<any, any, any, any, any, any>;
|
|
6059
6059
|
//#endregion
|
|
6060
|
-
//#region ../../node_modules/.pnpm/@orpc+server@1.15.
|
|
6060
|
+
//#region ../../node_modules/.pnpm/@orpc+server@1.15.2_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/server/dist/shared/server.C8_sRzQB.d.mts
|
|
6061
6061
|
interface TraverseContractProcedureCallbackOptions {
|
|
6062
6062
|
contract: AnyContractProcedure | AnyProcedure;
|
|
6063
6063
|
path: readonly string[];
|
|
@@ -7091,7 +7091,7 @@ declare enum TypeName {
|
|
|
7091
7091
|
String = "string"
|
|
7092
7092
|
}
|
|
7093
7093
|
//#endregion
|
|
7094
|
-
//#region ../../node_modules/.pnpm/@orpc+openapi@1.15.
|
|
7094
|
+
//#region ../../node_modules/.pnpm/@orpc+openapi@1.15.2_@opentelemetry+api@1.9.1_ws@8.21.3/node_modules/@orpc/openapi/dist/shared/openapi.BGy4N6eR.d.mts
|
|
7095
7095
|
interface SchemaConverterComponent {
|
|
7096
7096
|
allowedStrategies: readonly SchemaConvertOptions['strategy'][];
|
|
7097
7097
|
schema: AnySchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/api",
|
|
3
|
-
"version": "1.173.
|
|
3
|
+
"version": "1.173.3",
|
|
4
4
|
"description": "Contract for the Alpic API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
"author": "Alpic",
|
|
34
34
|
"license": "ISC",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@orpc/contract": "^1.15.
|
|
36
|
+
"@orpc/contract": "^1.15.2",
|
|
37
37
|
"ms": "^2.1.3",
|
|
38
38
|
"zod": "^4.5.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@alpic-ai/domains": "0.0.0",
|
|
42
|
-
"@orpc/openapi": "^1.15.
|
|
43
|
-
"@orpc/zod": "^1.15.
|
|
42
|
+
"@orpc/openapi": "^1.15.2",
|
|
43
|
+
"@orpc/zod": "^1.15.2",
|
|
44
44
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
45
45
|
"@types/ms": "^2.1.0",
|
|
46
46
|
"shx": "^0.4.0",
|
|
47
47
|
"tsdown": "^0.23.0",
|
|
48
48
|
"typescript": "^6.0.3",
|
|
49
|
-
"vitest": "^5.0.
|
|
49
|
+
"vitest": "^5.0.1"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "shx rm -rf dist && tsdown",
|