@questpie/admin 3.2.5 → 3.2.7
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/fields/select-field.mjs +29 -5
- package/dist/client/components/primitives/select-multi.mjs +38 -22
- package/dist/client/components/primitives/select-single.mjs +25 -11
- 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/preview/use-collection-preview.mjs +0 -35
- package/dist/client/scope/picker.d.mts +2 -2
- package/dist/client/scope/provider.d.mts +2 -2
- package/dist/client/utils/build-field-definitions-from-schema.mjs +4 -2
- 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/cells/primitive-cells.mjs +24 -10
- 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 +68 -68
- 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 +63 -63
- 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/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 +45 -45
- 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,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_shared54 from "questpie/shared";
|
|
2
|
+
import * as questpie320 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_core109 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm55 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: questpie320.CollectionBuilder<questpie_shared54.Override<questpie320.EmptyCollectionState<"account", undefined, {
|
|
10
|
+
readonly text: typeof questpie320.text;
|
|
11
|
+
readonly textarea: typeof questpie320.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js6.email;
|
|
13
|
+
readonly url: typeof questpie320.url;
|
|
14
|
+
readonly number: typeof questpie320.number;
|
|
15
|
+
readonly boolean: typeof questpie320.boolean;
|
|
16
|
+
readonly date: typeof questpie320.date;
|
|
17
|
+
readonly datetime: typeof questpie320.datetime;
|
|
18
|
+
readonly time: typeof questpie320.time;
|
|
19
|
+
readonly select: typeof questpie320.select;
|
|
20
|
+
readonly upload: typeof questpie320.upload;
|
|
21
|
+
readonly relation: typeof questpie320.relation;
|
|
22
|
+
readonly object: typeof questpie320.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js6.json;
|
|
24
|
+
readonly from: typeof questpie320.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_orm55.NotNull<drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly accountId: drizzle_orm55.NotNull<drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly providerId: drizzle_orm55.NotNull<drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly accessToken: drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>;
|
|
32
|
+
readonly refreshToken: drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>;
|
|
33
|
+
readonly accessTokenExpiresAt: drizzle_orm_pg_core109.PgTimestampBuilder;
|
|
34
|
+
readonly refreshTokenExpiresAt: drizzle_orm_pg_core109.PgTimestampBuilder;
|
|
35
|
+
readonly scope: drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>;
|
|
36
|
+
readonly idToken: drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>;
|
|
37
|
+
readonly password: drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>;
|
|
38
38
|
};
|
|
39
39
|
virtuals: undefined;
|
|
40
|
-
relations: Record<string,
|
|
40
|
+
relations: Record<string, questpie320.RelationConfig>;
|
|
41
41
|
indexes: Record<string, any>;
|
|
42
42
|
title: "providerId";
|
|
43
|
-
options:
|
|
43
|
+
options: questpie320.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: questpie320.FieldWithMethods<Omit<questpie320.TextFieldState, "notNull" | "column"> & {
|
|
51
51
|
notNull: true;
|
|
52
|
-
column:
|
|
53
|
-
},
|
|
54
|
-
readonly accountId:
|
|
52
|
+
column: drizzle_orm55.NotNull<drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>>;
|
|
53
|
+
}, questpie320.TextFieldMethods>;
|
|
54
|
+
readonly accountId: questpie320.FieldWithMethods<Omit<questpie320.TextFieldState, "notNull" | "column"> & {
|
|
55
55
|
notNull: true;
|
|
56
|
-
column:
|
|
57
|
-
},
|
|
58
|
-
readonly providerId:
|
|
56
|
+
column: drizzle_orm55.NotNull<drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>>;
|
|
57
|
+
}, questpie320.TextFieldMethods>;
|
|
58
|
+
readonly providerId: questpie320.FieldWithMethods<Omit<questpie320.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_orm55.NotNull<drizzle_orm_pg_core109.PgVarcharBuilder<[string, ...string[]]>>;
|
|
61
|
+
}, questpie320.TextFieldMethods>;
|
|
62
|
+
readonly accessToken: questpie320.FieldWithMethods<questpie320.TextFieldState, questpie320.TextFieldMethods>;
|
|
63
|
+
readonly refreshToken: questpie320.FieldWithMethods<questpie320.TextFieldState, questpie320.TextFieldMethods>;
|
|
64
|
+
readonly accessTokenExpiresAt: questpie320.FieldWithMethods<questpie320.DatetimeFieldState, questpie320.DatetimeFieldMethods>;
|
|
65
|
+
readonly refreshTokenExpiresAt: questpie320.FieldWithMethods<questpie320.DatetimeFieldState, questpie320.DatetimeFieldMethods>;
|
|
66
|
+
readonly scope: questpie320.FieldWithMethods<questpie320.TextFieldState, questpie320.TextFieldMethods>;
|
|
67
|
+
readonly idToken: questpie320.FieldWithMethods<questpie320.TextFieldState, questpie320.TextFieldMethods>;
|
|
68
|
+
readonly password: questpie320.FieldWithMethods<questpie320.TextFieldState, questpie320.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_shared56 from "questpie/shared";
|
|
2
|
+
import * as questpie401 from "questpie";
|
|
3
|
+
import * as questpie_src_server_modules_core_fields_email_js8 from "questpie/src/server/modules/core/fields/email.js";
|
|
4
|
+
import * as questpie_src_server_modules_core_fields_json_js8 from "questpie/src/server/modules/core/fields/json.js";
|
|
5
|
+
import * as drizzle_orm_pg_core128 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm67 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: questpie401.CollectionBuilder<questpie_shared56.Override<questpie401.EmptyCollectionState<"admin_locks", undefined, {
|
|
10
|
+
readonly text: typeof questpie401.text;
|
|
11
|
+
readonly textarea: typeof questpie401.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js8.email;
|
|
13
|
+
readonly url: typeof questpie401.url;
|
|
14
|
+
readonly number: typeof questpie401.number;
|
|
15
|
+
readonly boolean: typeof questpie401.boolean;
|
|
16
|
+
readonly date: typeof questpie401.date;
|
|
17
|
+
readonly datetime: typeof questpie401.datetime;
|
|
18
|
+
readonly time: typeof questpie401.time;
|
|
19
|
+
readonly select: typeof questpie401.select;
|
|
20
|
+
readonly upload: typeof questpie401.upload;
|
|
21
|
+
readonly relation: typeof questpie401.relation;
|
|
22
|
+
readonly object: typeof questpie401.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js8.json;
|
|
24
|
+
readonly from: typeof questpie401.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_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly resource: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly resourceId: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly user: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
32
|
+
readonly sessionId: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
33
|
+
readonly expiresAt: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgDateStringBuilder>;
|
|
34
34
|
};
|
|
35
35
|
virtuals: undefined;
|
|
36
|
-
relations: Record<string,
|
|
36
|
+
relations: Record<string, questpie401.RelationConfig>;
|
|
37
37
|
indexes: Record<string, any>;
|
|
38
38
|
title: undefined;
|
|
39
|
-
options:
|
|
39
|
+
options: questpie401.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: questpie401.FieldWithMethods<Omit<questpie401.SelectFieldState, "notNull" | "column"> & {
|
|
47
47
|
notNull: true;
|
|
48
|
-
column:
|
|
48
|
+
column: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
49
49
|
} & {
|
|
50
|
-
label:
|
|
51
|
-
},
|
|
52
|
-
readonly resource:
|
|
50
|
+
label: questpie_shared56.I18nText;
|
|
51
|
+
}, questpie401.SelectFieldMethods>;
|
|
52
|
+
readonly resource: questpie401.FieldWithMethods<Omit<questpie401.TextFieldState, "notNull" | "column"> & {
|
|
53
53
|
notNull: true;
|
|
54
|
-
column:
|
|
54
|
+
column: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
55
55
|
} & {
|
|
56
|
-
label:
|
|
57
|
-
},
|
|
58
|
-
readonly resourceId:
|
|
56
|
+
label: questpie_shared56.I18nText;
|
|
57
|
+
}, questpie401.TextFieldMethods>;
|
|
58
|
+
readonly resourceId: questpie401.FieldWithMethods<Omit<questpie401.TextFieldState, "notNull" | "column"> & {
|
|
59
59
|
notNull: true;
|
|
60
|
-
column:
|
|
60
|
+
column: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
61
61
|
} & {
|
|
62
|
-
label:
|
|
63
|
-
},
|
|
64
|
-
readonly user:
|
|
62
|
+
label: questpie_shared56.I18nText;
|
|
63
|
+
}, questpie401.TextFieldMethods>;
|
|
64
|
+
readonly user: questpie401.FieldWithMethods<Omit<questpie401.RelationFieldState<"user">, "notNull" | "column"> & {
|
|
65
65
|
notNull: true;
|
|
66
|
-
column:
|
|
66
|
+
column: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
67
67
|
} & {
|
|
68
|
-
label:
|
|
69
|
-
},
|
|
70
|
-
readonly sessionId:
|
|
68
|
+
label: questpie_shared56.I18nText;
|
|
69
|
+
}, questpie401.RelationFieldMethods>;
|
|
70
|
+
readonly sessionId: questpie401.FieldWithMethods<Omit<questpie401.TextFieldState, "notNull" | "column"> & {
|
|
71
71
|
notNull: true;
|
|
72
|
-
column:
|
|
72
|
+
column: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgVarcharBuilder<[string, ...string[]]>>;
|
|
73
73
|
} & {
|
|
74
|
-
label:
|
|
75
|
-
},
|
|
76
|
-
readonly expiresAt:
|
|
74
|
+
label: questpie_shared56.I18nText;
|
|
75
|
+
}, questpie401.TextFieldMethods>;
|
|
76
|
+
readonly expiresAt: questpie401.FieldWithMethods<Omit<questpie401.DateFieldState, "notNull" | "column"> & {
|
|
77
77
|
notNull: true;
|
|
78
|
-
column:
|
|
78
|
+
column: drizzle_orm67.NotNull<drizzle_orm_pg_core128.PgDateStringBuilder>;
|
|
79
79
|
} & {
|
|
80
|
-
label:
|
|
81
|
-
},
|
|
80
|
+
label: questpie_shared56.I18nText;
|
|
81
|
+
}, questpie401.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_shared63 from "questpie/shared";
|
|
2
|
+
import * as questpie436 from "questpie";
|
|
3
|
+
import * as questpie_src_server_modules_core_fields_email_js9 from "questpie/src/server/modules/core/fields/email.js";
|
|
4
|
+
import * as questpie_src_server_modules_core_fields_json_js9 from "questpie/src/server/modules/core/fields/json.js";
|
|
5
|
+
import * as drizzle_orm_pg_core140 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm79 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: questpie436.CollectionBuilder<questpie_shared63.Override<questpie436.EmptyCollectionState<"admin_preferences", undefined, {
|
|
10
|
+
readonly text: typeof questpie436.text;
|
|
11
|
+
readonly textarea: typeof questpie436.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js9.email;
|
|
13
|
+
readonly url: typeof questpie436.url;
|
|
14
|
+
readonly number: typeof questpie436.number;
|
|
15
|
+
readonly boolean: typeof questpie436.boolean;
|
|
16
|
+
readonly date: typeof questpie436.date;
|
|
17
|
+
readonly datetime: typeof questpie436.datetime;
|
|
18
|
+
readonly time: typeof questpie436.time;
|
|
19
|
+
readonly select: typeof questpie436.select;
|
|
20
|
+
readonly upload: typeof questpie436.upload;
|
|
21
|
+
readonly relation: typeof questpie436.relation;
|
|
22
|
+
readonly object: typeof questpie436.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js9.json;
|
|
24
|
+
readonly from: typeof questpie436.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_orm79.NotNull<drizzle_orm_pg_core140.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly key: drizzle_orm79.NotNull<drizzle_orm_pg_core140.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly value: drizzle_orm79.NotNull<drizzle_orm_pg_core140.PgJsonbBuilder>;
|
|
31
31
|
};
|
|
32
32
|
virtuals: undefined;
|
|
33
|
-
relations: Record<string,
|
|
34
|
-
indexes: Record<string, any> &
|
|
33
|
+
relations: Record<string, questpie436.RelationConfig>;
|
|
34
|
+
indexes: Record<string, any> & drizzle_orm_pg_core140.IndexBuilder[];
|
|
35
35
|
title: undefined;
|
|
36
|
-
options:
|
|
36
|
+
options: questpie436.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: questpie436.FieldWithMethods<Omit<questpie436.TextFieldState, "notNull" | "column"> & {
|
|
44
44
|
notNull: true;
|
|
45
|
-
column:
|
|
45
|
+
column: drizzle_orm79.NotNull<drizzle_orm_pg_core140.PgVarcharBuilder<[string, ...string[]]>>;
|
|
46
46
|
} & {
|
|
47
|
-
label:
|
|
48
|
-
},
|
|
49
|
-
readonly key:
|
|
47
|
+
label: questpie_shared63.I18nText;
|
|
48
|
+
}, questpie436.TextFieldMethods>;
|
|
49
|
+
readonly key: questpie436.FieldWithMethods<Omit<questpie436.TextFieldState, "notNull" | "column"> & {
|
|
50
50
|
notNull: true;
|
|
51
|
-
column:
|
|
51
|
+
column: drizzle_orm79.NotNull<drizzle_orm_pg_core140.PgVarcharBuilder<[string, ...string[]]>>;
|
|
52
52
|
} & {
|
|
53
|
-
label:
|
|
54
|
-
},
|
|
55
|
-
readonly value:
|
|
53
|
+
label: questpie_shared63.I18nText;
|
|
54
|
+
}, questpie436.TextFieldMethods>;
|
|
55
|
+
readonly value: questpie436.Field<Omit<questpie436.JsonFieldState, "notNull" | "column"> & {
|
|
56
56
|
notNull: true;
|
|
57
|
-
column:
|
|
57
|
+
column: drizzle_orm79.NotNull<drizzle_orm_pg_core140.PgJsonbBuilder>;
|
|
58
58
|
} & {
|
|
59
|
-
label:
|
|
59
|
+
label: questpie_shared63.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_shared23 from "questpie/shared";
|
|
2
|
+
import * as questpie220 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_core55 from "drizzle-orm/pg-core";
|
|
6
|
+
import * as drizzle_orm25 from "drizzle-orm";
|
|
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: questpie220.CollectionBuilder<questpie_shared23.Override<questpie220.EmptyCollectionState<"admin_saved_views", undefined, {
|
|
10
|
+
readonly text: typeof questpie220.text;
|
|
11
|
+
readonly textarea: typeof questpie220.textarea;
|
|
12
|
+
readonly email: typeof questpie_src_server_modules_core_fields_email_js4.email;
|
|
13
|
+
readonly url: typeof questpie220.url;
|
|
14
|
+
readonly number: typeof questpie220.number;
|
|
15
|
+
readonly boolean: typeof questpie220.boolean;
|
|
16
|
+
readonly date: typeof questpie220.date;
|
|
17
|
+
readonly datetime: typeof questpie220.datetime;
|
|
18
|
+
readonly time: typeof questpie220.time;
|
|
19
|
+
readonly select: typeof questpie220.select;
|
|
20
|
+
readonly upload: typeof questpie220.upload;
|
|
21
|
+
readonly relation: typeof questpie220.relation;
|
|
22
|
+
readonly object: typeof questpie220.object;
|
|
23
|
+
readonly json: typeof questpie_src_server_modules_core_fields_json_js4.json;
|
|
24
|
+
readonly from: typeof questpie220.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_orm25.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
29
|
+
readonly collectionName: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
30
|
+
readonly name: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
31
|
+
readonly configuration: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgJsonbBuilder>;
|
|
32
|
+
readonly isDefault: drizzle_orm25.HasDefault<drizzle_orm_pg_core55.PgBooleanBuilder>;
|
|
33
33
|
};
|
|
34
34
|
virtuals: undefined;
|
|
35
|
-
relations: Record<string,
|
|
35
|
+
relations: Record<string, questpie220.RelationConfig>;
|
|
36
36
|
indexes: Record<string, any>;
|
|
37
37
|
title: undefined;
|
|
38
|
-
options:
|
|
38
|
+
options: questpie220.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: questpie220.FieldWithMethods<Omit<questpie220.TextFieldState, "notNull" | "column"> & {
|
|
46
46
|
notNull: true;
|
|
47
|
-
column:
|
|
47
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
48
48
|
} & {
|
|
49
|
-
label:
|
|
50
|
-
},
|
|
51
|
-
readonly collectionName:
|
|
49
|
+
label: questpie_shared23.I18nText;
|
|
50
|
+
}, questpie220.TextFieldMethods>;
|
|
51
|
+
readonly collectionName: questpie220.FieldWithMethods<Omit<questpie220.TextFieldState, "notNull" | "column"> & {
|
|
52
52
|
notNull: true;
|
|
53
|
-
column:
|
|
53
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
54
54
|
} & {
|
|
55
|
-
label:
|
|
56
|
-
},
|
|
57
|
-
readonly name:
|
|
55
|
+
label: questpie_shared23.I18nText;
|
|
56
|
+
}, questpie220.TextFieldMethods>;
|
|
57
|
+
readonly name: questpie220.FieldWithMethods<Omit<questpie220.TextFieldState, "notNull" | "column"> & {
|
|
58
58
|
notNull: true;
|
|
59
|
-
column:
|
|
59
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgVarcharBuilder<[string, ...string[]]>>;
|
|
60
60
|
} & {
|
|
61
|
-
label:
|
|
62
|
-
},
|
|
63
|
-
readonly configuration:
|
|
61
|
+
label: questpie_shared23.I18nText;
|
|
62
|
+
}, questpie220.TextFieldMethods>;
|
|
63
|
+
readonly configuration: questpie220.Field<Omit<questpie220.JsonFieldState, "notNull" | "column"> & {
|
|
64
64
|
notNull: true;
|
|
65
|
-
column:
|
|
65
|
+
column: drizzle_orm25.NotNull<drizzle_orm_pg_core55.PgJsonbBuilder>;
|
|
66
66
|
} & {
|
|
67
|
-
label:
|
|
67
|
+
label: questpie_shared23.I18nText;
|
|
68
68
|
}>;
|
|
69
|
-
readonly isDefault:
|
|
69
|
+
readonly isDefault: questpie220.Field<Omit<questpie220.BooleanFieldState, "column" | "hasDefault"> & {
|
|
70
70
|
hasDefault: true;
|
|
71
|
-
column:
|
|
71
|
+
column: drizzle_orm25.HasDefault<drizzle_orm_pg_core55.PgBooleanBuilder>;
|
|
72
72
|
} & {
|
|
73
|
-
label:
|
|
73
|
+
label: questpie_shared23.I18nText;
|
|
74
74
|
}>;
|
|
75
75
|
};
|
|
76
76
|
upload: undefined;
|