@questpie/admin 3.0.2 → 3.0.3
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/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/scope/picker.d.mts +2 -2
- package/dist/client/scope/provider.d.mts +2 -2
- 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/auth/setup-form.d.mts +2 -2
- package/dist/client/views/pages/dashboard-page.d.mts +2 -2
- package/dist/client/views/pages/invite-page.d.mts +2 -2
- package/dist/client/views/pages/login-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/admin-preferences.d.mts +35 -35
- package/dist/server/modules/admin/collections/admin-saved-views.d.mts +47 -47
- package/dist/server/modules/admin/collections/apikey.d.mts +68 -68
- 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 +28 -28
- package/dist/server/modules/admin/collections/verification.d.mts +36 -36
- 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/setup.d.mts +7 -7
- package/dist/server/modules/admin/routes/translations.d.mts +4 -4
- package/dist/server/modules/admin-preferences/collections/saved-views.d.mts +27 -27
- package/dist/server/modules/audit/.generated/module.d.mts +6 -6
- package/dist/server/modules/audit/collections/audit-log.d.mts +37 -37
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 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_runtime20.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_runtime19 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_runtime19.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_runtime21 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_runtime21.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_runtime21.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_runtime21.JSX.Element;
|
|
106
106
|
//#endregion
|
|
107
107
|
export { PreviewField, PreviewFieldProps, PreviewProvider, StandalonePreviewField, usePreviewContext };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScopePickerProps } from "./types.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/scope/picker.d.ts
|
|
5
5
|
|
|
@@ -48,6 +48,6 @@ declare function ScopePicker({
|
|
|
48
48
|
clearText,
|
|
49
49
|
className,
|
|
50
50
|
compact
|
|
51
|
-
}: ScopePickerProps):
|
|
51
|
+
}: ScopePickerProps): react_jsx_runtime25.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { ScopePicker };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScopeContextValue, ScopeProviderProps } from "./types.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/scope/provider.d.ts
|
|
5
5
|
|
|
@@ -29,7 +29,7 @@ declare function ScopeProvider({
|
|
|
29
29
|
headerName,
|
|
30
30
|
storageKey,
|
|
31
31
|
defaultScope
|
|
32
|
-
}: ScopeProviderProps):
|
|
32
|
+
}: ScopeProviderProps): react_jsx_runtime24.JSX.Element;
|
|
33
33
|
/**
|
|
34
34
|
* Hook to access the current scope context.
|
|
35
35
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 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_runtime2.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { ForgotPasswordForm };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 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_runtime6.JSX.Element;
|
|
74
74
|
//#endregion
|
|
75
75
|
export { LoginForm };
|
|
@@ -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/setup-form.d.ts
|
|
4
4
|
/**
|
|
@@ -55,6 +55,6 @@ declare function SetupForm({
|
|
|
55
55
|
className,
|
|
56
56
|
error,
|
|
57
57
|
minPasswordLength
|
|
58
|
-
}: SetupFormProps):
|
|
58
|
+
}: SetupFormProps): react_jsx_runtime1.JSX.Element;
|
|
59
59
|
//#endregion
|
|
60
60
|
export { SetupForm, SetupFormValues };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/client/views/pages/dashboard-page.d.ts
|
|
4
4
|
|
|
@@ -38,6 +38,6 @@ declare function DashboardPage({
|
|
|
38
38
|
title,
|
|
39
39
|
description,
|
|
40
40
|
className
|
|
41
|
-
}: DashboardPageProps):
|
|
41
|
+
}: DashboardPageProps): react_jsx_runtime7.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { DashboardPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 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_runtime4.JSX.Element;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { InvitePage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime11 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/client/views/pages/login-page.d.ts
|
|
5
5
|
|
|
@@ -64,6 +64,6 @@ declare function LoginPage({
|
|
|
64
64
|
signUpPath,
|
|
65
65
|
showForgotPassword,
|
|
66
66
|
showSignUp
|
|
67
|
-
}: LoginPageProps):
|
|
67
|
+
}: LoginPageProps): react_jsx_runtime11.JSX.Element;
|
|
68
68
|
//#endregion
|
|
69
69
|
export { LoginPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime9 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_runtime9.JSX.Element;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { SetupPage, SetupPageProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime18 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_runtime18.JSX.Element | null;
|
|
102
102
|
//#endregion
|
|
103
103
|
export { RichTextRenderer, RichTextStyles, TipTapDoc, TipTapNode };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
1
|
+
import * as questpie_shared37 from "questpie/shared";
|
|
2
|
+
import * as questpie299 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core76 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm49 from "drizzle-orm";
|
|
5
5
|
import * as questpie_src_server_modules_core_fields_email_js7 from "questpie/src/server/modules/core/fields/email.js";
|
|
6
6
|
import * as questpie_src_server_modules_core_fields_json_js7 from "questpie/src/server/modules/core/fields/json.js";
|
|
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
|
|
9
|
+
declare const _default: questpie299.CollectionBuilder<questpie_shared37.Override<questpie299.EmptyCollectionState<"admin_preferences", undefined, {
|
|
10
|
+
readonly text: typeof questpie299.text;
|
|
11
|
+
readonly textarea: typeof questpie299.textarea;
|
|
12
12
|
readonly email: typeof questpie_src_server_modules_core_fields_email_js7.email;
|
|
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
|
|
13
|
+
readonly url: typeof questpie299.url;
|
|
14
|
+
readonly number: typeof questpie299.number;
|
|
15
|
+
readonly boolean: typeof questpie299.boolean;
|
|
16
|
+
readonly date: typeof questpie299.date;
|
|
17
|
+
readonly datetime: typeof questpie299.datetime;
|
|
18
|
+
readonly time: typeof questpie299.time;
|
|
19
|
+
readonly select: typeof questpie299.select;
|
|
20
|
+
readonly upload: typeof questpie299.upload;
|
|
21
|
+
readonly relation: typeof questpie299.relation;
|
|
22
|
+
readonly object: typeof questpie299.object;
|
|
23
23
|
readonly json: typeof questpie_src_server_modules_core_fields_json_js7.json;
|
|
24
|
-
readonly from: typeof
|
|
24
|
+
readonly from: typeof questpie299.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_orm49.NotNull<drizzle_orm_pg_core76.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly key: drizzle_orm49.NotNull<drizzle_orm_pg_core76.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly value: drizzle_orm49.NotNull<drizzle_orm_pg_core76.PgJsonbBuilder>;
|
|
31
31
|
};
|
|
32
32
|
virtuals: undefined;
|
|
33
|
-
relations: Record<string,
|
|
34
|
-
indexes: Record<string, any> &
|
|
33
|
+
relations: Record<string, questpie299.RelationConfig>;
|
|
34
|
+
indexes: Record<string, any> & drizzle_orm_pg_core76.IndexBuilder[];
|
|
35
35
|
title: undefined;
|
|
36
|
-
options:
|
|
36
|
+
options: questpie299.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: questpie299.FieldWithMethods<Omit<questpie299.TextFieldState, "notNull" | "column"> & {
|
|
44
44
|
notNull: true;
|
|
45
|
-
column:
|
|
45
|
+
column: drizzle_orm49.NotNull<drizzle_orm_pg_core76.PgVarcharBuilder<[string, ...string[]]>>;
|
|
46
46
|
} & {
|
|
47
|
-
label:
|
|
48
|
-
},
|
|
49
|
-
readonly key:
|
|
47
|
+
label: questpie_shared37.I18nText;
|
|
48
|
+
}, questpie299.TextFieldMethods>;
|
|
49
|
+
readonly key: questpie299.FieldWithMethods<Omit<questpie299.TextFieldState, "notNull" | "column"> & {
|
|
50
50
|
notNull: true;
|
|
51
|
-
column:
|
|
51
|
+
column: drizzle_orm49.NotNull<drizzle_orm_pg_core76.PgVarcharBuilder<[string, ...string[]]>>;
|
|
52
52
|
} & {
|
|
53
|
-
label:
|
|
54
|
-
},
|
|
55
|
-
readonly value:
|
|
53
|
+
label: questpie_shared37.I18nText;
|
|
54
|
+
}, questpie299.TextFieldMethods>;
|
|
55
|
+
readonly value: questpie299.Field<Omit<questpie299.JsonFieldState, "notNull" | "column"> & {
|
|
56
56
|
notNull: true;
|
|
57
|
-
column:
|
|
57
|
+
column: drizzle_orm49.NotNull<drizzle_orm_pg_core76.PgJsonbBuilder>;
|
|
58
58
|
} & {
|
|
59
|
-
label:
|
|
59
|
+
label: questpie_shared37.I18nText;
|
|
60
60
|
}>;
|
|
61
61
|
};
|
|
62
62
|
upload: undefined;
|
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as questpie_shared30 from "questpie/shared";
|
|
2
|
+
import * as questpie234 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core57 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm33 from "drizzle-orm";
|
|
5
|
+
import * as questpie_src_server_modules_core_fields_email_js5 from "questpie/src/server/modules/core/fields/email.js";
|
|
6
|
+
import * as questpie_src_server_modules_core_fields_json_js5 from "questpie/src/server/modules/core/fields/json.js";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/admin-saved-views.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: questpie234.CollectionBuilder<questpie_shared30.Override<questpie234.EmptyCollectionState<"admin_saved_views", undefined, {
|
|
10
|
+
readonly text: typeof questpie234.text;
|
|
11
|
+
readonly textarea: typeof questpie234.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js5.email;
|
|
13
|
+
readonly url: typeof questpie234.url;
|
|
14
|
+
readonly number: typeof questpie234.number;
|
|
15
|
+
readonly boolean: typeof questpie234.boolean;
|
|
16
|
+
readonly date: typeof questpie234.date;
|
|
17
|
+
readonly datetime: typeof questpie234.datetime;
|
|
18
|
+
readonly time: typeof questpie234.time;
|
|
19
|
+
readonly select: typeof questpie234.select;
|
|
20
|
+
readonly upload: typeof questpie234.upload;
|
|
21
|
+
readonly relation: typeof questpie234.relation;
|
|
22
|
+
readonly object: typeof questpie234.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js5.json;
|
|
24
|
+
readonly from: typeof questpie234.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "admin_saved_views";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly userId:
|
|
29
|
-
readonly collectionName:
|
|
30
|
-
readonly name:
|
|
31
|
-
readonly configuration:
|
|
32
|
-
readonly isDefault:
|
|
28
|
+
readonly userId: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly collectionName: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly name: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly configuration: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgJsonbBuilder>;
|
|
32
|
+
readonly isDefault: drizzle_orm33.HasDefault<drizzle_orm_pg_core57.PgBooleanBuilder>;
|
|
33
33
|
};
|
|
34
34
|
virtuals: undefined;
|
|
35
|
-
relations: Record<string,
|
|
35
|
+
relations: Record<string, questpie234.RelationConfig>;
|
|
36
36
|
indexes: Record<string, any>;
|
|
37
37
|
title: undefined;
|
|
38
|
-
options:
|
|
38
|
+
options: questpie234.CollectionOptions & {
|
|
39
39
|
timestamps: true;
|
|
40
40
|
};
|
|
41
41
|
hooks: Record<string, any>;
|
|
42
42
|
access: Record<string, any>;
|
|
43
43
|
searchable: undefined;
|
|
44
44
|
fieldDefinitions: {
|
|
45
|
-
readonly userId:
|
|
45
|
+
readonly userId: questpie234.FieldWithMethods<Omit<questpie234.TextFieldState, "notNull" | "column"> & {
|
|
46
46
|
notNull: true;
|
|
47
|
-
column:
|
|
47
|
+
column: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgVarcharBuilder<[string, ...string[]]>>;
|
|
48
48
|
} & {
|
|
49
|
-
label:
|
|
50
|
-
},
|
|
51
|
-
readonly collectionName:
|
|
49
|
+
label: questpie_shared30.I18nText;
|
|
50
|
+
}, questpie234.TextFieldMethods>;
|
|
51
|
+
readonly collectionName: questpie234.FieldWithMethods<Omit<questpie234.TextFieldState, "notNull" | "column"> & {
|
|
52
52
|
notNull: true;
|
|
53
|
-
column:
|
|
53
|
+
column: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgVarcharBuilder<[string, ...string[]]>>;
|
|
54
54
|
} & {
|
|
55
|
-
label:
|
|
56
|
-
},
|
|
57
|
-
readonly name:
|
|
55
|
+
label: questpie_shared30.I18nText;
|
|
56
|
+
}, questpie234.TextFieldMethods>;
|
|
57
|
+
readonly name: questpie234.FieldWithMethods<Omit<questpie234.TextFieldState, "notNull" | "column"> & {
|
|
58
58
|
notNull: true;
|
|
59
|
-
column:
|
|
59
|
+
column: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgVarcharBuilder<[string, ...string[]]>>;
|
|
60
60
|
} & {
|
|
61
|
-
label:
|
|
62
|
-
},
|
|
63
|
-
readonly configuration:
|
|
61
|
+
label: questpie_shared30.I18nText;
|
|
62
|
+
}, questpie234.TextFieldMethods>;
|
|
63
|
+
readonly configuration: questpie234.Field<Omit<questpie234.JsonFieldState, "notNull" | "column"> & {
|
|
64
64
|
notNull: true;
|
|
65
|
-
column:
|
|
65
|
+
column: drizzle_orm33.NotNull<drizzle_orm_pg_core57.PgJsonbBuilder>;
|
|
66
66
|
} & {
|
|
67
|
-
label:
|
|
67
|
+
label: questpie_shared30.I18nText;
|
|
68
68
|
}>;
|
|
69
|
-
readonly isDefault:
|
|
69
|
+
readonly isDefault: questpie234.Field<Omit<questpie234.BooleanFieldState, "column" | "hasDefault"> & {
|
|
70
70
|
hasDefault: true;
|
|
71
|
-
column:
|
|
71
|
+
column: drizzle_orm33.HasDefault<drizzle_orm_pg_core57.PgBooleanBuilder>;
|
|
72
72
|
} & {
|
|
73
|
-
label:
|
|
73
|
+
label: questpie_shared30.I18nText;
|
|
74
74
|
}>;
|
|
75
75
|
};
|
|
76
76
|
upload: undefined;
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as questpie_shared41 from "questpie/shared";
|
|
2
|
+
import * as questpie324 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core83 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm55 from "drizzle-orm";
|
|
5
|
+
import * as questpie_src_server_modules_core_fields_email_js8 from "questpie/src/server/modules/core/fields/email.js";
|
|
6
|
+
import * as questpie_src_server_modules_core_fields_json_js8 from "questpie/src/server/modules/core/fields/json.js";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/apikey.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: questpie324.CollectionBuilder<questpie_shared41.Override<questpie324.EmptyCollectionState<"apikey", undefined, {
|
|
10
|
+
readonly text: typeof questpie324.text;
|
|
11
|
+
readonly textarea: typeof questpie324.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js8.email;
|
|
13
|
+
readonly url: typeof questpie324.url;
|
|
14
|
+
readonly number: typeof questpie324.number;
|
|
15
|
+
readonly boolean: typeof questpie324.boolean;
|
|
16
|
+
readonly date: typeof questpie324.date;
|
|
17
|
+
readonly datetime: typeof questpie324.datetime;
|
|
18
|
+
readonly time: typeof questpie324.time;
|
|
19
|
+
readonly select: typeof questpie324.select;
|
|
20
|
+
readonly upload: typeof questpie324.upload;
|
|
21
|
+
readonly relation: typeof questpie324.relation;
|
|
22
|
+
readonly object: typeof questpie324.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js8.json;
|
|
24
|
+
readonly from: typeof questpie324.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "apikey";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly name:
|
|
29
|
-
readonly start:
|
|
30
|
-
readonly prefix:
|
|
31
|
-
readonly key:
|
|
32
|
-
readonly userId:
|
|
33
|
-
readonly refillInterval:
|
|
34
|
-
readonly refillAmount:
|
|
35
|
-
readonly lastRefillAt:
|
|
36
|
-
readonly enabled:
|
|
37
|
-
readonly rateLimitEnabled:
|
|
38
|
-
readonly rateLimitTimeWindow:
|
|
39
|
-
readonly rateLimitMax:
|
|
40
|
-
readonly requestCount:
|
|
41
|
-
readonly remaining:
|
|
42
|
-
readonly lastRequest:
|
|
43
|
-
readonly expiresAt:
|
|
44
|
-
readonly permissions:
|
|
45
|
-
readonly metadata:
|
|
28
|
+
readonly name: drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>;
|
|
29
|
+
readonly start: drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>;
|
|
30
|
+
readonly prefix: drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>;
|
|
31
|
+
readonly key: drizzle_orm55.NotNull<drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>>;
|
|
32
|
+
readonly userId: drizzle_orm55.NotNull<drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>>;
|
|
33
|
+
readonly refillInterval: drizzle_orm_pg_core83.PgIntegerBuilder;
|
|
34
|
+
readonly refillAmount: drizzle_orm_pg_core83.PgIntegerBuilder;
|
|
35
|
+
readonly lastRefillAt: drizzle_orm_pg_core83.PgTimestampBuilder;
|
|
36
|
+
readonly enabled: drizzle_orm55.HasDefault<drizzle_orm_pg_core83.PgBooleanBuilder>;
|
|
37
|
+
readonly rateLimitEnabled: drizzle_orm55.HasDefault<drizzle_orm_pg_core83.PgBooleanBuilder>;
|
|
38
|
+
readonly rateLimitTimeWindow: drizzle_orm_pg_core83.PgIntegerBuilder;
|
|
39
|
+
readonly rateLimitMax: drizzle_orm_pg_core83.PgIntegerBuilder;
|
|
40
|
+
readonly requestCount: drizzle_orm55.HasDefault<drizzle_orm_pg_core83.PgIntegerBuilder>;
|
|
41
|
+
readonly remaining: drizzle_orm_pg_core83.PgIntegerBuilder;
|
|
42
|
+
readonly lastRequest: drizzle_orm_pg_core83.PgTimestampBuilder;
|
|
43
|
+
readonly expiresAt: drizzle_orm_pg_core83.PgTimestampBuilder;
|
|
44
|
+
readonly permissions: drizzle_orm_pg_core83.PgTextBuilder<[string, ...string[]]>;
|
|
45
|
+
readonly metadata: drizzle_orm_pg_core83.PgTextBuilder<[string, ...string[]]>;
|
|
46
46
|
};
|
|
47
47
|
virtuals: undefined;
|
|
48
|
-
relations: Record<string,
|
|
48
|
+
relations: Record<string, questpie324.RelationConfig>;
|
|
49
49
|
indexes: Record<string, any>;
|
|
50
50
|
title: "key";
|
|
51
|
-
options:
|
|
51
|
+
options: questpie324.CollectionOptions & {
|
|
52
52
|
timestamps: true;
|
|
53
53
|
};
|
|
54
54
|
hooks: Record<string, any>;
|
|
55
55
|
access: Record<string, any>;
|
|
56
56
|
searchable: undefined;
|
|
57
57
|
fieldDefinitions: {
|
|
58
|
-
readonly name:
|
|
59
|
-
readonly start:
|
|
60
|
-
readonly prefix:
|
|
61
|
-
readonly key:
|
|
58
|
+
readonly name: questpie324.FieldWithMethods<questpie324.TextFieldState, questpie324.TextFieldMethods>;
|
|
59
|
+
readonly start: questpie324.FieldWithMethods<questpie324.TextFieldState, questpie324.TextFieldMethods>;
|
|
60
|
+
readonly prefix: questpie324.FieldWithMethods<questpie324.TextFieldState, questpie324.TextFieldMethods>;
|
|
61
|
+
readonly key: questpie324.FieldWithMethods<Omit<questpie324.TextFieldState, "notNull" | "column"> & {
|
|
62
62
|
notNull: true;
|
|
63
|
-
column:
|
|
64
|
-
},
|
|
65
|
-
readonly userId:
|
|
63
|
+
column: drizzle_orm55.NotNull<drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>>;
|
|
64
|
+
}, questpie324.TextFieldMethods>;
|
|
65
|
+
readonly userId: questpie324.FieldWithMethods<Omit<questpie324.TextFieldState, "notNull" | "column"> & {
|
|
66
66
|
notNull: true;
|
|
67
|
-
column:
|
|
68
|
-
},
|
|
69
|
-
readonly refillInterval:
|
|
70
|
-
readonly refillAmount:
|
|
71
|
-
readonly lastRefillAt:
|
|
72
|
-
readonly enabled:
|
|
67
|
+
column: drizzle_orm55.NotNull<drizzle_orm_pg_core83.PgVarcharBuilder<[string, ...string[]]>>;
|
|
68
|
+
}, questpie324.TextFieldMethods>;
|
|
69
|
+
readonly refillInterval: questpie324.FieldWithMethods<questpie324.NumberFieldState, questpie324.NumberFieldMethods>;
|
|
70
|
+
readonly refillAmount: questpie324.FieldWithMethods<questpie324.NumberFieldState, questpie324.NumberFieldMethods>;
|
|
71
|
+
readonly lastRefillAt: questpie324.FieldWithMethods<questpie324.DatetimeFieldState, questpie324.DatetimeFieldMethods>;
|
|
72
|
+
readonly enabled: questpie324.Field<Omit<questpie324.BooleanFieldState, "column" | "hasDefault"> & {
|
|
73
73
|
hasDefault: true;
|
|
74
|
-
column:
|
|
74
|
+
column: drizzle_orm55.HasDefault<drizzle_orm_pg_core83.PgBooleanBuilder>;
|
|
75
75
|
}>;
|
|
76
|
-
readonly rateLimitEnabled:
|
|
76
|
+
readonly rateLimitEnabled: questpie324.Field<Omit<questpie324.BooleanFieldState, "column" | "hasDefault"> & {
|
|
77
77
|
hasDefault: true;
|
|
78
|
-
column:
|
|
78
|
+
column: drizzle_orm55.HasDefault<drizzle_orm_pg_core83.PgBooleanBuilder>;
|
|
79
79
|
}>;
|
|
80
|
-
readonly rateLimitTimeWindow:
|
|
81
|
-
readonly rateLimitMax:
|
|
82
|
-
readonly requestCount:
|
|
80
|
+
readonly rateLimitTimeWindow: questpie324.FieldWithMethods<questpie324.NumberFieldState, questpie324.NumberFieldMethods>;
|
|
81
|
+
readonly rateLimitMax: questpie324.FieldWithMethods<questpie324.NumberFieldState, questpie324.NumberFieldMethods>;
|
|
82
|
+
readonly requestCount: questpie324.FieldWithMethods<Omit<questpie324.NumberFieldState, "column" | "hasDefault"> & {
|
|
83
83
|
hasDefault: true;
|
|
84
|
-
column:
|
|
85
|
-
},
|
|
86
|
-
readonly remaining:
|
|
87
|
-
readonly lastRequest:
|
|
88
|
-
readonly expiresAt:
|
|
89
|
-
readonly permissions:
|
|
90
|
-
readonly metadata:
|
|
84
|
+
column: drizzle_orm55.HasDefault<drizzle_orm_pg_core83.PgIntegerBuilder>;
|
|
85
|
+
}, questpie324.NumberFieldMethods>;
|
|
86
|
+
readonly remaining: questpie324.FieldWithMethods<questpie324.NumberFieldState, questpie324.NumberFieldMethods>;
|
|
87
|
+
readonly lastRequest: questpie324.FieldWithMethods<questpie324.DatetimeFieldState, questpie324.DatetimeFieldMethods>;
|
|
88
|
+
readonly expiresAt: questpie324.FieldWithMethods<questpie324.DatetimeFieldState, questpie324.DatetimeFieldMethods>;
|
|
89
|
+
readonly permissions: questpie324.FieldWithMethods<questpie324.TextareaFieldState, questpie324.TextareaFieldMethods>;
|
|
90
|
+
readonly metadata: questpie324.FieldWithMethods<questpie324.TextareaFieldState, questpie324.TextareaFieldMethods>;
|
|
91
91
|
};
|
|
92
92
|
upload: undefined;
|
|
93
93
|
output: {};
|