@baseplate-dev/plugin-auth 0.6.14 → 0.6.15
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/CHANGELOG.md +22 -0
- package/dist/auth/core/components/auth-definition-editor.js +3 -0
- package/dist/auth/core/components/role-editor-form/role-editor-form.js +2 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js +4 -0
- package/dist/better-auth/generators/fastify/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +2 -2
- package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +2 -5
- package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +21 -0
- package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +7 -0
- package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +14 -0
- package/dist/local-auth/core/generators/seed-initial-user/seed-initial-user.generator.js +4 -0
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js +2 -1
- package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts +3 -1
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-3sV-KVGF.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js} +13 -13
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-0m3QgjSy.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js} +1 -1
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-QrOyqu9V.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib_mf_1_web__loadShare__.js-DGL7vJhO.js} +1 -1
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-BTSgZGcl.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js} +30 -26
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CJ027_El.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js} +2 -2
- package/dist/web/assets/auth-BA-e6ORB.js +1 -0
- package/dist/web/assets/{common-BPbNs2A1.js → common-2qsch56z.js} +5 -5
- package/dist/web/assets/{common-Aq-HXybV.js → common-2sTWj7X2.js} +5 -5
- package/dist/web/assets/{common-CDrUdhRf.js → common-BJslFOaI.js} +3 -3
- package/dist/web/assets/{common-B8N9gx2s.js → common-BY8yEk1M.js} +3 -3
- package/dist/web/assets/{common-7-ZtKO5B.js → common-D-CUPN3f.js} +2 -2
- package/dist/web/assets/{common-B_XZ3l9w.js → common-DtVPzGI9.js} +2 -2
- package/dist/web/assets/{dist-D3CkiDKT.js → dist-DiQ4J8N0.js} +278 -98
- package/dist/web/assets/{get-auth-plugin-definition-D3ocnNxw.js → get-auth-plugin-definition-gCzcUybB.js} +2 -2
- package/dist/web/assets/{hostInit-D3RxwboF.js → hostInit-BPDI3Q4j.js} +1 -1
- package/dist/web/assets/{index-CozZxQl1.js → index-BocHdii2.js} +2 -2
- package/dist/web/assets/{mf-entry-bootstrap-0-069a3ab2.js → mf-entry-bootstrap-0-b337c957.js} +2 -2
- package/dist/web/assets/{model-utils-CYaLYwoX.js → model-utils-BoeoBppL.js} +38 -3
- package/dist/web/assets/{models-k-iaCft-.js → models-Bb8Sa9xa.js} +2 -2
- package/dist/web/assets/{models-BX4xFiEn.js → models-CExR9mVk.js} +2 -2
- package/dist/web/assets/{plugin-definition-CI1aEVGv.js → plugin-definition-BSgRuyCf.js} +2 -2
- package/dist/web/assets/{plugin-definition-BI565qFo.js → plugin-definition-DoLu-enC.js} +2 -2
- package/dist/web/assets/{styles-f4jHVv0S.js → styles-DWNihayS.js} +5 -5
- package/dist/web/assets/{virtualExposes-BHQhgLE-.js → virtualExposes-ZQ3-2Iup.js} +1 -1
- package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-aH8n-Nbe.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js} +3 -3
- package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-I_SxfvGj.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js} +13 -13
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BQ0UMKSv.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js} +13 -13
- package/dist/web/assets/{web-nLSlkJy_.js → web-BWF6Fc7g.js} +3 -3
- package/dist/web/assets/{web-Dh6pUTrF.js → web-BbZNg5Ko.js} +7 -7
- package/dist/web/assets/{web-DCK_tLVa.js → web-CbftiK5A.js} +3 -3
- package/dist/web/assets/{web-Cn3uvuFs.js → web-DUQ-iyMI.js} +9 -7
- package/dist/web/assets/{web-BRvS0HRS.js → web-QvGnMr85.js} +7 -7
- package/dist/web/assets/{web-YXVJWeXy.js → web-pdVFZ-id.js} +3 -3
- package/dist/web/assets/{web-CkbTu31Q.js → web-sVeHdqQo.js} +8 -8
- package/dist/web/index.html +2 -2
- package/dist/web/remoteEntry.js +1 -1
- package/dist/web/remoteEntry.ssr.js +1 -1
- package/package.json +14 -13
- package/dist/web/assets/auth-D8BnFQKk.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @baseplate-dev/plugin-auth
|
|
2
2
|
|
|
3
|
+
## 0.6.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#962](https://github.com/halfdomelabs/baseplate/pull/962) [`615c8e1`](https://github.com/halfdomelabs/baseplate/commit/615c8e173cede3cfa0298b92d5b84999ffedce5b) Thanks [@kingston](https://github.com/kingston)! - Tightened handling of indexed access across the codebase, fixing latent cases where a missing array element or record entry could surface as an undefined value in a field typed as required, such as unmatched regular expression capture groups and parsed command strings.
|
|
8
|
+
|
|
9
|
+
- [#967](https://github.com/halfdomelabs/baseplate/pull/967) [`8b2dfd7`](https://github.com/halfdomelabs/baseplate/commit/8b2dfd7aa799b51dfa02deeaf7592af8ea29ed7e) Thanks [@kingston](https://github.com/kingston)! - Fix login and change-password failing with an internal server error instead of an invalid credentials message when the account has no stored password, which affected logging in with an unrecognized email address and changing the password on accounts linked only to a social provider
|
|
10
|
+
|
|
11
|
+
- [#964](https://github.com/halfdomelabs/baseplate/pull/964) [`fb42641`](https://github.com/halfdomelabs/baseplate/commit/fb42641e235085cca019992f8615c2b9be0fdacb) Thanks [@kingston](https://github.com/kingston)! - Fixed the initial user seed script occasionally failing because no name was supplied. The seed script now sets the initial user's name from a new `INITIAL_USER_NAME` seed environment variable, defaulting to "Admin" if not set.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`403874a`](https://github.com/halfdomelabs/baseplate/commit/403874a10f67120eb36badc93920359cb267dcb5), [`615c8e1`](https://github.com/halfdomelabs/baseplate/commit/615c8e173cede3cfa0298b92d5b84999ffedce5b), [`8b2dfd7`](https://github.com/halfdomelabs/baseplate/commit/8b2dfd7aa799b51dfa02deeaf7592af8ea29ed7e), [`dac747d`](https://github.com/halfdomelabs/baseplate/commit/dac747d5085f82de33bc4cc66ef0709fc405cccd), [`4ed5ae3`](https://github.com/halfdomelabs/baseplate/commit/4ed5ae379ec7097d072612fa9c29738947b11334), [`05cfe52`](https://github.com/halfdomelabs/baseplate/commit/05cfe5202692c8f3f3876d2e1c994c267d18d622), [`3184ab4`](https://github.com/halfdomelabs/baseplate/commit/3184ab40137515c7c96249793ca882526055292d), [`615c8e1`](https://github.com/halfdomelabs/baseplate/commit/615c8e173cede3cfa0298b92d5b84999ffedce5b), [`9cdfaa9`](https://github.com/halfdomelabs/baseplate/commit/9cdfaa9e3702c8a569c5dac739877dc8330a8f73), [`9139686`](https://github.com/halfdomelabs/baseplate/commit/91396867ec7832068aa6a5d19d038dcd1f04ec5c), [`e12d469`](https://github.com/halfdomelabs/baseplate/commit/e12d4699363b6d8c24c060929bec7b117933c8c2), [`e12d469`](https://github.com/halfdomelabs/baseplate/commit/e12d4699363b6d8c24c060929bec7b117933c8c2), [`15f4f2c`](https://github.com/halfdomelabs/baseplate/commit/15f4f2c6742bdde2b6a5f0b5f5063e01a053123e)]:
|
|
14
|
+
- @baseplate-dev/fastify-generators@0.6.15
|
|
15
|
+
- @baseplate-dev/project-builder-lib@0.6.15
|
|
16
|
+
- @baseplate-dev/core-generators@0.6.15
|
|
17
|
+
- @baseplate-dev/plugin-email@0.6.15
|
|
18
|
+
- @baseplate-dev/plugin-queue@0.6.15
|
|
19
|
+
- @baseplate-dev/react-generators@0.6.15
|
|
20
|
+
- @baseplate-dev/sync@0.6.15
|
|
21
|
+
- @baseplate-dev/utils@0.6.15
|
|
22
|
+
- @baseplate-dev/plugin-rate-limit@0.6.15
|
|
23
|
+
- @baseplate-dev/ui-components@0.6.15
|
|
24
|
+
|
|
3
25
|
## 0.6.14
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -22,6 +22,9 @@ export function AuthDefinitionEditor({ definition: pluginMetadata, metadata, onS
|
|
|
22
22
|
}
|
|
23
23
|
const defaultAuthFeatureRef = FeatureUtils.getFeatureIdByNameOrDefault(definition, 'accounts/auth');
|
|
24
24
|
const defaultAccountsFeatureRef = FeatureUtils.getFeatureIdByNameOrDefault(definition, 'accounts/users');
|
|
25
|
+
if (!defaultImplementation) {
|
|
26
|
+
throw new Error('No auth implementation plugins are available');
|
|
27
|
+
}
|
|
25
28
|
return {
|
|
26
29
|
implementationPluginKey: defaultImplementation.key,
|
|
27
30
|
authFeatureRef: defaultAuthFeatureRef,
|
|
@@ -26,6 +26,8 @@ export function RoleEditorForm({ className, control, }) {
|
|
|
26
26
|
}
|
|
27
27
|
function handleDeleteRole(roleIdx) {
|
|
28
28
|
const role = roles[roleIdx];
|
|
29
|
+
if (!role)
|
|
30
|
+
return;
|
|
29
31
|
requestConfirm({
|
|
30
32
|
title: 'Delete Role',
|
|
31
33
|
content: `Are you sure you want to delete the role "${role.name}"?`,
|
package/dist/better-auth/generators/fastify/seed-initial-user/seed-initial-user.generator.js
CHANGED
|
@@ -37,6 +37,10 @@ export const betterAuthSeedInitialUserGenerator = createGenerator({
|
|
|
37
37
|
name: 'INITIAL_USER_PASSWORD',
|
|
38
38
|
exampleValue: 'password',
|
|
39
39
|
});
|
|
40
|
+
prismaSeed.addSeedEnvField({
|
|
41
|
+
name: 'INITIAL_USER_NAME',
|
|
42
|
+
exampleValue: 'Admin',
|
|
43
|
+
});
|
|
40
44
|
},
|
|
41
45
|
}),
|
|
42
46
|
main: createGeneratorTask({
|
|
@@ -6,7 +6,8 @@ import type { User } from '%prismaGeneratedImports';
|
|
|
6
6
|
import { prisma } from '%prismaImports';
|
|
7
7
|
import { hashPassword } from 'better-auth/crypto';
|
|
8
8
|
|
|
9
|
-
const { INITIAL_USER_EMAIL, INITIAL_USER_PASSWORD } =
|
|
9
|
+
const { INITIAL_USER_EMAIL, INITIAL_USER_PASSWORD, INITIAL_USER_NAME } =
|
|
10
|
+
process.env;
|
|
10
11
|
const INITIAL_USER_ROLES: AuthRole[] = TPL_INITIAL_USER_ROLES;
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -33,7 +34,7 @@ export async function seedInitialUser(): Promise<User | undefined> {
|
|
|
33
34
|
|
|
34
35
|
user = await prisma.user.create({
|
|
35
36
|
data: {
|
|
36
|
-
name:
|
|
37
|
+
name: INITIAL_USER_NAME ? INITIAL_USER_NAME : 'Admin',
|
|
37
38
|
email: INITIAL_USER_EMAIL,
|
|
38
39
|
emailVerified: true,
|
|
39
40
|
accounts: {
|
|
@@ -113,7 +113,7 @@ export async function authenticateUserWithEmailAndPassword({ input, context, })
|
|
|
113
113
|
},
|
|
114
114
|
});
|
|
115
115
|
// check for password match
|
|
116
|
-
const isValid = await verifyPasswordHash(userAccount?.password
|
|
116
|
+
const isValid = await verifyPasswordHash(userAccount?.password, password);
|
|
117
117
|
if (!isValid || !userAccount) {
|
|
118
118
|
// Track failed attempt
|
|
119
119
|
await getLoginConsecutiveFailsLimiter().consume(emailIpKey);
|
|
@@ -149,7 +149,7 @@ export async function changeUserPassword({ userId, input, }) {
|
|
|
149
149
|
},
|
|
150
150
|
});
|
|
151
151
|
// Verify current password
|
|
152
|
-
const isValid = await verifyPasswordHash(userAccount?.password
|
|
152
|
+
const isValid = await verifyPasswordHash(userAccount?.password, currentPassword);
|
|
153
153
|
if (!isValid || !userAccount) {
|
|
154
154
|
throw new BadRequestError('Current password is incorrect', 'invalid-current-password');
|
|
155
155
|
}
|
|
@@ -201,10 +201,7 @@ export async function authenticateUserWithEmailAndPassword({
|
|
|
201
201
|
});
|
|
202
202
|
|
|
203
203
|
// check for password match
|
|
204
|
-
const isValid = await verifyPasswordHash(
|
|
205
|
-
userAccount?.password ?? '',
|
|
206
|
-
password,
|
|
207
|
-
);
|
|
204
|
+
const isValid = await verifyPasswordHash(userAccount?.password, password);
|
|
208
205
|
if (!isValid || !userAccount) {
|
|
209
206
|
// Track failed attempt
|
|
210
207
|
await getLoginConsecutiveFailsLimiter().consume(emailIpKey);
|
|
@@ -263,7 +260,7 @@ export async function changeUserPassword({
|
|
|
263
260
|
|
|
264
261
|
// Verify current password
|
|
265
262
|
const isValid = await verifyPasswordHash(
|
|
266
|
-
userAccount?.password
|
|
263
|
+
userAccount?.password,
|
|
267
264
|
currentPassword,
|
|
268
265
|
);
|
|
269
266
|
if (!isValid || !userAccount) {
|
|
@@ -79,6 +79,7 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
79
79
|
}>>;
|
|
80
80
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
81
81
|
bindQueueHandler: {};
|
|
82
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
82
83
|
defineQueue: {};
|
|
83
84
|
EnqueueOptions: {
|
|
84
85
|
isTypeOnly: true;
|
|
@@ -104,6 +105,12 @@ export declare const authModuleGenerator: import("@baseplate-dev/sync").Generato
|
|
|
104
105
|
QueueJobHandler: {
|
|
105
106
|
isTypeOnly: true;
|
|
106
107
|
};
|
|
108
|
+
QueuePolicyFixPlan: {
|
|
109
|
+
isTypeOnly: true;
|
|
110
|
+
};
|
|
111
|
+
QueuePolicyFixResult: {
|
|
112
|
+
isTypeOnly: true;
|
|
113
|
+
};
|
|
107
114
|
QueueRuntime: {
|
|
108
115
|
isTypeOnly: true;
|
|
109
116
|
};
|
|
@@ -83,6 +83,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
83
83
|
}>>;
|
|
84
84
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
85
85
|
bindQueueHandler: {};
|
|
86
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
86
87
|
defineQueue: {};
|
|
87
88
|
EnqueueOptions: {
|
|
88
89
|
isTypeOnly: true;
|
|
@@ -108,6 +109,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
108
109
|
QueueJobHandler: {
|
|
109
110
|
isTypeOnly: true;
|
|
110
111
|
};
|
|
112
|
+
QueuePolicyFixPlan: {
|
|
113
|
+
isTypeOnly: true;
|
|
114
|
+
};
|
|
115
|
+
QueuePolicyFixResult: {
|
|
116
|
+
isTypeOnly: true;
|
|
117
|
+
};
|
|
111
118
|
QueueRuntime: {
|
|
112
119
|
isTypeOnly: true;
|
|
113
120
|
};
|
|
@@ -243,6 +250,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
243
250
|
queuesCleanupAuthVerification: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
244
251
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
245
252
|
bindQueueHandler: {};
|
|
253
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
246
254
|
defineQueue: {};
|
|
247
255
|
EnqueueOptions: {
|
|
248
256
|
isTypeOnly: true;
|
|
@@ -268,6 +276,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
268
276
|
QueueJobHandler: {
|
|
269
277
|
isTypeOnly: true;
|
|
270
278
|
};
|
|
279
|
+
QueuePolicyFixPlan: {
|
|
280
|
+
isTypeOnly: true;
|
|
281
|
+
};
|
|
282
|
+
QueuePolicyFixResult: {
|
|
283
|
+
isTypeOnly: true;
|
|
284
|
+
};
|
|
271
285
|
QueueRuntime: {
|
|
272
286
|
isTypeOnly: true;
|
|
273
287
|
};
|
|
@@ -291,6 +305,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
291
305
|
queuesCleanupAuthVerificationWorker: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
292
306
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
293
307
|
bindQueueHandler: {};
|
|
308
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
294
309
|
defineQueue: {};
|
|
295
310
|
EnqueueOptions: {
|
|
296
311
|
isTypeOnly: true;
|
|
@@ -316,6 +331,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_GENERATED: {
|
|
|
316
331
|
QueueJobHandler: {
|
|
317
332
|
isTypeOnly: true;
|
|
318
333
|
};
|
|
334
|
+
QueuePolicyFixPlan: {
|
|
335
|
+
isTypeOnly: true;
|
|
336
|
+
};
|
|
337
|
+
QueuePolicyFixResult: {
|
|
338
|
+
isTypeOnly: true;
|
|
339
|
+
};
|
|
319
340
|
QueueRuntime: {
|
|
320
341
|
isTypeOnly: true;
|
|
321
342
|
};
|
|
@@ -85,6 +85,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_RENDERERS: {
|
|
|
85
85
|
}>>;
|
|
86
86
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
87
87
|
bindQueueHandler: {};
|
|
88
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
88
89
|
defineQueue: {};
|
|
89
90
|
EnqueueOptions: {
|
|
90
91
|
isTypeOnly: true;
|
|
@@ -110,6 +111,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_RENDERERS: {
|
|
|
110
111
|
QueueJobHandler: {
|
|
111
112
|
isTypeOnly: true;
|
|
112
113
|
};
|
|
114
|
+
QueuePolicyFixPlan: {
|
|
115
|
+
isTypeOnly: true;
|
|
116
|
+
};
|
|
117
|
+
QueuePolicyFixResult: {
|
|
118
|
+
isTypeOnly: true;
|
|
119
|
+
};
|
|
113
120
|
QueueRuntime: {
|
|
114
121
|
isTypeOnly: true;
|
|
115
122
|
};
|
|
@@ -195,6 +195,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_TEMPLATES: {
|
|
|
195
195
|
queuesCleanupAuthVerification: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
196
196
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
197
197
|
bindQueueHandler: {};
|
|
198
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
198
199
|
defineQueue: {};
|
|
199
200
|
EnqueueOptions: {
|
|
200
201
|
isTypeOnly: true;
|
|
@@ -220,6 +221,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_TEMPLATES: {
|
|
|
220
221
|
QueueJobHandler: {
|
|
221
222
|
isTypeOnly: true;
|
|
222
223
|
};
|
|
224
|
+
QueuePolicyFixPlan: {
|
|
225
|
+
isTypeOnly: true;
|
|
226
|
+
};
|
|
227
|
+
QueuePolicyFixResult: {
|
|
228
|
+
isTypeOnly: true;
|
|
229
|
+
};
|
|
223
230
|
QueueRuntime: {
|
|
224
231
|
isTypeOnly: true;
|
|
225
232
|
};
|
|
@@ -243,6 +250,7 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_TEMPLATES: {
|
|
|
243
250
|
queuesCleanupAuthVerificationWorker: import("@baseplate-dev/core-generators").TsTemplateFile<{}, {
|
|
244
251
|
queuesImports: import("@baseplate-dev/sync").ProviderType<import("@baseplate-dev/core-generators").InferTsImportMapFromSchema<{
|
|
245
252
|
bindQueueHandler: {};
|
|
253
|
+
DEFAULT_QUEUE_CONCURRENCY: {};
|
|
246
254
|
defineQueue: {};
|
|
247
255
|
EnqueueOptions: {
|
|
248
256
|
isTypeOnly: true;
|
|
@@ -268,6 +276,12 @@ export declare const LOCAL_AUTH_CORE_AUTH_MODULE_TEMPLATES: {
|
|
|
268
276
|
QueueJobHandler: {
|
|
269
277
|
isTypeOnly: true;
|
|
270
278
|
};
|
|
279
|
+
QueuePolicyFixPlan: {
|
|
280
|
+
isTypeOnly: true;
|
|
281
|
+
};
|
|
282
|
+
QueuePolicyFixResult: {
|
|
283
|
+
isTypeOnly: true;
|
|
284
|
+
};
|
|
271
285
|
QueueRuntime: {
|
|
272
286
|
isTypeOnly: true;
|
|
273
287
|
};
|
|
@@ -34,6 +34,10 @@ export const seedInitialUserGenerator = createGenerator({
|
|
|
34
34
|
name: 'INITIAL_USER_PASSWORD',
|
|
35
35
|
exampleValue: 'password',
|
|
36
36
|
});
|
|
37
|
+
prismaSeed.addSeedEnvField({
|
|
38
|
+
name: 'INITIAL_USER_NAME',
|
|
39
|
+
exampleValue: 'Admin',
|
|
40
|
+
});
|
|
37
41
|
},
|
|
38
42
|
}),
|
|
39
43
|
main: createGeneratorTask({
|
package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { createUserWithEmailAndPassword } from '%authEmailPasswordImports';
|
|
3
3
|
import { prisma } from '%prismaImports';
|
|
4
|
-
const { INITIAL_USER_EMAIL, INITIAL_USER_PASSWORD } = process.env;
|
|
4
|
+
const { INITIAL_USER_EMAIL, INITIAL_USER_PASSWORD, INITIAL_USER_NAME } = process.env;
|
|
5
5
|
const INITIAL_USER_ROLES = TPL_INITIAL_USER_ROLES;
|
|
6
6
|
export async function seedInitialUser() {
|
|
7
7
|
if (!INITIAL_USER_EMAIL || !INITIAL_USER_PASSWORD) {
|
|
@@ -16,6 +16,7 @@ export async function seedInitialUser() {
|
|
|
16
16
|
input: {
|
|
17
17
|
email: INITIAL_USER_EMAIL,
|
|
18
18
|
password: INITIAL_USER_PASSWORD,
|
|
19
|
+
name: INITIAL_USER_NAME ? INITIAL_USER_NAME : 'Admin',
|
|
19
20
|
},
|
|
20
21
|
});
|
|
21
22
|
console.info(`Created initial user with email ${INITIAL_USER_EMAIL}!`);
|
package/dist/local-auth/core/generators/seed-initial-user/templates/src/prisma/seed-initial-user.ts
CHANGED
|
@@ -6,7 +6,8 @@ import type { User } from '%prismaGeneratedImports';
|
|
|
6
6
|
import { createUserWithEmailAndPassword } from '%authEmailPasswordImports';
|
|
7
7
|
import { prisma } from '%prismaImports';
|
|
8
8
|
|
|
9
|
-
const { INITIAL_USER_EMAIL, INITIAL_USER_PASSWORD } =
|
|
9
|
+
const { INITIAL_USER_EMAIL, INITIAL_USER_PASSWORD, INITIAL_USER_NAME } =
|
|
10
|
+
process.env;
|
|
10
11
|
const INITIAL_USER_ROLES: AuthRole[] = TPL_INITIAL_USER_ROLES;
|
|
11
12
|
|
|
12
13
|
export async function seedInitialUser(): Promise<User | undefined> {
|
|
@@ -26,6 +27,7 @@ export async function seedInitialUser(): Promise<User | undefined> {
|
|
|
26
27
|
input: {
|
|
27
28
|
email: INITIAL_USER_EMAIL,
|
|
28
29
|
password: INITIAL_USER_PASSWORD,
|
|
30
|
+
name: INITIAL_USER_NAME ? INITIAL_USER_NAME : 'Admin',
|
|
29
31
|
},
|
|
30
32
|
});
|
|
31
33
|
console.info(`Created initial user with email ${INITIAL_USER_EMAIL}!`);
|
|
@@ -3,28 +3,28 @@ import "./dist-SBfmsOB2.js";
|
|
|
3
3
|
//#region \0virtual:mf-localSharedImportMap:__mfe_internal__plugin_mf_2_auth
|
|
4
4
|
var importMap = {
|
|
5
5
|
"react/jsx-runtime": async () => {
|
|
6
|
-
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
6
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js").then((n) => n.xt), [], import.meta.url);
|
|
7
7
|
},
|
|
8
8
|
"react": async () => {
|
|
9
|
-
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
9
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js").then((n) => (n._t(), n.gt)), [], import.meta.url);
|
|
10
10
|
},
|
|
11
11
|
"react-dom": async () => {
|
|
12
|
-
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
12
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js").then((n) => n.Y), [], import.meta.url);
|
|
13
13
|
},
|
|
14
14
|
"zod": async () => {
|
|
15
15
|
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js").then((n) => n.r), [], import.meta.url);
|
|
16
16
|
},
|
|
17
17
|
"@baseplate-dev/ui-components": async () => {
|
|
18
|
-
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
18
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js").then((n) => n.F), [], import.meta.url);
|
|
19
19
|
},
|
|
20
20
|
"@baseplate-dev/project-builder-lib/web": async () => {
|
|
21
|
-
return await __vitePreload(() => import("./web-
|
|
21
|
+
return await __vitePreload(() => import("./web-CbftiK5A.js"), [], import.meta.url);
|
|
22
22
|
},
|
|
23
23
|
"@baseplate-dev/project-builder-lib": async () => {
|
|
24
|
-
return await __vitePreload(() => import("./dist-
|
|
24
|
+
return await __vitePreload(() => import("./dist-DiQ4J8N0.js"), [], import.meta.url);
|
|
25
25
|
},
|
|
26
26
|
"@tanstack/react-router": async () => {
|
|
27
|
-
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-
|
|
27
|
+
return await __vitePreload(() => import("./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js").then((n) => n.r), [], import.meta.url);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
var usedShared = {
|
|
@@ -134,7 +134,7 @@ var usedShared = {
|
|
|
134
134
|
},
|
|
135
135
|
"@baseplate-dev/ui-components": {
|
|
136
136
|
name: "@baseplate-dev/ui-components",
|
|
137
|
-
version: "0.6.
|
|
137
|
+
version: "0.6.15",
|
|
138
138
|
scope: ["default"],
|
|
139
139
|
loaded: false,
|
|
140
140
|
eager: false,
|
|
@@ -153,14 +153,14 @@ var usedShared = {
|
|
|
153
153
|
},
|
|
154
154
|
shareConfig: {
|
|
155
155
|
singleton: true,
|
|
156
|
-
requiredVersion: "^0.6.
|
|
156
|
+
requiredVersion: "^0.6.15",
|
|
157
157
|
strictVersion: false,
|
|
158
158
|
eager: false
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
"@baseplate-dev/project-builder-lib/web": {
|
|
162
162
|
name: "@baseplate-dev/project-builder-lib/web",
|
|
163
|
-
version: "0.6.
|
|
163
|
+
version: "0.6.15",
|
|
164
164
|
scope: ["default"],
|
|
165
165
|
loaded: false,
|
|
166
166
|
eager: false,
|
|
@@ -179,14 +179,14 @@ var usedShared = {
|
|
|
179
179
|
},
|
|
180
180
|
shareConfig: {
|
|
181
181
|
singleton: true,
|
|
182
|
-
requiredVersion: "^0.6.
|
|
182
|
+
requiredVersion: "^0.6.15",
|
|
183
183
|
strictVersion: false,
|
|
184
184
|
eager: false
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
"@baseplate-dev/project-builder-lib": {
|
|
188
188
|
name: "@baseplate-dev/project-builder-lib",
|
|
189
|
-
version: "0.6.
|
|
189
|
+
version: "0.6.15",
|
|
190
190
|
scope: ["default"],
|
|
191
191
|
loaded: false,
|
|
192
192
|
eager: false,
|
|
@@ -205,7 +205,7 @@ var usedShared = {
|
|
|
205
205
|
},
|
|
206
206
|
shareConfig: {
|
|
207
207
|
singleton: true,
|
|
208
|
-
requiredVersion: "^0.6.
|
|
208
|
+
requiredVersion: "^0.6.15",
|
|
209
209
|
strictVersion: false,
|
|
210
210
|
eager: false
|
|
211
211
|
}
|
|
@@ -369,7 +369,7 @@ if (exportModule === void 0) (__mfModuleCache.pendingShareLoads ||= []).push(ini
|
|
|
369
369
|
__mfApplyLazyShareExports(exportModule);
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
|
-
return __vitePreload(() => import("./dist-
|
|
372
|
+
return __vitePreload(() => import("./dist-DiQ4J8N0.js").then((mod) => {
|
|
373
373
|
exportModule = __mfNormalizeShareModule(mod);
|
|
374
374
|
__mfWriteSharedCache(__mfModuleCache.share, {
|
|
375
375
|
"canonical": "default:@baseplate-dev/project-builder-lib",
|
|
@@ -111,7 +111,7 @@ if (exportModule === void 0) (__mfModuleCache.pendingShareLoads ||= []).push(ini
|
|
|
111
111
|
__mfApplyLazyShareExports(exportModule);
|
|
112
112
|
return;
|
|
113
113
|
}
|
|
114
|
-
return __vitePreload(() => import("./web-
|
|
114
|
+
return __vitePreload(() => import("./web-CbftiK5A.js").then((mod) => {
|
|
115
115
|
exportModule = __mfNormalizeShareModule(mod);
|
|
116
116
|
__mfWriteSharedCache(__mfModuleCache.share, {
|
|
117
117
|
"canonical": "default:@baseplate-dev/project-builder-lib/web",
|
|
@@ -1148,7 +1148,7 @@ function prettify(str, options = {}) {
|
|
|
1148
1148
|
tokens["["] = "[ ";
|
|
1149
1149
|
tokens["]"] = " ]";
|
|
1150
1150
|
}
|
|
1151
|
-
return str.replaceAll(stringOrChar, (match, string) => string ? match : tokens[match]);
|
|
1151
|
+
return str.replaceAll(stringOrChar, (match, string) => string ? match : tokens[match] ?? match);
|
|
1152
1152
|
}
|
|
1153
1153
|
function stringifyPrettyCompact(rootObj, options = {}) {
|
|
1154
1154
|
const indent = JSON.stringify([1], null, get$1(options, "indent", 2)).slice(2, -3);
|
|
@@ -34793,7 +34793,7 @@ function add(elt, child) {
|
|
|
34793
34793
|
else throw new RangeError("Unsupported child node: " + child);
|
|
34794
34794
|
}
|
|
34795
34795
|
//#endregion
|
|
34796
|
-
//#region ../../node_modules/.pnpm/@codemirror+view@6.43.
|
|
34796
|
+
//#region ../../node_modules/.pnpm/@codemirror+view@6.43.7/node_modules/@codemirror/view/dist/index.js
|
|
34797
34797
|
var nav = typeof navigator != "undefined" ? navigator : {
|
|
34798
34798
|
userAgent: "",
|
|
34799
34799
|
vendor: "",
|
|
@@ -36393,10 +36393,10 @@ var LineTile = class LineTile extends CompositeTile {
|
|
|
36393
36393
|
let child = tile.children[i], end = off + child.length;
|
|
36394
36394
|
if (end >= pos) {
|
|
36395
36395
|
if (child.isComposite()) scan(child, pos - off);
|
|
36396
|
-
else if ((!after || after.isHidden && (side > 0 && !(after.flags & 32) || forCoords && onSameLine(after, child))) && (end > pos || child.flags & 32)) {
|
|
36396
|
+
else if ((!after || after.isHidden && (side > 0 && !(after.flags & 32) || forCoords && onSameLine(after, child))) && (end > pos || child.flags & 32 && side <= 1)) {
|
|
36397
36397
|
after = child;
|
|
36398
36398
|
afterOff = pos - off;
|
|
36399
|
-
} else if (off < pos || child.flags & 16 && !child.isHidden) {
|
|
36399
|
+
} else if (off < pos || child.flags & 16 && !child.isHidden && side >= -1) {
|
|
36400
36400
|
before = child;
|
|
36401
36401
|
beforeOff = pos - off;
|
|
36402
36402
|
}
|
|
@@ -36583,18 +36583,20 @@ var TilePointer = class {
|
|
|
36583
36583
|
}
|
|
36584
36584
|
advance(dist, side, walker) {
|
|
36585
36585
|
let { tile, index, beforeBreak, parents } = this;
|
|
36586
|
-
while (dist || side > 0) if (!tile.isComposite())
|
|
36587
|
-
|
|
36588
|
-
(
|
|
36589
|
-
|
|
36590
|
-
|
|
36591
|
-
|
|
36592
|
-
|
|
36593
|
-
|
|
36594
|
-
|
|
36595
|
-
|
|
36596
|
-
|
|
36597
|
-
|
|
36586
|
+
while (dist || side > 0) if (!tile.isComposite()) {
|
|
36587
|
+
let len = tile.length;
|
|
36588
|
+
if (index < len && dist) {
|
|
36589
|
+
let take = Math.min(dist, len - index);
|
|
36590
|
+
if (walker) walker.skip(tile, index, index + take);
|
|
36591
|
+
dist -= take;
|
|
36592
|
+
index += take;
|
|
36593
|
+
}
|
|
36594
|
+
if (index == len) {
|
|
36595
|
+
beforeBreak = !!tile.breakAfter;
|
|
36596
|
+
({tile, index} = parents.pop());
|
|
36597
|
+
index++;
|
|
36598
|
+
} else if (!dist) break;
|
|
36599
|
+
} else if (beforeBreak) {
|
|
36598
36600
|
if (!dist) break;
|
|
36599
36601
|
if (walker) walker.break();
|
|
36600
36602
|
dist--;
|
|
@@ -40515,6 +40517,8 @@ var baseTheme$1$2 = /*@__PURE__*/ buildTheme("." + baseThemeID, {
|
|
|
40515
40517
|
backgroundColor: "#f5f5f5",
|
|
40516
40518
|
color: "black"
|
|
40517
40519
|
},
|
|
40520
|
+
".cm-panels-top": { top: "0" },
|
|
40521
|
+
".cm-panels-bottom": { bottom: "0" },
|
|
40518
40522
|
"&light .cm-panels-top": { borderBottom: "1px solid #ddd" },
|
|
40519
40523
|
"&light .cm-panels-bottom": { borderTop: "1px solid #ddd" },
|
|
40520
40524
|
"&dark .cm-panels": {
|
|
@@ -42723,9 +42727,10 @@ var selectionLayer = /*@__PURE__*/ layer({
|
|
|
42723
42727
|
},
|
|
42724
42728
|
class: "cm-selectionLayer"
|
|
42725
42729
|
});
|
|
42730
|
+
var selectionBg = browser.gecko && browser.gecko_version >= 153 ? "#ffffff01" : "transparent";
|
|
42726
42731
|
var hideNativeSelection = /*@__PURE__*/ Prec.highest(/*@__PURE__*/ EditorView.theme({
|
|
42727
42732
|
".cm-line": {
|
|
42728
|
-
"& ::selection, &::selection": { backgroundColor:
|
|
42733
|
+
"& ::selection, &::selection": { backgroundColor: `${selectionBg} !important` },
|
|
42729
42734
|
caretColor: "transparent !important"
|
|
42730
42735
|
},
|
|
42731
42736
|
".cm-content": {
|
|
@@ -44015,7 +44020,6 @@ var PanelGroup = class {
|
|
|
44015
44020
|
if (!this.dom) {
|
|
44016
44021
|
this.dom = document.createElement("div");
|
|
44017
44022
|
this.dom.className = this.top ? "cm-panels cm-panels-top" : "cm-panels cm-panels-bottom";
|
|
44018
|
-
this.dom.style[this.top ? "top" : "bottom"] = "0";
|
|
44019
44023
|
let parent = this.container || this.view.dom;
|
|
44020
44024
|
parent.insertBefore(this.dom, this.top ? parent.firstChild : null);
|
|
44021
44025
|
}
|
|
@@ -51853,7 +51857,7 @@ var lintExtensions = [
|
|
|
51853
51857
|
baseTheme
|
|
51854
51858
|
];
|
|
51855
51859
|
//#endregion
|
|
51856
|
-
//#region ../../node_modules/.pnpm/@uiw+codemirror-extensions-basic-setup@4.25.4_@codemirror+autocomplete@6.20.0_@
|
|
51860
|
+
//#region ../../node_modules/.pnpm/@uiw+codemirror-extensions-basic-setup@4.25.4_@codemirror+autocomplete@6.20.0_@codemirr_c93dbf9d00d2b51557b1c9072b763c88/node_modules/@uiw/codemirror-extensions-basic-setup/esm/index.js
|
|
51857
51861
|
/**
|
|
51858
51862
|
This is an extension value that just pulls together a number of
|
|
51859
51863
|
extensions that you might want in a basic editor. It is meant as a
|
|
@@ -52098,10 +52102,10 @@ var oneDark = [/* @__PURE__ */ EditorView.theme({
|
|
|
52098
52102
|
}
|
|
52099
52103
|
]))];
|
|
52100
52104
|
//#endregion
|
|
52101
|
-
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@
|
|
52105
|
+
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@cod_3d5943b639f509a7d3fd7755d84b6950/node_modules/@uiw/react-codemirror/esm/theme/light.js
|
|
52102
52106
|
var defaultLightThemeOption = EditorView.theme({ "&": { backgroundColor: "#fff" } }, { dark: false });
|
|
52103
52107
|
//#endregion
|
|
52104
|
-
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@
|
|
52108
|
+
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@cod_3d5943b639f509a7d3fd7755d84b6950/node_modules/@uiw/react-codemirror/esm/getDefaultExtensions.js
|
|
52105
52109
|
var getDefaultExtensions = function getDefaultExtensions(optios) {
|
|
52106
52110
|
if (optios === void 0) optios = {};
|
|
52107
52111
|
var { indentWithTab: defaultIndentWithTab = true, editable = true, readOnly = false, theme = "light", placeholder: placeholderStr = "", basicSetup: defaultBasicSetup = true } = optios;
|
|
@@ -52127,7 +52131,7 @@ var getDefaultExtensions = function getDefaultExtensions(optios) {
|
|
|
52127
52131
|
return [...getExtensions];
|
|
52128
52132
|
};
|
|
52129
52133
|
//#endregion
|
|
52130
|
-
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@
|
|
52134
|
+
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@cod_3d5943b639f509a7d3fd7755d84b6950/node_modules/@uiw/react-codemirror/esm/utils.js
|
|
52131
52135
|
var getStatistics = (view) => {
|
|
52132
52136
|
return {
|
|
52133
52137
|
line: view.state.doc.lineAt(view.state.selection.main.from),
|
|
@@ -52145,7 +52149,7 @@ var getStatistics = (view) => {
|
|
|
52145
52149
|
};
|
|
52146
52150
|
};
|
|
52147
52151
|
//#endregion
|
|
52148
|
-
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@
|
|
52152
|
+
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@cod_3d5943b639f509a7d3fd7755d84b6950/node_modules/@uiw/react-codemirror/esm/timeoutLatch.js
|
|
52149
52153
|
var TimeoutLatch = class {
|
|
52150
52154
|
constructor(callback, timeoutMS) {
|
|
52151
52155
|
this.timeLeftMS = void 0;
|
|
@@ -52222,7 +52226,7 @@ var getScheduler = () => {
|
|
|
52222
52226
|
return globalScheduler;
|
|
52223
52227
|
};
|
|
52224
52228
|
//#endregion
|
|
52225
|
-
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@
|
|
52229
|
+
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@cod_3d5943b639f509a7d3fd7755d84b6950/node_modules/@uiw/react-codemirror/esm/useCodeMirror.js
|
|
52226
52230
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
52227
52231
|
var ExternalChange = Annotation.define();
|
|
52228
52232
|
var TYPING_TIMOUT = 200;
|
|
@@ -52366,7 +52370,7 @@ function useCodeMirror(props) {
|
|
|
52366
52370
|
};
|
|
52367
52371
|
}
|
|
52368
52372
|
//#endregion
|
|
52369
|
-
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@
|
|
52373
|
+
//#region ../../node_modules/.pnpm/@uiw+react-codemirror@4.25.4_@babel+runtime@7.29.7_@codemirror+autocomplete@6.20.0_@cod_3d5943b639f509a7d3fd7755d84b6950/node_modules/@uiw/react-codemirror/esm/index.js
|
|
52370
52374
|
init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__();
|
|
52371
52375
|
var _excluded = [
|
|
52372
52376
|
"className",
|
|
@@ -74372,4 +74376,4 @@ exportModule["useSidebar"];
|
|
|
74372
74376
|
//#endregion
|
|
74373
74377
|
export { __mf_11$3 as $, __mf_76 as A, appendErrors as B, __mf_263 as C, __mf_57 as D, __mf_27 as E, dist_exports as F, useFormState as G, set$2 as H, create as I, __mf_2$1 as J, useWatch as K, MdAdd as L, __mf_78 as M, __mf_81 as N, __mf_73 as O, __mf_82 as P, __mf_1$3 as Q, MdDeleteOutline as R, __mf_230 as S, __mf_268 as T, useFieldArray as U, get as V, useForm as W, require_with_selector as X, _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_2_dom__prebuild___exports as Y, __mfDefaultExport$1 as Z, __mf_176 as _, init__virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react__prebuild__ as _t, __mf_141 as a, __mf_22$1 as at, __mf_19 as b, __mf_2$5 as bt, __mf_157 as c, __mf_27$1 as ct, __mf_168 as d, __mf_31$1 as dt, __mf_12$3 as et, __mf_169 as f, __mf_34$1 as ft, __mf_175 as g, _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react__prebuild___exports as gt, __mf_174 as h, init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__ as ht, __mf_124 as i, __mf_20$1 as it, __mf_77 as j, __mf_75 as k, __mf_166 as l, __mf_28$1 as lt, __mf_173 as m, __mf_6$3 as mt, __mf_1 as n, __mf_17$1 as nt, __mf_145 as o, __mf_23$1 as ot, __mf_172 as p, __mf_35$1 as pt, stringifyPrettyStable as q, __mf_116 as r, __mf_18$1 as rt, __mf_156 as s, __mf_26$1 as st, __mf_0 as t, __mf_14$1 as tt, __mf_167 as u, __mf_30$1 as ut, __mf_177 as v, __mf_0$5 as vt, __mf_266 as w, __mf_2 as x, _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild___exports as xt, __mf_181 as y, __mf_1$5 as yt, MdEdit as z };
|
|
74374
74378
|
|
|
74375
|
-
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
74379
|
+
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime-FZ4Itg2g.js";
|
|
2
|
-
import { $ as __mf_11$2, J as __mf_2$3, Q as __mf_1$3, X as require_with_selector, Z as __mfDefaultExport$1, at as __mf_22$2, bt as __mf_2$2, dt as __mf_31$2, et as __mf_12$2, ft as __mf_34$2, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, it as __mf_20$2, lt as __mf_28$2, mt as __mf_6$2, nt as __mf_17$2, ot as __mf_23$2, pt as __mf_35$2, rt as __mf_18$2, st as __mf_26$2, tt as __mf_14$2, ut as __mf_30$2, vt as __mf_0$2, yt as __mf_1$2 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-
|
|
2
|
+
import { $ as __mf_11$2, J as __mf_2$3, Q as __mf_1$3, X as require_with_selector, Z as __mfDefaultExport$1, at as __mf_22$2, bt as __mf_2$2, dt as __mf_31$2, et as __mf_12$2, ft as __mf_34$2, ht as init__virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__, it as __mf_20$2, lt as __mf_28$2, mt as __mf_6$2, nt as __mf_17$2, ot as __mf_23$2, pt as __mf_35$2, rt as __mf_18$2, st as __mf_26$2, tt as __mf_14$2, ut as __mf_30$2, vt as __mf_0$2, yt as __mf_1$2 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-IL2CfUDN.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@tanstack+store@0.8.0/node_modules/@tanstack/store/dist/esm/scheduler.js
|
|
4
4
|
var __storeToDerived = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
var __derivedToStore = /* @__PURE__ */ new WeakMap();
|
|
@@ -6099,4 +6099,4 @@ var { PathParamError: __mf_0, SearchParamError: __mf_1, TSR_DEFERRED_PROMISE: __
|
|
|
6099
6099
|
//#endregion
|
|
6100
6100
|
export { __mf_88 as n, _virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild___exports as r, __mf_53 as t };
|
|
6101
6101
|
|
|
6102
|
-
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-
|
|
6102
|
+
//# sourceMappingURL=_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./get-auth-plugin-definition-gCzcUybB.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as __mf_142, o as __mf_17, r as __mf_161, t as __mf_141, u as __mf_232, v as __mf_58 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-
|
|
1
|
+
import { n as __mf_142, o as __mf_17, r as __mf_161, t as __mf_141, u as __mf_232, v as __mf_58 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_project_mf_2_builder_mf_2_lib__loadShare__.js-DPxqayXr.js";
|
|
2
2
|
import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
|
|
3
|
-
import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-
|
|
4
|
-
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-
|
|
5
|
-
import "./auth-
|
|
3
|
+
import { n as createBetterAuthPluginDefinitionSchema, t as createBetterAuthPartialDefinition } from "./models-CExR9mVk.js";
|
|
4
|
+
import { t as getAuthPluginDefinition } from "./get-auth-plugin-definition-gCzcUybB.js";
|
|
5
|
+
import "./auth-BA-e6ORB.js";
|
|
6
6
|
//#region src/better-auth/core/schema/schema-issue-checker.ts
|
|
7
7
|
function createBetterAuthSchemaChecker(pluginKey) {
|
|
8
8
|
return __mf_141({
|
|
@@ -36,4 +36,4 @@ var common_default = __mf_142({
|
|
|
36
36
|
//#endregion
|
|
37
37
|
export { common_default as default };
|
|
38
38
|
|
|
39
|
-
//# sourceMappingURL=common-
|
|
39
|
+
//# sourceMappingURL=common-2qsch56z.js.map
|