@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,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
1
|
+
import * as questpie_shared42 from "questpie/shared";
|
|
2
|
+
import * as questpie393 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core106 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm65 from "drizzle-orm";
|
|
5
5
|
|
|
6
6
|
//#region src/server/modules/admin/collections/assets.d.ts
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import * as drizzle_orm33 from "drizzle-orm";
|
|
|
16
16
|
* @see account.ts for explanation of the collection().merge().set() pattern.
|
|
17
17
|
* stateKey mapping: admin=".admin()", adminList=".list()", adminForm=".form()"
|
|
18
18
|
*/
|
|
19
|
-
declare const adminAssetsCollection:
|
|
19
|
+
declare const adminAssetsCollection: questpie393.CollectionBuilder<questpie_shared42.Override<{
|
|
20
20
|
name: "assets";
|
|
21
21
|
fields: Record<string, never>;
|
|
22
22
|
localized: [];
|
|
@@ -36,19 +36,19 @@ declare const adminAssetsCollection: questpie234.CollectionBuilder<questpie_shar
|
|
|
36
36
|
}, {
|
|
37
37
|
name: "assets";
|
|
38
38
|
fields: Record<string, never> & {
|
|
39
|
-
readonly width:
|
|
40
|
-
readonly height:
|
|
41
|
-
readonly alt:
|
|
42
|
-
readonly caption:
|
|
39
|
+
readonly width: drizzle_orm_pg_core106.PgIntegerBuilder;
|
|
40
|
+
readonly height: drizzle_orm_pg_core106.PgIntegerBuilder;
|
|
41
|
+
readonly alt: drizzle_orm_pg_core106.PgVarcharBuilder<[string, ...string[]]>;
|
|
42
|
+
readonly caption: drizzle_orm_pg_core106.PgTextBuilder<[string, ...string[]]>;
|
|
43
43
|
} & {
|
|
44
|
-
key:
|
|
45
|
-
filename:
|
|
46
|
-
mimeType:
|
|
47
|
-
size:
|
|
48
|
-
visibility:
|
|
44
|
+
key: drizzle_orm65.NotNull<drizzle_orm_pg_core106.PgVarcharBuilder<[string, ...string[]]>>;
|
|
45
|
+
filename: drizzle_orm65.NotNull<drizzle_orm_pg_core106.PgVarcharBuilder<[string, ...string[]]>>;
|
|
46
|
+
mimeType: drizzle_orm65.NotNull<drizzle_orm_pg_core106.PgVarcharBuilder<[string, ...string[]]>>;
|
|
47
|
+
size: drizzle_orm65.NotNull<drizzle_orm_pg_core106.PgIntegerBuilder>;
|
|
48
|
+
visibility: drizzle_orm65.HasDefault<drizzle_orm65.NotNull<drizzle_orm_pg_core106.PgVarcharBuilder<["public", "private"]>>>;
|
|
49
49
|
};
|
|
50
50
|
virtuals: undefined;
|
|
51
|
-
relations: Record<string, never> & Record<string,
|
|
51
|
+
relations: Record<string, never> & Record<string, questpie393.RelationConfig>;
|
|
52
52
|
indexes: Record<string, never> & Record<string, any>;
|
|
53
53
|
title: "filename";
|
|
54
54
|
options: Record<string, never> & {
|
|
@@ -58,12 +58,12 @@ declare const adminAssetsCollection: questpie234.CollectionBuilder<questpie_shar
|
|
|
58
58
|
access: Record<string, any>;
|
|
59
59
|
searchable: undefined;
|
|
60
60
|
fieldDefinitions: {
|
|
61
|
-
readonly width:
|
|
62
|
-
readonly height:
|
|
63
|
-
readonly alt:
|
|
64
|
-
readonly caption:
|
|
61
|
+
readonly width: questpie393.FieldWithMethods<questpie393.NumberFieldState, questpie393.NumberFieldMethods>;
|
|
62
|
+
readonly height: questpie393.FieldWithMethods<questpie393.NumberFieldState, questpie393.NumberFieldMethods>;
|
|
63
|
+
readonly alt: questpie393.FieldWithMethods<questpie393.TextFieldState, questpie393.TextFieldMethods>;
|
|
64
|
+
readonly caption: questpie393.FieldWithMethods<questpie393.TextareaFieldState, questpie393.TextareaFieldMethods>;
|
|
65
65
|
};
|
|
66
|
-
upload:
|
|
66
|
+
upload: questpie393.UploadOptions;
|
|
67
67
|
output: {
|
|
68
68
|
url: string;
|
|
69
69
|
};
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
1
|
+
import * as questpie_shared36 from "questpie/shared";
|
|
2
|
+
import * as questpie264 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core67 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm43 from "drizzle-orm";
|
|
5
5
|
import * as questpie_src_server_modules_core_fields_email_js6 from "questpie/src/server/modules/core/fields/email.js";
|
|
6
6
|
import * as questpie_src_server_modules_core_fields_json_js6 from "questpie/src/server/modules/core/fields/json.js";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/session.d.ts
|
|
9
|
-
declare const _default:
|
|
10
|
-
readonly text: typeof
|
|
11
|
-
readonly textarea: typeof
|
|
9
|
+
declare const _default: questpie264.CollectionBuilder<questpie_shared36.Override<questpie264.EmptyCollectionState<"session", undefined, {
|
|
10
|
+
readonly text: typeof questpie264.text;
|
|
11
|
+
readonly textarea: typeof questpie264.textarea;
|
|
12
12
|
readonly email: typeof questpie_src_server_modules_core_fields_email_js6.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 questpie264.url;
|
|
14
|
+
readonly number: typeof questpie264.number;
|
|
15
|
+
readonly boolean: typeof questpie264.boolean;
|
|
16
|
+
readonly date: typeof questpie264.date;
|
|
17
|
+
readonly datetime: typeof questpie264.datetime;
|
|
18
|
+
readonly time: typeof questpie264.time;
|
|
19
|
+
readonly select: typeof questpie264.select;
|
|
20
|
+
readonly upload: typeof questpie264.upload;
|
|
21
|
+
readonly relation: typeof questpie264.relation;
|
|
22
|
+
readonly object: typeof questpie264.object;
|
|
23
23
|
readonly json: typeof questpie_src_server_modules_core_fields_json_js6.json;
|
|
24
|
-
readonly from: typeof
|
|
24
|
+
readonly from: typeof questpie264.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "session";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly userId:
|
|
29
|
-
readonly token:
|
|
30
|
-
readonly expiresAt:
|
|
31
|
-
readonly ipAddress:
|
|
32
|
-
readonly userAgent:
|
|
33
|
-
readonly impersonatedBy:
|
|
28
|
+
readonly userId: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly token: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly expiresAt: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgTimestampBuilder>;
|
|
31
|
+
readonly ipAddress: drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>;
|
|
32
|
+
readonly userAgent: drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>;
|
|
33
|
+
readonly impersonatedBy: drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>;
|
|
34
34
|
};
|
|
35
35
|
virtuals: undefined;
|
|
36
|
-
relations: Record<string,
|
|
36
|
+
relations: Record<string, questpie264.RelationConfig>;
|
|
37
37
|
indexes: Record<string, any>;
|
|
38
38
|
title: "token";
|
|
39
|
-
options:
|
|
39
|
+
options: questpie264.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 userId:
|
|
46
|
+
readonly userId: questpie264.FieldWithMethods<Omit<questpie264.TextFieldState, "notNull" | "column"> & {
|
|
47
47
|
notNull: true;
|
|
48
|
-
column:
|
|
49
|
-
},
|
|
50
|
-
readonly token:
|
|
48
|
+
column: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
49
|
+
}, questpie264.TextFieldMethods>;
|
|
50
|
+
readonly token: questpie264.FieldWithMethods<Omit<questpie264.TextFieldState, "notNull" | "column"> & {
|
|
51
51
|
notNull: true;
|
|
52
|
-
column:
|
|
53
|
-
},
|
|
54
|
-
readonly expiresAt:
|
|
52
|
+
column: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgVarcharBuilder<[string, ...string[]]>>;
|
|
53
|
+
}, questpie264.TextFieldMethods>;
|
|
54
|
+
readonly expiresAt: questpie264.FieldWithMethods<Omit<questpie264.DatetimeFieldState, "notNull" | "column"> & {
|
|
55
55
|
notNull: true;
|
|
56
|
-
column:
|
|
57
|
-
},
|
|
58
|
-
readonly ipAddress:
|
|
59
|
-
readonly userAgent:
|
|
60
|
-
readonly impersonatedBy:
|
|
56
|
+
column: drizzle_orm43.NotNull<drizzle_orm_pg_core67.PgTimestampBuilder>;
|
|
57
|
+
}, questpie264.DatetimeFieldMethods>;
|
|
58
|
+
readonly ipAddress: questpie264.FieldWithMethods<questpie264.TextFieldState, questpie264.TextFieldMethods>;
|
|
59
|
+
readonly userAgent: questpie264.FieldWithMethods<questpie264.TextFieldState, questpie264.TextFieldMethods>;
|
|
60
|
+
readonly impersonatedBy: questpie264.FieldWithMethods<questpie264.TextFieldState, questpie264.TextFieldMethods>;
|
|
61
61
|
};
|
|
62
62
|
upload: undefined;
|
|
63
63
|
output: {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
1
|
+
import * as questpie_shared44 from "questpie/shared";
|
|
2
|
+
import * as questpie434 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core121 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm77 from "drizzle-orm";
|
|
5
5
|
|
|
6
6
|
//#region src/server/modules/admin/collections/user.d.ts
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ import * as drizzle_orm49 from "drizzle-orm";
|
|
|
17
17
|
* @see account.ts for explanation of the collection().merge().set() pattern.
|
|
18
18
|
* stateKey mapping: admin=".admin()", adminList=".list()", adminForm=".form()", adminActions=".actions()"
|
|
19
19
|
*/
|
|
20
|
-
declare const adminUserCollection:
|
|
20
|
+
declare const adminUserCollection: questpie434.CollectionBuilder<questpie_shared44.Override<{
|
|
21
21
|
name: "user";
|
|
22
22
|
fields: Record<string, never>;
|
|
23
23
|
localized: [];
|
|
@@ -37,17 +37,17 @@ declare const adminUserCollection: questpie318.CollectionBuilder<questpie_shared
|
|
|
37
37
|
}, {
|
|
38
38
|
name: "user";
|
|
39
39
|
fields: Record<string, never> & {
|
|
40
|
-
readonly name:
|
|
41
|
-
readonly email:
|
|
42
|
-
readonly emailVerified:
|
|
43
|
-
readonly image:
|
|
44
|
-
readonly role:
|
|
45
|
-
readonly banned:
|
|
46
|
-
readonly banReason:
|
|
47
|
-
readonly banExpires:
|
|
40
|
+
readonly name: drizzle_orm77.NotNull<drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>>;
|
|
41
|
+
readonly email: drizzle_orm77.NotNull<drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>>;
|
|
42
|
+
readonly emailVerified: drizzle_orm77.NotNull<drizzle_orm_pg_core121.PgBooleanBuilder>;
|
|
43
|
+
readonly image: drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>;
|
|
44
|
+
readonly role: drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>;
|
|
45
|
+
readonly banned: drizzle_orm77.HasDefault<drizzle_orm_pg_core121.PgBooleanBuilder>;
|
|
46
|
+
readonly banReason: drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>;
|
|
47
|
+
readonly banExpires: drizzle_orm_pg_core121.PgTimestampBuilder;
|
|
48
48
|
};
|
|
49
49
|
virtuals: undefined;
|
|
50
|
-
relations: Record<string, never> & Record<string,
|
|
50
|
+
relations: Record<string, never> & Record<string, questpie434.RelationConfig>;
|
|
51
51
|
indexes: Record<string, never> & Record<string, any>;
|
|
52
52
|
title: "name";
|
|
53
53
|
options: Record<string, never> & {
|
|
@@ -57,26 +57,26 @@ declare const adminUserCollection: questpie318.CollectionBuilder<questpie_shared
|
|
|
57
57
|
access: Record<string, any>;
|
|
58
58
|
searchable: undefined;
|
|
59
59
|
fieldDefinitions: {
|
|
60
|
-
readonly name:
|
|
60
|
+
readonly name: questpie434.FieldWithMethods<Omit<questpie434.TextFieldState, "notNull" | "column"> & {
|
|
61
61
|
notNull: true;
|
|
62
|
-
column:
|
|
63
|
-
},
|
|
64
|
-
readonly email:
|
|
62
|
+
column: drizzle_orm77.NotNull<drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>>;
|
|
63
|
+
}, questpie434.TextFieldMethods>;
|
|
64
|
+
readonly email: questpie434.FieldWithMethods<Omit<questpie434.EmailFieldState, "notNull" | "column"> & {
|
|
65
65
|
notNull: true;
|
|
66
|
-
column:
|
|
67
|
-
},
|
|
68
|
-
readonly emailVerified:
|
|
66
|
+
column: drizzle_orm77.NotNull<drizzle_orm_pg_core121.PgVarcharBuilder<[string, ...string[]]>>;
|
|
67
|
+
}, questpie434.EmailFieldMethods>;
|
|
68
|
+
readonly emailVerified: questpie434.Field<Omit<questpie434.BooleanFieldState, "notNull" | "column"> & {
|
|
69
69
|
notNull: true;
|
|
70
|
-
column:
|
|
70
|
+
column: drizzle_orm77.NotNull<drizzle_orm_pg_core121.PgBooleanBuilder>;
|
|
71
71
|
}>;
|
|
72
|
-
readonly image:
|
|
73
|
-
readonly role:
|
|
74
|
-
readonly banned:
|
|
72
|
+
readonly image: questpie434.FieldWithMethods<questpie434.UrlFieldState, questpie434.UrlFieldMethods>;
|
|
73
|
+
readonly role: questpie434.FieldWithMethods<questpie434.TextFieldState, questpie434.TextFieldMethods>;
|
|
74
|
+
readonly banned: questpie434.Field<Omit<questpie434.BooleanFieldState, "column" | "hasDefault"> & {
|
|
75
75
|
hasDefault: true;
|
|
76
|
-
column:
|
|
76
|
+
column: drizzle_orm77.HasDefault<drizzle_orm_pg_core121.PgBooleanBuilder>;
|
|
77
77
|
}>;
|
|
78
|
-
readonly banReason:
|
|
79
|
-
readonly banExpires:
|
|
78
|
+
readonly banReason: questpie434.FieldWithMethods<questpie434.TextFieldState, questpie434.TextFieldMethods>;
|
|
79
|
+
readonly banExpires: questpie434.FieldWithMethods<questpie434.DatetimeFieldState, questpie434.DatetimeFieldMethods>;
|
|
80
80
|
};
|
|
81
81
|
upload: undefined;
|
|
82
82
|
output: {};
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
1
|
+
import * as questpie_shared43 from "questpie/shared";
|
|
2
|
+
import * as questpie408 from "questpie";
|
|
3
|
+
import * as drizzle_orm_pg_core115 from "drizzle-orm/pg-core";
|
|
4
|
+
import * as drizzle_orm71 from "drizzle-orm";
|
|
5
|
+
import * as questpie_src_server_modules_core_fields_email_js9 from "questpie/src/server/modules/core/fields/email.js";
|
|
6
|
+
import * as questpie_src_server_modules_core_fields_json_js9 from "questpie/src/server/modules/core/fields/json.js";
|
|
7
7
|
|
|
8
8
|
//#region src/server/modules/admin/collections/verification.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: questpie408.CollectionBuilder<questpie_shared43.Override<questpie408.EmptyCollectionState<"verification", undefined, {
|
|
10
|
+
readonly text: typeof questpie408.text;
|
|
11
|
+
readonly textarea: typeof questpie408.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js9.email;
|
|
13
|
+
readonly url: typeof questpie408.url;
|
|
14
|
+
readonly number: typeof questpie408.number;
|
|
15
|
+
readonly boolean: typeof questpie408.boolean;
|
|
16
|
+
readonly date: typeof questpie408.date;
|
|
17
|
+
readonly datetime: typeof questpie408.datetime;
|
|
18
|
+
readonly time: typeof questpie408.time;
|
|
19
|
+
readonly select: typeof questpie408.select;
|
|
20
|
+
readonly upload: typeof questpie408.upload;
|
|
21
|
+
readonly relation: typeof questpie408.relation;
|
|
22
|
+
readonly object: typeof questpie408.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js9.json;
|
|
24
|
+
readonly from: typeof questpie408.from;
|
|
25
25
|
}>, {
|
|
26
26
|
name: "verification";
|
|
27
27
|
fields: Record<string, any> & {
|
|
28
|
-
readonly identifier:
|
|
29
|
-
readonly value:
|
|
30
|
-
readonly expiresAt:
|
|
28
|
+
readonly identifier: drizzle_orm71.NotNull<drizzle_orm_pg_core115.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly value: drizzle_orm71.NotNull<drizzle_orm_pg_core115.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly expiresAt: drizzle_orm71.NotNull<drizzle_orm_pg_core115.PgTimestampBuilder>;
|
|
31
31
|
};
|
|
32
32
|
virtuals: undefined;
|
|
33
|
-
relations: Record<string,
|
|
33
|
+
relations: Record<string, questpie408.RelationConfig>;
|
|
34
34
|
indexes: Record<string, any>;
|
|
35
35
|
title: "identifier";
|
|
36
|
-
options:
|
|
36
|
+
options: questpie408.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 identifier:
|
|
43
|
+
readonly identifier: questpie408.FieldWithMethods<Omit<questpie408.TextFieldState, "notNull" | "column"> & {
|
|
44
44
|
notNull: true;
|
|
45
|
-
column:
|
|
46
|
-
},
|
|
47
|
-
readonly value:
|
|
45
|
+
column: drizzle_orm71.NotNull<drizzle_orm_pg_core115.PgVarcharBuilder<[string, ...string[]]>>;
|
|
46
|
+
}, questpie408.TextFieldMethods>;
|
|
47
|
+
readonly value: questpie408.FieldWithMethods<Omit<questpie408.TextFieldState, "notNull" | "column"> & {
|
|
48
48
|
notNull: true;
|
|
49
|
-
column:
|
|
50
|
-
},
|
|
51
|
-
readonly expiresAt:
|
|
49
|
+
column: drizzle_orm71.NotNull<drizzle_orm_pg_core115.PgVarcharBuilder<[string, ...string[]]>>;
|
|
50
|
+
}, questpie408.TextFieldMethods>;
|
|
51
|
+
readonly expiresAt: questpie408.FieldWithMethods<Omit<questpie408.DatetimeFieldState, "notNull" | "column"> & {
|
|
52
52
|
notNull: true;
|
|
53
|
-
column:
|
|
54
|
-
},
|
|
53
|
+
column: drizzle_orm71.NotNull<drizzle_orm_pg_core115.PgTimestampBuilder>;
|
|
54
|
+
}, questpie408.DatetimeFieldMethods>;
|
|
55
55
|
};
|
|
56
56
|
upload: undefined;
|
|
57
57
|
output: {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as questpie458 from "questpie";
|
|
2
2
|
|
|
3
3
|
//#region src/server/modules/admin/routes/admin-config.d.ts
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ import * as questpie434 from "questpie";
|
|
|
22
22
|
* Registered via module routes and exposed through the fetch handler.
|
|
23
23
|
*/
|
|
24
24
|
declare const adminConfigFunctions: {
|
|
25
|
-
readonly getAdminConfig:
|
|
25
|
+
readonly getAdminConfig: questpie458.JsonRouteDefinition<Record<string, never> | undefined, any, questpie458.JsonRouteParams>;
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
export { adminConfigFunctions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ServerActionDefinition, ServerActionResult } from "../../../augmentation/actions.mjs";
|
|
2
2
|
import "../../../augmentation.mjs";
|
|
3
3
|
import { App } from "./route-helpers.mjs";
|
|
4
|
-
import * as
|
|
4
|
+
import * as questpie101 from "questpie";
|
|
5
5
|
|
|
6
6
|
//#region src/server/modules/admin/routes/execute-action.d.ts
|
|
7
7
|
|
|
@@ -56,37 +56,37 @@ declare function executeAction(app: App, request: ExecuteActionRequest, session?
|
|
|
56
56
|
* });
|
|
57
57
|
* ```
|
|
58
58
|
*/
|
|
59
|
-
declare const executeActionFn:
|
|
59
|
+
declare const executeActionFn: questpie101.JsonRouteDefinition<{
|
|
60
60
|
collection: string;
|
|
61
61
|
actionId: string;
|
|
62
62
|
itemId?: string | undefined;
|
|
63
63
|
itemIds?: string[] | undefined;
|
|
64
64
|
data?: Record<string, unknown> | undefined;
|
|
65
65
|
locale?: string | undefined;
|
|
66
|
-
}, any,
|
|
66
|
+
}, any, questpie101.JsonRouteParams>;
|
|
67
67
|
/**
|
|
68
68
|
* Get actions configuration for a collection.
|
|
69
69
|
* Returns action definitions without handlers for client rendering.
|
|
70
70
|
*/
|
|
71
|
-
declare const getActionsConfigFn:
|
|
71
|
+
declare const getActionsConfigFn: questpie101.JsonRouteDefinition<{
|
|
72
72
|
collection: string;
|
|
73
|
-
}, any,
|
|
73
|
+
}, any, questpie101.JsonRouteParams>;
|
|
74
74
|
/**
|
|
75
75
|
* QUESTPIE functions for action execution.
|
|
76
76
|
* These are registered on the `adminModule`.
|
|
77
77
|
*/
|
|
78
78
|
declare const actionFunctions: {
|
|
79
|
-
executeAction:
|
|
79
|
+
executeAction: questpie101.JsonRouteDefinition<{
|
|
80
80
|
collection: string;
|
|
81
81
|
actionId: string;
|
|
82
82
|
itemId?: string | undefined;
|
|
83
83
|
itemIds?: string[] | undefined;
|
|
84
84
|
data?: Record<string, unknown> | undefined;
|
|
85
85
|
locale?: string | undefined;
|
|
86
|
-
}, any,
|
|
87
|
-
getActionsConfig:
|
|
86
|
+
}, any, questpie101.JsonRouteParams>;
|
|
87
|
+
getActionsConfig: questpie101.JsonRouteDefinition<{
|
|
88
88
|
collection: string;
|
|
89
|
-
}, any,
|
|
89
|
+
}, any, questpie101.JsonRouteParams>;
|
|
90
90
|
};
|
|
91
91
|
//#endregion
|
|
92
92
|
export { ExecuteActionRequest, ExecuteActionResponse, actionFunctions, executeAction, executeActionFn, getActionsConfig, getActionsConfigFn };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as questpie460 from "questpie";
|
|
2
2
|
|
|
3
3
|
//#region src/server/modules/admin/routes/locales.d.ts
|
|
4
4
|
|
|
@@ -12,7 +12,7 @@ import * as questpie402 from "questpie";
|
|
|
12
12
|
* Bundle of locale-related functions.
|
|
13
13
|
*/
|
|
14
14
|
declare const localeFunctions: {
|
|
15
|
-
readonly getContentLocales:
|
|
15
|
+
readonly getContentLocales: questpie460.JsonRouteDefinition<Record<string, never> | undefined, any, questpie460.JsonRouteParams>;
|
|
16
16
|
};
|
|
17
17
|
//#endregion
|
|
18
18
|
export { localeFunctions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as questpie125 from "questpie";
|
|
2
2
|
|
|
3
3
|
//#region src/server/modules/admin/routes/preview.d.ts
|
|
4
4
|
|
|
@@ -21,13 +21,13 @@ interface PreviewTokenPayload {
|
|
|
21
21
|
* @returns Object with preview functions
|
|
22
22
|
*/
|
|
23
23
|
declare function createPreviewFunctions(secret: string): {
|
|
24
|
-
mintPreviewToken:
|
|
24
|
+
mintPreviewToken: questpie125.JsonRouteDefinition<{
|
|
25
25
|
path: string;
|
|
26
26
|
ttlMs?: number | undefined;
|
|
27
|
-
}, any,
|
|
28
|
-
verifyPreviewToken:
|
|
27
|
+
}, any, questpie125.JsonRouteParams>;
|
|
28
|
+
verifyPreviewToken: questpie125.JsonRouteDefinition<{
|
|
29
29
|
token: string;
|
|
30
|
-
}, any,
|
|
30
|
+
}, any, questpie125.JsonRouteParams>;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
33
|
* Verify a preview token without RPC.
|
|
@@ -63,18 +63,18 @@ declare function createPreviewTokenVerifier(secret?: string): (token: string) =>
|
|
|
63
63
|
* Used by the `adminModule` to register preview RPC functions.
|
|
64
64
|
*/
|
|
65
65
|
declare const previewFunctions: {
|
|
66
|
-
getPreviewUrl:
|
|
66
|
+
getPreviewUrl: questpie125.JsonRouteDefinition<{
|
|
67
67
|
collection: string;
|
|
68
68
|
record: Record<string, unknown>;
|
|
69
69
|
locale?: string | undefined;
|
|
70
|
-
}, any,
|
|
71
|
-
mintPreviewToken:
|
|
70
|
+
}, any, questpie125.JsonRouteParams>;
|
|
71
|
+
mintPreviewToken: questpie125.JsonRouteDefinition<{
|
|
72
72
|
path: string;
|
|
73
73
|
ttlMs?: number | undefined;
|
|
74
|
-
}, any,
|
|
75
|
-
verifyPreviewToken:
|
|
74
|
+
}, any, questpie125.JsonRouteParams>;
|
|
75
|
+
verifyPreviewToken: questpie125.JsonRouteDefinition<{
|
|
76
76
|
token: string;
|
|
77
|
-
}, any,
|
|
77
|
+
}, any, questpie125.JsonRouteParams>;
|
|
78
78
|
};
|
|
79
79
|
//#endregion
|
|
80
80
|
export { PreviewTokenPayload, createPreviewFunctions, createPreviewTokenVerifier, previewFunctions, verifyPreviewTokenDirect };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as questpie135 from "questpie";
|
|
2
2
|
|
|
3
3
|
//#region src/server/modules/admin/routes/setup.d.ts
|
|
4
4
|
|
|
@@ -20,7 +20,7 @@ import * as questpie125 from "questpie";
|
|
|
20
20
|
* }
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
-
declare const isSetupRequired:
|
|
23
|
+
declare const isSetupRequired: questpie135.JsonRouteDefinition<Record<string, never>, any, questpie135.JsonRouteParams>;
|
|
24
24
|
/**
|
|
25
25
|
* Create the first admin user in the system.
|
|
26
26
|
* This function only works when no users exist (setup mode).
|
|
@@ -43,21 +43,21 @@ declare const isSetupRequired: questpie125.JsonRouteDefinition<Record<string, ne
|
|
|
43
43
|
* }
|
|
44
44
|
* ```
|
|
45
45
|
*/
|
|
46
|
-
declare const createFirstAdmin:
|
|
46
|
+
declare const createFirstAdmin: questpie135.JsonRouteDefinition<{
|
|
47
47
|
email: string;
|
|
48
48
|
password: string;
|
|
49
49
|
name: string;
|
|
50
|
-
}, any,
|
|
50
|
+
}, any, questpie135.JsonRouteParams>;
|
|
51
51
|
/**
|
|
52
52
|
* Bundle of setup-related functions.
|
|
53
53
|
*/
|
|
54
54
|
declare const setupFunctions: {
|
|
55
|
-
readonly isSetupRequired:
|
|
56
|
-
readonly createFirstAdmin:
|
|
55
|
+
readonly isSetupRequired: questpie135.JsonRouteDefinition<Record<string, never>, any, questpie135.JsonRouteParams>;
|
|
56
|
+
readonly createFirstAdmin: questpie135.JsonRouteDefinition<{
|
|
57
57
|
email: string;
|
|
58
58
|
password: string;
|
|
59
59
|
name: string;
|
|
60
|
-
}, any,
|
|
60
|
+
}, any, questpie135.JsonRouteParams>;
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
63
|
export { createFirstAdmin, isSetupRequired, setupFunctions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as questpie462 from "questpie";
|
|
2
2
|
|
|
3
3
|
//#region src/server/modules/admin/routes/translations.d.ts
|
|
4
4
|
|
|
@@ -17,10 +17,10 @@ import * as questpie430 from "questpie";
|
|
|
17
17
|
* Bundle of translation-related functions.
|
|
18
18
|
*/
|
|
19
19
|
declare const translationFunctions: {
|
|
20
|
-
readonly getAdminTranslations:
|
|
20
|
+
readonly getAdminTranslations: questpie462.JsonRouteDefinition<{
|
|
21
21
|
locale: string;
|
|
22
|
-
}, any,
|
|
23
|
-
readonly getAdminLocales:
|
|
22
|
+
}, any, questpie462.JsonRouteParams>;
|
|
23
|
+
readonly getAdminLocales: questpie462.JsonRouteDefinition<Record<string, never> | undefined, any, questpie462.JsonRouteParams>;
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
26
|
export { translationFunctions };
|