@aiworkbench/vibe-types 0.0.7 → 0.0.8

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.
@@ -0,0 +1,117 @@
1
+ import { z } from "zod";
2
+ export declare const proxyTargetSchema: z.ZodEffects<z.ZodString, string, string>;
3
+ export declare const vibeManifestSchema: z.ZodObject<{
4
+ id: z.ZodString;
5
+ version: z.ZodString;
6
+ framework: z.ZodEnum<["react", "vue", "vanilla"]>;
7
+ permissions: z.ZodEffects<z.ZodArray<z.ZodEnum<["auth", "api", "navigation", "theme", "toast", "storage", "events", "chat", "voice"]>, "many">, ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[], ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[]>;
8
+ description: z.ZodString;
9
+ entry: z.ZodOptional<z.ZodString>;
10
+ hostConfig: z.ZodOptional<z.ZodObject<{
11
+ apiProxy: z.ZodOptional<z.ZodObject<{
12
+ defaultTarget: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ defaultTarget?: string | undefined;
15
+ }, {
16
+ defaultTarget?: string | undefined;
17
+ }>>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ apiProxy?: {
20
+ defaultTarget?: string | undefined;
21
+ } | undefined;
22
+ }, {
23
+ apiProxy?: {
24
+ defaultTarget?: string | undefined;
25
+ } | undefined;
26
+ }>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ id: string;
29
+ version: string;
30
+ framework: "react" | "vue" | "vanilla";
31
+ permissions: ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[];
32
+ description: string;
33
+ entry?: string | undefined;
34
+ hostConfig?: {
35
+ apiProxy?: {
36
+ defaultTarget?: string | undefined;
37
+ } | undefined;
38
+ } | undefined;
39
+ }, {
40
+ id: string;
41
+ version: string;
42
+ framework: "react" | "vue" | "vanilla";
43
+ permissions: ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[];
44
+ description: string;
45
+ entry?: string | undefined;
46
+ hostConfig?: {
47
+ apiProxy?: {
48
+ defaultTarget?: string | undefined;
49
+ } | undefined;
50
+ } | undefined;
51
+ }>;
52
+ export declare const registryEntrySchema: z.ZodObject<{
53
+ id: z.ZodString;
54
+ version: z.ZodString;
55
+ permissions: z.ZodEffects<z.ZodArray<z.ZodEnum<["auth", "api", "navigation", "theme", "toast", "storage", "events", "chat", "voice"]>, "many">, ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[], ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[]>;
56
+ description: z.ZodString;
57
+ entry: z.ZodOptional<z.ZodString>;
58
+ hostConfig: z.ZodOptional<z.ZodObject<{
59
+ apiProxy: z.ZodOptional<z.ZodObject<{
60
+ defaultTarget: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ defaultTarget?: string | undefined;
63
+ }, {
64
+ defaultTarget?: string | undefined;
65
+ }>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ apiProxy?: {
68
+ defaultTarget?: string | undefined;
69
+ } | undefined;
70
+ }, {
71
+ apiProxy?: {
72
+ defaultTarget?: string | undefined;
73
+ } | undefined;
74
+ }>>;
75
+ } & {
76
+ framework: z.ZodOptional<z.ZodEnum<["react", "vue", "vanilla", "unknown"]>>;
77
+ bundleUrl: z.ZodString;
78
+ integrity: z.ZodString;
79
+ bundleSizeBytes: z.ZodOptional<z.ZodNumber>;
80
+ publishedAt: z.ZodString;
81
+ publishedBy: z.ZodString;
82
+ }, "strip", z.ZodTypeAny, {
83
+ id: string;
84
+ version: string;
85
+ permissions: ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[];
86
+ description: string;
87
+ bundleUrl: string;
88
+ integrity: string;
89
+ publishedAt: string;
90
+ publishedBy: string;
91
+ framework?: "react" | "vue" | "vanilla" | "unknown" | undefined;
92
+ entry?: string | undefined;
93
+ hostConfig?: {
94
+ apiProxy?: {
95
+ defaultTarget?: string | undefined;
96
+ } | undefined;
97
+ } | undefined;
98
+ bundleSizeBytes?: number | undefined;
99
+ }, {
100
+ id: string;
101
+ version: string;
102
+ permissions: ("auth" | "api" | "navigation" | "theme" | "toast" | "storage" | "events" | "chat" | "voice")[];
103
+ description: string;
104
+ bundleUrl: string;
105
+ integrity: string;
106
+ publishedAt: string;
107
+ publishedBy: string;
108
+ framework?: "react" | "vue" | "vanilla" | "unknown" | undefined;
109
+ entry?: string | undefined;
110
+ hostConfig?: {
111
+ apiProxy?: {
112
+ defaultTarget?: string | undefined;
113
+ } | undefined;
114
+ } | undefined;
115
+ bundleSizeBytes?: number | undefined;
116
+ }>;
117
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB,2CAK1B,CAAC;AAEL,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8B7B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS9B,CAAC"}