@revealui/contracts 1.0.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 +22 -0
- package/README.md +160 -0
- package/dist/a2a/index.d.ts +383 -0
- package/dist/a2a/index.d.ts.map +1 -0
- package/dist/a2a/index.js +276 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/actions/action-validator.d.ts +48 -0
- package/dist/actions/action-validator.d.ts.map +1 -0
- package/dist/actions/action-validator.js +288 -0
- package/dist/actions/action-validator.js.map +1 -0
- package/dist/actions/index.d.ts +7 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/index.js +7 -0
- package/dist/actions/index.js.map +1 -0
- package/dist/agents/index.d.ts +628 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +511 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/types.d.ts +22 -0
- package/dist/agents/types.d.ts.map +1 -0
- package/dist/agents/types.js +2 -0
- package/dist/agents/types.js.map +1 -0
- package/dist/api/auth.d.ts +60 -0
- package/dist/api/auth.d.ts.map +1 -0
- package/dist/api/auth.js +84 -0
- package/dist/api/auth.js.map +1 -0
- package/dist/api/chat.d.ts +45 -0
- package/dist/api/chat.d.ts.map +1 -0
- package/dist/api/chat.js +55 -0
- package/dist/api/chat.js.map +1 -0
- package/dist/api/gdpr.d.ts +39 -0
- package/dist/api/gdpr.d.ts.map +1 -0
- package/dist/api/gdpr.js +53 -0
- package/dist/api/gdpr.js.map +1 -0
- package/dist/cms/collection.d.ts +108 -0
- package/dist/cms/collection.d.ts.map +1 -0
- package/dist/cms/collection.js +144 -0
- package/dist/cms/collection.js.map +1 -0
- package/dist/cms/compat.d.ts +128 -0
- package/dist/cms/compat.d.ts.map +1 -0
- package/dist/cms/compat.js +141 -0
- package/dist/cms/compat.js.map +1 -0
- package/dist/cms/config-contract.d.ts +278 -0
- package/dist/cms/config-contract.d.ts.map +1 -0
- package/dist/cms/config-contract.js +220 -0
- package/dist/cms/config-contract.js.map +1 -0
- package/dist/cms/config.d.ts +351 -0
- package/dist/cms/config.d.ts.map +1 -0
- package/dist/cms/config.js +50 -0
- package/dist/cms/config.js.map +1 -0
- package/dist/cms/errors.d.ts +122 -0
- package/dist/cms/errors.d.ts.map +1 -0
- package/dist/cms/errors.js +163 -0
- package/dist/cms/errors.js.map +1 -0
- package/dist/cms/extensibility.d.ts +211 -0
- package/dist/cms/extensibility.d.ts.map +1 -0
- package/dist/cms/extensibility.js +313 -0
- package/dist/cms/extensibility.js.map +1 -0
- package/dist/cms/field.d.ts +69 -0
- package/dist/cms/field.d.ts.map +1 -0
- package/dist/cms/field.js +94 -0
- package/dist/cms/field.js.map +1 -0
- package/dist/cms/functions.d.ts +466 -0
- package/dist/cms/functions.d.ts.map +1 -0
- package/dist/cms/functions.js +19 -0
- package/dist/cms/functions.js.map +1 -0
- package/dist/cms/global.d.ts +45 -0
- package/dist/cms/global.d.ts.map +1 -0
- package/dist/cms/global.js +62 -0
- package/dist/cms/global.js.map +1 -0
- package/dist/cms/index.d.ts +23 -0
- package/dist/cms/index.d.ts.map +1 -0
- package/dist/cms/index.js +42 -0
- package/dist/cms/index.js.map +1 -0
- package/dist/cms/structure.d.ts +1601 -0
- package/dist/cms/structure.d.ts.map +1 -0
- package/dist/cms/structure.js +757 -0
- package/dist/cms/structure.js.map +1 -0
- package/dist/content/index.d.ts +1542 -0
- package/dist/content/index.d.ts.map +1 -0
- package/dist/content/index.js +522 -0
- package/dist/content/index.js.map +1 -0
- package/dist/database/bridge.d.ts +177 -0
- package/dist/database/bridge.d.ts.map +1 -0
- package/dist/database/bridge.js +139 -0
- package/dist/database/bridge.js.map +1 -0
- package/dist/database/index.d.ts +8 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +9 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/type-bridge.d.ts +178 -0
- package/dist/database/type-bridge.d.ts.map +1 -0
- package/dist/database/type-bridge.js +154 -0
- package/dist/database/type-bridge.js.map +1 -0
- package/dist/entities/agent-context.d.ts +280 -0
- package/dist/entities/agent-context.d.ts.map +1 -0
- package/dist/entities/agent-context.js +390 -0
- package/dist/entities/agent-context.js.map +1 -0
- package/dist/entities/agent-memory.d.ts +661 -0
- package/dist/entities/agent-memory.d.ts.map +1 -0
- package/dist/entities/agent-memory.js +544 -0
- package/dist/entities/agent-memory.js.map +1 -0
- package/dist/entities/board.d.ts +95 -0
- package/dist/entities/board.d.ts.map +1 -0
- package/dist/entities/board.js +99 -0
- package/dist/entities/board.js.map +1 -0
- package/dist/entities/code-provenance.d.ts +270 -0
- package/dist/entities/code-provenance.d.ts.map +1 -0
- package/dist/entities/code-provenance.js +339 -0
- package/dist/entities/code-provenance.js.map +1 -0
- package/dist/entities/index.d.ts +22 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +22 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/media.d.ts +485 -0
- package/dist/entities/media.d.ts.map +1 -0
- package/dist/entities/media.js +606 -0
- package/dist/entities/media.js.map +1 -0
- package/dist/entities/page-revision.d.ts +390 -0
- package/dist/entities/page-revision.d.ts.map +1 -0
- package/dist/entities/page-revision.js +406 -0
- package/dist/entities/page-revision.js.map +1 -0
- package/dist/entities/page.d.ts +2349 -0
- package/dist/entities/page.d.ts.map +1 -0
- package/dist/entities/page.js +377 -0
- package/dist/entities/page.js.map +1 -0
- package/dist/entities/post.d.ts +619 -0
- package/dist/entities/post.d.ts.map +1 -0
- package/dist/entities/post.js +555 -0
- package/dist/entities/post.js.map +1 -0
- package/dist/entities/price.d.ts +772 -0
- package/dist/entities/price.d.ts.map +1 -0
- package/dist/entities/price.js +308 -0
- package/dist/entities/price.js.map +1 -0
- package/dist/entities/product.d.ts +753 -0
- package/dist/entities/product.d.ts.map +1 -0
- package/dist/entities/product.js +307 -0
- package/dist/entities/product.js.map +1 -0
- package/dist/entities/session.d.ts +222 -0
- package/dist/entities/session.d.ts.map +1 -0
- package/dist/entities/session.js +253 -0
- package/dist/entities/session.js.map +1 -0
- package/dist/entities/site.d.ts +387 -0
- package/dist/entities/site.d.ts.map +1 -0
- package/dist/entities/site.js +348 -0
- package/dist/entities/site.js.map +1 -0
- package/dist/entities/ticket-comment.d.ts +49 -0
- package/dist/entities/ticket-comment.d.ts.map +1 -0
- package/dist/entities/ticket-comment.js +58 -0
- package/dist/entities/ticket-comment.js.map +1 -0
- package/dist/entities/ticket-label.d.ts +64 -0
- package/dist/entities/ticket-label.d.ts.map +1 -0
- package/dist/entities/ticket-label.js +77 -0
- package/dist/entities/ticket-label.js.map +1 -0
- package/dist/entities/ticket.d.ts +204 -0
- package/dist/entities/ticket.d.ts.map +1 -0
- package/dist/entities/ticket.js +205 -0
- package/dist/entities/ticket.js.map +1 -0
- package/dist/entities/user.d.ts +336 -0
- package/dist/entities/user.d.ts.map +1 -0
- package/dist/entities/user.js +255 -0
- package/dist/entities/user.js.map +1 -0
- package/dist/foundation/contract.d.ts +221 -0
- package/dist/foundation/contract.d.ts.map +1 -0
- package/dist/foundation/contract.js +133 -0
- package/dist/foundation/contract.js.map +1 -0
- package/dist/foundation/index.d.ts +7 -0
- package/dist/foundation/index.d.ts.map +1 -0
- package/dist/foundation/index.js +7 -0
- package/dist/foundation/index.js.map +1 -0
- package/dist/generated/contracts.d.ts +1514 -0
- package/dist/generated/contracts.d.ts.map +1 -0
- package/dist/generated/contracts.js +959 -0
- package/dist/generated/contracts.js.map +1 -0
- package/dist/generated/database.d.ts +48 -0
- package/dist/generated/database.d.ts.map +1 -0
- package/dist/generated/database.js +17 -0
- package/dist/generated/database.js.map +1 -0
- package/dist/generated/zod-schemas.d.ts +14793 -0
- package/dist/generated/zod-schemas.d.ts.map +1 -0
- package/dist/generated/zod-schemas.js +547 -0
- package/dist/generated/zod-schemas.js.map +1 -0
- package/dist/index.d.ts +50 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +81 -0
- package/dist/index.js.map +1 -0
- package/dist/representation/index.d.ts +304 -0
- package/dist/representation/index.d.ts.map +1 -0
- package/dist/representation/index.js +280 -0
- package/dist/representation/index.js.map +1 -0
- package/package.json +117 -0
|
@@ -0,0 +1,1514 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Auto-generated Contract wrappers
|
|
3
|
+
*
|
|
4
|
+
* DO NOT EDIT - Regenerate with: pnpm generate:all
|
|
5
|
+
* Generated: 2026-03-03T19:09:53.254Z
|
|
6
|
+
*
|
|
7
|
+
* This file provides Contract wrappers for all database tables.
|
|
8
|
+
* Contracts combine TypeScript types, Zod schemas, and runtime validation
|
|
9
|
+
* into a single unified interface.
|
|
10
|
+
*
|
|
11
|
+
* These base contracts can be extended in entity contracts to add
|
|
12
|
+
* business logic, computed fields, and custom validation rules.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Contract for agentActions row (Select)
|
|
16
|
+
* Database table: agent_actions
|
|
17
|
+
*/
|
|
18
|
+
export declare const AgentActionsRowContract: import("../index.js").Contract<{
|
|
19
|
+
id: string;
|
|
20
|
+
version: number;
|
|
21
|
+
conversationId: string | null;
|
|
22
|
+
agentId: string;
|
|
23
|
+
tool: string;
|
|
24
|
+
params: import("drizzle-zod").Json;
|
|
25
|
+
result: import("drizzle-zod").Json;
|
|
26
|
+
status: string;
|
|
27
|
+
error: string | null;
|
|
28
|
+
startedAt: Date;
|
|
29
|
+
completedAt: Date | null;
|
|
30
|
+
durationMs: number | null;
|
|
31
|
+
reasoning: string | null;
|
|
32
|
+
confidence: number | null;
|
|
33
|
+
}>;
|
|
34
|
+
/**
|
|
35
|
+
* Contract for agentActions insert
|
|
36
|
+
* Database table: agent_actions
|
|
37
|
+
*/
|
|
38
|
+
export declare const AgentActionsInsertContract: import("../index.js").Contract<{
|
|
39
|
+
id: string;
|
|
40
|
+
agentId: string;
|
|
41
|
+
tool: string;
|
|
42
|
+
version?: number | undefined;
|
|
43
|
+
conversationId?: string | null | undefined;
|
|
44
|
+
params?: import("drizzle-zod").Json | undefined;
|
|
45
|
+
result?: import("drizzle-zod").Json | undefined;
|
|
46
|
+
status?: string | undefined;
|
|
47
|
+
error?: string | null | undefined;
|
|
48
|
+
startedAt?: Date | undefined;
|
|
49
|
+
completedAt?: Date | null | undefined;
|
|
50
|
+
durationMs?: number | null | undefined;
|
|
51
|
+
reasoning?: string | null | undefined;
|
|
52
|
+
confidence?: number | null | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
/**
|
|
55
|
+
* Contract for agentContexts row (Select)
|
|
56
|
+
* Database table: agent_contexts
|
|
57
|
+
*/
|
|
58
|
+
export declare const AgentContextsRowContract: import("../index.js").Contract<{
|
|
59
|
+
id: string;
|
|
60
|
+
version: number;
|
|
61
|
+
sessionId: string;
|
|
62
|
+
agentId: string;
|
|
63
|
+
context: import("drizzle-zod").Json;
|
|
64
|
+
priority: number | null;
|
|
65
|
+
embedding: {
|
|
66
|
+
[x: number]: number;
|
|
67
|
+
length: number;
|
|
68
|
+
toString: unknown;
|
|
69
|
+
toLocaleString: unknown;
|
|
70
|
+
pop: unknown;
|
|
71
|
+
push: unknown;
|
|
72
|
+
concat: unknown;
|
|
73
|
+
join: unknown;
|
|
74
|
+
reverse: unknown;
|
|
75
|
+
shift: unknown;
|
|
76
|
+
slice: unknown;
|
|
77
|
+
sort: unknown;
|
|
78
|
+
splice: unknown;
|
|
79
|
+
unshift: unknown;
|
|
80
|
+
indexOf: unknown;
|
|
81
|
+
lastIndexOf: unknown;
|
|
82
|
+
every: unknown;
|
|
83
|
+
some: unknown;
|
|
84
|
+
forEach: unknown;
|
|
85
|
+
map: unknown;
|
|
86
|
+
filter: unknown;
|
|
87
|
+
reduce: unknown;
|
|
88
|
+
reduceRight: unknown;
|
|
89
|
+
find: unknown;
|
|
90
|
+
findIndex: unknown;
|
|
91
|
+
fill: unknown;
|
|
92
|
+
copyWithin: unknown;
|
|
93
|
+
entries: unknown;
|
|
94
|
+
keys: unknown;
|
|
95
|
+
values: unknown;
|
|
96
|
+
includes: unknown;
|
|
97
|
+
flatMap: unknown;
|
|
98
|
+
flat: unknown;
|
|
99
|
+
at: unknown;
|
|
100
|
+
[Symbol.iterator]: unknown;
|
|
101
|
+
[Symbol.unscopables]: unknown;
|
|
102
|
+
} | null;
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
updatedAt: Date;
|
|
105
|
+
}>;
|
|
106
|
+
/**
|
|
107
|
+
* Contract for agentContexts insert
|
|
108
|
+
* Database table: agent_contexts
|
|
109
|
+
*/
|
|
110
|
+
export declare const AgentContextsInsertContract: import("../index.js").Contract<{
|
|
111
|
+
id: string;
|
|
112
|
+
sessionId: string;
|
|
113
|
+
agentId: string;
|
|
114
|
+
version?: number | undefined;
|
|
115
|
+
context?: import("drizzle-zod").Json | undefined;
|
|
116
|
+
priority?: number | null | undefined;
|
|
117
|
+
embedding?: {
|
|
118
|
+
[x: number]: number;
|
|
119
|
+
length: number;
|
|
120
|
+
toString: unknown;
|
|
121
|
+
toLocaleString: unknown;
|
|
122
|
+
pop: unknown;
|
|
123
|
+
push: unknown;
|
|
124
|
+
concat: unknown;
|
|
125
|
+
join: unknown;
|
|
126
|
+
reverse: unknown;
|
|
127
|
+
shift: unknown;
|
|
128
|
+
slice: unknown;
|
|
129
|
+
sort: unknown;
|
|
130
|
+
splice: unknown;
|
|
131
|
+
unshift: unknown;
|
|
132
|
+
indexOf: unknown;
|
|
133
|
+
lastIndexOf: unknown;
|
|
134
|
+
every: unknown;
|
|
135
|
+
some: unknown;
|
|
136
|
+
forEach: unknown;
|
|
137
|
+
map: unknown;
|
|
138
|
+
filter: unknown;
|
|
139
|
+
reduce: unknown;
|
|
140
|
+
reduceRight: unknown;
|
|
141
|
+
find: unknown;
|
|
142
|
+
findIndex: unknown;
|
|
143
|
+
fill: unknown;
|
|
144
|
+
copyWithin: unknown;
|
|
145
|
+
entries: unknown;
|
|
146
|
+
keys: unknown;
|
|
147
|
+
values: unknown;
|
|
148
|
+
includes: unknown;
|
|
149
|
+
flatMap: unknown;
|
|
150
|
+
flat: unknown;
|
|
151
|
+
at: unknown;
|
|
152
|
+
[Symbol.iterator]: unknown;
|
|
153
|
+
[Symbol.unscopables]: unknown;
|
|
154
|
+
} | null | undefined;
|
|
155
|
+
createdAt?: Date | undefined;
|
|
156
|
+
updatedAt?: Date | undefined;
|
|
157
|
+
}>;
|
|
158
|
+
/**
|
|
159
|
+
* Contract for agentMemories row (Select)
|
|
160
|
+
* Database table: agent_memories
|
|
161
|
+
*/
|
|
162
|
+
export declare const AgentMemoriesRowContract: import("../index.js").Contract<{
|
|
163
|
+
id: string;
|
|
164
|
+
version: number;
|
|
165
|
+
content: string;
|
|
166
|
+
type: string;
|
|
167
|
+
source: import("drizzle-zod").Json;
|
|
168
|
+
embedding: {
|
|
169
|
+
[x: number]: number;
|
|
170
|
+
length: number;
|
|
171
|
+
toString: unknown;
|
|
172
|
+
toLocaleString: unknown;
|
|
173
|
+
pop: unknown;
|
|
174
|
+
push: unknown;
|
|
175
|
+
concat: unknown;
|
|
176
|
+
join: unknown;
|
|
177
|
+
reverse: unknown;
|
|
178
|
+
shift: unknown;
|
|
179
|
+
slice: unknown;
|
|
180
|
+
sort: unknown;
|
|
181
|
+
splice: unknown;
|
|
182
|
+
unshift: unknown;
|
|
183
|
+
indexOf: unknown;
|
|
184
|
+
lastIndexOf: unknown;
|
|
185
|
+
every: unknown;
|
|
186
|
+
some: unknown;
|
|
187
|
+
forEach: unknown;
|
|
188
|
+
map: unknown;
|
|
189
|
+
filter: unknown;
|
|
190
|
+
reduce: unknown;
|
|
191
|
+
reduceRight: unknown;
|
|
192
|
+
find: unknown;
|
|
193
|
+
findIndex: unknown;
|
|
194
|
+
fill: unknown;
|
|
195
|
+
copyWithin: unknown;
|
|
196
|
+
entries: unknown;
|
|
197
|
+
keys: unknown;
|
|
198
|
+
values: unknown;
|
|
199
|
+
includes: unknown;
|
|
200
|
+
flatMap: unknown;
|
|
201
|
+
flat: unknown;
|
|
202
|
+
at: unknown;
|
|
203
|
+
[Symbol.iterator]: unknown;
|
|
204
|
+
[Symbol.unscopables]: unknown;
|
|
205
|
+
} | null;
|
|
206
|
+
embeddingMetadata: import("drizzle-zod").Json;
|
|
207
|
+
metadata: import("drizzle-zod").Json;
|
|
208
|
+
accessCount: number | null;
|
|
209
|
+
accessedAt: Date | null;
|
|
210
|
+
verified: boolean | null;
|
|
211
|
+
verifiedBy: string | null;
|
|
212
|
+
verifiedAt: Date | null;
|
|
213
|
+
siteId: string | null;
|
|
214
|
+
agentId: string | null;
|
|
215
|
+
createdAt: Date;
|
|
216
|
+
expiresAt: Date | null;
|
|
217
|
+
}>;
|
|
218
|
+
/**
|
|
219
|
+
* Contract for agentMemories insert
|
|
220
|
+
* Database table: agent_memories
|
|
221
|
+
*/
|
|
222
|
+
export declare const AgentMemoriesInsertContract: import("../index.js").Contract<{
|
|
223
|
+
id: string;
|
|
224
|
+
content: string;
|
|
225
|
+
type: string;
|
|
226
|
+
source: import("drizzle-zod").Json;
|
|
227
|
+
version?: number | undefined;
|
|
228
|
+
embedding?: {
|
|
229
|
+
[x: number]: number;
|
|
230
|
+
length: number;
|
|
231
|
+
toString: unknown;
|
|
232
|
+
toLocaleString: unknown;
|
|
233
|
+
pop: unknown;
|
|
234
|
+
push: unknown;
|
|
235
|
+
concat: unknown;
|
|
236
|
+
join: unknown;
|
|
237
|
+
reverse: unknown;
|
|
238
|
+
shift: unknown;
|
|
239
|
+
slice: unknown;
|
|
240
|
+
sort: unknown;
|
|
241
|
+
splice: unknown;
|
|
242
|
+
unshift: unknown;
|
|
243
|
+
indexOf: unknown;
|
|
244
|
+
lastIndexOf: unknown;
|
|
245
|
+
every: unknown;
|
|
246
|
+
some: unknown;
|
|
247
|
+
forEach: unknown;
|
|
248
|
+
map: unknown;
|
|
249
|
+
filter: unknown;
|
|
250
|
+
reduce: unknown;
|
|
251
|
+
reduceRight: unknown;
|
|
252
|
+
find: unknown;
|
|
253
|
+
findIndex: unknown;
|
|
254
|
+
fill: unknown;
|
|
255
|
+
copyWithin: unknown;
|
|
256
|
+
entries: unknown;
|
|
257
|
+
keys: unknown;
|
|
258
|
+
values: unknown;
|
|
259
|
+
includes: unknown;
|
|
260
|
+
flatMap: unknown;
|
|
261
|
+
flat: unknown;
|
|
262
|
+
at: unknown;
|
|
263
|
+
[Symbol.iterator]: unknown;
|
|
264
|
+
[Symbol.unscopables]: unknown;
|
|
265
|
+
} | null | undefined;
|
|
266
|
+
embeddingMetadata?: import("drizzle-zod").Json | undefined;
|
|
267
|
+
metadata?: import("drizzle-zod").Json | undefined;
|
|
268
|
+
accessCount?: number | null | undefined;
|
|
269
|
+
accessedAt?: Date | null | undefined;
|
|
270
|
+
verified?: boolean | null | undefined;
|
|
271
|
+
verifiedBy?: string | null | undefined;
|
|
272
|
+
verifiedAt?: Date | null | undefined;
|
|
273
|
+
siteId?: string | null | undefined;
|
|
274
|
+
agentId?: string | null | undefined;
|
|
275
|
+
createdAt?: Date | undefined;
|
|
276
|
+
expiresAt?: Date | null | undefined;
|
|
277
|
+
}>;
|
|
278
|
+
/**
|
|
279
|
+
* Contract for appLogs row (Select)
|
|
280
|
+
* Database table: app_logs
|
|
281
|
+
*/
|
|
282
|
+
export declare const AppLogsRowContract: import("../index.js").Contract<{
|
|
283
|
+
id: string;
|
|
284
|
+
timestamp: Date;
|
|
285
|
+
level: string;
|
|
286
|
+
message: string;
|
|
287
|
+
app: string;
|
|
288
|
+
environment: string;
|
|
289
|
+
requestId: string | null;
|
|
290
|
+
userId: string | null;
|
|
291
|
+
data: import("drizzle-zod").Json;
|
|
292
|
+
}>;
|
|
293
|
+
/**
|
|
294
|
+
* Contract for appLogs insert
|
|
295
|
+
* Database table: app_logs
|
|
296
|
+
*/
|
|
297
|
+
export declare const AppLogsInsertContract: import("../index.js").Contract<{
|
|
298
|
+
level: string;
|
|
299
|
+
message: string;
|
|
300
|
+
app: string;
|
|
301
|
+
id?: string | undefined;
|
|
302
|
+
timestamp?: Date | undefined;
|
|
303
|
+
environment?: string | undefined;
|
|
304
|
+
requestId?: string | null | undefined;
|
|
305
|
+
userId?: string | null | undefined;
|
|
306
|
+
data?: import("drizzle-zod").Json | undefined;
|
|
307
|
+
}>;
|
|
308
|
+
/**
|
|
309
|
+
* Contract for auditLog row (Select)
|
|
310
|
+
* Database table: audit_log
|
|
311
|
+
*/
|
|
312
|
+
export declare const AuditLogRowContract: import("../index.js").Contract<{
|
|
313
|
+
id: string;
|
|
314
|
+
timestamp: Date;
|
|
315
|
+
eventType: string;
|
|
316
|
+
severity: string;
|
|
317
|
+
agentId: string;
|
|
318
|
+
taskId: string | null;
|
|
319
|
+
sessionId: string | null;
|
|
320
|
+
payload: import("drizzle-zod").Json;
|
|
321
|
+
policyViolations: string[];
|
|
322
|
+
}>;
|
|
323
|
+
/**
|
|
324
|
+
* Contract for auditLog insert
|
|
325
|
+
* Database table: audit_log
|
|
326
|
+
*/
|
|
327
|
+
export declare const AuditLogInsertContract: import("../index.js").Contract<{
|
|
328
|
+
id: string;
|
|
329
|
+
eventType: string;
|
|
330
|
+
agentId: string;
|
|
331
|
+
timestamp?: Date | undefined;
|
|
332
|
+
severity?: string | undefined;
|
|
333
|
+
taskId?: string | null | undefined;
|
|
334
|
+
sessionId?: string | null | undefined;
|
|
335
|
+
payload?: import("drizzle-zod").Json | undefined;
|
|
336
|
+
policyViolations?: string[] | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
/**
|
|
339
|
+
* Contract for boardColumns row (Select)
|
|
340
|
+
* Database table: board_columns
|
|
341
|
+
*/
|
|
342
|
+
export declare const BoardColumnsRowContract: import("../index.js").Contract<{
|
|
343
|
+
id: string;
|
|
344
|
+
boardId: string;
|
|
345
|
+
name: string;
|
|
346
|
+
slug: string;
|
|
347
|
+
position: number;
|
|
348
|
+
wipLimit: number | null;
|
|
349
|
+
color: string | null;
|
|
350
|
+
isDefault: boolean;
|
|
351
|
+
createdAt: Date;
|
|
352
|
+
updatedAt: Date;
|
|
353
|
+
}>;
|
|
354
|
+
/**
|
|
355
|
+
* Contract for boardColumns insert
|
|
356
|
+
* Database table: board_columns
|
|
357
|
+
*/
|
|
358
|
+
export declare const BoardColumnsInsertContract: import("../index.js").Contract<{
|
|
359
|
+
id: string;
|
|
360
|
+
boardId: string;
|
|
361
|
+
name: string;
|
|
362
|
+
slug: string;
|
|
363
|
+
position?: number | undefined;
|
|
364
|
+
wipLimit?: number | null | undefined;
|
|
365
|
+
color?: string | null | undefined;
|
|
366
|
+
isDefault?: boolean | undefined;
|
|
367
|
+
createdAt?: Date | undefined;
|
|
368
|
+
updatedAt?: Date | undefined;
|
|
369
|
+
}>;
|
|
370
|
+
/**
|
|
371
|
+
* Contract for boards row (Select)
|
|
372
|
+
* Database table: boards
|
|
373
|
+
*/
|
|
374
|
+
export declare const BoardsRowContract: import("../index.js").Contract<{
|
|
375
|
+
id: string;
|
|
376
|
+
schemaVersion: string;
|
|
377
|
+
tenantId: string | null;
|
|
378
|
+
name: string;
|
|
379
|
+
slug: string;
|
|
380
|
+
description: string | null;
|
|
381
|
+
ownerId: string | null;
|
|
382
|
+
isDefault: boolean;
|
|
383
|
+
settings: import("drizzle-zod").Json;
|
|
384
|
+
createdAt: Date;
|
|
385
|
+
updatedAt: Date;
|
|
386
|
+
}>;
|
|
387
|
+
/**
|
|
388
|
+
* Contract for boards insert
|
|
389
|
+
* Database table: boards
|
|
390
|
+
*/
|
|
391
|
+
export declare const BoardsInsertContract: import("../index.js").Contract<{
|
|
392
|
+
id: string;
|
|
393
|
+
name: string;
|
|
394
|
+
slug: string;
|
|
395
|
+
schemaVersion?: string | undefined;
|
|
396
|
+
tenantId?: string | null | undefined;
|
|
397
|
+
description?: string | null | undefined;
|
|
398
|
+
ownerId?: string | null | undefined;
|
|
399
|
+
isDefault?: boolean | undefined;
|
|
400
|
+
settings?: import("drizzle-zod").Json | undefined;
|
|
401
|
+
createdAt?: Date | undefined;
|
|
402
|
+
updatedAt?: Date | undefined;
|
|
403
|
+
}>;
|
|
404
|
+
/**
|
|
405
|
+
* Contract for codeProvenance row (Select)
|
|
406
|
+
* Database table: code_provenance
|
|
407
|
+
*/
|
|
408
|
+
export declare const CodeProvenanceRowContract: import("../index.js").Contract<{
|
|
409
|
+
id: string;
|
|
410
|
+
schemaVersion: string;
|
|
411
|
+
filePath: string;
|
|
412
|
+
functionName: string | null;
|
|
413
|
+
lineStart: number | null;
|
|
414
|
+
lineEnd: number | null;
|
|
415
|
+
authorType: string;
|
|
416
|
+
aiModel: string | null;
|
|
417
|
+
aiSessionId: string | null;
|
|
418
|
+
gitCommitHash: string | null;
|
|
419
|
+
gitAuthor: string | null;
|
|
420
|
+
confidence: number;
|
|
421
|
+
reviewStatus: string;
|
|
422
|
+
reviewedBy: string | null;
|
|
423
|
+
reviewedAt: Date | null;
|
|
424
|
+
linesOfCode: number;
|
|
425
|
+
metadata: import("drizzle-zod").Json;
|
|
426
|
+
createdAt: Date;
|
|
427
|
+
updatedAt: Date;
|
|
428
|
+
}>;
|
|
429
|
+
/**
|
|
430
|
+
* Contract for codeProvenance insert
|
|
431
|
+
* Database table: code_provenance
|
|
432
|
+
*/
|
|
433
|
+
export declare const CodeProvenanceInsertContract: import("../index.js").Contract<{
|
|
434
|
+
id: string;
|
|
435
|
+
filePath: string;
|
|
436
|
+
authorType: string;
|
|
437
|
+
schemaVersion?: string | undefined;
|
|
438
|
+
functionName?: string | null | undefined;
|
|
439
|
+
lineStart?: number | null | undefined;
|
|
440
|
+
lineEnd?: number | null | undefined;
|
|
441
|
+
aiModel?: string | null | undefined;
|
|
442
|
+
aiSessionId?: string | null | undefined;
|
|
443
|
+
gitCommitHash?: string | null | undefined;
|
|
444
|
+
gitAuthor?: string | null | undefined;
|
|
445
|
+
confidence?: number | undefined;
|
|
446
|
+
reviewStatus?: string | undefined;
|
|
447
|
+
reviewedBy?: string | null | undefined;
|
|
448
|
+
reviewedAt?: Date | null | undefined;
|
|
449
|
+
linesOfCode?: number | undefined;
|
|
450
|
+
metadata?: import("drizzle-zod").Json | undefined;
|
|
451
|
+
createdAt?: Date | undefined;
|
|
452
|
+
updatedAt?: Date | undefined;
|
|
453
|
+
}>;
|
|
454
|
+
/**
|
|
455
|
+
* Contract for codeReviews row (Select)
|
|
456
|
+
* Database table: code_reviews
|
|
457
|
+
*/
|
|
458
|
+
export declare const CodeReviewsRowContract: import("../index.js").Contract<{
|
|
459
|
+
id: string;
|
|
460
|
+
provenanceId: string;
|
|
461
|
+
reviewerId: string | null;
|
|
462
|
+
reviewType: string;
|
|
463
|
+
status: string;
|
|
464
|
+
comment: string | null;
|
|
465
|
+
metadata: import("drizzle-zod").Json;
|
|
466
|
+
createdAt: Date;
|
|
467
|
+
}>;
|
|
468
|
+
/**
|
|
469
|
+
* Contract for codeReviews insert
|
|
470
|
+
* Database table: code_reviews
|
|
471
|
+
*/
|
|
472
|
+
export declare const CodeReviewsInsertContract: import("../index.js").Contract<{
|
|
473
|
+
id: string;
|
|
474
|
+
provenanceId: string;
|
|
475
|
+
reviewType: string;
|
|
476
|
+
status: string;
|
|
477
|
+
reviewerId?: string | null | undefined;
|
|
478
|
+
comment?: string | null | undefined;
|
|
479
|
+
metadata?: import("drizzle-zod").Json | undefined;
|
|
480
|
+
createdAt?: Date | undefined;
|
|
481
|
+
}>;
|
|
482
|
+
/**
|
|
483
|
+
* Contract for collabEdits row (Select)
|
|
484
|
+
* Database table: collab_edits
|
|
485
|
+
*/
|
|
486
|
+
export declare const CollabEditsRowContract: import("../index.js").Contract<{
|
|
487
|
+
id: string;
|
|
488
|
+
documentId: string;
|
|
489
|
+
clientType: string;
|
|
490
|
+
clientId: string;
|
|
491
|
+
clientName: string;
|
|
492
|
+
agentModel: string | null;
|
|
493
|
+
updateData: Buffer<ArrayBufferLike>;
|
|
494
|
+
updateSize: number;
|
|
495
|
+
timestamp: Date;
|
|
496
|
+
}>;
|
|
497
|
+
/**
|
|
498
|
+
* Contract for collabEdits insert
|
|
499
|
+
* Database table: collab_edits
|
|
500
|
+
*/
|
|
501
|
+
export declare const CollabEditsInsertContract: import("../index.js").Contract<{
|
|
502
|
+
documentId: string;
|
|
503
|
+
clientType: string;
|
|
504
|
+
clientId: string;
|
|
505
|
+
clientName: string;
|
|
506
|
+
updateData: Buffer<ArrayBufferLike>;
|
|
507
|
+
updateSize: number;
|
|
508
|
+
id?: string | undefined;
|
|
509
|
+
agentModel?: string | null | undefined;
|
|
510
|
+
timestamp?: Date | undefined;
|
|
511
|
+
}>;
|
|
512
|
+
/**
|
|
513
|
+
* Contract for conversations row (Select)
|
|
514
|
+
* Database table: conversations
|
|
515
|
+
*/
|
|
516
|
+
export declare const ConversationsRowContract: import("../index.js").Contract<{
|
|
517
|
+
id: string;
|
|
518
|
+
userId: string;
|
|
519
|
+
agentId: string;
|
|
520
|
+
title: string | null;
|
|
521
|
+
status: string;
|
|
522
|
+
deviceId: string | null;
|
|
523
|
+
lastSyncedAt: Date | null;
|
|
524
|
+
version: number;
|
|
525
|
+
createdAt: Date;
|
|
526
|
+
updatedAt: Date;
|
|
527
|
+
}>;
|
|
528
|
+
/**
|
|
529
|
+
* Contract for conversations insert
|
|
530
|
+
* Database table: conversations
|
|
531
|
+
*/
|
|
532
|
+
export declare const ConversationsInsertContract: import("../index.js").Contract<{
|
|
533
|
+
id: string;
|
|
534
|
+
userId: string;
|
|
535
|
+
agentId: string;
|
|
536
|
+
title?: string | null | undefined;
|
|
537
|
+
status?: string | undefined;
|
|
538
|
+
deviceId?: string | null | undefined;
|
|
539
|
+
lastSyncedAt?: Date | null | undefined;
|
|
540
|
+
version?: number | undefined;
|
|
541
|
+
createdAt?: Date | undefined;
|
|
542
|
+
updatedAt?: Date | undefined;
|
|
543
|
+
}>;
|
|
544
|
+
/**
|
|
545
|
+
* Contract for crdtOperations row (Select)
|
|
546
|
+
* Database table: crdt_operations
|
|
547
|
+
*/
|
|
548
|
+
export declare const CrdtOperationsRowContract: import("../index.js").Contract<{
|
|
549
|
+
id: string;
|
|
550
|
+
crdtId: string;
|
|
551
|
+
crdtType: string;
|
|
552
|
+
operationType: string;
|
|
553
|
+
payload: import("drizzle-zod").Json;
|
|
554
|
+
nodeId: string;
|
|
555
|
+
timestamp: number;
|
|
556
|
+
createdAt: Date;
|
|
557
|
+
}>;
|
|
558
|
+
/**
|
|
559
|
+
* Contract for crdtOperations insert
|
|
560
|
+
* Database table: crdt_operations
|
|
561
|
+
*/
|
|
562
|
+
export declare const CrdtOperationsInsertContract: import("../index.js").Contract<{
|
|
563
|
+
id: string;
|
|
564
|
+
crdtId: string;
|
|
565
|
+
crdtType: string;
|
|
566
|
+
operationType: string;
|
|
567
|
+
payload: import("drizzle-zod").Json;
|
|
568
|
+
nodeId: string;
|
|
569
|
+
timestamp: number;
|
|
570
|
+
createdAt?: Date | undefined;
|
|
571
|
+
}>;
|
|
572
|
+
/**
|
|
573
|
+
* Contract for errorEvents row (Select)
|
|
574
|
+
* Database table: error_events
|
|
575
|
+
*/
|
|
576
|
+
export declare const ErrorEventsRowContract: import("../index.js").Contract<{
|
|
577
|
+
id: string;
|
|
578
|
+
timestamp: Date;
|
|
579
|
+
level: string;
|
|
580
|
+
message: string;
|
|
581
|
+
stack: string | null;
|
|
582
|
+
app: string;
|
|
583
|
+
context: string | null;
|
|
584
|
+
environment: string;
|
|
585
|
+
url: string | null;
|
|
586
|
+
userId: string | null;
|
|
587
|
+
requestId: string | null;
|
|
588
|
+
metadata: import("drizzle-zod").Json;
|
|
589
|
+
}>;
|
|
590
|
+
/**
|
|
591
|
+
* Contract for errorEvents insert
|
|
592
|
+
* Database table: error_events
|
|
593
|
+
*/
|
|
594
|
+
export declare const ErrorEventsInsertContract: import("../index.js").Contract<{
|
|
595
|
+
message: string;
|
|
596
|
+
app: string;
|
|
597
|
+
id?: string | undefined;
|
|
598
|
+
timestamp?: Date | undefined;
|
|
599
|
+
level?: string | undefined;
|
|
600
|
+
stack?: string | null | undefined;
|
|
601
|
+
context?: string | null | undefined;
|
|
602
|
+
environment?: string | undefined;
|
|
603
|
+
url?: string | null | undefined;
|
|
604
|
+
userId?: string | null | undefined;
|
|
605
|
+
requestId?: string | null | undefined;
|
|
606
|
+
metadata?: import("drizzle-zod").Json | undefined;
|
|
607
|
+
}>;
|
|
608
|
+
/**
|
|
609
|
+
* Contract for failedAttempts row (Select)
|
|
610
|
+
* Database table: failed_attempts
|
|
611
|
+
*/
|
|
612
|
+
export declare const FailedAttemptsRowContract: import("../index.js").Contract<{
|
|
613
|
+
email: string;
|
|
614
|
+
count: number;
|
|
615
|
+
lockUntil: Date | null;
|
|
616
|
+
windowStart: Date;
|
|
617
|
+
createdAt: Date;
|
|
618
|
+
updatedAt: Date;
|
|
619
|
+
}>;
|
|
620
|
+
/**
|
|
621
|
+
* Contract for failedAttempts insert
|
|
622
|
+
* Database table: failed_attempts
|
|
623
|
+
*/
|
|
624
|
+
export declare const FailedAttemptsInsertContract: import("../index.js").Contract<{
|
|
625
|
+
email: string;
|
|
626
|
+
windowStart: Date;
|
|
627
|
+
count?: number | undefined;
|
|
628
|
+
lockUntil?: Date | null | undefined;
|
|
629
|
+
createdAt?: Date | undefined;
|
|
630
|
+
updatedAt?: Date | undefined;
|
|
631
|
+
}>;
|
|
632
|
+
/**
|
|
633
|
+
* Contract for globalFooter row (Select)
|
|
634
|
+
* Database table: global_footer
|
|
635
|
+
*/
|
|
636
|
+
export declare const GlobalFooterRowContract: import("../index.js").Contract<{
|
|
637
|
+
id: string;
|
|
638
|
+
schemaVersion: string;
|
|
639
|
+
columns: {
|
|
640
|
+
label: string;
|
|
641
|
+
links: Array<{
|
|
642
|
+
label: string;
|
|
643
|
+
url: string;
|
|
644
|
+
newTab?: boolean;
|
|
645
|
+
}>;
|
|
646
|
+
}[] | null;
|
|
647
|
+
copyright: string | null;
|
|
648
|
+
socialLinks: {
|
|
649
|
+
platform: string;
|
|
650
|
+
url: string;
|
|
651
|
+
}[] | null;
|
|
652
|
+
createdAt: Date;
|
|
653
|
+
updatedAt: Date;
|
|
654
|
+
}>;
|
|
655
|
+
/**
|
|
656
|
+
* Contract for globalFooter insert
|
|
657
|
+
* Database table: global_footer
|
|
658
|
+
*/
|
|
659
|
+
export declare const GlobalFooterInsertContract: import("../index.js").Contract<{
|
|
660
|
+
id?: string | undefined;
|
|
661
|
+
schemaVersion?: string | undefined;
|
|
662
|
+
columns?: {
|
|
663
|
+
label: string;
|
|
664
|
+
links: Array<{
|
|
665
|
+
label: string;
|
|
666
|
+
url: string;
|
|
667
|
+
newTab?: boolean;
|
|
668
|
+
}>;
|
|
669
|
+
}[] | null | undefined;
|
|
670
|
+
copyright?: string | null | undefined;
|
|
671
|
+
socialLinks?: {
|
|
672
|
+
platform: string;
|
|
673
|
+
url: string;
|
|
674
|
+
}[] | null | undefined;
|
|
675
|
+
createdAt?: Date | undefined;
|
|
676
|
+
updatedAt?: Date | undefined;
|
|
677
|
+
}>;
|
|
678
|
+
/**
|
|
679
|
+
* Contract for globalHeader row (Select)
|
|
680
|
+
* Database table: global_header
|
|
681
|
+
*/
|
|
682
|
+
export declare const GlobalHeaderRowContract: import("../index.js").Contract<{
|
|
683
|
+
id: string;
|
|
684
|
+
schemaVersion: string;
|
|
685
|
+
navItems: {
|
|
686
|
+
label: string;
|
|
687
|
+
url: string;
|
|
688
|
+
newTab?: boolean;
|
|
689
|
+
children?: Array<{
|
|
690
|
+
label: string;
|
|
691
|
+
url: string;
|
|
692
|
+
newTab?: boolean;
|
|
693
|
+
}>;
|
|
694
|
+
}[] | null;
|
|
695
|
+
logoId: string | null;
|
|
696
|
+
createdAt: Date;
|
|
697
|
+
updatedAt: Date;
|
|
698
|
+
}>;
|
|
699
|
+
/**
|
|
700
|
+
* Contract for globalHeader insert
|
|
701
|
+
* Database table: global_header
|
|
702
|
+
*/
|
|
703
|
+
export declare const GlobalHeaderInsertContract: import("../index.js").Contract<{
|
|
704
|
+
id?: string | undefined;
|
|
705
|
+
schemaVersion?: string | undefined;
|
|
706
|
+
navItems?: {
|
|
707
|
+
label: string;
|
|
708
|
+
url: string;
|
|
709
|
+
newTab?: boolean;
|
|
710
|
+
children?: Array<{
|
|
711
|
+
label: string;
|
|
712
|
+
url: string;
|
|
713
|
+
newTab?: boolean;
|
|
714
|
+
}>;
|
|
715
|
+
}[] | null | undefined;
|
|
716
|
+
logoId?: string | null | undefined;
|
|
717
|
+
createdAt?: Date | undefined;
|
|
718
|
+
updatedAt?: Date | undefined;
|
|
719
|
+
}>;
|
|
720
|
+
/**
|
|
721
|
+
* Contract for globalSettings row (Select)
|
|
722
|
+
* Database table: global_settings
|
|
723
|
+
*/
|
|
724
|
+
export declare const GlobalSettingsRowContract: import("../index.js").Contract<{
|
|
725
|
+
id: string;
|
|
726
|
+
schemaVersion: string;
|
|
727
|
+
siteName: string | null;
|
|
728
|
+
siteDescription: string | null;
|
|
729
|
+
defaultMeta: import("drizzle-zod").Json;
|
|
730
|
+
contactEmail: string | null;
|
|
731
|
+
contactPhone: string | null;
|
|
732
|
+
socialProfiles: import("drizzle-zod").Json;
|
|
733
|
+
analyticsId: string | null;
|
|
734
|
+
features: import("drizzle-zod").Json;
|
|
735
|
+
createdAt: Date;
|
|
736
|
+
updatedAt: Date;
|
|
737
|
+
}>;
|
|
738
|
+
/**
|
|
739
|
+
* Contract for globalSettings insert
|
|
740
|
+
* Database table: global_settings
|
|
741
|
+
*/
|
|
742
|
+
export declare const GlobalSettingsInsertContract: import("../index.js").Contract<{
|
|
743
|
+
id?: string | undefined;
|
|
744
|
+
schemaVersion?: string | undefined;
|
|
745
|
+
siteName?: string | null | undefined;
|
|
746
|
+
siteDescription?: string | null | undefined;
|
|
747
|
+
defaultMeta?: import("drizzle-zod").Json | undefined;
|
|
748
|
+
contactEmail?: string | null | undefined;
|
|
749
|
+
contactPhone?: string | null | undefined;
|
|
750
|
+
socialProfiles?: import("drizzle-zod").Json | undefined;
|
|
751
|
+
analyticsId?: string | null | undefined;
|
|
752
|
+
features?: import("drizzle-zod").Json | undefined;
|
|
753
|
+
createdAt?: Date | undefined;
|
|
754
|
+
updatedAt?: Date | undefined;
|
|
755
|
+
}>;
|
|
756
|
+
/**
|
|
757
|
+
* Contract for licenses row (Select)
|
|
758
|
+
* Database table: licenses
|
|
759
|
+
*/
|
|
760
|
+
export declare const LicensesRowContract: import("../index.js").Contract<{
|
|
761
|
+
id: string;
|
|
762
|
+
userId: string;
|
|
763
|
+
licenseKey: string;
|
|
764
|
+
tier: string;
|
|
765
|
+
subscriptionId: string | null;
|
|
766
|
+
customerId: string;
|
|
767
|
+
status: string;
|
|
768
|
+
createdAt: Date;
|
|
769
|
+
updatedAt: Date;
|
|
770
|
+
expiresAt: Date | null;
|
|
771
|
+
}>;
|
|
772
|
+
/**
|
|
773
|
+
* Contract for licenses insert
|
|
774
|
+
* Database table: licenses
|
|
775
|
+
*/
|
|
776
|
+
export declare const LicensesInsertContract: import("../index.js").Contract<{
|
|
777
|
+
id: string;
|
|
778
|
+
userId: string;
|
|
779
|
+
licenseKey: string;
|
|
780
|
+
tier: string;
|
|
781
|
+
customerId: string;
|
|
782
|
+
subscriptionId?: string | null | undefined;
|
|
783
|
+
status?: string | undefined;
|
|
784
|
+
createdAt?: Date | undefined;
|
|
785
|
+
updatedAt?: Date | undefined;
|
|
786
|
+
expiresAt?: Date | null | undefined;
|
|
787
|
+
}>;
|
|
788
|
+
/**
|
|
789
|
+
* Contract for media row (Select)
|
|
790
|
+
* Database table: media
|
|
791
|
+
*/
|
|
792
|
+
export declare const MediaRowContract: import("../index.js").Contract<{
|
|
793
|
+
id: string;
|
|
794
|
+
schemaVersion: string;
|
|
795
|
+
filename: string;
|
|
796
|
+
mimeType: string;
|
|
797
|
+
filesize: number | null;
|
|
798
|
+
url: string;
|
|
799
|
+
alt: string | null;
|
|
800
|
+
width: number | null;
|
|
801
|
+
height: number | null;
|
|
802
|
+
focalPoint: import("drizzle-zod").Json;
|
|
803
|
+
sizes: import("drizzle-zod").Json;
|
|
804
|
+
uploadedBy: string | null;
|
|
805
|
+
createdAt: Date;
|
|
806
|
+
updatedAt: Date;
|
|
807
|
+
}>;
|
|
808
|
+
/**
|
|
809
|
+
* Contract for media insert
|
|
810
|
+
* Database table: media
|
|
811
|
+
*/
|
|
812
|
+
export declare const MediaInsertContract: import("../index.js").Contract<{
|
|
813
|
+
id: string;
|
|
814
|
+
filename: string;
|
|
815
|
+
mimeType: string;
|
|
816
|
+
url: string;
|
|
817
|
+
schemaVersion?: string | undefined;
|
|
818
|
+
filesize?: number | null | undefined;
|
|
819
|
+
alt?: string | null | undefined;
|
|
820
|
+
width?: number | null | undefined;
|
|
821
|
+
height?: number | null | undefined;
|
|
822
|
+
focalPoint?: import("drizzle-zod").Json | undefined;
|
|
823
|
+
sizes?: import("drizzle-zod").Json | undefined;
|
|
824
|
+
uploadedBy?: string | null | undefined;
|
|
825
|
+
createdAt?: Date | undefined;
|
|
826
|
+
updatedAt?: Date | undefined;
|
|
827
|
+
}>;
|
|
828
|
+
/**
|
|
829
|
+
* Contract for messages row (Select)
|
|
830
|
+
* Database table: messages
|
|
831
|
+
*/
|
|
832
|
+
export declare const MessagesRowContract: import("../index.js").Contract<{
|
|
833
|
+
id: string;
|
|
834
|
+
conversationId: string;
|
|
835
|
+
role: string;
|
|
836
|
+
content: string;
|
|
837
|
+
timestamp: Date;
|
|
838
|
+
}>;
|
|
839
|
+
/**
|
|
840
|
+
* Contract for messages insert
|
|
841
|
+
* Database table: messages
|
|
842
|
+
*/
|
|
843
|
+
export declare const MessagesInsertContract: import("../index.js").Contract<{
|
|
844
|
+
id: string;
|
|
845
|
+
conversationId: string;
|
|
846
|
+
role: string;
|
|
847
|
+
content: string;
|
|
848
|
+
timestamp?: Date | undefined;
|
|
849
|
+
}>;
|
|
850
|
+
/**
|
|
851
|
+
* Contract for nodeIdMappings row (Select)
|
|
852
|
+
* Database table: node_id_mappings
|
|
853
|
+
*/
|
|
854
|
+
export declare const NodeIdMappingsRowContract: import("../index.js").Contract<{
|
|
855
|
+
id: string;
|
|
856
|
+
entityType: string;
|
|
857
|
+
entityId: string;
|
|
858
|
+
nodeId: string;
|
|
859
|
+
createdAt: Date;
|
|
860
|
+
updatedAt: Date;
|
|
861
|
+
}>;
|
|
862
|
+
/**
|
|
863
|
+
* Contract for nodeIdMappings insert
|
|
864
|
+
* Database table: node_id_mappings
|
|
865
|
+
*/
|
|
866
|
+
export declare const NodeIdMappingsInsertContract: import("../index.js").Contract<{
|
|
867
|
+
id: string;
|
|
868
|
+
entityType: string;
|
|
869
|
+
entityId: string;
|
|
870
|
+
nodeId: string;
|
|
871
|
+
createdAt?: Date | undefined;
|
|
872
|
+
updatedAt?: Date | undefined;
|
|
873
|
+
}>;
|
|
874
|
+
/**
|
|
875
|
+
* Contract for pageRevisions row (Select)
|
|
876
|
+
* Database table: page_revisions
|
|
877
|
+
*/
|
|
878
|
+
export declare const PageRevisionsRowContract: import("../index.js").Contract<{
|
|
879
|
+
id: string;
|
|
880
|
+
pageId: string;
|
|
881
|
+
createdBy: string | null;
|
|
882
|
+
revisionNumber: number;
|
|
883
|
+
title: string;
|
|
884
|
+
blocks: unknown[] | null;
|
|
885
|
+
seo: import("drizzle-zod").Json;
|
|
886
|
+
changeDescription: string | null;
|
|
887
|
+
createdAt: Date;
|
|
888
|
+
}>;
|
|
889
|
+
/**
|
|
890
|
+
* Contract for pageRevisions insert
|
|
891
|
+
* Database table: page_revisions
|
|
892
|
+
*/
|
|
893
|
+
export declare const PageRevisionsInsertContract: import("../index.js").Contract<{
|
|
894
|
+
id: string;
|
|
895
|
+
pageId: string;
|
|
896
|
+
revisionNumber: number;
|
|
897
|
+
title: string;
|
|
898
|
+
createdBy?: string | null | undefined;
|
|
899
|
+
blocks?: unknown[] | null | undefined;
|
|
900
|
+
seo?: import("drizzle-zod").Json | undefined;
|
|
901
|
+
changeDescription?: string | null | undefined;
|
|
902
|
+
createdAt?: Date | undefined;
|
|
903
|
+
}>;
|
|
904
|
+
/**
|
|
905
|
+
* Contract for pages row (Select)
|
|
906
|
+
* Database table: pages
|
|
907
|
+
*/
|
|
908
|
+
export declare const PagesRowContract: import("../index.js").Contract<{
|
|
909
|
+
id: string;
|
|
910
|
+
schemaVersion: string;
|
|
911
|
+
siteId: string;
|
|
912
|
+
parentId: string | null;
|
|
913
|
+
templateId: string | null;
|
|
914
|
+
title: string;
|
|
915
|
+
slug: string;
|
|
916
|
+
path: string;
|
|
917
|
+
status: string;
|
|
918
|
+
blocks: unknown[] | null;
|
|
919
|
+
seo: import("drizzle-zod").Json;
|
|
920
|
+
blockCount: number | null;
|
|
921
|
+
wordCount: number | null;
|
|
922
|
+
lock: import("drizzle-zod").Json;
|
|
923
|
+
scheduledAt: Date | null;
|
|
924
|
+
createdAt: Date;
|
|
925
|
+
updatedAt: Date;
|
|
926
|
+
publishedAt: Date | null;
|
|
927
|
+
}>;
|
|
928
|
+
/**
|
|
929
|
+
* Contract for pages insert
|
|
930
|
+
* Database table: pages
|
|
931
|
+
*/
|
|
932
|
+
export declare const PagesInsertContract: import("../index.js").Contract<{
|
|
933
|
+
id: string;
|
|
934
|
+
siteId: string;
|
|
935
|
+
title: string;
|
|
936
|
+
slug: string;
|
|
937
|
+
path: string;
|
|
938
|
+
schemaVersion?: string | undefined;
|
|
939
|
+
parentId?: string | null | undefined;
|
|
940
|
+
templateId?: string | null | undefined;
|
|
941
|
+
status?: string | undefined;
|
|
942
|
+
blocks?: unknown[] | null | undefined;
|
|
943
|
+
seo?: import("drizzle-zod").Json | undefined;
|
|
944
|
+
blockCount?: number | null | undefined;
|
|
945
|
+
wordCount?: number | null | undefined;
|
|
946
|
+
lock?: import("drizzle-zod").Json | undefined;
|
|
947
|
+
scheduledAt?: Date | null | undefined;
|
|
948
|
+
createdAt?: Date | undefined;
|
|
949
|
+
updatedAt?: Date | undefined;
|
|
950
|
+
publishedAt?: Date | null | undefined;
|
|
951
|
+
}>;
|
|
952
|
+
/**
|
|
953
|
+
* Contract for passwordResetTokens row (Select)
|
|
954
|
+
* Database table: password_reset_tokens
|
|
955
|
+
*/
|
|
956
|
+
export declare const PasswordResetTokensRowContract: import("../index.js").Contract<{
|
|
957
|
+
id: string;
|
|
958
|
+
userId: string;
|
|
959
|
+
tokenHash: string;
|
|
960
|
+
tokenSalt: string;
|
|
961
|
+
expiresAt: Date;
|
|
962
|
+
usedAt: Date | null;
|
|
963
|
+
createdAt: Date;
|
|
964
|
+
}>;
|
|
965
|
+
/**
|
|
966
|
+
* Contract for passwordResetTokens insert
|
|
967
|
+
* Database table: password_reset_tokens
|
|
968
|
+
*/
|
|
969
|
+
export declare const PasswordResetTokensInsertContract: import("../index.js").Contract<{
|
|
970
|
+
id: string;
|
|
971
|
+
userId: string;
|
|
972
|
+
tokenHash: string;
|
|
973
|
+
expiresAt: Date;
|
|
974
|
+
tokenSalt?: string | undefined;
|
|
975
|
+
usedAt?: Date | null | undefined;
|
|
976
|
+
createdAt?: Date | undefined;
|
|
977
|
+
}>;
|
|
978
|
+
/**
|
|
979
|
+
* Contract for posts row (Select)
|
|
980
|
+
* Database table: posts
|
|
981
|
+
*/
|
|
982
|
+
export declare const PostsRowContract: import("../index.js").Contract<{
|
|
983
|
+
id: string;
|
|
984
|
+
schemaVersion: string;
|
|
985
|
+
title: string;
|
|
986
|
+
slug: string;
|
|
987
|
+
excerpt: string | null;
|
|
988
|
+
content: import("drizzle-zod").Json;
|
|
989
|
+
featuredImageId: string | null;
|
|
990
|
+
authorId: string | null;
|
|
991
|
+
status: string;
|
|
992
|
+
published: boolean | null;
|
|
993
|
+
meta: import("drizzle-zod").Json;
|
|
994
|
+
categories: string[] | null;
|
|
995
|
+
createdAt: Date;
|
|
996
|
+
updatedAt: Date;
|
|
997
|
+
publishedAt: Date | null;
|
|
998
|
+
}>;
|
|
999
|
+
/**
|
|
1000
|
+
* Contract for posts insert
|
|
1001
|
+
* Database table: posts
|
|
1002
|
+
*/
|
|
1003
|
+
export declare const PostsInsertContract: import("../index.js").Contract<{
|
|
1004
|
+
id: string;
|
|
1005
|
+
title: string;
|
|
1006
|
+
slug: string;
|
|
1007
|
+
schemaVersion?: string | undefined;
|
|
1008
|
+
excerpt?: string | null | undefined;
|
|
1009
|
+
content?: import("drizzle-zod").Json | undefined;
|
|
1010
|
+
featuredImageId?: string | null | undefined;
|
|
1011
|
+
authorId?: string | null | undefined;
|
|
1012
|
+
status?: string | undefined;
|
|
1013
|
+
published?: boolean | null | undefined;
|
|
1014
|
+
meta?: import("drizzle-zod").Json | undefined;
|
|
1015
|
+
categories?: string[] | null | undefined;
|
|
1016
|
+
createdAt?: Date | undefined;
|
|
1017
|
+
updatedAt?: Date | undefined;
|
|
1018
|
+
publishedAt?: Date | null | undefined;
|
|
1019
|
+
}>;
|
|
1020
|
+
/**
|
|
1021
|
+
* Contract for rateLimits row (Select)
|
|
1022
|
+
* Database table: rate_limits
|
|
1023
|
+
*/
|
|
1024
|
+
export declare const RateLimitsRowContract: import("../index.js").Contract<{
|
|
1025
|
+
key: string;
|
|
1026
|
+
value: string;
|
|
1027
|
+
resetAt: Date;
|
|
1028
|
+
createdAt: Date;
|
|
1029
|
+
updatedAt: Date;
|
|
1030
|
+
}>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Contract for rateLimits insert
|
|
1033
|
+
* Database table: rate_limits
|
|
1034
|
+
*/
|
|
1035
|
+
export declare const RateLimitsInsertContract: import("../index.js").Contract<{
|
|
1036
|
+
key: string;
|
|
1037
|
+
value: string;
|
|
1038
|
+
resetAt: Date;
|
|
1039
|
+
createdAt?: Date | undefined;
|
|
1040
|
+
updatedAt?: Date | undefined;
|
|
1041
|
+
}>;
|
|
1042
|
+
/**
|
|
1043
|
+
* Contract for registeredAgents row (Select)
|
|
1044
|
+
* Database table: registered_agents
|
|
1045
|
+
*/
|
|
1046
|
+
export declare const RegisteredAgentsRowContract: import("../index.js").Contract<{
|
|
1047
|
+
id: string;
|
|
1048
|
+
definition: Record<string, unknown>;
|
|
1049
|
+
createdAt: Date;
|
|
1050
|
+
updatedAt: Date;
|
|
1051
|
+
}>;
|
|
1052
|
+
/**
|
|
1053
|
+
* Contract for registeredAgents insert
|
|
1054
|
+
* Database table: registered_agents
|
|
1055
|
+
*/
|
|
1056
|
+
export declare const RegisteredAgentsInsertContract: import("../index.js").Contract<{
|
|
1057
|
+
id: string;
|
|
1058
|
+
definition: Record<string, unknown>;
|
|
1059
|
+
createdAt?: Date | undefined;
|
|
1060
|
+
updatedAt?: Date | undefined;
|
|
1061
|
+
}>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Contract for sessions row (Select)
|
|
1064
|
+
* Database table: sessions
|
|
1065
|
+
*/
|
|
1066
|
+
export declare const SessionsRowContract: import("../index.js").Contract<{
|
|
1067
|
+
id: string;
|
|
1068
|
+
schemaVersion: string;
|
|
1069
|
+
userId: string;
|
|
1070
|
+
tokenHash: string;
|
|
1071
|
+
userAgent: string | null;
|
|
1072
|
+
ipAddress: string | null;
|
|
1073
|
+
persistent: boolean | null;
|
|
1074
|
+
lastActivityAt: Date;
|
|
1075
|
+
createdAt: Date;
|
|
1076
|
+
expiresAt: Date;
|
|
1077
|
+
}>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Contract for sessions insert
|
|
1080
|
+
* Database table: sessions
|
|
1081
|
+
*/
|
|
1082
|
+
export declare const SessionsInsertContract: import("../index.js").Contract<{
|
|
1083
|
+
id: string;
|
|
1084
|
+
userId: string;
|
|
1085
|
+
tokenHash: string;
|
|
1086
|
+
expiresAt: Date;
|
|
1087
|
+
schemaVersion?: string | undefined;
|
|
1088
|
+
userAgent?: string | null | undefined;
|
|
1089
|
+
ipAddress?: string | null | undefined;
|
|
1090
|
+
persistent?: boolean | null | undefined;
|
|
1091
|
+
lastActivityAt?: Date | undefined;
|
|
1092
|
+
createdAt?: Date | undefined;
|
|
1093
|
+
}>;
|
|
1094
|
+
/**
|
|
1095
|
+
* Contract for siteCollaborators row (Select)
|
|
1096
|
+
* Database table: site_collaborators
|
|
1097
|
+
*/
|
|
1098
|
+
export declare const SiteCollaboratorsRowContract: import("../index.js").Contract<{
|
|
1099
|
+
id: string;
|
|
1100
|
+
siteId: string;
|
|
1101
|
+
userId: string;
|
|
1102
|
+
role: string;
|
|
1103
|
+
addedBy: string | null;
|
|
1104
|
+
addedAt: Date;
|
|
1105
|
+
}>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Contract for siteCollaborators insert
|
|
1108
|
+
* Database table: site_collaborators
|
|
1109
|
+
*/
|
|
1110
|
+
export declare const SiteCollaboratorsInsertContract: import("../index.js").Contract<{
|
|
1111
|
+
id: string;
|
|
1112
|
+
siteId: string;
|
|
1113
|
+
userId: string;
|
|
1114
|
+
role?: string | undefined;
|
|
1115
|
+
addedBy?: string | null | undefined;
|
|
1116
|
+
addedAt?: Date | undefined;
|
|
1117
|
+
}>;
|
|
1118
|
+
/**
|
|
1119
|
+
* Contract for sites row (Select)
|
|
1120
|
+
* Database table: sites
|
|
1121
|
+
*/
|
|
1122
|
+
export declare const SitesRowContract: import("../index.js").Contract<{
|
|
1123
|
+
id: string;
|
|
1124
|
+
schemaVersion: string;
|
|
1125
|
+
ownerId: string;
|
|
1126
|
+
name: string;
|
|
1127
|
+
slug: string;
|
|
1128
|
+
description: string | null;
|
|
1129
|
+
status: string;
|
|
1130
|
+
theme: import("drizzle-zod").Json;
|
|
1131
|
+
settings: import("drizzle-zod").Json;
|
|
1132
|
+
pageCount: number | null;
|
|
1133
|
+
favicon: string | null;
|
|
1134
|
+
createdAt: Date;
|
|
1135
|
+
updatedAt: Date;
|
|
1136
|
+
publishedAt: Date | null;
|
|
1137
|
+
}>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Contract for sites insert
|
|
1140
|
+
* Database table: sites
|
|
1141
|
+
*/
|
|
1142
|
+
export declare const SitesInsertContract: import("../index.js").Contract<{
|
|
1143
|
+
id: string;
|
|
1144
|
+
ownerId: string;
|
|
1145
|
+
name: string;
|
|
1146
|
+
slug: string;
|
|
1147
|
+
schemaVersion?: string | undefined;
|
|
1148
|
+
description?: string | null | undefined;
|
|
1149
|
+
status?: string | undefined;
|
|
1150
|
+
theme?: import("drizzle-zod").Json | undefined;
|
|
1151
|
+
settings?: import("drizzle-zod").Json | undefined;
|
|
1152
|
+
pageCount?: number | null | undefined;
|
|
1153
|
+
favicon?: string | null | undefined;
|
|
1154
|
+
createdAt?: Date | undefined;
|
|
1155
|
+
updatedAt?: Date | undefined;
|
|
1156
|
+
publishedAt?: Date | null | undefined;
|
|
1157
|
+
}>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Contract for syncMetadata row (Select)
|
|
1160
|
+
* Database table: sync_metadata
|
|
1161
|
+
*/
|
|
1162
|
+
export declare const SyncMetadataRowContract: import("../index.js").Contract<{
|
|
1163
|
+
id: string;
|
|
1164
|
+
userId: string;
|
|
1165
|
+
lastSyncTimestamp: Date | null;
|
|
1166
|
+
syncVersion: number | null;
|
|
1167
|
+
deviceCount: number | null;
|
|
1168
|
+
conflictsResolved: number | null;
|
|
1169
|
+
lastConflictAt: Date | null;
|
|
1170
|
+
createdAt: Date;
|
|
1171
|
+
updatedAt: Date;
|
|
1172
|
+
}>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Contract for syncMetadata insert
|
|
1175
|
+
* Database table: sync_metadata
|
|
1176
|
+
*/
|
|
1177
|
+
export declare const SyncMetadataInsertContract: import("../index.js").Contract<{
|
|
1178
|
+
id: string;
|
|
1179
|
+
userId: string;
|
|
1180
|
+
lastSyncTimestamp?: Date | null | undefined;
|
|
1181
|
+
syncVersion?: number | null | undefined;
|
|
1182
|
+
deviceCount?: number | null | undefined;
|
|
1183
|
+
conflictsResolved?: number | null | undefined;
|
|
1184
|
+
lastConflictAt?: Date | null | undefined;
|
|
1185
|
+
createdAt?: Date | undefined;
|
|
1186
|
+
updatedAt?: Date | undefined;
|
|
1187
|
+
}>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Contract for tenantProviderConfigs row (Select)
|
|
1190
|
+
* Database table: tenant_provider_configs
|
|
1191
|
+
*/
|
|
1192
|
+
export declare const TenantProviderConfigsRowContract: import("../index.js").Contract<{
|
|
1193
|
+
id: string;
|
|
1194
|
+
userId: string;
|
|
1195
|
+
provider: string;
|
|
1196
|
+
isDefault: boolean;
|
|
1197
|
+
model: string | null;
|
|
1198
|
+
createdAt: Date;
|
|
1199
|
+
updatedAt: Date;
|
|
1200
|
+
}>;
|
|
1201
|
+
/**
|
|
1202
|
+
* Contract for tenantProviderConfigs insert
|
|
1203
|
+
* Database table: tenant_provider_configs
|
|
1204
|
+
*/
|
|
1205
|
+
export declare const TenantProviderConfigsInsertContract: import("../index.js").Contract<{
|
|
1206
|
+
id: string;
|
|
1207
|
+
userId: string;
|
|
1208
|
+
provider: string;
|
|
1209
|
+
isDefault?: boolean | undefined;
|
|
1210
|
+
model?: string | null | undefined;
|
|
1211
|
+
createdAt?: Date | undefined;
|
|
1212
|
+
updatedAt?: Date | undefined;
|
|
1213
|
+
}>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Contract for ticketComments row (Select)
|
|
1216
|
+
* Database table: ticket_comments
|
|
1217
|
+
*/
|
|
1218
|
+
export declare const TicketCommentsRowContract: import("../index.js").Contract<{
|
|
1219
|
+
id: string;
|
|
1220
|
+
ticketId: string;
|
|
1221
|
+
authorId: string | null;
|
|
1222
|
+
body: import("drizzle-zod").Json;
|
|
1223
|
+
createdAt: Date;
|
|
1224
|
+
updatedAt: Date;
|
|
1225
|
+
}>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Contract for ticketComments insert
|
|
1228
|
+
* Database table: ticket_comments
|
|
1229
|
+
*/
|
|
1230
|
+
export declare const TicketCommentsInsertContract: import("../index.js").Contract<{
|
|
1231
|
+
id: string;
|
|
1232
|
+
ticketId: string;
|
|
1233
|
+
body: import("drizzle-zod").Json;
|
|
1234
|
+
authorId?: string | null | undefined;
|
|
1235
|
+
createdAt?: Date | undefined;
|
|
1236
|
+
updatedAt?: Date | undefined;
|
|
1237
|
+
}>;
|
|
1238
|
+
/**
|
|
1239
|
+
* Contract for ticketLabelAssignments row (Select)
|
|
1240
|
+
* Database table: ticket_label_assignments
|
|
1241
|
+
*/
|
|
1242
|
+
export declare const TicketLabelAssignmentsRowContract: import("../index.js").Contract<{
|
|
1243
|
+
id: string;
|
|
1244
|
+
ticketId: string;
|
|
1245
|
+
labelId: string;
|
|
1246
|
+
assignedAt: Date;
|
|
1247
|
+
}>;
|
|
1248
|
+
/**
|
|
1249
|
+
* Contract for ticketLabelAssignments insert
|
|
1250
|
+
* Database table: ticket_label_assignments
|
|
1251
|
+
*/
|
|
1252
|
+
export declare const TicketLabelAssignmentsInsertContract: import("../index.js").Contract<{
|
|
1253
|
+
id: string;
|
|
1254
|
+
ticketId: string;
|
|
1255
|
+
labelId: string;
|
|
1256
|
+
assignedAt?: Date | undefined;
|
|
1257
|
+
}>;
|
|
1258
|
+
/**
|
|
1259
|
+
* Contract for ticketLabels row (Select)
|
|
1260
|
+
* Database table: ticket_labels
|
|
1261
|
+
*/
|
|
1262
|
+
export declare const TicketLabelsRowContract: import("../index.js").Contract<{
|
|
1263
|
+
id: string;
|
|
1264
|
+
tenantId: string | null;
|
|
1265
|
+
name: string;
|
|
1266
|
+
slug: string;
|
|
1267
|
+
color: string;
|
|
1268
|
+
description: string | null;
|
|
1269
|
+
createdAt: Date;
|
|
1270
|
+
updatedAt: Date;
|
|
1271
|
+
}>;
|
|
1272
|
+
/**
|
|
1273
|
+
* Contract for ticketLabels insert
|
|
1274
|
+
* Database table: ticket_labels
|
|
1275
|
+
*/
|
|
1276
|
+
export declare const TicketLabelsInsertContract: import("../index.js").Contract<{
|
|
1277
|
+
id: string;
|
|
1278
|
+
name: string;
|
|
1279
|
+
slug: string;
|
|
1280
|
+
tenantId?: string | null | undefined;
|
|
1281
|
+
color?: string | undefined;
|
|
1282
|
+
description?: string | null | undefined;
|
|
1283
|
+
createdAt?: Date | undefined;
|
|
1284
|
+
updatedAt?: Date | undefined;
|
|
1285
|
+
}>;
|
|
1286
|
+
/**
|
|
1287
|
+
* Contract for tickets row (Select)
|
|
1288
|
+
* Database table: tickets
|
|
1289
|
+
*/
|
|
1290
|
+
export declare const TicketsRowContract: import("../index.js").Contract<{
|
|
1291
|
+
id: string;
|
|
1292
|
+
schemaVersion: string;
|
|
1293
|
+
boardId: string;
|
|
1294
|
+
columnId: string | null;
|
|
1295
|
+
parentTicketId: string | null;
|
|
1296
|
+
ticketNumber: number;
|
|
1297
|
+
title: string;
|
|
1298
|
+
description: import("drizzle-zod").Json;
|
|
1299
|
+
status: string;
|
|
1300
|
+
priority: string;
|
|
1301
|
+
type: string;
|
|
1302
|
+
assigneeId: string | null;
|
|
1303
|
+
reporterId: string | null;
|
|
1304
|
+
dueDate: Date | null;
|
|
1305
|
+
estimatedEffort: number | null;
|
|
1306
|
+
sortOrder: number;
|
|
1307
|
+
commentCount: number;
|
|
1308
|
+
attachments: {
|
|
1309
|
+
url: string;
|
|
1310
|
+
filename: string;
|
|
1311
|
+
mimeType: string;
|
|
1312
|
+
filesize: number;
|
|
1313
|
+
}[];
|
|
1314
|
+
metadata: import("drizzle-zod").Json;
|
|
1315
|
+
closedAt: Date | null;
|
|
1316
|
+
createdAt: Date;
|
|
1317
|
+
updatedAt: Date;
|
|
1318
|
+
}>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Contract for tickets insert
|
|
1321
|
+
* Database table: tickets
|
|
1322
|
+
*/
|
|
1323
|
+
export declare const TicketsInsertContract: import("../index.js").Contract<{
|
|
1324
|
+
id: string;
|
|
1325
|
+
boardId: string;
|
|
1326
|
+
ticketNumber: number;
|
|
1327
|
+
title: string;
|
|
1328
|
+
schemaVersion?: string | undefined;
|
|
1329
|
+
columnId?: string | null | undefined;
|
|
1330
|
+
parentTicketId?: string | null | undefined;
|
|
1331
|
+
description?: import("drizzle-zod").Json | undefined;
|
|
1332
|
+
status?: string | undefined;
|
|
1333
|
+
priority?: string | undefined;
|
|
1334
|
+
type?: string | undefined;
|
|
1335
|
+
assigneeId?: string | null | undefined;
|
|
1336
|
+
reporterId?: string | null | undefined;
|
|
1337
|
+
dueDate?: Date | null | undefined;
|
|
1338
|
+
estimatedEffort?: number | null | undefined;
|
|
1339
|
+
sortOrder?: number | undefined;
|
|
1340
|
+
commentCount?: number | undefined;
|
|
1341
|
+
attachments?: {
|
|
1342
|
+
url: string;
|
|
1343
|
+
filename: string;
|
|
1344
|
+
mimeType: string;
|
|
1345
|
+
filesize: number;
|
|
1346
|
+
}[] | undefined;
|
|
1347
|
+
metadata?: import("drizzle-zod").Json | undefined;
|
|
1348
|
+
closedAt?: Date | null | undefined;
|
|
1349
|
+
createdAt?: Date | undefined;
|
|
1350
|
+
updatedAt?: Date | undefined;
|
|
1351
|
+
}>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Contract for userApiKeys row (Select)
|
|
1354
|
+
* Database table: user_api_keys
|
|
1355
|
+
*/
|
|
1356
|
+
export declare const UserApiKeysRowContract: import("../index.js").Contract<{
|
|
1357
|
+
id: string;
|
|
1358
|
+
userId: string;
|
|
1359
|
+
provider: string;
|
|
1360
|
+
encryptedKey: string;
|
|
1361
|
+
keyHint: string | null;
|
|
1362
|
+
label: string | null;
|
|
1363
|
+
createdAt: Date;
|
|
1364
|
+
updatedAt: Date;
|
|
1365
|
+
lastUsedAt: Date | null;
|
|
1366
|
+
}>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Contract for userApiKeys insert
|
|
1369
|
+
* Database table: user_api_keys
|
|
1370
|
+
*/
|
|
1371
|
+
export declare const UserApiKeysInsertContract: import("../index.js").Contract<{
|
|
1372
|
+
id: string;
|
|
1373
|
+
userId: string;
|
|
1374
|
+
provider: string;
|
|
1375
|
+
encryptedKey: string;
|
|
1376
|
+
keyHint?: string | null | undefined;
|
|
1377
|
+
label?: string | null | undefined;
|
|
1378
|
+
createdAt?: Date | undefined;
|
|
1379
|
+
updatedAt?: Date | undefined;
|
|
1380
|
+
lastUsedAt?: Date | null | undefined;
|
|
1381
|
+
}>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Contract for userDevices row (Select)
|
|
1384
|
+
* Database table: user_devices
|
|
1385
|
+
*/
|
|
1386
|
+
export declare const UserDevicesRowContract: import("../index.js").Contract<{
|
|
1387
|
+
id: string;
|
|
1388
|
+
userId: string;
|
|
1389
|
+
deviceId: string;
|
|
1390
|
+
deviceName: string | null;
|
|
1391
|
+
deviceType: string | null;
|
|
1392
|
+
userAgent: string | null;
|
|
1393
|
+
lastSeen: Date | null;
|
|
1394
|
+
isActive: boolean | null;
|
|
1395
|
+
createdAt: Date;
|
|
1396
|
+
updatedAt: Date;
|
|
1397
|
+
}>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Contract for userDevices insert
|
|
1400
|
+
* Database table: user_devices
|
|
1401
|
+
*/
|
|
1402
|
+
export declare const UserDevicesInsertContract: import("../index.js").Contract<{
|
|
1403
|
+
id: string;
|
|
1404
|
+
userId: string;
|
|
1405
|
+
deviceId: string;
|
|
1406
|
+
deviceName?: string | null | undefined;
|
|
1407
|
+
deviceType?: string | null | undefined;
|
|
1408
|
+
userAgent?: string | null | undefined;
|
|
1409
|
+
lastSeen?: Date | null | undefined;
|
|
1410
|
+
isActive?: boolean | null | undefined;
|
|
1411
|
+
createdAt?: Date | undefined;
|
|
1412
|
+
updatedAt?: Date | undefined;
|
|
1413
|
+
}>;
|
|
1414
|
+
/**
|
|
1415
|
+
* Contract for users row (Select)
|
|
1416
|
+
* Database table: users
|
|
1417
|
+
*/
|
|
1418
|
+
export declare const UsersRowContract: import("../index.js").Contract<{
|
|
1419
|
+
id: string;
|
|
1420
|
+
schemaVersion: string;
|
|
1421
|
+
type: string;
|
|
1422
|
+
name: string;
|
|
1423
|
+
email: string | null;
|
|
1424
|
+
avatarUrl: string | null;
|
|
1425
|
+
password: string | null;
|
|
1426
|
+
role: string;
|
|
1427
|
+
status: string;
|
|
1428
|
+
agentModel: string | null;
|
|
1429
|
+
agentCapabilities: string[] | null;
|
|
1430
|
+
agentConfig: import("drizzle-zod").Json;
|
|
1431
|
+
stripeCustomerId: string | null;
|
|
1432
|
+
preferences: import("drizzle-zod").Json;
|
|
1433
|
+
createdAt: Date;
|
|
1434
|
+
updatedAt: Date;
|
|
1435
|
+
lastActiveAt: Date | null;
|
|
1436
|
+
_json: import("drizzle-zod").Json;
|
|
1437
|
+
}>;
|
|
1438
|
+
/**
|
|
1439
|
+
* Contract for users insert
|
|
1440
|
+
* Database table: users
|
|
1441
|
+
*/
|
|
1442
|
+
export declare const UsersInsertContract: import("../index.js").Contract<{
|
|
1443
|
+
id: string;
|
|
1444
|
+
name: string;
|
|
1445
|
+
schemaVersion?: string | undefined;
|
|
1446
|
+
type?: string | undefined;
|
|
1447
|
+
email?: string | null | undefined;
|
|
1448
|
+
avatarUrl?: string | null | undefined;
|
|
1449
|
+
password?: string | null | undefined;
|
|
1450
|
+
role?: string | undefined;
|
|
1451
|
+
status?: string | undefined;
|
|
1452
|
+
agentModel?: string | null | undefined;
|
|
1453
|
+
agentCapabilities?: string[] | null | undefined;
|
|
1454
|
+
agentConfig?: import("drizzle-zod").Json | undefined;
|
|
1455
|
+
stripeCustomerId?: string | null | undefined;
|
|
1456
|
+
preferences?: import("drizzle-zod").Json | undefined;
|
|
1457
|
+
createdAt?: Date | undefined;
|
|
1458
|
+
updatedAt?: Date | undefined;
|
|
1459
|
+
lastActiveAt?: Date | null | undefined;
|
|
1460
|
+
_json?: import("drizzle-zod").Json | undefined;
|
|
1461
|
+
}>;
|
|
1462
|
+
/**
|
|
1463
|
+
* Contract for waitlist row (Select)
|
|
1464
|
+
* Database table: waitlist
|
|
1465
|
+
*/
|
|
1466
|
+
export declare const WaitlistRowContract: import("../index.js").Contract<{
|
|
1467
|
+
id: string;
|
|
1468
|
+
email: string;
|
|
1469
|
+
source: string | null;
|
|
1470
|
+
referrer: string | null;
|
|
1471
|
+
userAgent: string | null;
|
|
1472
|
+
ipAddress: string | null;
|
|
1473
|
+
createdAt: Date;
|
|
1474
|
+
notifiedAt: Date | null;
|
|
1475
|
+
}>;
|
|
1476
|
+
/**
|
|
1477
|
+
* Contract for waitlist insert
|
|
1478
|
+
* Database table: waitlist
|
|
1479
|
+
*/
|
|
1480
|
+
export declare const WaitlistInsertContract: import("../index.js").Contract<{
|
|
1481
|
+
email: string;
|
|
1482
|
+
id?: string | undefined;
|
|
1483
|
+
source?: string | null | undefined;
|
|
1484
|
+
referrer?: string | null | undefined;
|
|
1485
|
+
userAgent?: string | null | undefined;
|
|
1486
|
+
ipAddress?: string | null | undefined;
|
|
1487
|
+
createdAt?: Date | undefined;
|
|
1488
|
+
notifiedAt?: Date | null | undefined;
|
|
1489
|
+
}>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Contract for yjsDocuments row (Select)
|
|
1492
|
+
* Database table: yjs_documents
|
|
1493
|
+
*/
|
|
1494
|
+
export declare const YjsDocumentsRowContract: import("../index.js").Contract<{
|
|
1495
|
+
id: string;
|
|
1496
|
+
state: Buffer<ArrayBufferLike>;
|
|
1497
|
+
stateVector: Buffer<ArrayBufferLike> | null;
|
|
1498
|
+
connectedClients: number;
|
|
1499
|
+
createdAt: Date;
|
|
1500
|
+
updatedAt: Date;
|
|
1501
|
+
}>;
|
|
1502
|
+
/**
|
|
1503
|
+
* Contract for yjsDocuments insert
|
|
1504
|
+
* Database table: yjs_documents
|
|
1505
|
+
*/
|
|
1506
|
+
export declare const YjsDocumentsInsertContract: import("../index.js").Contract<{
|
|
1507
|
+
id: string;
|
|
1508
|
+
state: Buffer<ArrayBufferLike>;
|
|
1509
|
+
stateVector?: Buffer<ArrayBufferLike> | null | undefined;
|
|
1510
|
+
connectedClients?: number | undefined;
|
|
1511
|
+
createdAt?: Date | undefined;
|
|
1512
|
+
updatedAt?: Date | undefined;
|
|
1513
|
+
}>;
|
|
1514
|
+
//# sourceMappingURL=contracts.d.ts.map
|