@aprovan/chat-backend 0.1.0-dev.4d82df8 → 0.1.0-dev.67fbce2
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/.turbo/turbo-build.log +7 -7
- package/dist/index.d.ts +9 -3
- package/dist/index.js +405 -154
- package/dist/index.js.map +1 -1
- package/dist/lambda.js +405 -154
- package/dist/lambda.js.map +1 -1
- package/package.json +2 -1
- package/src/app.ts +18 -7
- package/src/env.ts +5 -1
- package/src/middleware/workspace.ts +55 -55
- package/src/routes/vfs.ts +369 -0
- package/src/routes/workspace.ts +41 -0
- package/test/app.test.ts +2 -3
- package/test/middleware/workspace.test.ts +104 -54
- package/test/routes/vfs.test.ts +436 -0
- package/test/routes/workspace.test.ts +107 -0
- package/src/routes/proxy.ts +0 -60
- package/src/routes/services.ts +0 -82
- package/test/routes/proxy.test.ts +0 -133
- package/test/routes/services.test.ts +0 -128
package/.turbo/turbo-build.log
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
[34mCLI[39m Target: node20
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
13
|
-
[32mESM[39m [1mdist/lambda.js [22m[
|
|
14
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
15
|
-
[32mESM[39m [1mdist/lambda.js.map [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
12
|
+
[32mESM[39m [1mdist/index.js [22m[32m45.66 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/lambda.js [22m[32m45.34 KB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m85.22 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/lambda.js.map [22m[32m84.36 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 116ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 16384ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.90 KB[39m
|
|
20
20
|
[32mDTS[39m [1mdist/lambda.d.ts [22m[32m171.00 B[39m
|
package/dist/index.d.ts
CHANGED
|
@@ -38,9 +38,11 @@ declare const envSchema: z.ZodObject<{
|
|
|
38
38
|
AWS_REGION: z.ZodDefault<z.ZodString>;
|
|
39
39
|
WORKSPACE_TABLE_NAME: z.ZodString;
|
|
40
40
|
MEMBERSHIPS_TABLE_NAME: z.ZodString;
|
|
41
|
-
|
|
41
|
+
USERS_TABLE_NAME: z.ZodString;
|
|
42
42
|
OPENROUTER_SECRET_ARN: z.ZodString;
|
|
43
43
|
GATEWAY_URL: z.ZodString;
|
|
44
|
+
VFS_TABLE_NAME: z.ZodOptional<z.ZodString>;
|
|
45
|
+
VFS_BUCKET_NAME: z.ZodOptional<z.ZodString>;
|
|
44
46
|
POSTHOG_PROJECT_API_KEY: z.ZodOptional<z.ZodString>;
|
|
45
47
|
POSTHOG_PERSONAL_API_KEY: z.ZodOptional<z.ZodString>;
|
|
46
48
|
POSTHOG_HOST: z.ZodDefault<z.ZodString>;
|
|
@@ -52,10 +54,12 @@ declare const envSchema: z.ZodObject<{
|
|
|
52
54
|
AWS_REGION: string;
|
|
53
55
|
WORKSPACE_TABLE_NAME: string;
|
|
54
56
|
MEMBERSHIPS_TABLE_NAME: string;
|
|
55
|
-
|
|
57
|
+
USERS_TABLE_NAME: string;
|
|
56
58
|
OPENROUTER_SECRET_ARN: string;
|
|
57
59
|
GATEWAY_URL: string;
|
|
58
60
|
POSTHOG_HOST: string;
|
|
61
|
+
VFS_TABLE_NAME?: string | undefined;
|
|
62
|
+
VFS_BUCKET_NAME?: string | undefined;
|
|
59
63
|
POSTHOG_PROJECT_API_KEY?: string | undefined;
|
|
60
64
|
POSTHOG_PERSONAL_API_KEY?: string | undefined;
|
|
61
65
|
}, {
|
|
@@ -63,12 +67,14 @@ declare const envSchema: z.ZodObject<{
|
|
|
63
67
|
COGNITO_CLIENT_ID: string;
|
|
64
68
|
WORKSPACE_TABLE_NAME: string;
|
|
65
69
|
MEMBERSHIPS_TABLE_NAME: string;
|
|
66
|
-
|
|
70
|
+
USERS_TABLE_NAME: string;
|
|
67
71
|
OPENROUTER_SECRET_ARN: string;
|
|
68
72
|
GATEWAY_URL: string;
|
|
69
73
|
NODE_ENV?: "development" | "production" | "test" | undefined;
|
|
70
74
|
PORT?: number | undefined;
|
|
71
75
|
AWS_REGION?: string | undefined;
|
|
76
|
+
VFS_TABLE_NAME?: string | undefined;
|
|
77
|
+
VFS_BUCKET_NAME?: string | undefined;
|
|
72
78
|
POSTHOG_PROJECT_API_KEY?: string | undefined;
|
|
73
79
|
POSTHOG_PERSONAL_API_KEY?: string | undefined;
|
|
74
80
|
POSTHOG_HOST?: string | undefined;
|