@8wave/ai-elements 0.121.0-beta.28 → 0.121.0-beta.29
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/dist-vue/index.js +2727 -2719
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/packages/models/src/schema/Organization.d.ts +104 -0
- package/package.json +1 -1
|
@@ -211,6 +211,110 @@ export declare const OrganizationDtoSchema: z.ZodObject<{
|
|
|
211
211
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
212
|
}, z.core.$strip>;
|
|
213
213
|
export type OrganizationDto = z.infer<typeof OrganizationDtoSchema>;
|
|
214
|
+
/**
|
|
215
|
+
* The system panel's save of an organization. Every key is optional and an
|
|
216
|
+
* absent one stays as it is. The metadata is written whole, as better-auth's
|
|
217
|
+
* update writes it: the page merges its section onto the stored one.
|
|
218
|
+
*/
|
|
219
|
+
export declare const OrganizationUpdateSchema: z.ZodObject<{
|
|
220
|
+
name: z.ZodOptional<z.ZodString>;
|
|
221
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
222
|
+
media: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
223
|
+
name: z.ZodString;
|
|
224
|
+
src: z.ZodObject<{
|
|
225
|
+
type: z.ZodString;
|
|
226
|
+
name: z.ZodString;
|
|
227
|
+
mimeType: z.ZodString;
|
|
228
|
+
bytesCount: z.ZodNumber;
|
|
229
|
+
extension: z.ZodString;
|
|
230
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
231
|
+
tags: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
232
|
+
storageHandle: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
233
|
+
type: z.ZodLiteral<"azure-blob">;
|
|
234
|
+
blobUri: z.ZodURL;
|
|
235
|
+
containerName: z.ZodString;
|
|
236
|
+
pathRelativeToContainer: z.ZodString;
|
|
237
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
238
|
+
type: z.ZodLiteral<"s3">;
|
|
239
|
+
bucket: z.ZodString;
|
|
240
|
+
key: z.ZodString;
|
|
241
|
+
region: z.ZodString;
|
|
242
|
+
}, z.core.$strip>], "type">;
|
|
243
|
+
storagePolicy: z.ZodEnum<typeof StoragePolicy>;
|
|
244
|
+
signData: z.ZodOptional<z.ZodString>;
|
|
245
|
+
storedFileName: z.ZodString;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
srcSet: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
248
|
+
type: z.ZodString;
|
|
249
|
+
name: z.ZodString;
|
|
250
|
+
mimeType: z.ZodString;
|
|
251
|
+
bytesCount: z.ZodNumber;
|
|
252
|
+
extension: z.ZodString;
|
|
253
|
+
metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
254
|
+
tags: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
255
|
+
storageHandle: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
256
|
+
type: z.ZodLiteral<"azure-blob">;
|
|
257
|
+
blobUri: z.ZodURL;
|
|
258
|
+
containerName: z.ZodString;
|
|
259
|
+
pathRelativeToContainer: z.ZodString;
|
|
260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
261
|
+
type: z.ZodLiteral<"s3">;
|
|
262
|
+
bucket: z.ZodString;
|
|
263
|
+
key: z.ZodString;
|
|
264
|
+
region: z.ZodString;
|
|
265
|
+
}, z.core.$strip>], "type">;
|
|
266
|
+
storagePolicy: z.ZodEnum<typeof StoragePolicy>;
|
|
267
|
+
signData: z.ZodOptional<z.ZodString>;
|
|
268
|
+
storedFileName: z.ZodString;
|
|
269
|
+
}, z.core.$strip>>>;
|
|
270
|
+
rawOptions: z.ZodOptional<z.ZodCustom<{
|
|
271
|
+
type: import('./Media').MediaType.picture;
|
|
272
|
+
width: number;
|
|
273
|
+
height: number;
|
|
274
|
+
blurhash?: string | undefined;
|
|
275
|
+
} | {
|
|
276
|
+
type: import('./Media').MediaType.video;
|
|
277
|
+
width: number;
|
|
278
|
+
height: number;
|
|
279
|
+
duration: number;
|
|
280
|
+
} | {
|
|
281
|
+
type: import('./Media').MediaType.audio;
|
|
282
|
+
duration: number;
|
|
283
|
+
} | {
|
|
284
|
+
type: import('./Media').MediaType.office;
|
|
285
|
+
} | {
|
|
286
|
+
type: import('./Media').MediaType.archive;
|
|
287
|
+
} | {
|
|
288
|
+
type: import('./Media').MediaType.binary;
|
|
289
|
+
} | {
|
|
290
|
+
type: import('./Media').MediaType.executable;
|
|
291
|
+
}, {
|
|
292
|
+
type: import('./Media').MediaType.picture;
|
|
293
|
+
width: number;
|
|
294
|
+
height: number;
|
|
295
|
+
blurhash?: string | undefined;
|
|
296
|
+
} | {
|
|
297
|
+
type: import('./Media').MediaType.video;
|
|
298
|
+
width: number;
|
|
299
|
+
height: number;
|
|
300
|
+
duration: number;
|
|
301
|
+
} | {
|
|
302
|
+
type: import('./Media').MediaType.audio;
|
|
303
|
+
duration: number;
|
|
304
|
+
} | {
|
|
305
|
+
type: import('./Media').MediaType.office;
|
|
306
|
+
} | {
|
|
307
|
+
type: import('./Media').MediaType.archive;
|
|
308
|
+
} | {
|
|
309
|
+
type: import('./Media').MediaType.binary;
|
|
310
|
+
} | {
|
|
311
|
+
type: import('./Media').MediaType.executable;
|
|
312
|
+
}>>;
|
|
313
|
+
}, z.core.$strip>>>;
|
|
314
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
315
|
+
requireTwoFactor: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
+
}, z.core.$strip>;
|
|
317
|
+
export type OrganizationUpdate = z.infer<typeof OrganizationUpdateSchema>;
|
|
214
318
|
/**
|
|
215
319
|
* The longest trash retention, a hundred years. Past it a date computed from
|
|
216
320
|
* the window stops being one Postgres accepts, and nobody means it anyway.
|