redlinify 0.0.0-stage → 0.4.0
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/LICENSE +21 -0
- package/README.md +341 -2
- package/dist/_shared/atomicFs.d.ts +10 -0
- package/dist/_shared/atomicFs.d.ts.map +1 -0
- package/dist/_shared/atomicFs.js +86 -0
- package/dist/_shared/atomicFs.js.map +1 -0
- package/dist/_shared/browser.d.ts +7 -0
- package/dist/_shared/browser.d.ts.map +1 -0
- package/dist/_shared/browser.js +7 -0
- package/dist/_shared/browser.js.map +1 -0
- package/dist/_shared/canonical.d.ts +8 -0
- package/dist/_shared/canonical.d.ts.map +1 -0
- package/dist/_shared/canonical.js +28 -0
- package/dist/_shared/canonical.js.map +1 -0
- package/dist/_shared/diff.d.ts +78 -0
- package/dist/_shared/diff.d.ts.map +1 -0
- package/dist/_shared/diff.js +350 -0
- package/dist/_shared/diff.js.map +1 -0
- package/dist/_shared/errors.d.ts +29 -0
- package/dist/_shared/errors.d.ts.map +1 -0
- package/dist/_shared/errors.js +46 -0
- package/dist/_shared/errors.js.map +1 -0
- package/dist/_shared/fileLock.d.ts +11 -0
- package/dist/_shared/fileLock.d.ts.map +1 -0
- package/dist/_shared/fileLock.js +114 -0
- package/dist/_shared/fileLock.js.map +1 -0
- package/dist/_shared/guards.d.ts +20 -0
- package/dist/_shared/guards.d.ts.map +1 -0
- package/dist/_shared/guards.js +395 -0
- package/dist/_shared/guards.js.map +1 -0
- package/dist/_shared/hash.d.ts +12 -0
- package/dist/_shared/hash.d.ts.map +1 -0
- package/dist/_shared/hash.js +80 -0
- package/dist/_shared/hash.js.map +1 -0
- package/dist/_shared/index.d.ts +9 -0
- package/dist/_shared/index.d.ts.map +1 -0
- package/dist/_shared/index.js +9 -0
- package/dist/_shared/index.js.map +1 -0
- package/dist/_shared/schemas.d.ts +727 -0
- package/dist/_shared/schemas.d.ts.map +1 -0
- package/dist/_shared/schemas.js +352 -0
- package/dist/_shared/schemas.js.map +1 -0
- package/dist/_shared/storage.d.ts +174 -0
- package/dist/_shared/storage.d.ts.map +1 -0
- package/dist/_shared/storage.js +801 -0
- package/dist/_shared/storage.js.map +1 -0
- package/dist/_shared/threadStatus.d.ts +5 -0
- package/dist/_shared/threadStatus.d.ts.map +1 -0
- package/dist/_shared/threadStatus.js +18 -0
- package/dist/_shared/threadStatus.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +269 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp.d.ts +19 -0
- package/dist/mcp.d.ts.map +1 -0
- package/dist/mcp.js +654 -0
- package/dist/mcp.js.map +1 -0
- package/dist/preferences.d.ts +5 -0
- package/dist/preferences.d.ts.map +1 -0
- package/dist/preferences.js +56 -0
- package/dist/preferences.js.map +1 -0
- package/dist/uiDaemon.d.ts +47 -0
- package/dist/uiDaemon.d.ts.map +1 -0
- package/dist/uiDaemon.js +351 -0
- package/dist/uiDaemon.js.map +1 -0
- package/dist/updater.d.ts +35 -0
- package/dist/updater.d.ts.map +1 -0
- package/dist/updater.js +336 -0
- package/dist/updater.js.map +1 -0
- package/dist/web.d.ts +29 -0
- package/dist/web.d.ts.map +1 -0
- package/dist/web.js +648 -0
- package/dist/web.js.map +1 -0
- package/package.json +51 -4
- package/skill/SKILL.md +36 -0
- package/ui-dist/assets/elkjs-DuIp8wh-.js +26 -0
- package/ui-dist/assets/index-DhMWEByx.css +1 -0
- package/ui-dist/assets/index-Dy_FwyNG.js +99 -0
- package/ui-dist/assets/vendor-icons-IOjDvVjt.js +261 -0
- package/ui-dist/assets/vendor-react-5-35apmZ.js +49 -0
- package/ui-dist/assets/vendor-xyflow-BnuhLJ6X.css +1 -0
- package/ui-dist/assets/vendor-xyflow-cY2i6Lf0.js +23 -0
- package/ui-dist/index.html +29 -0
|
@@ -0,0 +1,727 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ID_SLUG_REGEX: RegExp;
|
|
3
|
+
export declare const ENTITY_REF_REGEX: RegExp;
|
|
4
|
+
export declare function idSlugSchema(label?: string): z.ZodString;
|
|
5
|
+
export declare const EntityRefSchema: z.ZodString;
|
|
6
|
+
export declare const DiagramTypeSchema: z.ZodEnum<{
|
|
7
|
+
general: "general";
|
|
8
|
+
er: "er";
|
|
9
|
+
}>;
|
|
10
|
+
export type DiagramType = z.infer<typeof DiagramTypeSchema>;
|
|
11
|
+
export declare const NodeShapeSchema: z.ZodEnum<{
|
|
12
|
+
card: "card";
|
|
13
|
+
decision: "decision";
|
|
14
|
+
terminal: "terminal";
|
|
15
|
+
store: "store";
|
|
16
|
+
}>;
|
|
17
|
+
export type NodeShape = z.infer<typeof NodeShapeSchema>;
|
|
18
|
+
export declare const CardinalitySchema: z.ZodEnum<{
|
|
19
|
+
1: "1";
|
|
20
|
+
"0..1": "0..1";
|
|
21
|
+
"1..*": "1..*";
|
|
22
|
+
"0..*": "0..*";
|
|
23
|
+
}>;
|
|
24
|
+
export type Cardinality = z.infer<typeof CardinalitySchema>;
|
|
25
|
+
export declare const RelationKindSchema: z.ZodEnum<{
|
|
26
|
+
association: "association";
|
|
27
|
+
identifying: "identifying";
|
|
28
|
+
subtype: "subtype";
|
|
29
|
+
}>;
|
|
30
|
+
export type RelationKind = z.infer<typeof RelationKindSchema>;
|
|
31
|
+
export declare const HandleSideSchema: z.ZodEnum<{
|
|
32
|
+
top: "top";
|
|
33
|
+
right: "right";
|
|
34
|
+
bottom: "bottom";
|
|
35
|
+
left: "left";
|
|
36
|
+
}>;
|
|
37
|
+
export type HandleSide = z.infer<typeof HandleSideSchema>;
|
|
38
|
+
export declare const NodeStatusSchema: z.ZodEnum<{
|
|
39
|
+
draft: "draft";
|
|
40
|
+
needs_input: "needs_input";
|
|
41
|
+
approved: "approved";
|
|
42
|
+
implemented: "implemented";
|
|
43
|
+
drifted: "drifted";
|
|
44
|
+
}>;
|
|
45
|
+
export type NodeStatus = z.infer<typeof NodeStatusSchema>;
|
|
46
|
+
export declare const CodeRefSchema: z.ZodObject<{
|
|
47
|
+
path: z.ZodString;
|
|
48
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type CodeRef = z.infer<typeof CodeRefSchema>;
|
|
51
|
+
export declare const BoxSectionSchema: z.ZodObject<{
|
|
52
|
+
id: z.ZodString;
|
|
53
|
+
heading: z.ZodString;
|
|
54
|
+
items: z.ZodArray<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
export type BoxSection = z.infer<typeof BoxSectionSchema>;
|
|
57
|
+
export declare const EntityFieldSchema: z.ZodObject<{
|
|
58
|
+
id: z.ZodString;
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
type: z.ZodOptional<z.ZodString>;
|
|
61
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
fk: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
indexed: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
67
|
+
note: z.ZodOptional<z.ZodString>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
export type EntityField = z.infer<typeof EntityFieldSchema>;
|
|
70
|
+
export declare const DesignNodeSchema: z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
entity_ref: z.ZodOptional<z.ZodString>;
|
|
73
|
+
kind: z.ZodString;
|
|
74
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
75
|
+
card: "card";
|
|
76
|
+
decision: "decision";
|
|
77
|
+
terminal: "terminal";
|
|
78
|
+
store: "store";
|
|
79
|
+
}>>;
|
|
80
|
+
title: z.ZodString;
|
|
81
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
82
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
83
|
+
draft: "draft";
|
|
84
|
+
needs_input: "needs_input";
|
|
85
|
+
approved: "approved";
|
|
86
|
+
implemented: "implemented";
|
|
87
|
+
drifted: "drifted";
|
|
88
|
+
}>>;
|
|
89
|
+
locked: z.ZodDefault<z.ZodBoolean>;
|
|
90
|
+
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
heading: z.ZodString;
|
|
93
|
+
items: z.ZodArray<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
95
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
96
|
+
id: z.ZodString;
|
|
97
|
+
name: z.ZodString;
|
|
98
|
+
type: z.ZodOptional<z.ZodString>;
|
|
99
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
fk: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
102
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
indexed: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
105
|
+
note: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
107
|
+
code_refs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
108
|
+
path: z.ZodString;
|
|
109
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
export type DesignNode = z.infer<typeof DesignNodeSchema>;
|
|
113
|
+
export declare const EdgeStyleSchema: z.ZodEnum<{
|
|
114
|
+
solid: "solid";
|
|
115
|
+
dashed: "dashed";
|
|
116
|
+
}>;
|
|
117
|
+
export type EdgeStyle = z.infer<typeof EdgeStyleSchema>;
|
|
118
|
+
export declare const DesignEdgeSchema: z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
source: z.ZodString;
|
|
121
|
+
target: z.ZodString;
|
|
122
|
+
label: z.ZodOptional<z.ZodString>;
|
|
123
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
124
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
125
|
+
solid: "solid";
|
|
126
|
+
dashed: "dashed";
|
|
127
|
+
}>>;
|
|
128
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
source_cardinality: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
1: "1";
|
|
131
|
+
"0..1": "0..1";
|
|
132
|
+
"1..*": "1..*";
|
|
133
|
+
"0..*": "0..*";
|
|
134
|
+
}>>;
|
|
135
|
+
target_cardinality: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
1: "1";
|
|
137
|
+
"0..1": "0..1";
|
|
138
|
+
"1..*": "1..*";
|
|
139
|
+
"0..*": "0..*";
|
|
140
|
+
}>>;
|
|
141
|
+
relation_kind: z.ZodOptional<z.ZodEnum<{
|
|
142
|
+
association: "association";
|
|
143
|
+
identifying: "identifying";
|
|
144
|
+
subtype: "subtype";
|
|
145
|
+
}>>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
export type DesignEdge = z.infer<typeof DesignEdgeSchema>;
|
|
148
|
+
export declare const ViewDirectionSchema: z.ZodEnum<{
|
|
149
|
+
TB: "TB";
|
|
150
|
+
LR: "LR";
|
|
151
|
+
}>;
|
|
152
|
+
export type ViewDirection = z.infer<typeof ViewDirectionSchema>;
|
|
153
|
+
export declare const ActorRoleSchema: z.ZodEnum<{
|
|
154
|
+
agent: "agent";
|
|
155
|
+
human: "human";
|
|
156
|
+
}>;
|
|
157
|
+
export type ActorRole = z.infer<typeof ActorRoleSchema>;
|
|
158
|
+
export declare const DesignViewSchema: z.ZodObject<{
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
title: z.ZodString;
|
|
161
|
+
diagram_type: z.ZodDefault<z.ZodEnum<{
|
|
162
|
+
general: "general";
|
|
163
|
+
er: "er";
|
|
164
|
+
}>>;
|
|
165
|
+
direction: z.ZodDefault<z.ZodEnum<{
|
|
166
|
+
TB: "TB";
|
|
167
|
+
LR: "LR";
|
|
168
|
+
}>>;
|
|
169
|
+
created_by: z.ZodOptional<z.ZodEnum<{
|
|
170
|
+
agent: "agent";
|
|
171
|
+
human: "human";
|
|
172
|
+
}>>;
|
|
173
|
+
nodes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
entity_ref: z.ZodOptional<z.ZodString>;
|
|
176
|
+
kind: z.ZodString;
|
|
177
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
178
|
+
card: "card";
|
|
179
|
+
decision: "decision";
|
|
180
|
+
terminal: "terminal";
|
|
181
|
+
store: "store";
|
|
182
|
+
}>>;
|
|
183
|
+
title: z.ZodString;
|
|
184
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
185
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
186
|
+
draft: "draft";
|
|
187
|
+
needs_input: "needs_input";
|
|
188
|
+
approved: "approved";
|
|
189
|
+
implemented: "implemented";
|
|
190
|
+
drifted: "drifted";
|
|
191
|
+
}>>;
|
|
192
|
+
locked: z.ZodDefault<z.ZodBoolean>;
|
|
193
|
+
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
194
|
+
id: z.ZodString;
|
|
195
|
+
heading: z.ZodString;
|
|
196
|
+
items: z.ZodArray<z.ZodString>;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
198
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
199
|
+
id: z.ZodString;
|
|
200
|
+
name: z.ZodString;
|
|
201
|
+
type: z.ZodOptional<z.ZodString>;
|
|
202
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
fk: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
indexed: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
208
|
+
note: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>>>;
|
|
210
|
+
code_refs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
|
+
path: z.ZodString;
|
|
212
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>>>;
|
|
214
|
+
}, z.core.$strip>>>;
|
|
215
|
+
edges: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
216
|
+
id: z.ZodString;
|
|
217
|
+
source: z.ZodString;
|
|
218
|
+
target: z.ZodString;
|
|
219
|
+
label: z.ZodOptional<z.ZodString>;
|
|
220
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
222
|
+
solid: "solid";
|
|
223
|
+
dashed: "dashed";
|
|
224
|
+
}>>;
|
|
225
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
+
source_cardinality: z.ZodOptional<z.ZodEnum<{
|
|
227
|
+
1: "1";
|
|
228
|
+
"0..1": "0..1";
|
|
229
|
+
"1..*": "1..*";
|
|
230
|
+
"0..*": "0..*";
|
|
231
|
+
}>>;
|
|
232
|
+
target_cardinality: z.ZodOptional<z.ZodEnum<{
|
|
233
|
+
1: "1";
|
|
234
|
+
"0..1": "0..1";
|
|
235
|
+
"1..*": "1..*";
|
|
236
|
+
"0..*": "0..*";
|
|
237
|
+
}>>;
|
|
238
|
+
relation_kind: z.ZodOptional<z.ZodEnum<{
|
|
239
|
+
association: "association";
|
|
240
|
+
identifying: "identifying";
|
|
241
|
+
subtype: "subtype";
|
|
242
|
+
}>>;
|
|
243
|
+
}, z.core.$strip>>>;
|
|
244
|
+
}, z.core.$strip>;
|
|
245
|
+
export type DesignView = z.infer<typeof DesignViewSchema>;
|
|
246
|
+
export declare const WorkspaceTabSchema: z.ZodObject<{
|
|
247
|
+
view_id: z.ZodString;
|
|
248
|
+
title: z.ZodString;
|
|
249
|
+
diagram_type: z.ZodOptional<z.ZodEnum<{
|
|
250
|
+
general: "general";
|
|
251
|
+
er: "er";
|
|
252
|
+
}>>;
|
|
253
|
+
description: z.ZodOptional<z.ZodString>;
|
|
254
|
+
order: z.ZodNumber;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export type WorkspaceTab = z.infer<typeof WorkspaceTabSchema>;
|
|
257
|
+
export declare const ViewRequestSchema: z.ZodObject<{
|
|
258
|
+
id: z.ZodString;
|
|
259
|
+
title: z.ZodString;
|
|
260
|
+
prompt: z.ZodString;
|
|
261
|
+
created_at: z.ZodString;
|
|
262
|
+
}, z.core.$strip>;
|
|
263
|
+
export type ViewRequest = z.infer<typeof ViewRequestSchema>;
|
|
264
|
+
export declare const WorkspaceFileSchema: z.ZodObject<{
|
|
265
|
+
version: z.ZodLiteral<1>;
|
|
266
|
+
project_name: z.ZodString;
|
|
267
|
+
tabs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
268
|
+
view_id: z.ZodString;
|
|
269
|
+
title: z.ZodString;
|
|
270
|
+
diagram_type: z.ZodOptional<z.ZodEnum<{
|
|
271
|
+
general: "general";
|
|
272
|
+
er: "er";
|
|
273
|
+
}>>;
|
|
274
|
+
description: z.ZodOptional<z.ZodString>;
|
|
275
|
+
order: z.ZodNumber;
|
|
276
|
+
}, z.core.$strip>>>;
|
|
277
|
+
view_requests: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
278
|
+
id: z.ZodString;
|
|
279
|
+
title: z.ZodString;
|
|
280
|
+
prompt: z.ZodString;
|
|
281
|
+
created_at: z.ZodString;
|
|
282
|
+
}, z.core.$strip>>>;
|
|
283
|
+
}, z.core.$strip>;
|
|
284
|
+
export type WorkspaceFile = z.infer<typeof WorkspaceFileSchema>;
|
|
285
|
+
export declare const ThreadMessageSchema: z.ZodObject<{
|
|
286
|
+
id: z.ZodString;
|
|
287
|
+
author: z.ZodEnum<{
|
|
288
|
+
agent: "agent";
|
|
289
|
+
human: "human";
|
|
290
|
+
}>;
|
|
291
|
+
body: z.ZodString;
|
|
292
|
+
created_at: z.ZodString;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
|
+
export type ThreadMessage = z.infer<typeof ThreadMessageSchema>;
|
|
295
|
+
export declare const ThreadTargetTypeSchema: z.ZodEnum<{
|
|
296
|
+
node: "node";
|
|
297
|
+
edge: "edge";
|
|
298
|
+
workspace: "workspace";
|
|
299
|
+
view: "view";
|
|
300
|
+
}>;
|
|
301
|
+
export type ThreadTargetType = z.infer<typeof ThreadTargetTypeSchema>;
|
|
302
|
+
export declare const ThreadKindSchema: z.ZodEnum<{
|
|
303
|
+
decision: "decision";
|
|
304
|
+
question: "question";
|
|
305
|
+
change_request: "change_request";
|
|
306
|
+
drift_alert: "drift_alert";
|
|
307
|
+
}>;
|
|
308
|
+
export type ThreadKind = z.infer<typeof ThreadKindSchema>;
|
|
309
|
+
export declare const ThreadStatusSchema: z.ZodEnum<{
|
|
310
|
+
open: "open";
|
|
311
|
+
resolved: "resolved";
|
|
312
|
+
}>;
|
|
313
|
+
export type ThreadStatus = z.infer<typeof ThreadStatusSchema>;
|
|
314
|
+
export declare const DesignThreadSchema: z.ZodObject<{
|
|
315
|
+
id: z.ZodString;
|
|
316
|
+
target_type: z.ZodEnum<{
|
|
317
|
+
node: "node";
|
|
318
|
+
edge: "edge";
|
|
319
|
+
workspace: "workspace";
|
|
320
|
+
view: "view";
|
|
321
|
+
}>;
|
|
322
|
+
view_id: z.ZodOptional<z.ZodString>;
|
|
323
|
+
target_id: z.ZodOptional<z.ZodString>;
|
|
324
|
+
entity_ref: z.ZodOptional<z.ZodString>;
|
|
325
|
+
kind: z.ZodEnum<{
|
|
326
|
+
decision: "decision";
|
|
327
|
+
question: "question";
|
|
328
|
+
change_request: "change_request";
|
|
329
|
+
drift_alert: "drift_alert";
|
|
330
|
+
}>;
|
|
331
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
332
|
+
open: "open";
|
|
333
|
+
resolved: "resolved";
|
|
334
|
+
}>>;
|
|
335
|
+
resolution_summary: z.ZodOptional<z.ZodString>;
|
|
336
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
337
|
+
id: z.ZodString;
|
|
338
|
+
author: z.ZodEnum<{
|
|
339
|
+
agent: "agent";
|
|
340
|
+
human: "human";
|
|
341
|
+
}>;
|
|
342
|
+
body: z.ZodString;
|
|
343
|
+
created_at: z.ZodString;
|
|
344
|
+
}, z.core.$strip>>;
|
|
345
|
+
}, z.core.$strip>;
|
|
346
|
+
export type DesignThread = z.infer<typeof DesignThreadSchema>;
|
|
347
|
+
export declare const EdgeRouteSchema: z.ZodObject<{
|
|
348
|
+
source_handle: z.ZodOptional<z.ZodEnum<{
|
|
349
|
+
top: "top";
|
|
350
|
+
right: "right";
|
|
351
|
+
bottom: "bottom";
|
|
352
|
+
left: "left";
|
|
353
|
+
}>>;
|
|
354
|
+
target_handle: z.ZodOptional<z.ZodEnum<{
|
|
355
|
+
top: "top";
|
|
356
|
+
right: "right";
|
|
357
|
+
bottom: "bottom";
|
|
358
|
+
left: "left";
|
|
359
|
+
}>>;
|
|
360
|
+
waypoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
361
|
+
x: z.ZodNumber;
|
|
362
|
+
y: z.ZodNumber;
|
|
363
|
+
}, z.core.$strip>>>;
|
|
364
|
+
}, z.core.$strip>;
|
|
365
|
+
export type EdgeRoute = z.infer<typeof EdgeRouteSchema>;
|
|
366
|
+
export declare const ViewLayoutSchema: z.ZodObject<{
|
|
367
|
+
positions: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
368
|
+
x: z.ZodNumber;
|
|
369
|
+
y: z.ZodNumber;
|
|
370
|
+
}, z.core.$strip>>>;
|
|
371
|
+
edge_routes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
372
|
+
source_handle: z.ZodOptional<z.ZodEnum<{
|
|
373
|
+
top: "top";
|
|
374
|
+
right: "right";
|
|
375
|
+
bottom: "bottom";
|
|
376
|
+
left: "left";
|
|
377
|
+
}>>;
|
|
378
|
+
target_handle: z.ZodOptional<z.ZodEnum<{
|
|
379
|
+
top: "top";
|
|
380
|
+
right: "right";
|
|
381
|
+
bottom: "bottom";
|
|
382
|
+
left: "left";
|
|
383
|
+
}>>;
|
|
384
|
+
waypoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
385
|
+
x: z.ZodNumber;
|
|
386
|
+
y: z.ZodNumber;
|
|
387
|
+
}, z.core.$strip>>>;
|
|
388
|
+
}, z.core.$strip>>>;
|
|
389
|
+
viewport: z.ZodOptional<z.ZodObject<{
|
|
390
|
+
x: z.ZodNumber;
|
|
391
|
+
y: z.ZodNumber;
|
|
392
|
+
zoom: z.ZodNumber;
|
|
393
|
+
}, z.core.$strip>>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
export type ViewLayout = z.infer<typeof ViewLayoutSchema>;
|
|
396
|
+
export declare const SectionPatchOpSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
397
|
+
op: z.ZodLiteral<"add">;
|
|
398
|
+
section: z.ZodObject<{
|
|
399
|
+
id: z.ZodString;
|
|
400
|
+
heading: z.ZodString;
|
|
401
|
+
items: z.ZodArray<z.ZodString>;
|
|
402
|
+
}, z.core.$strip>;
|
|
403
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
op: z.ZodLiteral<"update">;
|
|
406
|
+
id: z.ZodString;
|
|
407
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
408
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
|
+
add_items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
410
|
+
remove_items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
411
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
412
|
+
op: z.ZodLiteral<"remove">;
|
|
413
|
+
id: z.ZodString;
|
|
414
|
+
}, z.core.$strip>], "op">;
|
|
415
|
+
export type SectionPatchOp = z.infer<typeof SectionPatchOpSchema>;
|
|
416
|
+
export declare const NodeUpdatePatchSchema: z.ZodObject<{
|
|
417
|
+
id: z.ZodString;
|
|
418
|
+
entity_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
419
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
420
|
+
shape: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
421
|
+
card: "card";
|
|
422
|
+
decision: "decision";
|
|
423
|
+
terminal: "terminal";
|
|
424
|
+
store: "store";
|
|
425
|
+
}>>>;
|
|
426
|
+
title: z.ZodOptional<z.ZodString>;
|
|
427
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
429
|
+
draft: "draft";
|
|
430
|
+
needs_input: "needs_input";
|
|
431
|
+
approved: "approved";
|
|
432
|
+
implemented: "implemented";
|
|
433
|
+
drifted: "drifted";
|
|
434
|
+
}>>;
|
|
435
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
436
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
437
|
+
id: z.ZodString;
|
|
438
|
+
heading: z.ZodString;
|
|
439
|
+
items: z.ZodArray<z.ZodString>;
|
|
440
|
+
}, z.core.$strip>>>;
|
|
441
|
+
section_ops: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
442
|
+
op: z.ZodLiteral<"add">;
|
|
443
|
+
section: z.ZodObject<{
|
|
444
|
+
id: z.ZodString;
|
|
445
|
+
heading: z.ZodString;
|
|
446
|
+
items: z.ZodArray<z.ZodString>;
|
|
447
|
+
}, z.core.$strip>;
|
|
448
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
450
|
+
op: z.ZodLiteral<"update">;
|
|
451
|
+
id: z.ZodString;
|
|
452
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
453
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
454
|
+
add_items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
455
|
+
remove_items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
457
|
+
op: z.ZodLiteral<"remove">;
|
|
458
|
+
id: z.ZodString;
|
|
459
|
+
}, z.core.$strip>], "op">>>;
|
|
460
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
461
|
+
id: z.ZodString;
|
|
462
|
+
name: z.ZodString;
|
|
463
|
+
type: z.ZodOptional<z.ZodString>;
|
|
464
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
465
|
+
fk: z.ZodOptional<z.ZodBoolean>;
|
|
466
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
467
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
468
|
+
indexed: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
470
|
+
note: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>>>;
|
|
472
|
+
code_refs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
473
|
+
path: z.ZodString;
|
|
474
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
475
|
+
}, z.core.$strip>>>>;
|
|
476
|
+
}, z.core.$strip>;
|
|
477
|
+
export type NodeUpdatePatch = z.infer<typeof NodeUpdatePatchSchema>;
|
|
478
|
+
export declare const EdgeUpdatePatchSchema: z.ZodObject<{
|
|
479
|
+
id: z.ZodString;
|
|
480
|
+
source: z.ZodOptional<z.ZodString>;
|
|
481
|
+
target: z.ZodOptional<z.ZodString>;
|
|
482
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
483
|
+
step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
484
|
+
style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
485
|
+
solid: "solid";
|
|
486
|
+
dashed: "dashed";
|
|
487
|
+
}>>>;
|
|
488
|
+
locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
489
|
+
source_cardinality: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
490
|
+
1: "1";
|
|
491
|
+
"0..1": "0..1";
|
|
492
|
+
"1..*": "1..*";
|
|
493
|
+
"0..*": "0..*";
|
|
494
|
+
}>>>;
|
|
495
|
+
target_cardinality: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
496
|
+
1: "1";
|
|
497
|
+
"0..1": "0..1";
|
|
498
|
+
"1..*": "1..*";
|
|
499
|
+
"0..*": "0..*";
|
|
500
|
+
}>>>;
|
|
501
|
+
relation_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
502
|
+
association: "association";
|
|
503
|
+
identifying: "identifying";
|
|
504
|
+
subtype: "subtype";
|
|
505
|
+
}>>>;
|
|
506
|
+
}, z.core.$strip>;
|
|
507
|
+
export type EdgeUpdatePatch = z.infer<typeof EdgeUpdatePatchSchema>;
|
|
508
|
+
export declare const ViewPatchSchema: z.ZodObject<{
|
|
509
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
510
|
+
title: z.ZodOptional<z.ZodString>;
|
|
511
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
512
|
+
TB: "TB";
|
|
513
|
+
LR: "LR";
|
|
514
|
+
}>>;
|
|
515
|
+
diagram_type: z.ZodOptional<z.ZodEnum<{
|
|
516
|
+
general: "general";
|
|
517
|
+
er: "er";
|
|
518
|
+
}>>;
|
|
519
|
+
}, z.core.$strip>>;
|
|
520
|
+
add_nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
521
|
+
id: z.ZodString;
|
|
522
|
+
entity_ref: z.ZodOptional<z.ZodString>;
|
|
523
|
+
kind: z.ZodString;
|
|
524
|
+
shape: z.ZodOptional<z.ZodEnum<{
|
|
525
|
+
card: "card";
|
|
526
|
+
decision: "decision";
|
|
527
|
+
terminal: "terminal";
|
|
528
|
+
store: "store";
|
|
529
|
+
}>>;
|
|
530
|
+
title: z.ZodString;
|
|
531
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
532
|
+
status: z.ZodDefault<z.ZodEnum<{
|
|
533
|
+
draft: "draft";
|
|
534
|
+
needs_input: "needs_input";
|
|
535
|
+
approved: "approved";
|
|
536
|
+
implemented: "implemented";
|
|
537
|
+
drifted: "drifted";
|
|
538
|
+
}>>;
|
|
539
|
+
locked: z.ZodDefault<z.ZodBoolean>;
|
|
540
|
+
sections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
541
|
+
id: z.ZodString;
|
|
542
|
+
heading: z.ZodString;
|
|
543
|
+
items: z.ZodArray<z.ZodString>;
|
|
544
|
+
}, z.core.$strip>>>;
|
|
545
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
546
|
+
id: z.ZodString;
|
|
547
|
+
name: z.ZodString;
|
|
548
|
+
type: z.ZodOptional<z.ZodString>;
|
|
549
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
550
|
+
fk: z.ZodOptional<z.ZodBoolean>;
|
|
551
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
553
|
+
indexed: z.ZodOptional<z.ZodBoolean>;
|
|
554
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
555
|
+
note: z.ZodOptional<z.ZodString>;
|
|
556
|
+
}, z.core.$strip>>>;
|
|
557
|
+
code_refs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
558
|
+
path: z.ZodString;
|
|
559
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
560
|
+
}, z.core.$strip>>>;
|
|
561
|
+
}, z.core.$strip>>>;
|
|
562
|
+
update_nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
563
|
+
id: z.ZodString;
|
|
564
|
+
entity_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
565
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
566
|
+
shape: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
567
|
+
card: "card";
|
|
568
|
+
decision: "decision";
|
|
569
|
+
terminal: "terminal";
|
|
570
|
+
store: "store";
|
|
571
|
+
}>>>;
|
|
572
|
+
title: z.ZodOptional<z.ZodString>;
|
|
573
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
574
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
575
|
+
draft: "draft";
|
|
576
|
+
needs_input: "needs_input";
|
|
577
|
+
approved: "approved";
|
|
578
|
+
implemented: "implemented";
|
|
579
|
+
drifted: "drifted";
|
|
580
|
+
}>>;
|
|
581
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
583
|
+
id: z.ZodString;
|
|
584
|
+
heading: z.ZodString;
|
|
585
|
+
items: z.ZodArray<z.ZodString>;
|
|
586
|
+
}, z.core.$strip>>>;
|
|
587
|
+
section_ops: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
588
|
+
op: z.ZodLiteral<"add">;
|
|
589
|
+
section: z.ZodObject<{
|
|
590
|
+
id: z.ZodString;
|
|
591
|
+
heading: z.ZodString;
|
|
592
|
+
items: z.ZodArray<z.ZodString>;
|
|
593
|
+
}, z.core.$strip>;
|
|
594
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
595
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
596
|
+
op: z.ZodLiteral<"update">;
|
|
597
|
+
id: z.ZodString;
|
|
598
|
+
heading: z.ZodOptional<z.ZodString>;
|
|
599
|
+
items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
600
|
+
add_items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
601
|
+
remove_items: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
602
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
603
|
+
op: z.ZodLiteral<"remove">;
|
|
604
|
+
id: z.ZodString;
|
|
605
|
+
}, z.core.$strip>], "op">>>;
|
|
606
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
607
|
+
id: z.ZodString;
|
|
608
|
+
name: z.ZodString;
|
|
609
|
+
type: z.ZodOptional<z.ZodString>;
|
|
610
|
+
pk: z.ZodOptional<z.ZodBoolean>;
|
|
611
|
+
fk: z.ZodOptional<z.ZodBoolean>;
|
|
612
|
+
unique: z.ZodOptional<z.ZodBoolean>;
|
|
613
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
614
|
+
indexed: z.ZodOptional<z.ZodBoolean>;
|
|
615
|
+
default_value: z.ZodOptional<z.ZodString>;
|
|
616
|
+
note: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, z.core.$strip>>>;
|
|
618
|
+
code_refs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
619
|
+
path: z.ZodString;
|
|
620
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
621
|
+
}, z.core.$strip>>>>;
|
|
622
|
+
}, z.core.$strip>>>;
|
|
623
|
+
remove_nodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
add_edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
625
|
+
id: z.ZodString;
|
|
626
|
+
source: z.ZodString;
|
|
627
|
+
target: z.ZodString;
|
|
628
|
+
label: z.ZodOptional<z.ZodString>;
|
|
629
|
+
step: z.ZodOptional<z.ZodNumber>;
|
|
630
|
+
style: z.ZodOptional<z.ZodEnum<{
|
|
631
|
+
solid: "solid";
|
|
632
|
+
dashed: "dashed";
|
|
633
|
+
}>>;
|
|
634
|
+
locked: z.ZodOptional<z.ZodBoolean>;
|
|
635
|
+
source_cardinality: z.ZodOptional<z.ZodEnum<{
|
|
636
|
+
1: "1";
|
|
637
|
+
"0..1": "0..1";
|
|
638
|
+
"1..*": "1..*";
|
|
639
|
+
"0..*": "0..*";
|
|
640
|
+
}>>;
|
|
641
|
+
target_cardinality: z.ZodOptional<z.ZodEnum<{
|
|
642
|
+
1: "1";
|
|
643
|
+
"0..1": "0..1";
|
|
644
|
+
"1..*": "1..*";
|
|
645
|
+
"0..*": "0..*";
|
|
646
|
+
}>>;
|
|
647
|
+
relation_kind: z.ZodOptional<z.ZodEnum<{
|
|
648
|
+
association: "association";
|
|
649
|
+
identifying: "identifying";
|
|
650
|
+
subtype: "subtype";
|
|
651
|
+
}>>;
|
|
652
|
+
}, z.core.$strip>>>;
|
|
653
|
+
update_edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
654
|
+
id: z.ZodString;
|
|
655
|
+
source: z.ZodOptional<z.ZodString>;
|
|
656
|
+
target: z.ZodOptional<z.ZodString>;
|
|
657
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
658
|
+
step: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
659
|
+
style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
660
|
+
solid: "solid";
|
|
661
|
+
dashed: "dashed";
|
|
662
|
+
}>>>;
|
|
663
|
+
locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
664
|
+
source_cardinality: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
665
|
+
1: "1";
|
|
666
|
+
"0..1": "0..1";
|
|
667
|
+
"1..*": "1..*";
|
|
668
|
+
"0..*": "0..*";
|
|
669
|
+
}>>>;
|
|
670
|
+
target_cardinality: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
671
|
+
1: "1";
|
|
672
|
+
"0..1": "0..1";
|
|
673
|
+
"1..*": "1..*";
|
|
674
|
+
"0..*": "0..*";
|
|
675
|
+
}>>>;
|
|
676
|
+
relation_kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
677
|
+
association: "association";
|
|
678
|
+
identifying: "identifying";
|
|
679
|
+
subtype: "subtype";
|
|
680
|
+
}>>>;
|
|
681
|
+
}, z.core.$strip>>>;
|
|
682
|
+
remove_edges: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
683
|
+
}, z.core.$strip>;
|
|
684
|
+
export type ViewPatch = z.infer<typeof ViewPatchSchema>;
|
|
685
|
+
export declare const CodeRefUpdateSchema: z.ZodObject<{
|
|
686
|
+
node_id: z.ZodString;
|
|
687
|
+
status: z.ZodEnum<{
|
|
688
|
+
implemented: "implemented";
|
|
689
|
+
drifted: "drifted";
|
|
690
|
+
}>;
|
|
691
|
+
code_refs: z.ZodArray<z.ZodObject<{
|
|
692
|
+
path: z.ZodString;
|
|
693
|
+
symbol: z.ZodOptional<z.ZodString>;
|
|
694
|
+
}, z.core.$strip>>;
|
|
695
|
+
}, z.core.$strip>;
|
|
696
|
+
export type CodeRefUpdate = z.infer<typeof CodeRefUpdateSchema>;
|
|
697
|
+
export declare const ThemeModeSchema: z.ZodEnum<{
|
|
698
|
+
dark: "dark";
|
|
699
|
+
light: "light";
|
|
700
|
+
}>;
|
|
701
|
+
export type ThemeMode = z.infer<typeof ThemeModeSchema>;
|
|
702
|
+
export declare const BgPatternSchema: z.ZodEnum<{
|
|
703
|
+
dots: "dots";
|
|
704
|
+
grid: "grid";
|
|
705
|
+
}>;
|
|
706
|
+
export type BgPattern = z.infer<typeof BgPatternSchema>;
|
|
707
|
+
export declare const ScrollModeSchema: z.ZodEnum<{
|
|
708
|
+
zoom: "zoom";
|
|
709
|
+
pan: "pan";
|
|
710
|
+
}>;
|
|
711
|
+
export type ScrollMode = z.infer<typeof ScrollModeSchema>;
|
|
712
|
+
export declare const UserPreferencesSchema: z.ZodObject<{
|
|
713
|
+
theme: z.ZodOptional<z.ZodEnum<{
|
|
714
|
+
dark: "dark";
|
|
715
|
+
light: "light";
|
|
716
|
+
}>>;
|
|
717
|
+
bg_pattern: z.ZodOptional<z.ZodEnum<{
|
|
718
|
+
dots: "dots";
|
|
719
|
+
grid: "grid";
|
|
720
|
+
}>>;
|
|
721
|
+
scroll_mode: z.ZodOptional<z.ZodEnum<{
|
|
722
|
+
zoom: "zoom";
|
|
723
|
+
pan: "pan";
|
|
724
|
+
}>>;
|
|
725
|
+
}, z.core.$strip>;
|
|
726
|
+
export type UserPreferences = z.infer<typeof UserPreferencesSchema>;
|
|
727
|
+
//# sourceMappingURL=schemas.d.ts.map
|