@questpie/admin 1.0.3 → 1.0.5
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/{client-BCuGyTy0.d.mts → client-BcHj40mZ.d.mts} +1006 -1066
- package/dist/{client-BCuGyTy0.d.mts.map → client-BcHj40mZ.d.mts.map} +1 -1
- package/dist/client-njX1rZmi.mjs.map +1 -1
- package/dist/client.d.mts +2 -2
- package/dist/{index-CV4ppE7U.d.mts → index-CSdBA36M.d.mts} +229 -229
- package/dist/{index-CV4ppE7U.d.mts.map → index-CSdBA36M.d.mts.map} +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/server.d.mts +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as ViewConfiguration } from "./saved-views.types-BMsz5mCy.mjs";
|
|
2
2
|
import * as zod0 from "zod";
|
|
3
|
-
import * as
|
|
3
|
+
import * as questpie202 from "questpie";
|
|
4
4
|
import { Questpie } from "questpie";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as drizzle_orm_pg_core179 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm91 from "drizzle-orm";
|
|
7
7
|
import * as better_auth0 from "better-auth";
|
|
8
8
|
import * as better_call0 from "better-call";
|
|
9
9
|
import * as better_auth_plugins0 from "better-auth/plugins";
|
|
@@ -173,7 +173,7 @@ declare function isAdminUser({
|
|
|
173
173
|
* });
|
|
174
174
|
* ```
|
|
175
175
|
*/
|
|
176
|
-
declare const savedViewsCollection:
|
|
176
|
+
declare const savedViewsCollection: questpie202.CollectionBuilder<questpie202.SetProperty<questpie202.TypeMerge<questpie202.UnsetProperty<questpie202.CollectionBuilderState & {
|
|
177
177
|
name: "admin_saved_views";
|
|
178
178
|
fields: {};
|
|
179
179
|
localized: [];
|
|
@@ -182,7 +182,7 @@ declare const savedViewsCollection: questpie238.CollectionBuilder<questpie238.Se
|
|
|
182
182
|
indexes: {};
|
|
183
183
|
title: undefined;
|
|
184
184
|
options: {};
|
|
185
|
-
hooks:
|
|
185
|
+
hooks: questpie202.CollectionHooks<any, any, any>;
|
|
186
186
|
access: {};
|
|
187
187
|
functions: {};
|
|
188
188
|
searchable: undefined;
|
|
@@ -191,11 +191,11 @@ declare const savedViewsCollection: questpie238.CollectionBuilder<questpie238.Se
|
|
|
191
191
|
upload: undefined;
|
|
192
192
|
}, "localized" | "fields">, {
|
|
193
193
|
fields: {
|
|
194
|
-
userId:
|
|
195
|
-
collectionName:
|
|
196
|
-
name:
|
|
197
|
-
configuration:
|
|
198
|
-
isDefault:
|
|
194
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
195
|
+
collectionName: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
196
|
+
name: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
197
|
+
configuration: drizzle_orm91.$Type<drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgJsonbBuilder>, ViewConfiguration>;
|
|
198
|
+
isDefault: drizzle_orm91.NotNull<drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>>;
|
|
199
199
|
};
|
|
200
200
|
localized: [];
|
|
201
201
|
}>, "options", {
|
|
@@ -222,14 +222,14 @@ interface PreviewTokenPayload {
|
|
|
222
222
|
* @returns Object with preview functions
|
|
223
223
|
*/
|
|
224
224
|
declare function createPreviewFunctions(secret: string): {
|
|
225
|
-
mintPreviewToken:
|
|
225
|
+
mintPreviewToken: questpie202.JsonFunctionDefinition<{
|
|
226
226
|
path: string;
|
|
227
227
|
ttlMs?: number | undefined;
|
|
228
228
|
}, {
|
|
229
229
|
token: string;
|
|
230
230
|
expiresAt: number;
|
|
231
231
|
}, any>;
|
|
232
|
-
verifyPreviewToken:
|
|
232
|
+
verifyPreviewToken: questpie202.JsonFunctionDefinition<{
|
|
233
233
|
token: string;
|
|
234
234
|
}, {
|
|
235
235
|
valid: boolean;
|
|
@@ -286,7 +286,7 @@ declare function createPreviewTokenVerifier(secret?: string): (token: string) =>
|
|
|
286
286
|
* }
|
|
287
287
|
* ```
|
|
288
288
|
*/
|
|
289
|
-
declare const isSetupRequired:
|
|
289
|
+
declare const isSetupRequired: questpie202.JsonFunctionDefinition<Record<string, never>, {
|
|
290
290
|
required: boolean;
|
|
291
291
|
}, any>;
|
|
292
292
|
/**
|
|
@@ -311,7 +311,7 @@ declare const isSetupRequired: questpie238.JsonFunctionDefinition<Record<string,
|
|
|
311
311
|
* }
|
|
312
312
|
* ```
|
|
313
313
|
*/
|
|
314
|
-
declare const createFirstAdmin:
|
|
314
|
+
declare const createFirstAdmin: questpie202.JsonFunctionDefinition<{
|
|
315
315
|
email: string;
|
|
316
316
|
password: string;
|
|
317
317
|
name: string;
|
|
@@ -328,10 +328,10 @@ declare const createFirstAdmin: questpie238.JsonFunctionDefinition<{
|
|
|
328
328
|
* Bundle of setup-related functions.
|
|
329
329
|
*/
|
|
330
330
|
declare const setupFunctions: {
|
|
331
|
-
readonly isSetupRequired:
|
|
331
|
+
readonly isSetupRequired: questpie202.JsonFunctionDefinition<Record<string, never>, {
|
|
332
332
|
required: boolean;
|
|
333
333
|
}, any>;
|
|
334
|
-
readonly createFirstAdmin:
|
|
334
|
+
readonly createFirstAdmin: questpie202.JsonFunctionDefinition<{
|
|
335
335
|
email: string;
|
|
336
336
|
password: string;
|
|
337
337
|
name: string;
|
|
@@ -392,36 +392,36 @@ declare const setupFunctions: {
|
|
|
392
392
|
* .build({ ... });
|
|
393
393
|
* ```
|
|
394
394
|
*/
|
|
395
|
-
declare const adminModule:
|
|
395
|
+
declare const adminModule: questpie202.QuestpieBuilder<questpie202.SetProperty<questpie202.SetProperty<{
|
|
396
396
|
name: "questpie-admin";
|
|
397
|
-
collections:
|
|
398
|
-
assets:
|
|
397
|
+
collections: questpie202.TypeMerge<questpie202.UnsetProperty<{}, keyof TOtherCollections>, {
|
|
398
|
+
assets: questpie202.CollectionBuilder<{
|
|
399
399
|
options: {
|
|
400
400
|
timestamps: true;
|
|
401
401
|
};
|
|
402
402
|
name: "assets";
|
|
403
403
|
fields: {
|
|
404
|
-
width:
|
|
405
|
-
height:
|
|
406
|
-
alt:
|
|
407
|
-
caption:
|
|
404
|
+
width: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
405
|
+
height: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
406
|
+
alt: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
407
|
+
caption: drizzle_orm_pg_core179.PgTextBuilder<[string, ...string[]]>;
|
|
408
408
|
} & {
|
|
409
|
-
key:
|
|
410
|
-
filename:
|
|
411
|
-
mimeType:
|
|
412
|
-
size:
|
|
413
|
-
visibility:
|
|
409
|
+
key: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
410
|
+
filename: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
411
|
+
mimeType: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
412
|
+
size: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgIntegerBuilder>;
|
|
413
|
+
visibility: drizzle_orm91.HasDefault<drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<["public", "private"]>>>;
|
|
414
414
|
};
|
|
415
415
|
localized: [];
|
|
416
416
|
virtuals: undefined;
|
|
417
|
-
relations: Record<string,
|
|
417
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
418
418
|
indexes: Record<string, any>;
|
|
419
419
|
title: "filename";
|
|
420
420
|
hooks: {
|
|
421
421
|
afterDelete: ({
|
|
422
422
|
data,
|
|
423
423
|
app
|
|
424
|
-
}:
|
|
424
|
+
}: questpie202.HookContext<{
|
|
425
425
|
width: number | null;
|
|
426
426
|
height: number | null;
|
|
427
427
|
alt: string | null;
|
|
@@ -438,160 +438,160 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
438
438
|
url: string;
|
|
439
439
|
}, never, "delete", any>) => Promise<void>;
|
|
440
440
|
};
|
|
441
|
-
access:
|
|
441
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
442
442
|
functions: {
|
|
443
|
-
[x: string]:
|
|
443
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
444
444
|
};
|
|
445
445
|
searchable: undefined;
|
|
446
446
|
validation: undefined;
|
|
447
|
-
output:
|
|
447
|
+
output: questpie202.TypeMerge<{}, {
|
|
448
448
|
url: string;
|
|
449
449
|
}>;
|
|
450
|
-
upload:
|
|
450
|
+
upload: questpie202.UploadOptions;
|
|
451
451
|
}>;
|
|
452
|
-
user:
|
|
452
|
+
user: questpie202.CollectionBuilder<{
|
|
453
453
|
options: {
|
|
454
454
|
timestamps: true;
|
|
455
455
|
};
|
|
456
456
|
name: "user";
|
|
457
457
|
fields: {
|
|
458
|
-
name:
|
|
459
|
-
email:
|
|
460
|
-
emailVerified:
|
|
461
|
-
image:
|
|
462
|
-
role:
|
|
463
|
-
banned:
|
|
464
|
-
banReason:
|
|
465
|
-
banExpires:
|
|
458
|
+
name: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
459
|
+
email: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
460
|
+
emailVerified: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
461
|
+
image: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
462
|
+
role: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
463
|
+
banned: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
464
|
+
banReason: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
465
|
+
banExpires: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
466
466
|
};
|
|
467
467
|
localized: [];
|
|
468
468
|
virtuals: undefined;
|
|
469
|
-
relations: Record<string,
|
|
469
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
470
470
|
indexes: Record<string, any>;
|
|
471
471
|
title: "name";
|
|
472
|
-
hooks:
|
|
473
|
-
access:
|
|
472
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
473
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
474
474
|
functions: {
|
|
475
|
-
[x: string]:
|
|
475
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
476
476
|
};
|
|
477
477
|
searchable: undefined;
|
|
478
478
|
validation: undefined;
|
|
479
479
|
output: undefined;
|
|
480
480
|
upload: undefined;
|
|
481
481
|
}>;
|
|
482
|
-
session:
|
|
483
|
-
options:
|
|
482
|
+
session: questpie202.CollectionBuilder<{
|
|
483
|
+
options: questpie202.CollectionOptions;
|
|
484
484
|
name: "session";
|
|
485
485
|
fields: {
|
|
486
|
-
userId:
|
|
487
|
-
token:
|
|
488
|
-
expiresAt:
|
|
489
|
-
ipAddress:
|
|
490
|
-
userAgent:
|
|
491
|
-
impersonatedBy:
|
|
486
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
487
|
+
token: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
488
|
+
expiresAt: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgTimestampBuilder>;
|
|
489
|
+
ipAddress: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
490
|
+
userAgent: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
491
|
+
impersonatedBy: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
492
492
|
};
|
|
493
493
|
localized: [];
|
|
494
494
|
virtuals: undefined;
|
|
495
|
-
relations: Record<string,
|
|
495
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
496
496
|
indexes: Record<string, any>;
|
|
497
497
|
title: "token";
|
|
498
|
-
hooks:
|
|
499
|
-
access:
|
|
498
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
499
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
500
500
|
functions: {
|
|
501
|
-
[x: string]:
|
|
501
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
502
502
|
};
|
|
503
503
|
searchable: undefined;
|
|
504
504
|
validation: undefined;
|
|
505
505
|
output: undefined;
|
|
506
506
|
upload: undefined;
|
|
507
507
|
}>;
|
|
508
|
-
account:
|
|
509
|
-
options:
|
|
508
|
+
account: questpie202.CollectionBuilder<{
|
|
509
|
+
options: questpie202.CollectionOptions;
|
|
510
510
|
name: "account";
|
|
511
511
|
fields: {
|
|
512
|
-
userId:
|
|
513
|
-
accountId:
|
|
514
|
-
providerId:
|
|
515
|
-
accessToken:
|
|
516
|
-
refreshToken:
|
|
517
|
-
accessTokenExpiresAt:
|
|
518
|
-
refreshTokenExpiresAt:
|
|
519
|
-
scope:
|
|
520
|
-
idToken:
|
|
521
|
-
password:
|
|
512
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
513
|
+
accountId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
514
|
+
providerId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
515
|
+
accessToken: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
516
|
+
refreshToken: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
517
|
+
accessTokenExpiresAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
518
|
+
refreshTokenExpiresAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
519
|
+
scope: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
520
|
+
idToken: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
521
|
+
password: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
522
522
|
};
|
|
523
523
|
localized: [];
|
|
524
524
|
virtuals: undefined;
|
|
525
|
-
relations: Record<string,
|
|
525
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
526
526
|
indexes: Record<string, any>;
|
|
527
527
|
title: "providerId";
|
|
528
|
-
hooks:
|
|
529
|
-
access:
|
|
528
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
529
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
530
530
|
functions: {
|
|
531
|
-
[x: string]:
|
|
531
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
532
532
|
};
|
|
533
533
|
searchable: undefined;
|
|
534
534
|
validation: undefined;
|
|
535
535
|
output: undefined;
|
|
536
536
|
upload: undefined;
|
|
537
537
|
}>;
|
|
538
|
-
verification:
|
|
539
|
-
options:
|
|
538
|
+
verification: questpie202.CollectionBuilder<{
|
|
539
|
+
options: questpie202.CollectionOptions;
|
|
540
540
|
name: "verification";
|
|
541
541
|
fields: {
|
|
542
|
-
identifier:
|
|
543
|
-
value:
|
|
544
|
-
expiresAt:
|
|
542
|
+
identifier: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
543
|
+
value: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
544
|
+
expiresAt: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgTimestampBuilder>;
|
|
545
545
|
};
|
|
546
546
|
localized: [];
|
|
547
547
|
virtuals: undefined;
|
|
548
|
-
relations: Record<string,
|
|
548
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
549
549
|
indexes: Record<string, any>;
|
|
550
550
|
title: "identifier";
|
|
551
|
-
hooks:
|
|
552
|
-
access:
|
|
551
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
552
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
553
553
|
functions: {
|
|
554
|
-
[x: string]:
|
|
554
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
555
555
|
};
|
|
556
556
|
searchable: undefined;
|
|
557
557
|
validation: undefined;
|
|
558
558
|
output: undefined;
|
|
559
559
|
upload: undefined;
|
|
560
560
|
}>;
|
|
561
|
-
apikey:
|
|
561
|
+
apikey: questpie202.CollectionBuilder<{
|
|
562
562
|
options: {
|
|
563
563
|
timestamps: true;
|
|
564
564
|
};
|
|
565
565
|
name: "apikey";
|
|
566
566
|
fields: {
|
|
567
|
-
name:
|
|
568
|
-
start:
|
|
569
|
-
prefix:
|
|
570
|
-
key:
|
|
571
|
-
userId:
|
|
572
|
-
refillInterval:
|
|
573
|
-
refillAmount:
|
|
574
|
-
lastRefillAt:
|
|
575
|
-
enabled:
|
|
576
|
-
rateLimitEnabled:
|
|
577
|
-
rateLimitTimeWindow:
|
|
578
|
-
rateLimitMax:
|
|
579
|
-
requestCount:
|
|
580
|
-
remaining:
|
|
581
|
-
lastRequest:
|
|
582
|
-
expiresAt:
|
|
583
|
-
permissions:
|
|
584
|
-
metadata:
|
|
567
|
+
name: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
568
|
+
start: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
569
|
+
prefix: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
570
|
+
key: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
571
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
572
|
+
refillInterval: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
573
|
+
refillAmount: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
574
|
+
lastRefillAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
575
|
+
enabled: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
576
|
+
rateLimitEnabled: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
577
|
+
rateLimitTimeWindow: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
578
|
+
rateLimitMax: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
579
|
+
requestCount: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgIntegerBuilder>;
|
|
580
|
+
remaining: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
581
|
+
lastRequest: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
582
|
+
expiresAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
583
|
+
permissions: drizzle_orm_pg_core179.PgTextBuilder<[string, ...string[]]>;
|
|
584
|
+
metadata: drizzle_orm_pg_core179.PgTextBuilder<[string, ...string[]]>;
|
|
585
585
|
};
|
|
586
586
|
localized: [];
|
|
587
587
|
virtuals: undefined;
|
|
588
|
-
relations: Record<string,
|
|
588
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
589
589
|
indexes: Record<string, any>;
|
|
590
590
|
title: "key";
|
|
591
|
-
hooks:
|
|
592
|
-
access:
|
|
591
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
592
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
593
593
|
functions: {
|
|
594
|
-
[x: string]:
|
|
594
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
595
595
|
};
|
|
596
596
|
searchable: undefined;
|
|
597
597
|
validation: undefined;
|
|
@@ -599,11 +599,11 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
599
599
|
upload: undefined;
|
|
600
600
|
}>;
|
|
601
601
|
}>;
|
|
602
|
-
globals:
|
|
603
|
-
jobs:
|
|
604
|
-
emailTemplates:
|
|
605
|
-
functions:
|
|
606
|
-
auth:
|
|
602
|
+
globals: questpie202.TypeMerge<questpie202.UnsetProperty<{}, keyof TOtherGlobals>, {}>;
|
|
603
|
+
jobs: questpie202.TypeMerge<questpie202.UnsetProperty<{}, keyof TOtherJobs>, {}>;
|
|
604
|
+
emailTemplates: questpie202.TypeMerge<questpie202.UnsetProperty<{}, keyof TOtherEmailTemplates>, {}>;
|
|
605
|
+
functions: questpie202.TypeMerge<questpie202.UnsetProperty<{}, keyof TOtherFunctions>, {}>;
|
|
606
|
+
auth: questpie202.MergeAuthOptions<{}, questpie202.MergeAuthOptions<{}, {
|
|
607
607
|
baseURL: string | undefined;
|
|
608
608
|
secret: string | undefined;
|
|
609
609
|
advanced: {
|
|
@@ -2446,147 +2446,147 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
2446
2446
|
requireEmailVerification: true;
|
|
2447
2447
|
};
|
|
2448
2448
|
}>>;
|
|
2449
|
-
locale?:
|
|
2450
|
-
migrations?:
|
|
2451
|
-
translations?:
|
|
2449
|
+
locale?: questpie202.LocaleConfig | undefined;
|
|
2450
|
+
migrations?: questpie202.Migration[] | undefined;
|
|
2451
|
+
translations?: questpie202.TranslationsConfig | undefined;
|
|
2452
2452
|
"~messageKeys"?: "error.notFound" | "error.notFound.withId" | "error.forbidden" | "error.unauthorized" | "error.validation" | "error.internal" | "error.badRequest" | "error.conflict" | "error.notImplemented" | "error.timeout" | "crud.create.forbidden" | "crud.read.forbidden" | "crud.update.forbidden" | "crud.delete.forbidden" | "crud.notFound" | "validation.required" | "validation.invalidType" | "validation.string.tooSmall" | "validation.string.tooBig" | "validation.string.email" | "validation.string.url" | "validation.string.uuid" | "validation.string.regex" | "validation.number.tooSmall" | "validation.number.tooBig" | "validation.number.notInteger" | "validation.number.notPositive" | "validation.number.notNegative" | "validation.array.tooSmall" | "validation.array.tooBig" | "validation.date.invalid" | "validation.date.tooEarly" | "validation.date.tooLate" | "auth.invalidCredentials" | "auth.sessionExpired" | "auth.tokenInvalid" | "auth.tokenExpired" | "auth.accountLocked" | "auth.emailNotVerified" | "auth.userNotFound" | "auth.userAlreadyExists" | "upload.tooLarge" | "upload.invalidType" | "upload.failed" | "hook.beforeCreate.failed" | "hook.afterCreate.failed" | "hook.beforeUpdate.failed" | "hook.afterUpdate.failed" | "hook.beforeDelete.failed" | "hook.afterDelete.failed" | "hook.validate.failed" | "access.denied" | "access.fieldDenied" | "access.operationDenied" | "error.database.uniqueViolation" | "error.database.foreignKeyViolation" | "error.database.notNullViolation" | "error.database.checkViolation" | undefined;
|
|
2453
2453
|
}, "collections", {
|
|
2454
|
-
user:
|
|
2454
|
+
user: questpie202.CollectionBuilder<{
|
|
2455
2455
|
options: {
|
|
2456
2456
|
timestamps: true;
|
|
2457
2457
|
};
|
|
2458
2458
|
name: "user";
|
|
2459
2459
|
fields: {
|
|
2460
|
-
name:
|
|
2461
|
-
email:
|
|
2462
|
-
emailVerified:
|
|
2463
|
-
image:
|
|
2464
|
-
role:
|
|
2465
|
-
banned:
|
|
2466
|
-
banReason:
|
|
2467
|
-
banExpires:
|
|
2460
|
+
name: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2461
|
+
email: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2462
|
+
emailVerified: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
2463
|
+
image: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2464
|
+
role: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2465
|
+
banned: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
2466
|
+
banReason: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2467
|
+
banExpires: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
2468
2468
|
};
|
|
2469
2469
|
localized: [];
|
|
2470
2470
|
virtuals: undefined;
|
|
2471
|
-
relations: Record<string,
|
|
2471
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2472
2472
|
indexes: Record<string, any>;
|
|
2473
2473
|
title: "name";
|
|
2474
|
-
hooks:
|
|
2475
|
-
access:
|
|
2474
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2475
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2476
2476
|
functions: {
|
|
2477
|
-
[x: string]:
|
|
2477
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2478
2478
|
};
|
|
2479
2479
|
searchable: undefined;
|
|
2480
2480
|
validation: undefined;
|
|
2481
2481
|
output: undefined;
|
|
2482
2482
|
upload: undefined;
|
|
2483
2483
|
}>;
|
|
2484
|
-
session:
|
|
2485
|
-
options:
|
|
2484
|
+
session: questpie202.CollectionBuilder<{
|
|
2485
|
+
options: questpie202.CollectionOptions;
|
|
2486
2486
|
name: "session";
|
|
2487
2487
|
fields: {
|
|
2488
|
-
userId:
|
|
2489
|
-
token:
|
|
2490
|
-
expiresAt:
|
|
2491
|
-
ipAddress:
|
|
2492
|
-
userAgent:
|
|
2493
|
-
impersonatedBy:
|
|
2488
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2489
|
+
token: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2490
|
+
expiresAt: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgTimestampBuilder>;
|
|
2491
|
+
ipAddress: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2492
|
+
userAgent: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2493
|
+
impersonatedBy: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2494
2494
|
};
|
|
2495
2495
|
localized: [];
|
|
2496
2496
|
virtuals: undefined;
|
|
2497
|
-
relations: Record<string,
|
|
2497
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2498
2498
|
indexes: Record<string, any>;
|
|
2499
2499
|
title: "token";
|
|
2500
|
-
hooks:
|
|
2501
|
-
access:
|
|
2500
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2501
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2502
2502
|
functions: {
|
|
2503
|
-
[x: string]:
|
|
2503
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2504
2504
|
};
|
|
2505
2505
|
searchable: undefined;
|
|
2506
2506
|
validation: undefined;
|
|
2507
2507
|
output: undefined;
|
|
2508
2508
|
upload: undefined;
|
|
2509
2509
|
}>;
|
|
2510
|
-
account:
|
|
2511
|
-
options:
|
|
2510
|
+
account: questpie202.CollectionBuilder<{
|
|
2511
|
+
options: questpie202.CollectionOptions;
|
|
2512
2512
|
name: "account";
|
|
2513
2513
|
fields: {
|
|
2514
|
-
userId:
|
|
2515
|
-
accountId:
|
|
2516
|
-
providerId:
|
|
2517
|
-
accessToken:
|
|
2518
|
-
refreshToken:
|
|
2519
|
-
accessTokenExpiresAt:
|
|
2520
|
-
refreshTokenExpiresAt:
|
|
2521
|
-
scope:
|
|
2522
|
-
idToken:
|
|
2523
|
-
password:
|
|
2514
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2515
|
+
accountId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2516
|
+
providerId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2517
|
+
accessToken: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2518
|
+
refreshToken: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2519
|
+
accessTokenExpiresAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
2520
|
+
refreshTokenExpiresAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
2521
|
+
scope: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2522
|
+
idToken: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2523
|
+
password: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2524
2524
|
};
|
|
2525
2525
|
localized: [];
|
|
2526
2526
|
virtuals: undefined;
|
|
2527
|
-
relations: Record<string,
|
|
2527
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2528
2528
|
indexes: Record<string, any>;
|
|
2529
2529
|
title: "providerId";
|
|
2530
|
-
hooks:
|
|
2531
|
-
access:
|
|
2530
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2531
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2532
2532
|
functions: {
|
|
2533
|
-
[x: string]:
|
|
2533
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2534
2534
|
};
|
|
2535
2535
|
searchable: undefined;
|
|
2536
2536
|
validation: undefined;
|
|
2537
2537
|
output: undefined;
|
|
2538
2538
|
upload: undefined;
|
|
2539
2539
|
}>;
|
|
2540
|
-
verification:
|
|
2541
|
-
options:
|
|
2540
|
+
verification: questpie202.CollectionBuilder<{
|
|
2541
|
+
options: questpie202.CollectionOptions;
|
|
2542
2542
|
name: "verification";
|
|
2543
2543
|
fields: {
|
|
2544
|
-
identifier:
|
|
2545
|
-
value:
|
|
2546
|
-
expiresAt:
|
|
2544
|
+
identifier: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2545
|
+
value: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2546
|
+
expiresAt: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgTimestampBuilder>;
|
|
2547
2547
|
};
|
|
2548
2548
|
localized: [];
|
|
2549
2549
|
virtuals: undefined;
|
|
2550
|
-
relations: Record<string,
|
|
2550
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2551
2551
|
indexes: Record<string, any>;
|
|
2552
2552
|
title: "identifier";
|
|
2553
|
-
hooks:
|
|
2554
|
-
access:
|
|
2553
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2554
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2555
2555
|
functions: {
|
|
2556
|
-
[x: string]:
|
|
2556
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2557
2557
|
};
|
|
2558
2558
|
searchable: undefined;
|
|
2559
2559
|
validation: undefined;
|
|
2560
2560
|
output: undefined;
|
|
2561
2561
|
upload: undefined;
|
|
2562
2562
|
}>;
|
|
2563
|
-
assets:
|
|
2563
|
+
assets: questpie202.CollectionBuilder<{
|
|
2564
2564
|
options: {
|
|
2565
2565
|
timestamps: true;
|
|
2566
2566
|
};
|
|
2567
2567
|
name: "assets";
|
|
2568
2568
|
fields: {
|
|
2569
|
-
width:
|
|
2570
|
-
height:
|
|
2571
|
-
alt:
|
|
2572
|
-
caption:
|
|
2569
|
+
width: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2570
|
+
height: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2571
|
+
alt: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2572
|
+
caption: drizzle_orm_pg_core179.PgTextBuilder<[string, ...string[]]>;
|
|
2573
2573
|
} & {
|
|
2574
|
-
key:
|
|
2575
|
-
filename:
|
|
2576
|
-
mimeType:
|
|
2577
|
-
size:
|
|
2578
|
-
visibility:
|
|
2574
|
+
key: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2575
|
+
filename: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2576
|
+
mimeType: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2577
|
+
size: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgIntegerBuilder>;
|
|
2578
|
+
visibility: drizzle_orm91.HasDefault<drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<["public", "private"]>>>;
|
|
2579
2579
|
};
|
|
2580
2580
|
localized: [];
|
|
2581
2581
|
virtuals: undefined;
|
|
2582
|
-
relations: Record<string,
|
|
2582
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2583
2583
|
indexes: Record<string, any>;
|
|
2584
2584
|
title: "filename";
|
|
2585
2585
|
hooks: {
|
|
2586
2586
|
afterDelete: ({
|
|
2587
2587
|
data,
|
|
2588
2588
|
app
|
|
2589
|
-
}:
|
|
2589
|
+
}: questpie202.HookContext<{
|
|
2590
2590
|
width: number | null;
|
|
2591
2591
|
height: number | null;
|
|
2592
2592
|
alt: string | null;
|
|
@@ -2603,58 +2603,58 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
2603
2603
|
url: string;
|
|
2604
2604
|
}, never, "delete", any>) => Promise<void>;
|
|
2605
2605
|
};
|
|
2606
|
-
access:
|
|
2606
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2607
2607
|
functions: {
|
|
2608
|
-
[x: string]:
|
|
2608
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2609
2609
|
};
|
|
2610
2610
|
searchable: undefined;
|
|
2611
2611
|
validation: undefined;
|
|
2612
|
-
output:
|
|
2612
|
+
output: questpie202.TypeMerge<{}, {
|
|
2613
2613
|
url: string;
|
|
2614
2614
|
}>;
|
|
2615
|
-
upload:
|
|
2615
|
+
upload: questpie202.UploadOptions;
|
|
2616
2616
|
}>;
|
|
2617
|
-
apikey:
|
|
2617
|
+
apikey: questpie202.CollectionBuilder<{
|
|
2618
2618
|
options: {
|
|
2619
2619
|
timestamps: true;
|
|
2620
2620
|
};
|
|
2621
2621
|
name: "apikey";
|
|
2622
2622
|
fields: {
|
|
2623
|
-
name:
|
|
2624
|
-
start:
|
|
2625
|
-
prefix:
|
|
2626
|
-
key:
|
|
2627
|
-
userId:
|
|
2628
|
-
refillInterval:
|
|
2629
|
-
refillAmount:
|
|
2630
|
-
lastRefillAt:
|
|
2631
|
-
enabled:
|
|
2632
|
-
rateLimitEnabled:
|
|
2633
|
-
rateLimitTimeWindow:
|
|
2634
|
-
rateLimitMax:
|
|
2635
|
-
requestCount:
|
|
2636
|
-
remaining:
|
|
2637
|
-
lastRequest:
|
|
2638
|
-
expiresAt:
|
|
2639
|
-
permissions:
|
|
2640
|
-
metadata:
|
|
2623
|
+
name: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2624
|
+
start: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2625
|
+
prefix: drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>;
|
|
2626
|
+
key: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2627
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2628
|
+
refillInterval: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2629
|
+
refillAmount: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2630
|
+
lastRefillAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
2631
|
+
enabled: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
2632
|
+
rateLimitEnabled: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>;
|
|
2633
|
+
rateLimitTimeWindow: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2634
|
+
rateLimitMax: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2635
|
+
requestCount: drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgIntegerBuilder>;
|
|
2636
|
+
remaining: drizzle_orm_pg_core179.PgIntegerBuilder;
|
|
2637
|
+
lastRequest: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
2638
|
+
expiresAt: drizzle_orm_pg_core179.PgTimestampBuilder;
|
|
2639
|
+
permissions: drizzle_orm_pg_core179.PgTextBuilder<[string, ...string[]]>;
|
|
2640
|
+
metadata: drizzle_orm_pg_core179.PgTextBuilder<[string, ...string[]]>;
|
|
2641
2641
|
};
|
|
2642
2642
|
localized: [];
|
|
2643
2643
|
virtuals: undefined;
|
|
2644
|
-
relations: Record<string,
|
|
2644
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2645
2645
|
indexes: Record<string, any>;
|
|
2646
2646
|
title: "key";
|
|
2647
|
-
hooks:
|
|
2648
|
-
access:
|
|
2647
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2648
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2649
2649
|
functions: {
|
|
2650
|
-
[x: string]:
|
|
2650
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2651
2651
|
};
|
|
2652
2652
|
searchable: undefined;
|
|
2653
2653
|
validation: undefined;
|
|
2654
2654
|
output: undefined;
|
|
2655
2655
|
upload: undefined;
|
|
2656
2656
|
}>;
|
|
2657
|
-
admin_saved_views:
|
|
2657
|
+
admin_saved_views: questpie202.CollectionBuilder<{
|
|
2658
2658
|
name: "admin_saved_views";
|
|
2659
2659
|
localized: [];
|
|
2660
2660
|
output: undefined;
|
|
@@ -2663,25 +2663,25 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
2663
2663
|
timestamps: true;
|
|
2664
2664
|
};
|
|
2665
2665
|
fields: {
|
|
2666
|
-
userId:
|
|
2667
|
-
collectionName:
|
|
2668
|
-
name:
|
|
2669
|
-
configuration:
|
|
2670
|
-
isDefault:
|
|
2666
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2667
|
+
collectionName: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2668
|
+
name: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2669
|
+
configuration: drizzle_orm91.$Type<drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgJsonbBuilder>, ViewConfiguration>;
|
|
2670
|
+
isDefault: drizzle_orm91.NotNull<drizzle_orm91.HasDefault<drizzle_orm_pg_core179.PgBooleanBuilder>>;
|
|
2671
2671
|
};
|
|
2672
2672
|
upload: undefined;
|
|
2673
2673
|
functions: {
|
|
2674
|
-
[x: string]:
|
|
2674
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2675
2675
|
};
|
|
2676
|
-
hooks:
|
|
2676
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2677
2677
|
indexes: Record<string, any>;
|
|
2678
2678
|
searchable: undefined;
|
|
2679
2679
|
virtuals: undefined;
|
|
2680
|
-
relations: Record<string,
|
|
2681
|
-
access:
|
|
2680
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2681
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2682
2682
|
validation: undefined;
|
|
2683
2683
|
}>;
|
|
2684
|
-
admin_preferences:
|
|
2684
|
+
admin_preferences: questpie202.CollectionBuilder<{
|
|
2685
2685
|
name: "admin_preferences";
|
|
2686
2686
|
localized: [];
|
|
2687
2687
|
output: undefined;
|
|
@@ -2690,38 +2690,38 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
2690
2690
|
timestamps: true;
|
|
2691
2691
|
};
|
|
2692
2692
|
fields: {
|
|
2693
|
-
userId:
|
|
2694
|
-
key:
|
|
2695
|
-
value:
|
|
2693
|
+
userId: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2694
|
+
key: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgVarcharBuilder<[string, ...string[]]>>;
|
|
2695
|
+
value: drizzle_orm91.NotNull<drizzle_orm_pg_core179.PgJsonbBuilder>;
|
|
2696
2696
|
};
|
|
2697
2697
|
upload: undefined;
|
|
2698
2698
|
functions: {
|
|
2699
|
-
[x: string]:
|
|
2699
|
+
[x: string]: questpie202.FunctionDefinition<any, any, any>;
|
|
2700
2700
|
};
|
|
2701
|
-
hooks:
|
|
2702
|
-
indexes:
|
|
2701
|
+
hooks: questpie202.CollectionHooks<any, any, any, any>;
|
|
2702
|
+
indexes: drizzle_orm_pg_core179.IndexBuilder[];
|
|
2703
2703
|
searchable: undefined;
|
|
2704
2704
|
virtuals: undefined;
|
|
2705
|
-
relations: Record<string,
|
|
2706
|
-
access:
|
|
2705
|
+
relations: Record<string, questpie202.RelationConfig>;
|
|
2706
|
+
access: questpie202.CollectionAccess<any, any>;
|
|
2707
2707
|
validation: undefined;
|
|
2708
2708
|
}>;
|
|
2709
2709
|
}>, "functions", {
|
|
2710
|
-
mintPreviewToken:
|
|
2710
|
+
mintPreviewToken: questpie202.JsonFunctionDefinition<{
|
|
2711
2711
|
path: string;
|
|
2712
2712
|
ttlMs?: number | undefined;
|
|
2713
2713
|
}, {
|
|
2714
2714
|
token: string;
|
|
2715
2715
|
expiresAt: number;
|
|
2716
2716
|
}, any>;
|
|
2717
|
-
verifyPreviewToken:
|
|
2717
|
+
verifyPreviewToken: questpie202.JsonFunctionDefinition<{
|
|
2718
2718
|
token: string;
|
|
2719
2719
|
}, {
|
|
2720
2720
|
valid: boolean;
|
|
2721
2721
|
path?: string | undefined;
|
|
2722
2722
|
error?: string | undefined;
|
|
2723
2723
|
}, any>;
|
|
2724
|
-
getContentLocales:
|
|
2724
|
+
getContentLocales: questpie202.JsonFunctionDefinition<Record<string, never> | undefined, {
|
|
2725
2725
|
locales: {
|
|
2726
2726
|
code: string;
|
|
2727
2727
|
label?: string | undefined;
|
|
@@ -2731,10 +2731,10 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
2731
2731
|
defaultLocale: string;
|
|
2732
2732
|
fallbacks?: Record<string, string> | undefined;
|
|
2733
2733
|
}, any>;
|
|
2734
|
-
isSetupRequired:
|
|
2734
|
+
isSetupRequired: questpie202.JsonFunctionDefinition<Record<string, never>, {
|
|
2735
2735
|
required: boolean;
|
|
2736
2736
|
}, any>;
|
|
2737
|
-
createFirstAdmin:
|
|
2737
|
+
createFirstAdmin: questpie202.JsonFunctionDefinition<{
|
|
2738
2738
|
email: string;
|
|
2739
2739
|
password: string;
|
|
2740
2740
|
name: string;
|
|
@@ -2750,4 +2750,4 @@ declare const adminModule: questpie238.QuestpieBuilder<questpie238.SetProperty<q
|
|
|
2750
2750
|
}>>;
|
|
2751
2751
|
//#endregion
|
|
2752
2752
|
export { PreviewTokenPayload as a, verifyPreviewTokenDirect as c, GetAdminSessionOptions as d, RequireAdminAuthOptions as f, requireAdminAuth as h, setupFunctions as i, savedViewsCollection as l, isAdminUser as m, createFirstAdmin as n, createPreviewFunctions as o, getAdminSession as p, isSetupRequired as r, createPreviewTokenVerifier as s, adminModule as t, AuthSession as u };
|
|
2753
|
-
//# sourceMappingURL=index-
|
|
2753
|
+
//# sourceMappingURL=index-CSdBA36M.d.mts.map
|