@alpic-ai/api 1.126.0 → 1.127.1
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 -1
- package/dist/index.mjs +6 -7
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -927,7 +927,7 @@ declare const contract: {
|
|
|
927
927
|
type RouterInput = InferContractRouterInputs<typeof contract>;
|
|
928
928
|
type RouterOutput = InferContractRouterOutputs<typeof contract>;
|
|
929
929
|
//#endregion
|
|
930
|
-
//#region ../domains/src/
|
|
930
|
+
//#region ../domains/src/platforms/schemas.d.ts
|
|
931
931
|
declare const platformSchema: z.ZodEnum<{
|
|
932
932
|
chatgpt: "chatgpt";
|
|
933
933
|
claudeai: "claudeai";
|
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { oc } from "@orpc/contract";
|
|
3
3
|
import ms from "ms";
|
|
4
|
-
|
|
4
|
+
const platformSchema = z.enum(["chatgpt", "claudeai"]);
|
|
5
|
+
const PLATFORM_LABELS = {
|
|
6
|
+
chatgpt: "ChatGPT",
|
|
7
|
+
claudeai: "Claude.ai"
|
|
8
|
+
};
|
|
5
9
|
const auditStatusSchema = z.enum([
|
|
6
10
|
"pending",
|
|
7
11
|
"partial",
|
|
8
12
|
"completed",
|
|
9
13
|
"failed"
|
|
10
14
|
]);
|
|
11
|
-
const platformSchema = z.enum(["chatgpt", "claudeai"]);
|
|
12
|
-
const PLATFORM_LABELS = {
|
|
13
|
-
chatgpt: "ChatGPT",
|
|
14
|
-
claudeai: "Claude.ai"
|
|
15
|
-
};
|
|
16
15
|
const checkSeveritySchema = z.enum([
|
|
17
16
|
"error",
|
|
18
17
|
"warning",
|
|
@@ -108,7 +107,7 @@ const RESERVED_KEYS = [
|
|
|
108
107
|
"BUILD_ARG_START_COMMAND",
|
|
109
108
|
"ALPIC_HOST",
|
|
110
109
|
"ALPIC_CUSTOM_DOMAINS",
|
|
111
|
-
"
|
|
110
|
+
"ALPIC_INTENT_META_KEY"
|
|
112
111
|
];
|
|
113
112
|
const environmentVariableSchema = z.object({
|
|
114
113
|
key: z.string().min(2, "Key must be at least 2 characters").regex(/^[a-zA-Z]([a-zA-Z0-9_])+$/, "Key must start with a letter and contain only letters, numbers, and underscores").refine((key) => !RESERVED_KEYS.includes(key), "This key is reserved and cannot be used as an environment variable key"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alpic-ai/api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.127.1",
|
|
4
4
|
"description": "Contract for the Alpic API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"author": "Alpic",
|
|
27
27
|
"license": "ISC",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@orpc/contract": "^1.14.
|
|
29
|
+
"@orpc/contract": "^1.14.3",
|
|
30
30
|
"ms": "^2.1.3",
|
|
31
31
|
"zod": "^4.4.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@orpc/openapi": "^1.14.
|
|
35
|
-
"@orpc/zod": "^1.14.
|
|
34
|
+
"@orpc/openapi": "^1.14.3",
|
|
35
|
+
"@orpc/zod": "^1.14.3",
|
|
36
36
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
37
37
|
"@types/ms": "^2.1.0",
|
|
38
38
|
"shx": "^0.4.0",
|
|
39
39
|
"tsdown": "^0.22.0",
|
|
40
40
|
"typescript": "^6.0.3",
|
|
41
|
-
"vitest": "^4.1.
|
|
41
|
+
"vitest": "^4.1.6",
|
|
42
42
|
"@alpic-ai/domains": "0.0.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|