@questpie/admin 3.0.7 → 3.0.8
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/admin-link.d.mts +2 -2
- package/dist/client/hooks/use-collection.mjs +1 -1
- package/dist/client/hooks/use-server-actions.mjs +2 -2
- package/dist/client/preview/block-scope-context.d.mts +2 -2
- package/dist/client/preview/preview-banner.d.mts +2 -2
- package/dist/client/preview/preview-field.d.mts +4 -4
- 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/login-form.d.mts +2 -2
- package/dist/client/views/collection/form-view.mjs +2 -2
- package/dist/client/views/pages/reset-password-page.d.mts +2 -2
- package/dist/client/views/pages/setup-page.d.mts +2 -2
- package/dist/components/rich-text/rich-text-renderer.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 +64 -64
- package/dist/server/modules/admin/collections/assets.d.mts +20 -20
- package/dist/server/modules/admin/collections/session.d.mts +38 -38
- package/dist/server/modules/admin/collections/user.d.mts +32 -32
- package/dist/server/modules/admin/collections/verification.d.mts +23 -23
- package/dist/server/modules/admin/index.d.mts +1 -1
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BlockContent } from "./types.mjs";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/client/blocks/block-renderer.d.ts
|
|
6
6
|
|
|
@@ -40,6 +40,6 @@ declare function BlockRenderer({
|
|
|
40
40
|
selectedBlockId,
|
|
41
41
|
onBlockClick,
|
|
42
42
|
className
|
|
43
|
-
}: BlockRendererProps):
|
|
43
|
+
}: BlockRendererProps): react_jsx_runtime24.JSX.Element | null;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { BlockRenderer, BlockRendererProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CollectionNames, GlobalNames } from "../builder/index.mjs";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
4
4
|
import { QuestpieApp } from "questpie/client";
|
|
5
5
|
|
|
6
6
|
//#region src/client/components/admin-link.d.ts
|
|
@@ -61,6 +61,6 @@ declare function AdminLink<TApp extends QuestpieApp>({
|
|
|
61
61
|
children,
|
|
62
62
|
onClick,
|
|
63
63
|
...rest
|
|
64
|
-
}: AdminLinkProps<TApp>):
|
|
64
|
+
}: AdminLinkProps<TApp>): react_jsx_runtime12.JSX.Element;
|
|
65
65
|
//#endregion
|
|
66
66
|
export { AdminLink };
|
|
@@ -496,7 +496,7 @@ function useCollectionDelete(collection, mutationOptions) {
|
|
|
496
496
|
t6 = (data_0, error, variables_0, context_0) => {
|
|
497
497
|
queryClient.invalidateQueries({ queryKey: listQueryKey });
|
|
498
498
|
queryClient.invalidateQueries({ queryKey: countQueryKey });
|
|
499
|
-
queryClient.
|
|
499
|
+
queryClient.removeQueries({ queryKey: itemQueryKey });
|
|
500
500
|
(mutationOptions?.onSettled)?.(data_0, error, variables_0, context_0);
|
|
501
501
|
};
|
|
502
502
|
$[16] = countQueryKey;
|
|
@@ -206,8 +206,8 @@ function mergeServerActions(localActions, serverActions) {
|
|
|
206
206
|
primary: headerActions,
|
|
207
207
|
secondary: headerSecondary
|
|
208
208
|
},
|
|
209
|
-
row: rowActions,
|
|
210
|
-
bulk: bulkActions
|
|
209
|
+
..."row" in localActions || rowActions.length > 0 ? { row: rowActions } : {},
|
|
210
|
+
..."bulk" in localActions || bulkActions.length > 0 ? { bulk: bulkActions } : {}
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
213
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/preview/block-scope-context.d.ts
|
|
5
5
|
|
|
@@ -35,7 +35,7 @@ declare function BlockScopeProvider({
|
|
|
35
35
|
blockId,
|
|
36
36
|
basePath,
|
|
37
37
|
children
|
|
38
|
-
}: BlockScopeProviderProps):
|
|
38
|
+
}: BlockScopeProviderProps): react_jsx_runtime18.JSX.Element;
|
|
39
39
|
/**
|
|
40
40
|
* Get current block scope context.
|
|
41
41
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime17 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/client/preview/preview-banner.d.ts
|
|
4
4
|
|
|
@@ -40,6 +40,6 @@ declare function PreviewBanner({
|
|
|
40
40
|
isPreviewMode,
|
|
41
41
|
className,
|
|
42
42
|
exitPreviewUrl
|
|
43
|
-
}: PreviewBannerProps):
|
|
43
|
+
}: PreviewBannerProps): react_jsx_runtime17.JSX.Element | null;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { PreviewBanner, PreviewBannerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/preview/preview-field.d.ts
|
|
5
5
|
|
|
@@ -45,7 +45,7 @@ declare function PreviewProvider({
|
|
|
45
45
|
fieldType?: "regular" | "block" | "relation";
|
|
46
46
|
}) => void;
|
|
47
47
|
children: React.ReactNode;
|
|
48
|
-
}):
|
|
48
|
+
}): react_jsx_runtime19.JSX.Element;
|
|
49
49
|
/**
|
|
50
50
|
* Hook to access preview context.
|
|
51
51
|
*/
|
|
@@ -81,7 +81,7 @@ declare function PreviewField({
|
|
|
81
81
|
as: Component,
|
|
82
82
|
className,
|
|
83
83
|
onClick
|
|
84
|
-
}: PreviewFieldProps):
|
|
84
|
+
}: PreviewFieldProps): react_jsx_runtime19.JSX.Element;
|
|
85
85
|
/**
|
|
86
86
|
* Standalone PreviewField that works without context.
|
|
87
87
|
* Useful when you can't use PreviewProvider.
|
|
@@ -102,6 +102,6 @@ declare function StandalonePreviewField({
|
|
|
102
102
|
blockId?: string;
|
|
103
103
|
fieldType?: "regular" | "block" | "relation";
|
|
104
104
|
}) => void;
|
|
105
|
-
}):
|
|
105
|
+
}): react_jsx_runtime19.JSX.Element;
|
|
106
106
|
//#endregion
|
|
107
107
|
export { PreviewField, PreviewFieldProps, PreviewProvider, StandalonePreviewField, usePreviewContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/client/views/auth/accept-invite-form.d.ts
|
|
4
4
|
/**
|
|
@@ -67,6 +67,6 @@ declare function AcceptInviteForm({
|
|
|
67
67
|
className,
|
|
68
68
|
error,
|
|
69
69
|
minPasswordLength
|
|
70
|
-
}: AcceptInviteFormProps):
|
|
70
|
+
}: AcceptInviteFormProps): react_jsx_runtime1.JSX.Element;
|
|
71
71
|
//#endregion
|
|
72
72
|
export { AcceptInviteForm };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/views/auth/auth-layout.d.ts
|
|
5
5
|
|
|
@@ -26,7 +26,7 @@ declare function AuthDefaultLogo({
|
|
|
26
26
|
brandName
|
|
27
27
|
}: {
|
|
28
28
|
brandName: string;
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime2.JSX.Element;
|
|
30
30
|
/**
|
|
31
31
|
* Minimal split layout for authentication pages (login, register, forgot password, etc.)
|
|
32
32
|
*
|
|
@@ -50,6 +50,6 @@ declare function AuthDefaultLogo({
|
|
|
50
50
|
* </AuthLayout>
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
|
-
declare function AuthLayout(props: AuthLayoutProps):
|
|
53
|
+
declare function AuthLayout(props: AuthLayoutProps): react_jsx_runtime2.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { AuthDefaultLogo, AuthLayout, AuthLayoutProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/client/views/auth/forgot-password-form.d.ts
|
|
4
4
|
/**
|
|
@@ -53,6 +53,6 @@ declare function ForgotPasswordForm({
|
|
|
53
53
|
defaultValues,
|
|
54
54
|
className,
|
|
55
55
|
error
|
|
56
|
-
}: ForgotPasswordFormProps):
|
|
56
|
+
}: ForgotPasswordFormProps): react_jsx_runtime4.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { ForgotPasswordForm };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/client/views/auth/login-form.d.ts
|
|
4
4
|
/**
|
|
@@ -70,6 +70,6 @@ declare function LoginForm({
|
|
|
70
70
|
className,
|
|
71
71
|
error,
|
|
72
72
|
minPasswordLength
|
|
73
|
-
}: LoginFormProps):
|
|
73
|
+
}: LoginFormProps): react_jsx_runtime0.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { LoginForm };
|
|
@@ -958,12 +958,12 @@ function FormView({ collection, id, config, viewConfig, navigate, basePath = "/a
|
|
|
958
958
|
break;
|
|
959
959
|
}
|
|
960
960
|
setActionLoading(true);
|
|
961
|
-
toast.promise(deleteMutation.mutateAsync(itemId_1).finally(() => {
|
|
961
|
+
toast.promise(deleteMutation.mutateAsync({ id: itemId_1 }).finally(() => {
|
|
962
962
|
setActionLoading(false);
|
|
963
963
|
}), {
|
|
964
964
|
loading: t("toast.deleting"),
|
|
965
965
|
success: () => {
|
|
966
|
-
|
|
966
|
+
storeNavigate(`${storeBasePath || basePath}/collections/${collection}`);
|
|
967
967
|
return t("toast.deleteSuccess");
|
|
968
968
|
},
|
|
969
969
|
error: (err_2) => err_2.message || t("toast.deleteFailed")
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime14 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/views/pages/reset-password-page.d.ts
|
|
5
5
|
|
|
@@ -58,6 +58,6 @@ declare function ResetPasswordPage({
|
|
|
58
58
|
loginPath,
|
|
59
59
|
minPasswordLength,
|
|
60
60
|
getToken
|
|
61
|
-
}: ResetPasswordPageProps):
|
|
61
|
+
}: ResetPasswordPageProps): react_jsx_runtime14.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
export { ResetPasswordPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/views/pages/setup-page.d.ts
|
|
5
5
|
|
|
@@ -56,6 +56,6 @@ declare function SetupPage({
|
|
|
56
56
|
redirectTo,
|
|
57
57
|
loginPath,
|
|
58
58
|
showLoginLink
|
|
59
|
-
}: SetupPageProps):
|
|
59
|
+
}: SetupPageProps): react_jsx_runtime15.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { SetupPage, SetupPageProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/rich-text/rich-text-renderer.d.ts
|
|
4
4
|
/**
|
|
@@ -98,6 +98,6 @@ declare function RichTextRenderer({
|
|
|
98
98
|
content,
|
|
99
99
|
styles: customStyles,
|
|
100
100
|
className
|
|
101
|
-
}: RichTextRendererProps):
|
|
101
|
+
}: RichTextRendererProps): react_jsx_runtime25.JSX.Element | null;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { RichTextRenderer, RichTextStyles, TipTapDoc, TipTapNode };
|
|
@@ -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_shared22 from "questpie/shared";
|
|
2
|
+
import * as questpie151 from "questpie";
|
|
3
|
+
import * as questpie_src_server_modules_core_fields_email_js3 from "questpie/src/server/modules/core/fields/email.js";
|
|
4
|
+
import * as questpie_src_server_modules_core_fields_json_js3 from "questpie/src/server/modules/core/fields/json.js";
|
|
5
|
+
import * as drizzle_orm_pg_core32 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm15 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: questpie151.CollectionBuilder<questpie_shared22.Override<questpie151.EmptyCollectionState<"account", undefined, {
|
|
10
|
+
readonly text: typeof questpie151.text;
|
|
11
|
+
readonly textarea: typeof questpie151.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js3.email;
|
|
13
|
+
readonly url: typeof questpie151.url;
|
|
14
|
+
readonly number: typeof questpie151.number;
|
|
15
|
+
readonly boolean: typeof questpie151.boolean;
|
|
16
|
+
readonly date: typeof questpie151.date;
|
|
17
|
+
readonly datetime: typeof questpie151.datetime;
|
|
18
|
+
readonly time: typeof questpie151.time;
|
|
19
|
+
readonly select: typeof questpie151.select;
|
|
20
|
+
readonly upload: typeof questpie151.upload;
|
|
21
|
+
readonly relation: typeof questpie151.relation;
|
|
22
|
+
readonly object: typeof questpie151.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js3.json;
|
|
24
|
+
readonly from: typeof questpie151.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_orm15.NotNull<drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly accountId: drizzle_orm15.NotNull<drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly providerId: drizzle_orm15.NotNull<drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly accessToken: drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>;
|
|
32
|
+
readonly refreshToken: drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>;
|
|
33
|
+
readonly accessTokenExpiresAt: drizzle_orm_pg_core32.PgTimestampBuilder;
|
|
34
|
+
readonly refreshTokenExpiresAt: drizzle_orm_pg_core32.PgTimestampBuilder;
|
|
35
|
+
readonly scope: drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>;
|
|
36
|
+
readonly idToken: drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>;
|
|
37
|
+
readonly password: drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>;
|
|
38
38
|
};
|
|
39
39
|
virtuals: undefined;
|
|
40
|
-
relations: Record<string,
|
|
40
|
+
relations: Record<string, questpie151.RelationConfig>;
|
|
41
41
|
indexes: Record<string, any>;
|
|
42
42
|
title: "providerId";
|
|
43
|
-
options:
|
|
43
|
+
options: questpie151.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: questpie151.FieldWithMethods<Omit<questpie151.TextFieldState, "notNull" | "column"> & {
|
|
51
51
|
notNull: true;
|
|
52
|
-
column:
|
|
53
|
-
},
|
|
54
|
-
readonly accountId:
|
|
52
|
+
column: drizzle_orm15.NotNull<drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>>;
|
|
53
|
+
}, questpie151.TextFieldMethods>;
|
|
54
|
+
readonly accountId: questpie151.FieldWithMethods<Omit<questpie151.TextFieldState, "notNull" | "column"> & {
|
|
55
55
|
notNull: true;
|
|
56
|
-
column:
|
|
57
|
-
},
|
|
58
|
-
readonly providerId:
|
|
56
|
+
column: drizzle_orm15.NotNull<drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>>;
|
|
57
|
+
}, questpie151.TextFieldMethods>;
|
|
58
|
+
readonly providerId: questpie151.FieldWithMethods<Omit<questpie151.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_orm15.NotNull<drizzle_orm_pg_core32.PgVarcharBuilder<[string, ...string[]]>>;
|
|
61
|
+
}, questpie151.TextFieldMethods>;
|
|
62
|
+
readonly accessToken: questpie151.FieldWithMethods<questpie151.TextFieldState, questpie151.TextFieldMethods>;
|
|
63
|
+
readonly refreshToken: questpie151.FieldWithMethods<questpie151.TextFieldState, questpie151.TextFieldMethods>;
|
|
64
|
+
readonly accessTokenExpiresAt: questpie151.FieldWithMethods<questpie151.DatetimeFieldState, questpie151.DatetimeFieldMethods>;
|
|
65
|
+
readonly refreshTokenExpiresAt: questpie151.FieldWithMethods<questpie151.DatetimeFieldState, questpie151.DatetimeFieldMethods>;
|
|
66
|
+
readonly scope: questpie151.FieldWithMethods<questpie151.TextFieldState, questpie151.TextFieldMethods>;
|
|
67
|
+
readonly idToken: questpie151.FieldWithMethods<questpie151.TextFieldState, questpie151.TextFieldMethods>;
|
|
68
|
+
readonly password: questpie151.FieldWithMethods<questpie151.TextFieldState, questpie151.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_shared23 from "questpie/shared";
|
|
2
|
+
import * as questpie198 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_core45 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm21 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: questpie198.CollectionBuilder<questpie_shared23.Override<questpie198.EmptyCollectionState<"admin_locks", undefined, {
|
|
10
|
+
readonly text: typeof questpie198.text;
|
|
11
|
+
readonly textarea: typeof questpie198.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js4.email;
|
|
13
|
+
readonly url: typeof questpie198.url;
|
|
14
|
+
readonly number: typeof questpie198.number;
|
|
15
|
+
readonly boolean: typeof questpie198.boolean;
|
|
16
|
+
readonly date: typeof questpie198.date;
|
|
17
|
+
readonly datetime: typeof questpie198.datetime;
|
|
18
|
+
readonly time: typeof questpie198.time;
|
|
19
|
+
readonly select: typeof questpie198.select;
|
|
20
|
+
readonly upload: typeof questpie198.upload;
|
|
21
|
+
readonly relation: typeof questpie198.relation;
|
|
22
|
+
readonly object: typeof questpie198.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js4.json;
|
|
24
|
+
readonly from: typeof questpie198.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_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly resource: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly resourceId: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly user: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
32
|
+
readonly sessionId: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
33
|
+
readonly expiresAt: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgDateStringBuilder>;
|
|
34
34
|
};
|
|
35
35
|
virtuals: undefined;
|
|
36
|
-
relations: Record<string,
|
|
36
|
+
relations: Record<string, questpie198.RelationConfig>;
|
|
37
37
|
indexes: Record<string, any>;
|
|
38
38
|
title: undefined;
|
|
39
|
-
options:
|
|
39
|
+
options: questpie198.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: questpie198.FieldWithMethods<Omit<questpie198.SelectFieldState, "notNull" | "column"> & {
|
|
47
47
|
notNull: true;
|
|
48
|
-
column:
|
|
48
|
+
column: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
49
49
|
} & {
|
|
50
|
-
label:
|
|
51
|
-
},
|
|
52
|
-
readonly resource:
|
|
50
|
+
label: questpie_shared23.I18nText;
|
|
51
|
+
}, questpie198.SelectFieldMethods>;
|
|
52
|
+
readonly resource: questpie198.FieldWithMethods<Omit<questpie198.TextFieldState, "notNull" | "column"> & {
|
|
53
53
|
notNull: true;
|
|
54
|
-
column:
|
|
54
|
+
column: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
55
55
|
} & {
|
|
56
|
-
label:
|
|
57
|
-
},
|
|
58
|
-
readonly resourceId:
|
|
56
|
+
label: questpie_shared23.I18nText;
|
|
57
|
+
}, questpie198.TextFieldMethods>;
|
|
58
|
+
readonly resourceId: questpie198.FieldWithMethods<Omit<questpie198.TextFieldState, "notNull" | "column"> & {
|
|
59
59
|
notNull: true;
|
|
60
|
-
column:
|
|
60
|
+
column: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
61
61
|
} & {
|
|
62
|
-
label:
|
|
63
|
-
},
|
|
64
|
-
readonly user:
|
|
62
|
+
label: questpie_shared23.I18nText;
|
|
63
|
+
}, questpie198.TextFieldMethods>;
|
|
64
|
+
readonly user: questpie198.FieldWithMethods<Omit<questpie198.RelationFieldState<"user">, "notNull" | "column"> & {
|
|
65
65
|
notNull: true;
|
|
66
|
-
column:
|
|
66
|
+
column: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
67
67
|
} & {
|
|
68
|
-
label:
|
|
69
|
-
},
|
|
70
|
-
readonly sessionId:
|
|
68
|
+
label: questpie_shared23.I18nText;
|
|
69
|
+
}, questpie198.RelationFieldMethods>;
|
|
70
|
+
readonly sessionId: questpie198.FieldWithMethods<Omit<questpie198.TextFieldState, "notNull" | "column"> & {
|
|
71
71
|
notNull: true;
|
|
72
|
-
column:
|
|
72
|
+
column: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgVarcharBuilder<[string, ...string[]]>>;
|
|
73
73
|
} & {
|
|
74
|
-
label:
|
|
75
|
-
},
|
|
76
|
-
readonly expiresAt:
|
|
74
|
+
label: questpie_shared23.I18nText;
|
|
75
|
+
}, questpie198.TextFieldMethods>;
|
|
76
|
+
readonly expiresAt: questpie198.FieldWithMethods<Omit<questpie198.DateFieldState, "notNull" | "column"> & {
|
|
77
77
|
notNull: true;
|
|
78
|
-
column:
|
|
78
|
+
column: drizzle_orm21.NotNull<drizzle_orm_pg_core45.PgDateStringBuilder>;
|
|
79
79
|
} & {
|
|
80
|
-
label:
|
|
81
|
-
},
|
|
80
|
+
label: questpie_shared23.I18nText;
|
|
81
|
+
}, questpie198.DateFieldMethods>;
|
|
82
82
|
};
|
|
83
83
|
upload: undefined;
|
|
84
84
|
output: {};
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as questpie_shared36 from "questpie/shared";
|
|
2
|
+
import * as questpie263 from "questpie";
|
|
3
|
+
import * as questpie_src_server_modules_core_fields_email_js6 from "questpie/src/server/modules/core/fields/email.js";
|
|
4
|
+
import * as questpie_src_server_modules_core_fields_json_js6 from "questpie/src/server/modules/core/fields/json.js";
|
|
5
|
+
import * as drizzle_orm_pg_core67 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm43 from "drizzle-orm";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/admin-preferences.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: questpie263.CollectionBuilder<questpie_shared36.Override<questpie263.EmptyCollectionState<"admin_preferences", undefined, {
|
|
10
|
+
readonly text: typeof questpie263.text;
|
|
11
|
+
readonly textarea: typeof questpie263.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js6.email;
|
|
13
|
+
readonly url: typeof questpie263.url;
|
|
14
|
+
readonly number: typeof questpie263.number;
|
|
15
|
+
readonly boolean: typeof questpie263.boolean;
|
|
16
|
+
readonly date: typeof questpie263.date;
|
|
17
|
+
readonly datetime: typeof questpie263.datetime;
|
|
18
|
+
readonly time: typeof questpie263.time;
|
|
19
|
+
readonly select: typeof questpie263.select;
|
|
20
|
+
readonly upload: typeof questpie263.upload;
|
|
21
|
+
readonly relation: typeof questpie263.relation;
|
|
22
|
+
readonly object: typeof questpie263.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js6.json;
|
|
24
|
+
readonly from: typeof questpie263.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "admin_preferences";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly userId:
|
|
29
|
-
readonly key:
|
|
30
|
-
readonly value:
|
|
28
|
+
readonly userId: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly key: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly value: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgJsonbBuilder>;
|
|
31
31
|
};
|
|
32
32
|
virtuals: undefined;
|
|
33
|
-
relations: Record<string,
|
|
34
|
-
indexes: Record<string, any> &
|
|
33
|
+
relations: Record<string, questpie263.RelationConfig>;
|
|
34
|
+
indexes: Record<string, any> & drizzle_orm_pg_core67.IndexBuilder[];
|
|
35
35
|
title: undefined;
|
|
36
|
-
options:
|
|
36
|
+
options: questpie263.CollectionOptions & {
|
|
37
37
|
timestamps: true;
|
|
38
38
|
};
|
|
39
39
|
hooks: Record<string, any>;
|
|
40
40
|
access: Record<string, any>;
|
|
41
41
|
searchable: undefined;
|
|
42
42
|
fieldDefinitions: {
|
|
43
|
-
readonly userId:
|
|
43
|
+
readonly userId: questpie263.FieldWithMethods<Omit<questpie263.TextFieldState, "notNull" | "column"> & {
|
|
44
44
|
notNull: true;
|
|
45
|
-
column:
|
|
45
|
+
column: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
46
46
|
} & {
|
|
47
|
-
label:
|
|
48
|
-
},
|
|
49
|
-
readonly key:
|
|
47
|
+
label: questpie_shared36.I18nText;
|
|
48
|
+
}, questpie263.TextFieldMethods>;
|
|
49
|
+
readonly key: questpie263.FieldWithMethods<Omit<questpie263.TextFieldState, "notNull" | "column"> & {
|
|
50
50
|
notNull: true;
|
|
51
|
-
column:
|
|
51
|
+
column: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
52
52
|
} & {
|
|
53
|
-
label:
|
|
54
|
-
},
|
|
55
|
-
readonly value:
|
|
53
|
+
label: questpie_shared36.I18nText;
|
|
54
|
+
}, questpie263.TextFieldMethods>;
|
|
55
|
+
readonly value: questpie263.Field<Omit<questpie263.JsonFieldState, "notNull" | "column"> & {
|
|
56
56
|
notNull: true;
|
|
57
|
-
column:
|
|
57
|
+
column: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgJsonbBuilder>;
|
|
58
58
|
} & {
|
|
59
|
-
label:
|
|
59
|
+
label: questpie_shared36.I18nText;
|
|
60
60
|
}>;
|
|
61
61
|
};
|
|
62
62
|
upload: undefined;
|