@questpie/admin 3.2.2 → 3.2.4
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/blocks/block-renderer.d.mts +2 -2
- package/dist/client/components/blocks/block-library-sidebar.mjs +126 -113
- package/dist/client/components/fields/json-field.mjs +114 -118
- package/dist/client/components/fields/rich-text-editor/bubble-menu.mjs +38 -40
- package/dist/client/components/fields/rich-text-editor/image-popover.mjs +6 -17
- package/dist/client/components/fields/rich-text-editor/index.mjs +71 -87
- package/dist/client/components/history-sidebar.mjs +25 -10
- package/dist/client/components/media/media-picker-dialog.mjs +237 -254
- package/dist/client/components/preview/live-preview-mode.mjs +230 -203
- package/dist/client/components/primitives/asset-preview.mjs +1 -1
- package/dist/client/contexts/focus-context.d.mts +4 -0
- package/dist/client/contexts/focus-context.mjs +106 -86
- package/dist/client/preview/block-scope-context.d.mts +2 -2
- package/dist/client/preview/diff.mjs +110 -0
- package/dist/client/preview/preview-banner.d.mts +2 -2
- package/dist/client/preview/preview-field.d.mts +4 -4
- package/dist/client/preview/preview-field.mjs +125 -187
- package/dist/client/preview/use-collection-preview.mjs +49 -21
- package/dist/client/views/auth/accept-invite-form.d.mts +2 -2
- package/dist/client/views/auth/auth-layout.d.mts +3 -3
- package/dist/client/views/auth/forgot-password-form.d.mts +2 -2
- package/dist/client/views/auth/reset-password-form.d.mts +2 -2
- package/dist/client/views/collection/bulk-action-toolbar.mjs +135 -156
- package/dist/client/views/collection/field-renderer.mjs +162 -51
- package/dist/client/views/collection/form-view.mjs +43 -81
- package/dist/client/views/collection/table-view.mjs +12 -10
- package/dist/client/views/common/global-search.mjs +199 -182
- package/dist/client/views/globals/global-form-view.mjs +625 -621
- package/dist/client/views/layout/admin-router.mjs +84 -100
- package/dist/client/views/pages/forgot-password-page.d.mts +2 -2
- package/dist/client/views/pages/invite-page.d.mts +2 -2
- package/dist/server/modules/admin/collections/account.d.mts +50 -50
- package/dist/server/modules/admin/collections/admin-locks.d.mts +54 -54
- package/dist/server/modules/admin/collections/admin-preferences.d.mts +39 -39
- package/dist/server/modules/admin/collections/admin-saved-views.d.mts +47 -47
- package/dist/server/modules/admin/collections/apikey.d.mts +67 -67
- package/dist/server/modules/admin/collections/assets.d.mts +39 -39
- package/dist/server/modules/admin/collections/session.d.mts +42 -42
- package/dist/server/modules/admin/collections/user.d.mts +62 -62
- package/dist/server/modules/admin/collections/verification.d.mts +23 -23
- package/dist/server/modules/admin/routes/admin-config.d.mts +2 -2
- package/dist/server/modules/admin/routes/execute-action.d.mts +9 -9
- package/dist/server/modules/admin/routes/locales.d.mts +2 -2
- package/dist/server/modules/admin/routes/preview.d.mts +11 -11
- package/dist/server/modules/admin/routes/reactive.d.mts +9 -9
- package/dist/server/modules/admin/routes/setup.d.mts +7 -7
- package/dist/server/modules/admin/routes/translations.d.mts +4 -4
- package/dist/server/modules/admin/routes/widget-data.d.mts +5 -5
- package/dist/server/modules/admin-preferences/collections/saved-views.d.mts +41 -41
- package/dist/server/modules/audit/.generated/module.d.mts +6 -6
- package/dist/server/modules/audit/collections/audit-log.d.mts +78 -78
- package/dist/server/modules/audit/jobs/audit-cleanup.d.mts +2 -2
- package/package.json +3 -3
|
@@ -421,53 +421,41 @@ function areRegistryViewRendererPropsEqual(prev, next) {
|
|
|
421
421
|
return shallowEqualComponentProps(prev.componentProps, next.componentProps);
|
|
422
422
|
}
|
|
423
423
|
const RegistryViewRenderer = React.memo(function RegistryViewRenderer$1(t0) {
|
|
424
|
-
const $ = c(
|
|
424
|
+
const $ = c(23);
|
|
425
425
|
const { loader, componentProps, viewKind, viewId } = t0;
|
|
426
426
|
let t1;
|
|
427
427
|
if ($[0] !== loader) {
|
|
428
|
-
t1 = ()
|
|
429
|
-
const cachedComponent = getCachedComponent(loader);
|
|
430
|
-
return {
|
|
431
|
-
Component: cachedComponent ?? null,
|
|
432
|
-
loading: !cachedComponent,
|
|
433
|
-
error: null
|
|
434
|
-
};
|
|
435
|
-
};
|
|
428
|
+
t1 = isDynamicImportLoader(loader);
|
|
436
429
|
$[0] = loader;
|
|
437
430
|
$[1] = t1;
|
|
438
431
|
} else t1 = $[1];
|
|
439
|
-
const
|
|
432
|
+
const loaderIsDynamic = t1;
|
|
433
|
+
const directComponent = loader && !loaderIsDynamic ? loader : null;
|
|
440
434
|
let t2;
|
|
435
|
+
if ($[2] !== loader || $[3] !== loaderIsDynamic) {
|
|
436
|
+
t2 = loaderIsDynamic ? getCachedComponent(loader) ?? null : null;
|
|
437
|
+
$[2] = loader;
|
|
438
|
+
$[3] = loaderIsDynamic;
|
|
439
|
+
$[4] = t2;
|
|
440
|
+
} else t2 = $[4];
|
|
441
|
+
const cachedComponent = t2;
|
|
442
|
+
const needsAsyncLoad = loaderIsDynamic && !cachedComponent;
|
|
441
443
|
let t3;
|
|
442
|
-
if ($[
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
error: null
|
|
457
|
-
});
|
|
458
|
-
return;
|
|
459
|
-
}
|
|
460
|
-
const cachedComponent_0 = getCachedComponent(loader);
|
|
461
|
-
if (cachedComponent_0) {
|
|
462
|
-
setState({
|
|
463
|
-
Component: cachedComponent_0,
|
|
464
|
-
loading: false,
|
|
465
|
-
error: null
|
|
466
|
-
});
|
|
467
|
-
return;
|
|
468
|
-
}
|
|
444
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
445
|
+
t3 = {
|
|
446
|
+
loader: null,
|
|
447
|
+
Component: null,
|
|
448
|
+
error: null
|
|
449
|
+
};
|
|
450
|
+
$[5] = t3;
|
|
451
|
+
} else t3 = $[5];
|
|
452
|
+
const [asyncState, setAsyncState] = React.useState(t3);
|
|
453
|
+
let t4;
|
|
454
|
+
let t5;
|
|
455
|
+
if ($[6] !== loader || $[7] !== needsAsyncLoad) {
|
|
456
|
+
t4 = () => {
|
|
457
|
+
if (!needsAsyncLoad || !isDynamicImportLoader(loader)) return;
|
|
469
458
|
let mounted = true;
|
|
470
|
-
setState(_temp2);
|
|
471
459
|
(async () => {
|
|
472
460
|
try {
|
|
473
461
|
const result = await loader();
|
|
@@ -476,20 +464,20 @@ const RegistryViewRenderer = React.memo(function RegistryViewRenderer$1(t0) {
|
|
|
476
464
|
if (result.default) Component = result.default;
|
|
477
465
|
else Component = result;
|
|
478
466
|
cacheComponent(loader, Component);
|
|
479
|
-
|
|
467
|
+
setAsyncState({
|
|
468
|
+
loader,
|
|
480
469
|
Component,
|
|
481
|
-
loading: false,
|
|
482
470
|
error: null
|
|
483
471
|
});
|
|
484
|
-
} catch (
|
|
485
|
-
const error =
|
|
472
|
+
} catch (t6$1) {
|
|
473
|
+
const error = t6$1;
|
|
486
474
|
if (!mounted) return;
|
|
487
475
|
let resolvedError;
|
|
488
476
|
if (error instanceof Error) resolvedError = error;
|
|
489
477
|
else resolvedError = /* @__PURE__ */ new Error("Failed to load view component");
|
|
490
|
-
|
|
478
|
+
setAsyncState({
|
|
479
|
+
loader,
|
|
491
480
|
Component: null,
|
|
492
|
-
loading: false,
|
|
493
481
|
error: resolvedError
|
|
494
482
|
});
|
|
495
483
|
}
|
|
@@ -498,62 +486,65 @@ const RegistryViewRenderer = React.memo(function RegistryViewRenderer$1(t0) {
|
|
|
498
486
|
mounted = false;
|
|
499
487
|
};
|
|
500
488
|
};
|
|
501
|
-
|
|
502
|
-
$[
|
|
503
|
-
$[
|
|
504
|
-
$[
|
|
489
|
+
t5 = [loader, needsAsyncLoad];
|
|
490
|
+
$[6] = loader;
|
|
491
|
+
$[7] = needsAsyncLoad;
|
|
492
|
+
$[8] = t4;
|
|
493
|
+
$[9] = t5;
|
|
505
494
|
} else {
|
|
506
|
-
|
|
507
|
-
|
|
495
|
+
t4 = $[8];
|
|
496
|
+
t5 = $[9];
|
|
508
497
|
}
|
|
509
|
-
React.useEffect(
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
498
|
+
React.useEffect(t4, t5);
|
|
499
|
+
const asyncMatches = asyncState.loader === loader;
|
|
500
|
+
const Component_0 = directComponent ?? cachedComponent ?? (asyncMatches ? asyncState.Component : null);
|
|
501
|
+
const error_0 = asyncMatches ? asyncState.error : null;
|
|
502
|
+
if (needsAsyncLoad && !Component_0 && !error_0) {
|
|
503
|
+
let t6$1;
|
|
504
|
+
if ($[10] !== viewKind) {
|
|
505
|
+
t6$1 = /* @__PURE__ */ jsx(ViewLoadingState, { viewKind });
|
|
506
|
+
$[10] = viewKind;
|
|
507
|
+
$[11] = t6$1;
|
|
508
|
+
} else t6$1 = $[11];
|
|
509
|
+
return t6$1;
|
|
518
510
|
}
|
|
519
|
-
if (
|
|
520
|
-
let
|
|
521
|
-
if ($[
|
|
522
|
-
|
|
511
|
+
if (error_0 || !Component_0) {
|
|
512
|
+
let t6$1;
|
|
513
|
+
if ($[12] !== viewId || $[13] !== viewKind) {
|
|
514
|
+
t6$1 = /* @__PURE__ */ jsx(UnknownViewState, {
|
|
523
515
|
viewKind,
|
|
524
516
|
viewId
|
|
525
517
|
});
|
|
526
|
-
$[
|
|
527
|
-
$[
|
|
528
|
-
$[
|
|
529
|
-
} else
|
|
530
|
-
return
|
|
518
|
+
$[12] = viewId;
|
|
519
|
+
$[13] = viewKind;
|
|
520
|
+
$[14] = t6$1;
|
|
521
|
+
} else t6$1 = $[14];
|
|
522
|
+
return t6$1;
|
|
531
523
|
}
|
|
532
|
-
const Component_0 = state.Component;
|
|
533
|
-
let t4;
|
|
534
|
-
if ($[10] !== viewKind) {
|
|
535
|
-
t4 = /* @__PURE__ */ jsx(ViewLoadingState, { viewKind });
|
|
536
|
-
$[10] = viewKind;
|
|
537
|
-
$[11] = t4;
|
|
538
|
-
} else t4 = $[11];
|
|
539
|
-
let t5;
|
|
540
|
-
if ($[12] !== Component_0 || $[13] !== componentProps) {
|
|
541
|
-
t5 = /* @__PURE__ */ jsx(Component_0, { ...componentProps });
|
|
542
|
-
$[12] = Component_0;
|
|
543
|
-
$[13] = componentProps;
|
|
544
|
-
$[14] = t5;
|
|
545
|
-
} else t5 = $[14];
|
|
546
524
|
let t6;
|
|
547
|
-
if ($[15] !==
|
|
548
|
-
t6 = /* @__PURE__ */ jsx(
|
|
549
|
-
|
|
550
|
-
|
|
525
|
+
if ($[15] !== viewKind) {
|
|
526
|
+
t6 = /* @__PURE__ */ jsx(ViewLoadingState, { viewKind });
|
|
527
|
+
$[15] = viewKind;
|
|
528
|
+
$[16] = t6;
|
|
529
|
+
} else t6 = $[16];
|
|
530
|
+
let t7;
|
|
531
|
+
if ($[17] !== Component_0 || $[18] !== componentProps) {
|
|
532
|
+
t7 = /* @__PURE__ */ jsx(Component_0, { ...componentProps });
|
|
533
|
+
$[17] = Component_0;
|
|
534
|
+
$[18] = componentProps;
|
|
535
|
+
$[19] = t7;
|
|
536
|
+
} else t7 = $[19];
|
|
537
|
+
let t8;
|
|
538
|
+
if ($[20] !== t6 || $[21] !== t7) {
|
|
539
|
+
t8 = /* @__PURE__ */ jsx(React.Suspense, {
|
|
540
|
+
fallback: t6,
|
|
541
|
+
children: t7
|
|
551
542
|
});
|
|
552
|
-
$[
|
|
553
|
-
$[
|
|
554
|
-
$[
|
|
555
|
-
} else
|
|
556
|
-
return
|
|
543
|
+
$[20] = t6;
|
|
544
|
+
$[21] = t7;
|
|
545
|
+
$[22] = t8;
|
|
546
|
+
} else t8 = $[22];
|
|
547
|
+
return t8;
|
|
557
548
|
}, areRegistryViewRendererPropsEqual);
|
|
558
549
|
function DefaultDashboard() {
|
|
559
550
|
const $ = c(27);
|
|
@@ -1189,7 +1180,7 @@ function AdminRouterInner(t0) {
|
|
|
1189
1180
|
$[44] = routeKey;
|
|
1190
1181
|
$[45] = t13;
|
|
1191
1182
|
} else t13 = $[45];
|
|
1192
|
-
React.useEffect(
|
|
1183
|
+
React.useEffect(_temp2, t13);
|
|
1193
1184
|
if (route.type === "dashboard") {
|
|
1194
1185
|
if (DashboardComponent) {
|
|
1195
1186
|
let t14$2;
|
|
@@ -1556,19 +1547,12 @@ function AdminRouterInner(t0) {
|
|
|
1556
1547
|
} else t14 = $[152];
|
|
1557
1548
|
return t14;
|
|
1558
1549
|
}
|
|
1559
|
-
function
|
|
1550
|
+
function _temp2() {
|
|
1560
1551
|
const main = document.getElementById("main-content");
|
|
1561
1552
|
if (main) requestAnimationFrame(() => {
|
|
1562
1553
|
main.focus({ preventScroll: true });
|
|
1563
1554
|
});
|
|
1564
1555
|
}
|
|
1565
|
-
function _temp2(prev) {
|
|
1566
|
-
return {
|
|
1567
|
-
...prev,
|
|
1568
|
-
loading: true,
|
|
1569
|
-
error: null
|
|
1570
|
-
};
|
|
1571
|
-
}
|
|
1572
1556
|
|
|
1573
1557
|
//#endregion
|
|
1574
1558
|
export { AdminRouter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/views/pages/forgot-password-page.d.ts
|
|
5
5
|
|
|
@@ -51,6 +51,6 @@ declare function ForgotPasswordPage({
|
|
|
51
51
|
logo,
|
|
52
52
|
loginPath,
|
|
53
53
|
resetPasswordRedirectUrl
|
|
54
|
-
}: ForgotPasswordPageProps):
|
|
54
|
+
}: ForgotPasswordPageProps): react_jsx_runtime10.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { ForgotPasswordPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/views/pages/invite-page.d.ts
|
|
5
5
|
|
|
@@ -65,6 +65,6 @@ declare function InvitePage({
|
|
|
65
65
|
defaultRole,
|
|
66
66
|
showMessage,
|
|
67
67
|
onSuccess
|
|
68
|
-
}: InvitePageProps):
|
|
68
|
+
}: InvitePageProps): react_jsx_runtime0.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { InvitePage };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as questpie_shared28 from "questpie/shared";
|
|
2
|
+
import * as questpie181 from "questpie";
|
|
3
|
+
import * as questpie_src_server_modules_core_fields_email_js4 from "questpie/src/server/modules/core/fields/email.js";
|
|
4
|
+
import * as questpie_src_server_modules_core_fields_json_js4 from "questpie/src/server/modules/core/fields/json.js";
|
|
5
|
+
import * as drizzle_orm_pg_core42 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm25 from "drizzle-orm";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/account.d.ts
|
|
9
|
-
declare const _default:
|
|
10
|
-
readonly text: typeof
|
|
11
|
-
readonly textarea: typeof
|
|
12
|
-
readonly email: typeof
|
|
13
|
-
readonly url: typeof
|
|
14
|
-
readonly number: typeof
|
|
15
|
-
readonly boolean: typeof
|
|
16
|
-
readonly date: typeof
|
|
17
|
-
readonly datetime: typeof
|
|
18
|
-
readonly time: typeof
|
|
19
|
-
readonly select: typeof
|
|
20
|
-
readonly upload: typeof
|
|
21
|
-
readonly relation: typeof
|
|
22
|
-
readonly object: typeof
|
|
23
|
-
readonly json: typeof
|
|
24
|
-
readonly from: typeof
|
|
9
|
+
declare const _default: questpie181.CollectionBuilder<questpie_shared28.Override<questpie181.EmptyCollectionState<"account", undefined, {
|
|
10
|
+
readonly text: typeof questpie181.text;
|
|
11
|
+
readonly textarea: typeof questpie181.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js4.email;
|
|
13
|
+
readonly url: typeof questpie181.url;
|
|
14
|
+
readonly number: typeof questpie181.number;
|
|
15
|
+
readonly boolean: typeof questpie181.boolean;
|
|
16
|
+
readonly date: typeof questpie181.date;
|
|
17
|
+
readonly datetime: typeof questpie181.datetime;
|
|
18
|
+
readonly time: typeof questpie181.time;
|
|
19
|
+
readonly select: typeof questpie181.select;
|
|
20
|
+
readonly upload: typeof questpie181.upload;
|
|
21
|
+
readonly relation: typeof questpie181.relation;
|
|
22
|
+
readonly object: typeof questpie181.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js4.json;
|
|
24
|
+
readonly from: typeof questpie181.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "account";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly userId:
|
|
29
|
-
readonly accountId:
|
|
30
|
-
readonly providerId:
|
|
31
|
-
readonly accessToken:
|
|
32
|
-
readonly refreshToken:
|
|
33
|
-
readonly accessTokenExpiresAt:
|
|
34
|
-
readonly refreshTokenExpiresAt:
|
|
35
|
-
readonly scope:
|
|
36
|
-
readonly idToken:
|
|
37
|
-
readonly password:
|
|
28
|
+
readonly userId: drizzle_orm25.NotNull<drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly accountId: drizzle_orm25.NotNull<drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly providerId: drizzle_orm25.NotNull<drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly accessToken: drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>;
|
|
32
|
+
readonly refreshToken: drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>;
|
|
33
|
+
readonly accessTokenExpiresAt: drizzle_orm_pg_core42.PgTimestampBuilder;
|
|
34
|
+
readonly refreshTokenExpiresAt: drizzle_orm_pg_core42.PgTimestampBuilder;
|
|
35
|
+
readonly scope: drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>;
|
|
36
|
+
readonly idToken: drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>;
|
|
37
|
+
readonly password: drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>;
|
|
38
38
|
};
|
|
39
39
|
virtuals: undefined;
|
|
40
|
-
relations: Record<string,
|
|
40
|
+
relations: Record<string, questpie181.RelationConfig>;
|
|
41
41
|
indexes: Record<string, any>;
|
|
42
42
|
title: "providerId";
|
|
43
|
-
options:
|
|
43
|
+
options: questpie181.CollectionOptions & {
|
|
44
44
|
timestamps: true;
|
|
45
45
|
};
|
|
46
46
|
hooks: Record<string, any>;
|
|
47
47
|
access: Record<string, any>;
|
|
48
48
|
searchable: undefined;
|
|
49
49
|
fieldDefinitions: {
|
|
50
|
-
readonly userId:
|
|
50
|
+
readonly userId: questpie181.FieldWithMethods<Omit<questpie181.TextFieldState, "notNull" | "column"> & {
|
|
51
51
|
notNull: true;
|
|
52
|
-
column:
|
|
53
|
-
},
|
|
54
|
-
readonly accountId:
|
|
52
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>>;
|
|
53
|
+
}, questpie181.TextFieldMethods>;
|
|
54
|
+
readonly accountId: questpie181.FieldWithMethods<Omit<questpie181.TextFieldState, "notNull" | "column"> & {
|
|
55
55
|
notNull: true;
|
|
56
|
-
column:
|
|
57
|
-
},
|
|
58
|
-
readonly providerId:
|
|
56
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>>;
|
|
57
|
+
}, questpie181.TextFieldMethods>;
|
|
58
|
+
readonly providerId: questpie181.FieldWithMethods<Omit<questpie181.TextFieldState, "notNull" | "column"> & {
|
|
59
59
|
notNull: true;
|
|
60
|
-
column:
|
|
61
|
-
},
|
|
62
|
-
readonly accessToken:
|
|
63
|
-
readonly refreshToken:
|
|
64
|
-
readonly accessTokenExpiresAt:
|
|
65
|
-
readonly refreshTokenExpiresAt:
|
|
66
|
-
readonly scope:
|
|
67
|
-
readonly idToken:
|
|
68
|
-
readonly password:
|
|
60
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core42.PgVarcharBuilder<[string, ...string[]]>>;
|
|
61
|
+
}, questpie181.TextFieldMethods>;
|
|
62
|
+
readonly accessToken: questpie181.FieldWithMethods<questpie181.TextFieldState, questpie181.TextFieldMethods>;
|
|
63
|
+
readonly refreshToken: questpie181.FieldWithMethods<questpie181.TextFieldState, questpie181.TextFieldMethods>;
|
|
64
|
+
readonly accessTokenExpiresAt: questpie181.FieldWithMethods<questpie181.DatetimeFieldState, questpie181.DatetimeFieldMethods>;
|
|
65
|
+
readonly refreshTokenExpiresAt: questpie181.FieldWithMethods<questpie181.DatetimeFieldState, questpie181.DatetimeFieldMethods>;
|
|
66
|
+
readonly scope: questpie181.FieldWithMethods<questpie181.TextFieldState, questpie181.TextFieldMethods>;
|
|
67
|
+
readonly idToken: questpie181.FieldWithMethods<questpie181.TextFieldState, questpie181.TextFieldMethods>;
|
|
68
|
+
readonly password: questpie181.FieldWithMethods<questpie181.TextFieldState, questpie181.TextFieldMethods>;
|
|
69
69
|
};
|
|
70
70
|
upload: undefined;
|
|
71
71
|
output: {};
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as questpie_shared29 from "questpie/shared";
|
|
2
|
+
import * as questpie228 from "questpie";
|
|
3
|
+
import * as questpie_src_server_modules_core_fields_email_js5 from "questpie/src/server/modules/core/fields/email.js";
|
|
4
|
+
import * as questpie_src_server_modules_core_fields_json_js5 from "questpie/src/server/modules/core/fields/json.js";
|
|
5
|
+
import * as drizzle_orm_pg_core55 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm31 from "drizzle-orm";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/admin-locks.d.ts
|
|
9
|
-
declare const _default:
|
|
10
|
-
readonly text: typeof
|
|
11
|
-
readonly textarea: typeof
|
|
12
|
-
readonly email: typeof
|
|
13
|
-
readonly url: typeof
|
|
14
|
-
readonly number: typeof
|
|
15
|
-
readonly boolean: typeof
|
|
16
|
-
readonly date: typeof
|
|
17
|
-
readonly datetime: typeof
|
|
18
|
-
readonly time: typeof
|
|
19
|
-
readonly select: typeof
|
|
20
|
-
readonly upload: typeof
|
|
21
|
-
readonly relation: typeof
|
|
22
|
-
readonly object: typeof
|
|
23
|
-
readonly json: typeof
|
|
24
|
-
readonly from: typeof
|
|
9
|
+
declare const _default: questpie228.CollectionBuilder<questpie_shared29.Override<questpie228.EmptyCollectionState<"admin_locks", undefined, {
|
|
10
|
+
readonly text: typeof questpie228.text;
|
|
11
|
+
readonly textarea: typeof questpie228.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js5.email;
|
|
13
|
+
readonly url: typeof questpie228.url;
|
|
14
|
+
readonly number: typeof questpie228.number;
|
|
15
|
+
readonly boolean: typeof questpie228.boolean;
|
|
16
|
+
readonly date: typeof questpie228.date;
|
|
17
|
+
readonly datetime: typeof questpie228.datetime;
|
|
18
|
+
readonly time: typeof questpie228.time;
|
|
19
|
+
readonly select: typeof questpie228.select;
|
|
20
|
+
readonly upload: typeof questpie228.upload;
|
|
21
|
+
readonly relation: typeof questpie228.relation;
|
|
22
|
+
readonly object: typeof questpie228.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js5.json;
|
|
24
|
+
readonly from: typeof questpie228.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "admin_locks";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly resourceType:
|
|
29
|
-
readonly resource:
|
|
30
|
-
readonly resourceId:
|
|
31
|
-
readonly user:
|
|
32
|
-
readonly sessionId:
|
|
33
|
-
readonly expiresAt:
|
|
28
|
+
readonly resourceType: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly resource: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly resourceId: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly user: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
32
|
+
readonly sessionId: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
33
|
+
readonly expiresAt: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgDateStringBuilder>;
|
|
34
34
|
};
|
|
35
35
|
virtuals: undefined;
|
|
36
|
-
relations: Record<string,
|
|
36
|
+
relations: Record<string, questpie228.RelationConfig>;
|
|
37
37
|
indexes: Record<string, any>;
|
|
38
38
|
title: undefined;
|
|
39
|
-
options:
|
|
39
|
+
options: questpie228.CollectionOptions & {
|
|
40
40
|
timestamps: true;
|
|
41
41
|
};
|
|
42
42
|
hooks: Record<string, any>;
|
|
43
43
|
access: Record<string, any>;
|
|
44
44
|
searchable: undefined;
|
|
45
45
|
fieldDefinitions: {
|
|
46
|
-
readonly resourceType:
|
|
46
|
+
readonly resourceType: questpie228.FieldWithMethods<Omit<questpie228.SelectFieldState, "notNull" | "column"> & {
|
|
47
47
|
notNull: true;
|
|
48
|
-
column:
|
|
48
|
+
column: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
49
49
|
} & {
|
|
50
|
-
label:
|
|
51
|
-
},
|
|
52
|
-
readonly resource:
|
|
50
|
+
label: questpie_shared29.I18nText;
|
|
51
|
+
}, questpie228.SelectFieldMethods>;
|
|
52
|
+
readonly resource: questpie228.FieldWithMethods<Omit<questpie228.TextFieldState, "notNull" | "column"> & {
|
|
53
53
|
notNull: true;
|
|
54
|
-
column:
|
|
54
|
+
column: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
55
55
|
} & {
|
|
56
|
-
label:
|
|
57
|
-
},
|
|
58
|
-
readonly resourceId:
|
|
56
|
+
label: questpie_shared29.I18nText;
|
|
57
|
+
}, questpie228.TextFieldMethods>;
|
|
58
|
+
readonly resourceId: questpie228.FieldWithMethods<Omit<questpie228.TextFieldState, "notNull" | "column"> & {
|
|
59
59
|
notNull: true;
|
|
60
|
-
column:
|
|
60
|
+
column: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
61
61
|
} & {
|
|
62
|
-
label:
|
|
63
|
-
},
|
|
64
|
-
readonly user:
|
|
62
|
+
label: questpie_shared29.I18nText;
|
|
63
|
+
}, questpie228.TextFieldMethods>;
|
|
64
|
+
readonly user: questpie228.FieldWithMethods<Omit<questpie228.RelationFieldState<"user">, "notNull" | "column"> & {
|
|
65
65
|
notNull: true;
|
|
66
|
-
column:
|
|
66
|
+
column: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
67
67
|
} & {
|
|
68
|
-
label:
|
|
69
|
-
},
|
|
70
|
-
readonly sessionId:
|
|
68
|
+
label: questpie_shared29.I18nText;
|
|
69
|
+
}, questpie228.RelationFieldMethods>;
|
|
70
|
+
readonly sessionId: questpie228.FieldWithMethods<Omit<questpie228.TextFieldState, "notNull" | "column"> & {
|
|
71
71
|
notNull: true;
|
|
72
|
-
column:
|
|
72
|
+
column: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
73
73
|
} & {
|
|
74
|
-
label:
|
|
75
|
-
},
|
|
76
|
-
readonly expiresAt:
|
|
74
|
+
label: questpie_shared29.I18nText;
|
|
75
|
+
}, questpie228.TextFieldMethods>;
|
|
76
|
+
readonly expiresAt: questpie228.FieldWithMethods<Omit<questpie228.DateFieldState, "notNull" | "column"> & {
|
|
77
77
|
notNull: true;
|
|
78
|
-
column:
|
|
78
|
+
column: drizzle_orm31.NotNull<drizzle_orm_pg_core55.PgDateStringBuilder>;
|
|
79
79
|
} & {
|
|
80
|
-
label:
|
|
81
|
-
},
|
|
80
|
+
label: questpie_shared29.I18nText;
|
|
81
|
+
}, questpie228.DateFieldMethods>;
|
|
82
82
|
};
|
|
83
83
|
upload: undefined;
|
|
84
84
|
output: {};
|