vibeusage 0.2.23 → 0.3.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/README.md +25 -20
- package/README.zh-CN.md +7 -2
- package/node_modules/@insforge/sdk/LICENSE +201 -201
- package/node_modules/@insforge/sdk/README.md +326 -259
- package/node_modules/@insforge/sdk/dist/index.d.mts +377 -182
- package/node_modules/@insforge/sdk/dist/index.d.ts +377 -182
- package/node_modules/@insforge/sdk/dist/index.js +1172 -677
- package/node_modules/@insforge/sdk/dist/index.js.map +1 -1
- package/node_modules/@insforge/sdk/dist/index.mjs +1171 -677
- package/node_modules/@insforge/sdk/dist/index.mjs.map +1 -1
- package/node_modules/@insforge/sdk/package.json +68 -68
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.d.ts +1120 -43
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.js +179 -5
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.d.ts +25 -25
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.js +2 -2
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.d.ts +197 -51
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.js +87 -23
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.d.ts +32 -3
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.js +21 -3
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.d.ts +380 -0
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js +74 -0
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/database-api.schema.d.ts +13 -13
- package/node_modules/@insforge/shared-schemas/dist/database-api.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/database-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.d.ts +735 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.js +209 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.d.ts +37 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.js +25 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.d.ts +5 -1
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.js +34 -4
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/email-api.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/email-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.d.ts +186 -6
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.js +21 -2
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions.schema.d.ts +5 -5
- package/node_modules/@insforge/shared-schemas/dist/functions.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/index.d.ts +24 -18
- package/node_modules/@insforge/shared-schemas/dist/index.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/index.js +24 -18
- package/node_modules/@insforge/shared-schemas/dist/index.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs-api.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.d.ts +43 -0
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.js +11 -0
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.d.ts +229 -172
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.js +27 -7
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.d.ts +51 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.js +31 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.d.ts +31 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.js +12 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.d.ts +39 -20
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.js +5 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.d.ts +12 -4
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.js +6 -0
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.d.ts +287 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.js +81 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.d.ts +77 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.js +36 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.d.ts +113 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.js +31 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.d.ts +31 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.js +13 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.d.ts +27 -2
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.js +9 -1
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.d.ts +17 -0
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.js +6 -0
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/package.json +2 -1
- package/package.json +5 -6
- package/src/cli.js +2 -2
- package/src/commands/init.js +20 -362
- package/src/commands/status.js +58 -51
- package/src/commands/sync.js +37 -25
- package/src/commands/uninstall.js +121 -104
- package/src/lib/claude-config.js +130 -35
- package/src/lib/diagnostics.js +88 -57
- package/src/lib/doctor.js +50 -0
- package/src/lib/insforge-client.js +13 -9
- package/src/lib/integrations/claude.js +106 -0
- package/src/lib/integrations/codex.js +88 -0
- package/src/lib/integrations/context.js +76 -0
- package/src/lib/integrations/every-code.js +88 -0
- package/src/lib/integrations/gemini.js +86 -0
- package/src/lib/integrations/index.js +85 -0
- package/src/lib/integrations/openclaw-legacy.js +123 -0
- package/src/lib/integrations/openclaw-session.js +132 -0
- package/src/lib/integrations/opencode.js +86 -0
- package/src/lib/integrations/utils.js +39 -0
- package/src/lib/opencode-sqlite.js +113 -0
- package/src/lib/opencode-usage-audit.js +3 -2
- package/src/lib/rollout.js +227 -1
- package/src/lib/runtime-config.js +7 -5
- package/src/lib/vibeusage-api.js +11 -7
- package/src/shared/copy-registry.cjs +142 -0
- package/src/shared/copy-registry.cjs.d.ts +33 -0
- package/src/shared/runtime-defaults.cjs +11 -0
- package/src/shared/runtime-defaults.cjs.d.ts +3 -0
- package/src/shared/vibeusage-function-contract.cjs +34 -0
- package/src/shared/vibeusage-function-contract.cjs.d.ts +4 -0
- package/src/commands/activate-if-needed.js +0 -41
- package/src/lib/activation-check.js +0 -341
|
@@ -1,55 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const authMetadataSchema: z.ZodObject<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
provider: "google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft";
|
|
14
|
-
id: string;
|
|
15
|
-
createdAt: string;
|
|
16
|
-
updatedAt: string;
|
|
17
|
-
useSharedKey: boolean;
|
|
18
|
-
redirectUri?: string | undefined;
|
|
19
|
-
clientId?: string | undefined;
|
|
20
|
-
scopes?: string[] | undefined;
|
|
21
|
-
}, {
|
|
22
|
-
provider: "google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft";
|
|
23
|
-
id: string;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
|
-
useSharedKey: boolean;
|
|
27
|
-
redirectUri?: string | undefined;
|
|
28
|
-
clientId?: string | undefined;
|
|
29
|
-
scopes?: string[] | undefined;
|
|
30
|
-
}>, "many">;
|
|
3
|
+
requireEmailVerification: z.ZodBoolean;
|
|
4
|
+
passwordMinLength: z.ZodNumber;
|
|
5
|
+
requireNumber: z.ZodBoolean;
|
|
6
|
+
requireLowercase: z.ZodBoolean;
|
|
7
|
+
requireUppercase: z.ZodBoolean;
|
|
8
|
+
requireSpecialChar: z.ZodBoolean;
|
|
9
|
+
verifyEmailMethod: z.ZodEnum<["code", "link"]>;
|
|
10
|
+
resetPasswordMethod: z.ZodEnum<["code", "link"]>;
|
|
11
|
+
oAuthProviders: z.ZodArray<z.ZodEnum<["google", "github", "discord", "linkedin", "facebook", "instagram", "tiktok", "apple", "x", "spotify", "microsoft"]>, "many">;
|
|
12
|
+
customOAuthProviders: z.ZodArray<z.ZodString, "many">;
|
|
31
13
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
requireEmailVerification: boolean;
|
|
15
|
+
passwordMinLength: number;
|
|
16
|
+
requireNumber: boolean;
|
|
17
|
+
requireLowercase: boolean;
|
|
18
|
+
requireUppercase: boolean;
|
|
19
|
+
requireSpecialChar: boolean;
|
|
20
|
+
verifyEmailMethod: "code" | "link";
|
|
21
|
+
resetPasswordMethod: "code" | "link";
|
|
22
|
+
oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[];
|
|
23
|
+
customOAuthProviders: string[];
|
|
42
24
|
}, {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
25
|
+
requireEmailVerification: boolean;
|
|
26
|
+
passwordMinLength: number;
|
|
27
|
+
requireNumber: boolean;
|
|
28
|
+
requireLowercase: boolean;
|
|
29
|
+
requireUppercase: boolean;
|
|
30
|
+
requireSpecialChar: boolean;
|
|
31
|
+
verifyEmailMethod: "code" | "link";
|
|
32
|
+
resetPasswordMethod: "code" | "link";
|
|
33
|
+
oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[];
|
|
34
|
+
customOAuthProviders: string[];
|
|
53
35
|
}>;
|
|
54
36
|
export declare const databaseMetadataSchema: z.ZodObject<{
|
|
55
37
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -140,13 +122,13 @@ export declare const edgeFunctionMetadataSchema: z.ZodObject<{
|
|
|
140
122
|
}, "strip", z.ZodTypeAny, {
|
|
141
123
|
status: string;
|
|
142
124
|
name: string;
|
|
143
|
-
slug: string;
|
|
144
125
|
description: string | null;
|
|
126
|
+
slug: string;
|
|
145
127
|
}, {
|
|
146
128
|
status: string;
|
|
147
129
|
name: string;
|
|
148
|
-
slug: string;
|
|
149
130
|
description: string | null;
|
|
131
|
+
slug: string;
|
|
150
132
|
}>;
|
|
151
133
|
export declare const aiMetadataSchema: z.ZodObject<{
|
|
152
134
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -187,19 +169,19 @@ export declare const realtimeMetadataSchema: z.ZodObject<{
|
|
|
187
169
|
}, "strip", z.ZodTypeAny, {
|
|
188
170
|
id: string;
|
|
189
171
|
createdAt: string;
|
|
190
|
-
updatedAt: string;
|
|
191
172
|
description: string | null;
|
|
173
|
+
enabled: boolean;
|
|
174
|
+
updatedAt: string;
|
|
192
175
|
pattern: string;
|
|
193
176
|
webhookUrls: string[] | null;
|
|
194
|
-
enabled: boolean;
|
|
195
177
|
}, {
|
|
196
178
|
id: string;
|
|
197
179
|
createdAt: string;
|
|
198
|
-
updatedAt: string;
|
|
199
180
|
description: string | null;
|
|
181
|
+
enabled: boolean;
|
|
182
|
+
updatedAt: string;
|
|
200
183
|
pattern: string;
|
|
201
184
|
webhookUrls: string[] | null;
|
|
202
|
-
enabled: boolean;
|
|
203
185
|
}>, "many">;
|
|
204
186
|
permissions: z.ZodObject<{
|
|
205
187
|
subscribe: z.ZodObject<{
|
|
@@ -333,11 +315,11 @@ export declare const realtimeMetadataSchema: z.ZodObject<{
|
|
|
333
315
|
channels: {
|
|
334
316
|
id: string;
|
|
335
317
|
createdAt: string;
|
|
336
|
-
updatedAt: string;
|
|
337
318
|
description: string | null;
|
|
319
|
+
enabled: boolean;
|
|
320
|
+
updatedAt: string;
|
|
338
321
|
pattern: string;
|
|
339
322
|
webhookUrls: string[] | null;
|
|
340
|
-
enabled: boolean;
|
|
341
323
|
}[];
|
|
342
324
|
permissions: {
|
|
343
325
|
subscribe: {
|
|
@@ -365,11 +347,11 @@ export declare const realtimeMetadataSchema: z.ZodObject<{
|
|
|
365
347
|
channels: {
|
|
366
348
|
id: string;
|
|
367
349
|
createdAt: string;
|
|
368
|
-
updatedAt: string;
|
|
369
350
|
description: string | null;
|
|
351
|
+
enabled: boolean;
|
|
352
|
+
updatedAt: string;
|
|
370
353
|
pattern: string;
|
|
371
354
|
webhookUrls: string[] | null;
|
|
372
|
-
enabled: boolean;
|
|
373
355
|
}[];
|
|
374
356
|
permissions: {
|
|
375
357
|
subscribe: {
|
|
@@ -396,56 +378,38 @@ export declare const realtimeMetadataSchema: z.ZodObject<{
|
|
|
396
378
|
}>;
|
|
397
379
|
export declare const appMetaDataSchema: z.ZodObject<{
|
|
398
380
|
auth: z.ZodObject<{
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
provider: "google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft";
|
|
410
|
-
id: string;
|
|
411
|
-
createdAt: string;
|
|
412
|
-
updatedAt: string;
|
|
413
|
-
useSharedKey: boolean;
|
|
414
|
-
redirectUri?: string | undefined;
|
|
415
|
-
clientId?: string | undefined;
|
|
416
|
-
scopes?: string[] | undefined;
|
|
417
|
-
}, {
|
|
418
|
-
provider: "google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft";
|
|
419
|
-
id: string;
|
|
420
|
-
createdAt: string;
|
|
421
|
-
updatedAt: string;
|
|
422
|
-
useSharedKey: boolean;
|
|
423
|
-
redirectUri?: string | undefined;
|
|
424
|
-
clientId?: string | undefined;
|
|
425
|
-
scopes?: string[] | undefined;
|
|
426
|
-
}>, "many">;
|
|
381
|
+
requireEmailVerification: z.ZodBoolean;
|
|
382
|
+
passwordMinLength: z.ZodNumber;
|
|
383
|
+
requireNumber: z.ZodBoolean;
|
|
384
|
+
requireLowercase: z.ZodBoolean;
|
|
385
|
+
requireUppercase: z.ZodBoolean;
|
|
386
|
+
requireSpecialChar: z.ZodBoolean;
|
|
387
|
+
verifyEmailMethod: z.ZodEnum<["code", "link"]>;
|
|
388
|
+
resetPasswordMethod: z.ZodEnum<["code", "link"]>;
|
|
389
|
+
oAuthProviders: z.ZodArray<z.ZodEnum<["google", "github", "discord", "linkedin", "facebook", "instagram", "tiktok", "apple", "x", "spotify", "microsoft"]>, "many">;
|
|
390
|
+
customOAuthProviders: z.ZodArray<z.ZodString, "many">;
|
|
427
391
|
}, "strip", z.ZodTypeAny, {
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
392
|
+
requireEmailVerification: boolean;
|
|
393
|
+
passwordMinLength: number;
|
|
394
|
+
requireNumber: boolean;
|
|
395
|
+
requireLowercase: boolean;
|
|
396
|
+
requireUppercase: boolean;
|
|
397
|
+
requireSpecialChar: boolean;
|
|
398
|
+
verifyEmailMethod: "code" | "link";
|
|
399
|
+
resetPasswordMethod: "code" | "link";
|
|
400
|
+
oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[];
|
|
401
|
+
customOAuthProviders: string[];
|
|
438
402
|
}, {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
403
|
+
requireEmailVerification: boolean;
|
|
404
|
+
passwordMinLength: number;
|
|
405
|
+
requireNumber: boolean;
|
|
406
|
+
requireLowercase: boolean;
|
|
407
|
+
requireUppercase: boolean;
|
|
408
|
+
requireSpecialChar: boolean;
|
|
409
|
+
verifyEmailMethod: "code" | "link";
|
|
410
|
+
resetPasswordMethod: "code" | "link";
|
|
411
|
+
oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[];
|
|
412
|
+
customOAuthProviders: string[];
|
|
449
413
|
}>;
|
|
450
414
|
database: z.ZodObject<{
|
|
451
415
|
tables: z.ZodArray<z.ZodObject<{
|
|
@@ -546,13 +510,13 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
546
510
|
}, "strip", z.ZodTypeAny, {
|
|
547
511
|
status: string;
|
|
548
512
|
name: string;
|
|
549
|
-
slug: string;
|
|
550
513
|
description: string | null;
|
|
514
|
+
slug: string;
|
|
551
515
|
}, {
|
|
552
516
|
status: string;
|
|
553
517
|
name: string;
|
|
554
|
-
slug: string;
|
|
555
518
|
description: string | null;
|
|
519
|
+
slug: string;
|
|
556
520
|
}>, "many">;
|
|
557
521
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
558
522
|
channels: z.ZodArray<z.ZodObject<{
|
|
@@ -566,19 +530,19 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
566
530
|
}, "strip", z.ZodTypeAny, {
|
|
567
531
|
id: string;
|
|
568
532
|
createdAt: string;
|
|
569
|
-
updatedAt: string;
|
|
570
533
|
description: string | null;
|
|
534
|
+
enabled: boolean;
|
|
535
|
+
updatedAt: string;
|
|
571
536
|
pattern: string;
|
|
572
537
|
webhookUrls: string[] | null;
|
|
573
|
-
enabled: boolean;
|
|
574
538
|
}, {
|
|
575
539
|
id: string;
|
|
576
540
|
createdAt: string;
|
|
577
|
-
updatedAt: string;
|
|
578
541
|
description: string | null;
|
|
542
|
+
enabled: boolean;
|
|
543
|
+
updatedAt: string;
|
|
579
544
|
pattern: string;
|
|
580
545
|
webhookUrls: string[] | null;
|
|
581
|
-
enabled: boolean;
|
|
582
546
|
}>, "many">;
|
|
583
547
|
permissions: z.ZodObject<{
|
|
584
548
|
subscribe: z.ZodObject<{
|
|
@@ -712,11 +676,11 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
712
676
|
channels: {
|
|
713
677
|
id: string;
|
|
714
678
|
createdAt: string;
|
|
715
|
-
updatedAt: string;
|
|
716
679
|
description: string | null;
|
|
680
|
+
enabled: boolean;
|
|
681
|
+
updatedAt: string;
|
|
717
682
|
pattern: string;
|
|
718
683
|
webhookUrls: string[] | null;
|
|
719
|
-
enabled: boolean;
|
|
720
684
|
}[];
|
|
721
685
|
permissions: {
|
|
722
686
|
subscribe: {
|
|
@@ -744,11 +708,11 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
744
708
|
channels: {
|
|
745
709
|
id: string;
|
|
746
710
|
createdAt: string;
|
|
747
|
-
updatedAt: string;
|
|
748
711
|
description: string | null;
|
|
712
|
+
enabled: boolean;
|
|
713
|
+
updatedAt: string;
|
|
749
714
|
pattern: string;
|
|
750
715
|
webhookUrls: string[] | null;
|
|
751
|
-
enabled: boolean;
|
|
752
716
|
}[];
|
|
753
717
|
permissions: {
|
|
754
718
|
subscribe: {
|
|
@@ -778,21 +742,30 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
778
742
|
functions: {
|
|
779
743
|
status: string;
|
|
780
744
|
name: string;
|
|
781
|
-
slug: string;
|
|
782
745
|
description: string | null;
|
|
746
|
+
slug: string;
|
|
783
747
|
}[];
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
id: string;
|
|
748
|
+
storage: {
|
|
749
|
+
totalSizeInGB: number;
|
|
750
|
+
buckets: {
|
|
788
751
|
createdAt: string;
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
clientId?: string | undefined;
|
|
793
|
-
scopes?: string[] | undefined;
|
|
752
|
+
name: string;
|
|
753
|
+
public: boolean;
|
|
754
|
+
objectCount?: number | undefined;
|
|
794
755
|
}[];
|
|
795
756
|
};
|
|
757
|
+
auth: {
|
|
758
|
+
requireEmailVerification: boolean;
|
|
759
|
+
passwordMinLength: number;
|
|
760
|
+
requireNumber: boolean;
|
|
761
|
+
requireLowercase: boolean;
|
|
762
|
+
requireUppercase: boolean;
|
|
763
|
+
requireSpecialChar: boolean;
|
|
764
|
+
verifyEmailMethod: "code" | "link";
|
|
765
|
+
resetPasswordMethod: "code" | "link";
|
|
766
|
+
oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[];
|
|
767
|
+
customOAuthProviders: string[];
|
|
768
|
+
};
|
|
796
769
|
database: {
|
|
797
770
|
tables: {
|
|
798
771
|
tableName: string;
|
|
@@ -801,31 +774,15 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
801
774
|
totalSizeInGB: number;
|
|
802
775
|
hint?: string | undefined;
|
|
803
776
|
};
|
|
804
|
-
storage: {
|
|
805
|
-
totalSizeInGB: number;
|
|
806
|
-
buckets: {
|
|
807
|
-
createdAt: string;
|
|
808
|
-
name: string;
|
|
809
|
-
public: boolean;
|
|
810
|
-
objectCount?: number | undefined;
|
|
811
|
-
}[];
|
|
812
|
-
};
|
|
813
|
-
aiIntegration?: {
|
|
814
|
-
models: {
|
|
815
|
-
inputModality: string[];
|
|
816
|
-
outputModality: string[];
|
|
817
|
-
modelId: string;
|
|
818
|
-
}[];
|
|
819
|
-
} | undefined;
|
|
820
777
|
realtime?: {
|
|
821
778
|
channels: {
|
|
822
779
|
id: string;
|
|
823
780
|
createdAt: string;
|
|
824
|
-
updatedAt: string;
|
|
825
781
|
description: string | null;
|
|
782
|
+
enabled: boolean;
|
|
783
|
+
updatedAt: string;
|
|
826
784
|
pattern: string;
|
|
827
785
|
webhookUrls: string[] | null;
|
|
828
|
-
enabled: boolean;
|
|
829
786
|
}[];
|
|
830
787
|
permissions: {
|
|
831
788
|
subscribe: {
|
|
@@ -850,26 +807,42 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
850
807
|
};
|
|
851
808
|
};
|
|
852
809
|
} | undefined;
|
|
810
|
+
aiIntegration?: {
|
|
811
|
+
models: {
|
|
812
|
+
inputModality: string[];
|
|
813
|
+
outputModality: string[];
|
|
814
|
+
modelId: string;
|
|
815
|
+
}[];
|
|
816
|
+
} | undefined;
|
|
853
817
|
version?: string | undefined;
|
|
854
818
|
}, {
|
|
855
819
|
functions: {
|
|
856
820
|
status: string;
|
|
857
821
|
name: string;
|
|
858
|
-
slug: string;
|
|
859
822
|
description: string | null;
|
|
823
|
+
slug: string;
|
|
860
824
|
}[];
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
id: string;
|
|
825
|
+
storage: {
|
|
826
|
+
totalSizeInGB: number;
|
|
827
|
+
buckets: {
|
|
865
828
|
createdAt: string;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
clientId?: string | undefined;
|
|
870
|
-
scopes?: string[] | undefined;
|
|
829
|
+
name: string;
|
|
830
|
+
public: boolean;
|
|
831
|
+
objectCount?: number | undefined;
|
|
871
832
|
}[];
|
|
872
833
|
};
|
|
834
|
+
auth: {
|
|
835
|
+
requireEmailVerification: boolean;
|
|
836
|
+
passwordMinLength: number;
|
|
837
|
+
requireNumber: boolean;
|
|
838
|
+
requireLowercase: boolean;
|
|
839
|
+
requireUppercase: boolean;
|
|
840
|
+
requireSpecialChar: boolean;
|
|
841
|
+
verifyEmailMethod: "code" | "link";
|
|
842
|
+
resetPasswordMethod: "code" | "link";
|
|
843
|
+
oAuthProviders: ("google" | "github" | "discord" | "linkedin" | "facebook" | "instagram" | "tiktok" | "apple" | "x" | "spotify" | "microsoft")[];
|
|
844
|
+
customOAuthProviders: string[];
|
|
845
|
+
};
|
|
873
846
|
database: {
|
|
874
847
|
tables: {
|
|
875
848
|
tableName: string;
|
|
@@ -878,31 +851,15 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
878
851
|
totalSizeInGB: number;
|
|
879
852
|
hint?: string | undefined;
|
|
880
853
|
};
|
|
881
|
-
storage: {
|
|
882
|
-
totalSizeInGB: number;
|
|
883
|
-
buckets: {
|
|
884
|
-
createdAt: string;
|
|
885
|
-
name: string;
|
|
886
|
-
public: boolean;
|
|
887
|
-
objectCount?: number | undefined;
|
|
888
|
-
}[];
|
|
889
|
-
};
|
|
890
|
-
aiIntegration?: {
|
|
891
|
-
models: {
|
|
892
|
-
inputModality: string[];
|
|
893
|
-
outputModality: string[];
|
|
894
|
-
modelId: string;
|
|
895
|
-
}[];
|
|
896
|
-
} | undefined;
|
|
897
854
|
realtime?: {
|
|
898
855
|
channels: {
|
|
899
856
|
id: string;
|
|
900
857
|
createdAt: string;
|
|
901
|
-
updatedAt: string;
|
|
902
858
|
description: string | null;
|
|
859
|
+
enabled: boolean;
|
|
860
|
+
updatedAt: string;
|
|
903
861
|
pattern: string;
|
|
904
862
|
webhookUrls: string[] | null;
|
|
905
|
-
enabled: boolean;
|
|
906
863
|
}[];
|
|
907
864
|
permissions: {
|
|
908
865
|
subscribe: {
|
|
@@ -927,6 +884,13 @@ export declare const appMetaDataSchema: z.ZodObject<{
|
|
|
927
884
|
};
|
|
928
885
|
};
|
|
929
886
|
} | undefined;
|
|
887
|
+
aiIntegration?: {
|
|
888
|
+
models: {
|
|
889
|
+
inputModality: string[];
|
|
890
|
+
outputModality: string[];
|
|
891
|
+
modelId: string;
|
|
892
|
+
}[];
|
|
893
|
+
} | undefined;
|
|
930
894
|
version?: string | undefined;
|
|
931
895
|
}>;
|
|
932
896
|
export type AuthMetadataSchema = z.infer<typeof authMetadataSchema>;
|
|
@@ -937,4 +901,97 @@ export type EdgeFunctionMetadataSchema = z.infer<typeof edgeFunctionMetadataSche
|
|
|
937
901
|
export type AIMetadataSchema = z.infer<typeof aiMetadataSchema>;
|
|
938
902
|
export type RealtimeMetadataSchema = z.infer<typeof realtimeMetadataSchema>;
|
|
939
903
|
export type AppMetadataSchema = z.infer<typeof appMetaDataSchema>;
|
|
904
|
+
export declare const databaseConnectionParametersSchema: z.ZodObject<{
|
|
905
|
+
host: z.ZodString;
|
|
906
|
+
port: z.ZodNumber;
|
|
907
|
+
database: z.ZodString;
|
|
908
|
+
user: z.ZodString;
|
|
909
|
+
password: z.ZodString;
|
|
910
|
+
sslmode: z.ZodString;
|
|
911
|
+
}, "strip", z.ZodTypeAny, {
|
|
912
|
+
user: string;
|
|
913
|
+
password: string;
|
|
914
|
+
database: string;
|
|
915
|
+
host: string;
|
|
916
|
+
port: number;
|
|
917
|
+
sslmode: string;
|
|
918
|
+
}, {
|
|
919
|
+
user: string;
|
|
920
|
+
password: string;
|
|
921
|
+
database: string;
|
|
922
|
+
host: string;
|
|
923
|
+
port: number;
|
|
924
|
+
sslmode: string;
|
|
925
|
+
}>;
|
|
926
|
+
export declare const databaseConnectionInfoSchema: z.ZodObject<{
|
|
927
|
+
connectionURL: z.ZodString;
|
|
928
|
+
parameters: z.ZodObject<{
|
|
929
|
+
host: z.ZodString;
|
|
930
|
+
port: z.ZodNumber;
|
|
931
|
+
database: z.ZodString;
|
|
932
|
+
user: z.ZodString;
|
|
933
|
+
password: z.ZodString;
|
|
934
|
+
sslmode: z.ZodString;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
user: string;
|
|
937
|
+
password: string;
|
|
938
|
+
database: string;
|
|
939
|
+
host: string;
|
|
940
|
+
port: number;
|
|
941
|
+
sslmode: string;
|
|
942
|
+
}, {
|
|
943
|
+
user: string;
|
|
944
|
+
password: string;
|
|
945
|
+
database: string;
|
|
946
|
+
host: string;
|
|
947
|
+
port: number;
|
|
948
|
+
sslmode: string;
|
|
949
|
+
}>;
|
|
950
|
+
}, "strip", z.ZodTypeAny, {
|
|
951
|
+
parameters: {
|
|
952
|
+
user: string;
|
|
953
|
+
password: string;
|
|
954
|
+
database: string;
|
|
955
|
+
host: string;
|
|
956
|
+
port: number;
|
|
957
|
+
sslmode: string;
|
|
958
|
+
};
|
|
959
|
+
connectionURL: string;
|
|
960
|
+
}, {
|
|
961
|
+
parameters: {
|
|
962
|
+
user: string;
|
|
963
|
+
password: string;
|
|
964
|
+
database: string;
|
|
965
|
+
host: string;
|
|
966
|
+
port: number;
|
|
967
|
+
sslmode: string;
|
|
968
|
+
};
|
|
969
|
+
connectionURL: string;
|
|
970
|
+
}>;
|
|
971
|
+
export declare const databasePasswordInfoSchema: z.ZodObject<{
|
|
972
|
+
databasePassword: z.ZodString;
|
|
973
|
+
}, "strip", z.ZodTypeAny, {
|
|
974
|
+
databasePassword: string;
|
|
975
|
+
}, {
|
|
976
|
+
databasePassword: string;
|
|
977
|
+
}>;
|
|
978
|
+
export declare const apiKeyResponseSchema: z.ZodObject<{
|
|
979
|
+
apiKey: z.ZodString;
|
|
980
|
+
}, "strip", z.ZodTypeAny, {
|
|
981
|
+
apiKey: string;
|
|
982
|
+
}, {
|
|
983
|
+
apiKey: string;
|
|
984
|
+
}>;
|
|
985
|
+
export declare const projectIdResponseSchema: z.ZodObject<{
|
|
986
|
+
projectId: z.ZodNullable<z.ZodString>;
|
|
987
|
+
}, "strip", z.ZodTypeAny, {
|
|
988
|
+
projectId: string | null;
|
|
989
|
+
}, {
|
|
990
|
+
projectId: string | null;
|
|
991
|
+
}>;
|
|
992
|
+
export type DatabaseConnectionParameters = z.infer<typeof databaseConnectionParametersSchema>;
|
|
993
|
+
export type DatabaseConnectionInfo = z.infer<typeof databaseConnectionInfoSchema>;
|
|
994
|
+
export type DatabasePasswordInfo = z.infer<typeof databasePasswordInfoSchema>;
|
|
995
|
+
export type ApiKeyResponse = z.infer<typeof apiKeyResponseSchema>;
|
|
996
|
+
export type ProjectIdResponse = z.infer<typeof projectIdResponseSchema>;
|
|
940
997
|
//# sourceMappingURL=metadata.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.schema.d.ts","sourceRoot":"","sources":["../src/metadata.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"metadata.schema.d.ts","sourceRoot":"","sources":["../src/metadata.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAA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O,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { storageBucketSchema } from './storage.schema';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
export const authMetadataSchema =
|
|
7
|
-
oauths: z.array(oAuthConfigSchema),
|
|
8
|
-
});
|
|
2
|
+
import { storageBucketSchema } from './storage.schema.js';
|
|
3
|
+
import { realtimeChannelSchema } from './realtime.schema.js';
|
|
4
|
+
import { realtimePermissionsResponseSchema } from './realtime-api.schema.js';
|
|
5
|
+
import { getPublicAuthConfigResponseSchema } from './auth-api.schema.js';
|
|
6
|
+
export const authMetadataSchema = getPublicAuthConfigResponseSchema;
|
|
9
7
|
export const databaseMetadataSchema = z.object({
|
|
10
8
|
tables: z.array(z.object({
|
|
11
9
|
tableName: z.string(),
|
|
@@ -47,4 +45,26 @@ export const appMetaDataSchema = z.object({
|
|
|
47
45
|
realtime: realtimeMetadataSchema.optional(),
|
|
48
46
|
version: z.string().optional(),
|
|
49
47
|
});
|
|
48
|
+
// Database connection schemas
|
|
49
|
+
export const databaseConnectionParametersSchema = z.object({
|
|
50
|
+
host: z.string(),
|
|
51
|
+
port: z.number(),
|
|
52
|
+
database: z.string(),
|
|
53
|
+
user: z.string(),
|
|
54
|
+
password: z.string(),
|
|
55
|
+
sslmode: z.string(),
|
|
56
|
+
});
|
|
57
|
+
export const databaseConnectionInfoSchema = z.object({
|
|
58
|
+
connectionURL: z.string(),
|
|
59
|
+
parameters: databaseConnectionParametersSchema,
|
|
60
|
+
});
|
|
61
|
+
export const databasePasswordInfoSchema = z.object({
|
|
62
|
+
databasePassword: z.string(),
|
|
63
|
+
});
|
|
64
|
+
export const apiKeyResponseSchema = z.object({
|
|
65
|
+
apiKey: z.string(),
|
|
66
|
+
});
|
|
67
|
+
export const projectIdResponseSchema = z.object({
|
|
68
|
+
projectId: z.string().nullable(),
|
|
69
|
+
});
|
|
50
70
|
//# sourceMappingURL=metadata.schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.schema.js","sourceRoot":"","sources":["../src/metadata.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"metadata.schema.js","sourceRoot":"","sources":["../src/metadata.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAEzE,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC;AAEpE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;QACrB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;KACxB,CAAC,CACH;IACD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,CAA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