@vibes.diy/api-types 0.0.0-smoke-70d942c5-1774564530
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.md +232 -0
- package/README.md +539 -0
- package/auth.d.ts +13 -0
- package/auth.js +2 -0
- package/auth.js.map +1 -0
- package/cf-env.d.ts +23 -0
- package/cf-env.js +2 -0
- package/cf-env.js.map +1 -0
- package/index.d.ts +34 -0
- package/index.js +19 -0
- package/index.js.map +1 -0
- package/invite.d.ts +856 -0
- package/invite.js +241 -0
- package/invite.js.map +1 -0
- package/msg-types.d.ts +4215 -0
- package/msg-types.js +1089 -0
- package/msg-types.js.map +1 -0
- package/package.json +23 -0
- package/screen-shotter.d.ts +7 -0
- package/screen-shotter.js +10 -0
- package/screen-shotter.js.map +1 -0
- package/tsconfig.json +18 -0
- package/types.d.ts +72 -0
- package/types.js +70 -0
- package/types.js.map +1 -0
- package/vibes-diy-api.d.ts +52 -0
- package/vibes-diy-api.js +8 -0
- package/vibes-diy-api.js.map +1 -0
- package/vibes-diy-serv-ctx.d.ts +44 -0
- package/vibes-diy-serv-ctx.js +29 -0
- package/vibes-diy-serv-ctx.js.map +1 -0
- package/vibes-types.d.ts +41 -0
- package/vibes-types.js +14 -0
- package/vibes-types.js.map +1 -0
package/invite.d.ts
ADDED
|
@@ -0,0 +1,856 @@
|
|
|
1
|
+
export declare const KVString: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
2
|
+
key: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}, {}>;
|
|
5
|
+
export type KVString = typeof KVString.infer;
|
|
6
|
+
export declare function toKVString(record: Record<string, string>): KVString[];
|
|
7
|
+
export declare function fromKVString(entries: KVString[]): Record<string, string>;
|
|
8
|
+
export declare const AIParams: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
9
|
+
model: string;
|
|
10
|
+
apiKey?: string | undefined;
|
|
11
|
+
}, {}>;
|
|
12
|
+
export type AIParams = typeof AIParams.infer;
|
|
13
|
+
export declare const tick: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
14
|
+
count: number;
|
|
15
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
16
|
+
}, {}>;
|
|
17
|
+
export declare const RawEmailWithoutFrom: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
18
|
+
to: string | string[];
|
|
19
|
+
subject: string;
|
|
20
|
+
text?: string | undefined;
|
|
21
|
+
html?: string | undefined;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export type RawEmailWithoutFrom = typeof RawEmailWithoutFrom.infer;
|
|
24
|
+
export declare const RawEmail: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
25
|
+
to: string | string[];
|
|
26
|
+
subject: string;
|
|
27
|
+
text?: string | undefined;
|
|
28
|
+
html?: string | undefined;
|
|
29
|
+
from: string;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export type RawEmail = typeof RawEmail.infer;
|
|
32
|
+
export declare const EmailOpsBase: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
33
|
+
dst: string;
|
|
34
|
+
role: "editor" | "viewer";
|
|
35
|
+
appSlug: string;
|
|
36
|
+
userSlug: string;
|
|
37
|
+
fsId?: string | undefined;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export declare const EmailOpsInvite: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
40
|
+
dst: string;
|
|
41
|
+
role: "editor" | "viewer";
|
|
42
|
+
appSlug: string;
|
|
43
|
+
userSlug: string;
|
|
44
|
+
fsId?: string | undefined;
|
|
45
|
+
action: "invite";
|
|
46
|
+
token: string;
|
|
47
|
+
}, {}>;
|
|
48
|
+
export type EmailOpsInvite = typeof EmailOpsInvite.infer;
|
|
49
|
+
export declare function isEmailOpsInvite(obj: unknown): obj is EmailOpsInvite;
|
|
50
|
+
export declare const EmailOpsRequest: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
51
|
+
dst: string;
|
|
52
|
+
role: "editor" | "viewer";
|
|
53
|
+
appSlug: string;
|
|
54
|
+
userSlug: string;
|
|
55
|
+
fsId?: string | undefined;
|
|
56
|
+
action: "req-accepted" | "req-rejected";
|
|
57
|
+
}, {}>;
|
|
58
|
+
export type EmailOpsRequest = typeof EmailOpsRequest.infer;
|
|
59
|
+
export declare function isEmailOpsRequest(obj: unknown): obj is EmailOpsRequest;
|
|
60
|
+
export declare const EmailOps: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
61
|
+
dst: string;
|
|
62
|
+
role: "editor" | "viewer";
|
|
63
|
+
appSlug: string;
|
|
64
|
+
userSlug: string;
|
|
65
|
+
fsId?: string | undefined;
|
|
66
|
+
action: "invite";
|
|
67
|
+
token: string;
|
|
68
|
+
} | {
|
|
69
|
+
dst: string;
|
|
70
|
+
role: "editor" | "viewer";
|
|
71
|
+
appSlug: string;
|
|
72
|
+
userSlug: string;
|
|
73
|
+
fsId?: string | undefined;
|
|
74
|
+
action: "req-accepted" | "req-rejected";
|
|
75
|
+
}, {}>;
|
|
76
|
+
export type EmailOps = typeof EmailOps.infer;
|
|
77
|
+
export declare function isEmailOps(obj: unknown): obj is EmailOps;
|
|
78
|
+
export declare const EnablePublicAccess: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
79
|
+
type: "app.public.access";
|
|
80
|
+
enable: boolean;
|
|
81
|
+
tick?: {
|
|
82
|
+
count: number;
|
|
83
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
84
|
+
} | undefined;
|
|
85
|
+
}, {}>;
|
|
86
|
+
export type EnablePublicAccess = typeof EnablePublicAccess.infer;
|
|
87
|
+
export declare function isEnablePublicAccess(obj: unknown): obj is EnablePublicAccess;
|
|
88
|
+
export declare const EnableRequest: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
89
|
+
type: "app.request";
|
|
90
|
+
enable: boolean;
|
|
91
|
+
autoAcceptViewRequest?: boolean | null | undefined;
|
|
92
|
+
}, {}>;
|
|
93
|
+
export type EnableRequest = typeof EnableRequest.infer;
|
|
94
|
+
export declare function isEnableRequest(obj: unknown): obj is EnableRequest;
|
|
95
|
+
export declare const requestBase: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
96
|
+
key: string;
|
|
97
|
+
provider: "clerk" | "github" | "google";
|
|
98
|
+
msg?: string | undefined;
|
|
99
|
+
userId: string;
|
|
100
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
101
|
+
}, {}>;
|
|
102
|
+
export declare const ActiveRequestPending: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
103
|
+
type: "app.acl.active.request";
|
|
104
|
+
role: "viewer";
|
|
105
|
+
state: "pending";
|
|
106
|
+
request: {
|
|
107
|
+
key: string;
|
|
108
|
+
provider: "clerk" | "github" | "google";
|
|
109
|
+
msg?: string | undefined;
|
|
110
|
+
userId: string;
|
|
111
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
112
|
+
};
|
|
113
|
+
}, {}>;
|
|
114
|
+
export type ActiveRequestPending = typeof ActiveRequestPending.infer;
|
|
115
|
+
export declare function isActiveRequestPending(obj: unknown): obj is typeof ActiveRequestPending.infer;
|
|
116
|
+
export declare const ActiveRequestApproved: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
117
|
+
type: "app.acl.active.request";
|
|
118
|
+
role: "editor" | "viewer";
|
|
119
|
+
state: "approved";
|
|
120
|
+
request: {
|
|
121
|
+
key: string;
|
|
122
|
+
provider: "clerk" | "github" | "google";
|
|
123
|
+
msg?: string | undefined;
|
|
124
|
+
userId: string;
|
|
125
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
126
|
+
};
|
|
127
|
+
tick: {
|
|
128
|
+
count: number;
|
|
129
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
130
|
+
};
|
|
131
|
+
grant: {
|
|
132
|
+
ownerId: string;
|
|
133
|
+
key?: string | undefined;
|
|
134
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
135
|
+
};
|
|
136
|
+
}, {}>;
|
|
137
|
+
export type ActiveRequestApproved = typeof ActiveRequestApproved.infer;
|
|
138
|
+
export declare function isActiveRequestApproved(obj: unknown): obj is typeof ActiveRequestApproved.infer;
|
|
139
|
+
export declare const ActiveRequestRejected: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
140
|
+
type: "app.acl.active.request";
|
|
141
|
+
role: "editor" | "viewer";
|
|
142
|
+
state: "rejected";
|
|
143
|
+
request: {
|
|
144
|
+
key: string;
|
|
145
|
+
provider: "clerk" | "github" | "google";
|
|
146
|
+
msg?: string | undefined;
|
|
147
|
+
userId: string;
|
|
148
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
149
|
+
};
|
|
150
|
+
grant: {
|
|
151
|
+
ownerId: string;
|
|
152
|
+
key?: string | undefined;
|
|
153
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
154
|
+
};
|
|
155
|
+
}, {}>;
|
|
156
|
+
export type ActiveRequestRejected = typeof ActiveRequestRejected.infer;
|
|
157
|
+
export declare function isActiveRequestRejected(obj: unknown): obj is typeof ActiveRequestRejected.infer;
|
|
158
|
+
export declare const ActiveRequest: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
159
|
+
type: "app.acl.active.request";
|
|
160
|
+
role: "viewer";
|
|
161
|
+
state: "pending";
|
|
162
|
+
request: {
|
|
163
|
+
key: string;
|
|
164
|
+
provider: "clerk" | "github" | "google";
|
|
165
|
+
msg?: string | undefined;
|
|
166
|
+
userId: string;
|
|
167
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
168
|
+
};
|
|
169
|
+
} | {
|
|
170
|
+
type: "app.acl.active.request";
|
|
171
|
+
role: "editor" | "viewer";
|
|
172
|
+
state: "approved";
|
|
173
|
+
request: {
|
|
174
|
+
key: string;
|
|
175
|
+
provider: "clerk" | "github" | "google";
|
|
176
|
+
msg?: string | undefined;
|
|
177
|
+
userId: string;
|
|
178
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
179
|
+
};
|
|
180
|
+
tick: {
|
|
181
|
+
count: number;
|
|
182
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
183
|
+
};
|
|
184
|
+
grant: {
|
|
185
|
+
ownerId: string;
|
|
186
|
+
key?: string | undefined;
|
|
187
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
188
|
+
};
|
|
189
|
+
} | {
|
|
190
|
+
type: "app.acl.active.request";
|
|
191
|
+
role: "editor" | "viewer";
|
|
192
|
+
state: "rejected";
|
|
193
|
+
request: {
|
|
194
|
+
key: string;
|
|
195
|
+
provider: "clerk" | "github" | "google";
|
|
196
|
+
msg?: string | undefined;
|
|
197
|
+
userId: string;
|
|
198
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
199
|
+
};
|
|
200
|
+
grant: {
|
|
201
|
+
ownerId: string;
|
|
202
|
+
key?: string | undefined;
|
|
203
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
204
|
+
};
|
|
205
|
+
}, {}>;
|
|
206
|
+
export type ActiveRequest = typeof ActiveRequest.infer;
|
|
207
|
+
export declare function isActiveRequest(obj: unknown): obj is typeof ActiveRequest.infer;
|
|
208
|
+
export declare const ActiveInviteEditorPending: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
209
|
+
type: "app.acl.active.invite";
|
|
210
|
+
role: "editor";
|
|
211
|
+
state: "pending";
|
|
212
|
+
invite: {
|
|
213
|
+
email: string;
|
|
214
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
215
|
+
};
|
|
216
|
+
token: string;
|
|
217
|
+
}, {}>;
|
|
218
|
+
export type ActiveInviteEditorPending = typeof ActiveInviteEditorPending.infer;
|
|
219
|
+
export declare function isActiveInviteEditorPending(obj: unknown): obj is typeof ActiveInviteEditorPending.infer;
|
|
220
|
+
export declare const ActiveInviteViewerPending: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
221
|
+
type: "app.acl.active.invite";
|
|
222
|
+
role: "viewer";
|
|
223
|
+
state: "pending";
|
|
224
|
+
invite: {
|
|
225
|
+
email: string;
|
|
226
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
227
|
+
};
|
|
228
|
+
token: string;
|
|
229
|
+
}, {}>;
|
|
230
|
+
export type ActiveInviteViewerPending = typeof ActiveInviteViewerPending.infer;
|
|
231
|
+
export declare function isActiveInviteViewerPending(obj: unknown): obj is typeof ActiveInviteViewerPending.infer;
|
|
232
|
+
export declare const ActiveInviteEditorAccepted: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
233
|
+
type: "app.acl.active.invite";
|
|
234
|
+
role: "editor";
|
|
235
|
+
state: "accepted";
|
|
236
|
+
invite: {
|
|
237
|
+
email: string;
|
|
238
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
239
|
+
};
|
|
240
|
+
grant: {
|
|
241
|
+
ownerId: string;
|
|
242
|
+
key?: string | undefined;
|
|
243
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
244
|
+
};
|
|
245
|
+
tick: {
|
|
246
|
+
count: number;
|
|
247
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
248
|
+
};
|
|
249
|
+
}, {}>;
|
|
250
|
+
export type ActiveInviteEditorAccepted = typeof ActiveInviteEditorAccepted.infer;
|
|
251
|
+
export declare function isActiveInviteEditorAccepted(obj: unknown): obj is typeof ActiveInviteEditorAccepted.infer;
|
|
252
|
+
export declare const ActiveInviteViewerAccepted: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
253
|
+
type: "app.acl.active.invite";
|
|
254
|
+
role: "viewer";
|
|
255
|
+
state: "accepted";
|
|
256
|
+
invite: {
|
|
257
|
+
email: string;
|
|
258
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
259
|
+
};
|
|
260
|
+
grant: {
|
|
261
|
+
ownerId: string;
|
|
262
|
+
key?: string | undefined;
|
|
263
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
264
|
+
};
|
|
265
|
+
tick: {
|
|
266
|
+
count: number;
|
|
267
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
268
|
+
};
|
|
269
|
+
}, {}>;
|
|
270
|
+
export type ActiveInviteViewerAccepted = typeof ActiveInviteViewerAccepted.infer;
|
|
271
|
+
export declare function isActiveInviteViewerAccepted(obj: unknown): obj is typeof ActiveInviteViewerAccepted.infer;
|
|
272
|
+
export declare const ActiveInviteEditorRevoked: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
273
|
+
type: "app.acl.active.invite";
|
|
274
|
+
role: "editor";
|
|
275
|
+
state: "revoked";
|
|
276
|
+
invite: {
|
|
277
|
+
email: string;
|
|
278
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
279
|
+
};
|
|
280
|
+
grant: {
|
|
281
|
+
ownerId: string;
|
|
282
|
+
key?: string | undefined;
|
|
283
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
284
|
+
};
|
|
285
|
+
tick: {
|
|
286
|
+
count: number;
|
|
287
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
288
|
+
};
|
|
289
|
+
}, {}>;
|
|
290
|
+
export type ActiveInviteEditorRevoked = typeof ActiveInviteEditorRevoked.infer;
|
|
291
|
+
export declare function isActiveInviteEditorRevoked(obj: unknown): obj is typeof ActiveInviteEditorRevoked.infer;
|
|
292
|
+
export declare const ActiveInviteViewerRevoked: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
293
|
+
type: "app.acl.active.invite";
|
|
294
|
+
role: "viewer";
|
|
295
|
+
state: "revoked";
|
|
296
|
+
invite: {
|
|
297
|
+
email: string;
|
|
298
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
299
|
+
};
|
|
300
|
+
grant: {
|
|
301
|
+
ownerId: string;
|
|
302
|
+
key?: string | undefined;
|
|
303
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
304
|
+
};
|
|
305
|
+
tick: {
|
|
306
|
+
count: number;
|
|
307
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
308
|
+
};
|
|
309
|
+
}, {}>;
|
|
310
|
+
export type ActiveInviteViewerRevoked = typeof ActiveInviteViewerRevoked.infer;
|
|
311
|
+
export declare function isActiveInviteViewerRevoked(obj: unknown): obj is typeof ActiveInviteViewerRevoked.infer;
|
|
312
|
+
export declare const ActiveInvite: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
313
|
+
type: "app.acl.active.invite";
|
|
314
|
+
role: "editor";
|
|
315
|
+
state: "pending";
|
|
316
|
+
invite: {
|
|
317
|
+
email: string;
|
|
318
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
319
|
+
};
|
|
320
|
+
token: string;
|
|
321
|
+
} | {
|
|
322
|
+
type: "app.acl.active.invite";
|
|
323
|
+
role: "viewer";
|
|
324
|
+
state: "pending";
|
|
325
|
+
invite: {
|
|
326
|
+
email: string;
|
|
327
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
328
|
+
};
|
|
329
|
+
token: string;
|
|
330
|
+
} | {
|
|
331
|
+
type: "app.acl.active.invite";
|
|
332
|
+
role: "editor";
|
|
333
|
+
state: "accepted";
|
|
334
|
+
invite: {
|
|
335
|
+
email: string;
|
|
336
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
337
|
+
};
|
|
338
|
+
grant: {
|
|
339
|
+
ownerId: string;
|
|
340
|
+
key?: string | undefined;
|
|
341
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
342
|
+
};
|
|
343
|
+
tick: {
|
|
344
|
+
count: number;
|
|
345
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
346
|
+
};
|
|
347
|
+
} | {
|
|
348
|
+
type: "app.acl.active.invite";
|
|
349
|
+
role: "viewer";
|
|
350
|
+
state: "accepted";
|
|
351
|
+
invite: {
|
|
352
|
+
email: string;
|
|
353
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
354
|
+
};
|
|
355
|
+
grant: {
|
|
356
|
+
ownerId: string;
|
|
357
|
+
key?: string | undefined;
|
|
358
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
359
|
+
};
|
|
360
|
+
tick: {
|
|
361
|
+
count: number;
|
|
362
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
363
|
+
};
|
|
364
|
+
} | {
|
|
365
|
+
type: "app.acl.active.invite";
|
|
366
|
+
role: "editor";
|
|
367
|
+
state: "revoked";
|
|
368
|
+
invite: {
|
|
369
|
+
email: string;
|
|
370
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
371
|
+
};
|
|
372
|
+
grant: {
|
|
373
|
+
ownerId: string;
|
|
374
|
+
key?: string | undefined;
|
|
375
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
376
|
+
};
|
|
377
|
+
tick: {
|
|
378
|
+
count: number;
|
|
379
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
380
|
+
};
|
|
381
|
+
} | {
|
|
382
|
+
type: "app.acl.active.invite";
|
|
383
|
+
role: "viewer";
|
|
384
|
+
state: "revoked";
|
|
385
|
+
invite: {
|
|
386
|
+
email: string;
|
|
387
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
388
|
+
};
|
|
389
|
+
grant: {
|
|
390
|
+
ownerId: string;
|
|
391
|
+
key?: string | undefined;
|
|
392
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
393
|
+
};
|
|
394
|
+
tick: {
|
|
395
|
+
count: number;
|
|
396
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
397
|
+
};
|
|
398
|
+
}, {}>;
|
|
399
|
+
export type ActiveInvite = typeof ActiveInvite.infer;
|
|
400
|
+
export declare function isActiveInvite(obj: unknown): obj is typeof ActiveInvite.infer;
|
|
401
|
+
export declare const ActiveACL: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
402
|
+
type: "app.acl.active.request";
|
|
403
|
+
role: "viewer";
|
|
404
|
+
state: "pending";
|
|
405
|
+
request: {
|
|
406
|
+
key: string;
|
|
407
|
+
provider: "clerk" | "github" | "google";
|
|
408
|
+
msg?: string | undefined;
|
|
409
|
+
userId: string;
|
|
410
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
411
|
+
};
|
|
412
|
+
} | {
|
|
413
|
+
type: "app.acl.active.request";
|
|
414
|
+
role: "editor" | "viewer";
|
|
415
|
+
state: "approved";
|
|
416
|
+
request: {
|
|
417
|
+
key: string;
|
|
418
|
+
provider: "clerk" | "github" | "google";
|
|
419
|
+
msg?: string | undefined;
|
|
420
|
+
userId: string;
|
|
421
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
422
|
+
};
|
|
423
|
+
tick: {
|
|
424
|
+
count: number;
|
|
425
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
426
|
+
};
|
|
427
|
+
grant: {
|
|
428
|
+
ownerId: string;
|
|
429
|
+
key?: string | undefined;
|
|
430
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
431
|
+
};
|
|
432
|
+
} | {
|
|
433
|
+
type: "app.acl.active.request";
|
|
434
|
+
role: "editor" | "viewer";
|
|
435
|
+
state: "rejected";
|
|
436
|
+
request: {
|
|
437
|
+
key: string;
|
|
438
|
+
provider: "clerk" | "github" | "google";
|
|
439
|
+
msg?: string | undefined;
|
|
440
|
+
userId: string;
|
|
441
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
442
|
+
};
|
|
443
|
+
grant: {
|
|
444
|
+
ownerId: string;
|
|
445
|
+
key?: string | undefined;
|
|
446
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
447
|
+
};
|
|
448
|
+
} | {
|
|
449
|
+
type: "app.acl.active.invite";
|
|
450
|
+
role: "editor";
|
|
451
|
+
state: "pending";
|
|
452
|
+
invite: {
|
|
453
|
+
email: string;
|
|
454
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
455
|
+
};
|
|
456
|
+
token: string;
|
|
457
|
+
} | {
|
|
458
|
+
type: "app.acl.active.invite";
|
|
459
|
+
role: "viewer";
|
|
460
|
+
state: "pending";
|
|
461
|
+
invite: {
|
|
462
|
+
email: string;
|
|
463
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
464
|
+
};
|
|
465
|
+
token: string;
|
|
466
|
+
} | {
|
|
467
|
+
type: "app.acl.active.invite";
|
|
468
|
+
role: "editor";
|
|
469
|
+
state: "accepted";
|
|
470
|
+
invite: {
|
|
471
|
+
email: string;
|
|
472
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
473
|
+
};
|
|
474
|
+
grant: {
|
|
475
|
+
ownerId: string;
|
|
476
|
+
key?: string | undefined;
|
|
477
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
478
|
+
};
|
|
479
|
+
tick: {
|
|
480
|
+
count: number;
|
|
481
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
482
|
+
};
|
|
483
|
+
} | {
|
|
484
|
+
type: "app.acl.active.invite";
|
|
485
|
+
role: "viewer";
|
|
486
|
+
state: "accepted";
|
|
487
|
+
invite: {
|
|
488
|
+
email: string;
|
|
489
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
490
|
+
};
|
|
491
|
+
grant: {
|
|
492
|
+
ownerId: string;
|
|
493
|
+
key?: string | undefined;
|
|
494
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
495
|
+
};
|
|
496
|
+
tick: {
|
|
497
|
+
count: number;
|
|
498
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
499
|
+
};
|
|
500
|
+
} | {
|
|
501
|
+
type: "app.acl.active.invite";
|
|
502
|
+
role: "editor";
|
|
503
|
+
state: "revoked";
|
|
504
|
+
invite: {
|
|
505
|
+
email: string;
|
|
506
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
507
|
+
};
|
|
508
|
+
grant: {
|
|
509
|
+
ownerId: string;
|
|
510
|
+
key?: string | undefined;
|
|
511
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
512
|
+
};
|
|
513
|
+
tick: {
|
|
514
|
+
count: number;
|
|
515
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
516
|
+
};
|
|
517
|
+
} | {
|
|
518
|
+
type: "app.acl.active.invite";
|
|
519
|
+
role: "viewer";
|
|
520
|
+
state: "revoked";
|
|
521
|
+
invite: {
|
|
522
|
+
email: string;
|
|
523
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
524
|
+
};
|
|
525
|
+
grant: {
|
|
526
|
+
ownerId: string;
|
|
527
|
+
key?: string | undefined;
|
|
528
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
529
|
+
};
|
|
530
|
+
tick: {
|
|
531
|
+
count: number;
|
|
532
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
533
|
+
};
|
|
534
|
+
}, {}>;
|
|
535
|
+
export type ActiveACL = typeof ActiveACL.infer;
|
|
536
|
+
export declare const ActiveTitle: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
537
|
+
type: "active.title";
|
|
538
|
+
title: string;
|
|
539
|
+
}, {}>;
|
|
540
|
+
export type ActiveTitle = typeof ActiveTitle.infer;
|
|
541
|
+
export declare function isActiveTitle(obj: unknown): obj is ActiveTitle;
|
|
542
|
+
export declare const ActiveModelSettingBase: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
543
|
+
type: "active.model";
|
|
544
|
+
param: {
|
|
545
|
+
model: string;
|
|
546
|
+
apiKey?: string | undefined;
|
|
547
|
+
};
|
|
548
|
+
}, {}>;
|
|
549
|
+
export declare const ActiveModelSettingChat: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
550
|
+
type: "active.model";
|
|
551
|
+
param: {
|
|
552
|
+
model: string;
|
|
553
|
+
apiKey?: string | undefined;
|
|
554
|
+
};
|
|
555
|
+
usage: "chat";
|
|
556
|
+
}, {}>;
|
|
557
|
+
export type ActiveModelSettingChat = typeof ActiveModelSettingChat.infer;
|
|
558
|
+
export declare function isActiveModelSettingChat(obj: unknown): obj is typeof ActiveModelSettingChat.infer;
|
|
559
|
+
export declare const ActiveModelSettingApp: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
560
|
+
type: "active.model";
|
|
561
|
+
param: {
|
|
562
|
+
model: string;
|
|
563
|
+
apiKey?: string | undefined;
|
|
564
|
+
};
|
|
565
|
+
usage: "app";
|
|
566
|
+
}, {}>;
|
|
567
|
+
export type ActiveModelSettingApp = typeof ActiveModelSettingApp.infer;
|
|
568
|
+
export declare function isActiveModelSettingApp(obj: unknown): obj is typeof ActiveModelSettingApp.infer;
|
|
569
|
+
export declare const ActiveModelSetting: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
570
|
+
type: "active.model";
|
|
571
|
+
param: {
|
|
572
|
+
model: string;
|
|
573
|
+
apiKey?: string | undefined;
|
|
574
|
+
};
|
|
575
|
+
usage: "chat";
|
|
576
|
+
} | {
|
|
577
|
+
type: "active.model";
|
|
578
|
+
param: {
|
|
579
|
+
model: string;
|
|
580
|
+
apiKey?: string | undefined;
|
|
581
|
+
};
|
|
582
|
+
usage: "app";
|
|
583
|
+
}, {}>;
|
|
584
|
+
export type ActiveModelSetting = typeof ActiveModelSetting.infer;
|
|
585
|
+
export declare function isActiveModelSetting(obj: unknown): obj is ActiveModelSetting;
|
|
586
|
+
export declare const ActiveEnv: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
587
|
+
type: "active.env";
|
|
588
|
+
env: {
|
|
589
|
+
key: string;
|
|
590
|
+
value: string;
|
|
591
|
+
}[];
|
|
592
|
+
}, {}>;
|
|
593
|
+
export type ActiveEnv = typeof ActiveEnv.infer;
|
|
594
|
+
export declare function isActiveEnv(obj: unknown): obj is ActiveEnv;
|
|
595
|
+
export declare const ActiveEntry: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
596
|
+
type: "app.public.access";
|
|
597
|
+
enable: boolean;
|
|
598
|
+
tick?: {
|
|
599
|
+
count: number;
|
|
600
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
601
|
+
} | undefined;
|
|
602
|
+
} | {
|
|
603
|
+
type: "app.request";
|
|
604
|
+
enable: boolean;
|
|
605
|
+
autoAcceptViewRequest?: boolean | null | undefined;
|
|
606
|
+
} | {
|
|
607
|
+
type: "app.acl.active.request";
|
|
608
|
+
role: "viewer";
|
|
609
|
+
state: "pending";
|
|
610
|
+
request: {
|
|
611
|
+
key: string;
|
|
612
|
+
provider: "clerk" | "github" | "google";
|
|
613
|
+
msg?: string | undefined;
|
|
614
|
+
userId: string;
|
|
615
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
616
|
+
};
|
|
617
|
+
} | {
|
|
618
|
+
type: "app.acl.active.request";
|
|
619
|
+
role: "editor" | "viewer";
|
|
620
|
+
state: "approved";
|
|
621
|
+
request: {
|
|
622
|
+
key: string;
|
|
623
|
+
provider: "clerk" | "github" | "google";
|
|
624
|
+
msg?: string | undefined;
|
|
625
|
+
userId: string;
|
|
626
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
627
|
+
};
|
|
628
|
+
tick: {
|
|
629
|
+
count: number;
|
|
630
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
631
|
+
};
|
|
632
|
+
grant: {
|
|
633
|
+
ownerId: string;
|
|
634
|
+
key?: string | undefined;
|
|
635
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
636
|
+
};
|
|
637
|
+
} | {
|
|
638
|
+
type: "app.acl.active.request";
|
|
639
|
+
role: "editor" | "viewer";
|
|
640
|
+
state: "rejected";
|
|
641
|
+
request: {
|
|
642
|
+
key: string;
|
|
643
|
+
provider: "clerk" | "github" | "google";
|
|
644
|
+
msg?: string | undefined;
|
|
645
|
+
userId: string;
|
|
646
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
647
|
+
};
|
|
648
|
+
grant: {
|
|
649
|
+
ownerId: string;
|
|
650
|
+
key?: string | undefined;
|
|
651
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
652
|
+
};
|
|
653
|
+
} | {
|
|
654
|
+
type: "app.acl.active.invite";
|
|
655
|
+
role: "editor";
|
|
656
|
+
state: "pending";
|
|
657
|
+
invite: {
|
|
658
|
+
email: string;
|
|
659
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
660
|
+
};
|
|
661
|
+
token: string;
|
|
662
|
+
} | {
|
|
663
|
+
type: "app.acl.active.invite";
|
|
664
|
+
role: "viewer";
|
|
665
|
+
state: "pending";
|
|
666
|
+
invite: {
|
|
667
|
+
email: string;
|
|
668
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
669
|
+
};
|
|
670
|
+
token: string;
|
|
671
|
+
} | {
|
|
672
|
+
type: "app.acl.active.invite";
|
|
673
|
+
role: "editor";
|
|
674
|
+
state: "accepted";
|
|
675
|
+
invite: {
|
|
676
|
+
email: string;
|
|
677
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
678
|
+
};
|
|
679
|
+
grant: {
|
|
680
|
+
ownerId: string;
|
|
681
|
+
key?: string | undefined;
|
|
682
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
683
|
+
};
|
|
684
|
+
tick: {
|
|
685
|
+
count: number;
|
|
686
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
687
|
+
};
|
|
688
|
+
} | {
|
|
689
|
+
type: "app.acl.active.invite";
|
|
690
|
+
role: "viewer";
|
|
691
|
+
state: "accepted";
|
|
692
|
+
invite: {
|
|
693
|
+
email: string;
|
|
694
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
695
|
+
};
|
|
696
|
+
grant: {
|
|
697
|
+
ownerId: string;
|
|
698
|
+
key?: string | undefined;
|
|
699
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
700
|
+
};
|
|
701
|
+
tick: {
|
|
702
|
+
count: number;
|
|
703
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
704
|
+
};
|
|
705
|
+
} | {
|
|
706
|
+
type: "app.acl.active.invite";
|
|
707
|
+
role: "editor";
|
|
708
|
+
state: "revoked";
|
|
709
|
+
invite: {
|
|
710
|
+
email: string;
|
|
711
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
712
|
+
};
|
|
713
|
+
grant: {
|
|
714
|
+
ownerId: string;
|
|
715
|
+
key?: string | undefined;
|
|
716
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
717
|
+
};
|
|
718
|
+
tick: {
|
|
719
|
+
count: number;
|
|
720
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
721
|
+
};
|
|
722
|
+
} | {
|
|
723
|
+
type: "app.acl.active.invite";
|
|
724
|
+
role: "viewer";
|
|
725
|
+
state: "revoked";
|
|
726
|
+
invite: {
|
|
727
|
+
email: string;
|
|
728
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
729
|
+
};
|
|
730
|
+
grant: {
|
|
731
|
+
ownerId: string;
|
|
732
|
+
key?: string | undefined;
|
|
733
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
734
|
+
};
|
|
735
|
+
tick: {
|
|
736
|
+
count: number;
|
|
737
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
738
|
+
};
|
|
739
|
+
} | {
|
|
740
|
+
type: "active.title";
|
|
741
|
+
title: string;
|
|
742
|
+
} | {
|
|
743
|
+
type: "active.model";
|
|
744
|
+
param: {
|
|
745
|
+
model: string;
|
|
746
|
+
apiKey?: string | undefined;
|
|
747
|
+
};
|
|
748
|
+
usage: "chat";
|
|
749
|
+
} | {
|
|
750
|
+
type: "active.model";
|
|
751
|
+
param: {
|
|
752
|
+
model: string;
|
|
753
|
+
apiKey?: string | undefined;
|
|
754
|
+
};
|
|
755
|
+
usage: "app";
|
|
756
|
+
} | {
|
|
757
|
+
type: "active.env";
|
|
758
|
+
env: {
|
|
759
|
+
key: string;
|
|
760
|
+
value: string;
|
|
761
|
+
}[];
|
|
762
|
+
}, {}>;
|
|
763
|
+
export declare function isActiveAcl(obj: unknown): obj is typeof ActiveACL.infer;
|
|
764
|
+
export type ActiveEntry = typeof ActiveEntry.infer;
|
|
765
|
+
export declare const ActiveInviteEditor: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
766
|
+
type: "app.acl.active.invite";
|
|
767
|
+
role: "editor";
|
|
768
|
+
state: "pending";
|
|
769
|
+
invite: {
|
|
770
|
+
email: string;
|
|
771
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
772
|
+
};
|
|
773
|
+
token: string;
|
|
774
|
+
} | {
|
|
775
|
+
type: "app.acl.active.invite";
|
|
776
|
+
role: "editor";
|
|
777
|
+
state: "accepted";
|
|
778
|
+
invite: {
|
|
779
|
+
email: string;
|
|
780
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
781
|
+
};
|
|
782
|
+
grant: {
|
|
783
|
+
ownerId: string;
|
|
784
|
+
key?: string | undefined;
|
|
785
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
786
|
+
};
|
|
787
|
+
tick: {
|
|
788
|
+
count: number;
|
|
789
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
790
|
+
};
|
|
791
|
+
} | {
|
|
792
|
+
type: "app.acl.active.invite";
|
|
793
|
+
role: "editor";
|
|
794
|
+
state: "revoked";
|
|
795
|
+
invite: {
|
|
796
|
+
email: string;
|
|
797
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
798
|
+
};
|
|
799
|
+
grant: {
|
|
800
|
+
ownerId: string;
|
|
801
|
+
key?: string | undefined;
|
|
802
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
803
|
+
};
|
|
804
|
+
tick: {
|
|
805
|
+
count: number;
|
|
806
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
807
|
+
};
|
|
808
|
+
}, {}>;
|
|
809
|
+
export declare const ActiveInviteViewer: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
810
|
+
type: "app.acl.active.invite";
|
|
811
|
+
role: "viewer";
|
|
812
|
+
state: "pending";
|
|
813
|
+
invite: {
|
|
814
|
+
email: string;
|
|
815
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
816
|
+
};
|
|
817
|
+
token: string;
|
|
818
|
+
} | {
|
|
819
|
+
type: "app.acl.active.invite";
|
|
820
|
+
role: "viewer";
|
|
821
|
+
state: "accepted";
|
|
822
|
+
invite: {
|
|
823
|
+
email: string;
|
|
824
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
825
|
+
};
|
|
826
|
+
grant: {
|
|
827
|
+
ownerId: string;
|
|
828
|
+
key?: string | undefined;
|
|
829
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
830
|
+
};
|
|
831
|
+
tick: {
|
|
832
|
+
count: number;
|
|
833
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
834
|
+
};
|
|
835
|
+
} | {
|
|
836
|
+
type: "app.acl.active.invite";
|
|
837
|
+
role: "viewer";
|
|
838
|
+
state: "revoked";
|
|
839
|
+
invite: {
|
|
840
|
+
email: string;
|
|
841
|
+
created: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
842
|
+
};
|
|
843
|
+
grant: {
|
|
844
|
+
ownerId: string;
|
|
845
|
+
key?: string | undefined;
|
|
846
|
+
on: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
847
|
+
};
|
|
848
|
+
tick: {
|
|
849
|
+
count: number;
|
|
850
|
+
last: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
|
|
851
|
+
};
|
|
852
|
+
}, {}>;
|
|
853
|
+
export type ActiveInviteEditor = typeof ActiveInviteEditor.infer;
|
|
854
|
+
export type ActiveInviteViewer = typeof ActiveInviteViewer.infer;
|
|
855
|
+
export declare function isActiveInviteEditor(obj: unknown): obj is typeof ActiveInviteEditor.infer;
|
|
856
|
+
export declare function isActiveInviteViewer(obj: unknown): obj is typeof ActiveInviteViewer.infer;
|