@baseplate-dev/plugin-auth 0.6.15 → 0.6.16

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.
Files changed (138) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  3. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  4. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  5. package/dist/better-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  6. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  7. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  8. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  9. package/dist/better-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  10. package/dist/better-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  11. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.d.ts +9 -2
  12. package/dist/better-auth/generators/fastify/better-auth-module/better-auth-module.generator.js +6 -2
  13. package/dist/better-auth/generators/fastify/better-auth-module/generated/index.d.ts +16 -2
  14. package/dist/better-auth/generators/fastify/better-auth-module/generated/template-renderers.d.ts +8 -1
  15. package/dist/better-auth/generators/fastify/better-auth-module/generated/typed-templates.d.ts +8 -1
  16. package/dist/better-auth/generators/fastify/better-auth-module/templates/module/services/auth.ts +5 -1
  17. package/dist/better-auth/generators/react/better-auth-pages/better-auth-pages.generator.d.ts +7 -14
  18. package/dist/better-auth/generators/react/better-auth-pages/generated/index.d.ts +42 -84
  19. package/dist/better-auth/generators/react/better-auth-pages/generated/template-renderers.d.ts +7 -14
  20. package/dist/better-auth/generators/react/better-auth-pages/generated/typed-templates.d.ts +70 -140
  21. package/dist/better-auth/generators/react/react-better-auth/generated/index.d.ts +14 -28
  22. package/dist/better-auth/generators/react/react-better-auth/generated/template-renderers.d.ts +7 -14
  23. package/dist/better-auth/generators/react/react-better-auth/generated/typed-templates.d.ts +7 -14
  24. package/dist/better-auth/generators/react/react-better-auth/react-better-auth.generator.d.ts +7 -14
  25. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/admin-crud-manage-roles-action.generator.d.ts +14 -28
  26. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/index.d.ts +14 -28
  27. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/template-renderers.d.ts +7 -14
  28. package/dist/local-auth/admin/generators/admin-crud-manage-roles-action/generated/typed-templates.d.ts +7 -14
  29. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/admin-crud-reset-password-action.generator.d.ts +14 -28
  30. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/index.d.ts +14 -28
  31. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/template-renderers.d.ts +7 -14
  32. package/dist/local-auth/admin/generators/admin-crud-reset-password-action/generated/typed-templates.d.ts +14 -28
  33. package/dist/local-auth/admin/generators/admin-crud-roles-column/admin-crud-roles-column.generator.d.ts +7 -14
  34. package/dist/local-auth/core/generators/auth-email-password/auth-email-password.generator.d.ts +2 -1
  35. package/dist/local-auth/core/generators/auth-email-password/generated/index.d.ts +6 -3
  36. package/dist/local-auth/core/generators/auth-email-password/generated/template-renderers.d.ts +2 -1
  37. package/dist/local-auth/core/generators/auth-email-password/generated/typed-templates.d.ts +6 -3
  38. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.js +2 -2
  39. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/email-verification.service.ts +2 -2
  40. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.js +2 -2
  41. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/password-reset.service.ts +2 -2
  42. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.js +6 -3
  43. package/dist/local-auth/core/generators/auth-email-password/templates/module/services/user-password.service.ts +6 -3
  44. package/dist/local-auth/core/generators/auth-module/auth-module.generator.d.ts +3 -2
  45. package/dist/local-auth/core/generators/auth-module/auth-module.generator.js +3 -1
  46. package/dist/local-auth/core/generators/auth-module/generated/index.d.ts +6 -3
  47. package/dist/local-auth/core/generators/auth-module/generated/template-renderers.d.ts +2 -1
  48. package/dist/local-auth/core/generators/auth-module/generated/typed-templates.d.ts +6 -3
  49. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.js +18 -16
  50. package/dist/local-auth/core/generators/auth-module/templates/module/services/user-session.service.ts +18 -16
  51. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.js +6 -6
  52. package/dist/local-auth/core/generators/auth-module/templates/module/utils/session-cookie.ts +6 -6
  53. package/dist/local-auth/core/generators/auth-routes/auth-routes.generator.d.ts +7 -14
  54. package/dist/local-auth/core/generators/auth-routes/generated/index.d.ts +42 -84
  55. package/dist/local-auth/core/generators/auth-routes/generated/template-renderers.d.ts +7 -14
  56. package/dist/local-auth/core/generators/auth-routes/generated/typed-templates.d.ts +63 -126
  57. package/dist/local-auth/core/generators/react-session/generated/index.d.ts +14 -28
  58. package/dist/local-auth/core/generators/react-session/generated/template-renderers.d.ts +7 -14
  59. package/dist/local-auth/core/generators/react-session/generated/typed-templates.d.ts +14 -28
  60. package/dist/local-auth/core/generators/react-session/react-session.generator.d.ts +7 -14
  61. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.d.ts +1 -1
  62. package/dist/placeholder-auth/core/generators/placeholder-auth-module/placeholder-auth-module.generator.js +3 -1
  63. package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-D2O_GHnM.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-04_7KkB1.js} +15 -15
  64. 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-DPxqayXr.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-BfSk5vRC.js} +5 -4
  65. 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-DGL7vJhO.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-DZIcwf2B.js} +1 -1
  66. 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-IL2CfUDN.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-CXGct_48.js} +10031 -3732
  67. package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-olZgW088.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-Ci5_qYaj.js} +3823 -2545
  68. package/dist/web/assets/arduino-BP2nYunF.js +21 -0
  69. package/dist/web/assets/auth-8qJtXAgU.js +1 -0
  70. package/dist/web/assets/bash-Zh_IyzBN.js +192 -0
  71. package/dist/web/assets/basic-3mvohyEL.js +28 -0
  72. package/dist/web/assets/c-C7Ey31hW.js +74 -0
  73. package/dist/web/assets/clike-D9YNFwtw.js +41 -0
  74. package/dist/web/assets/{common-2sTWj7X2.js → common-23-wvKrM.js} +5 -5
  75. package/dist/web/assets/{common-D-CUPN3f.js → common-B-NI9TR-.js} +2 -2
  76. package/dist/web/assets/{common-BJslFOaI.js → common-BBriDRRy.js} +3 -3
  77. package/dist/web/assets/{common-2qsch56z.js → common-BvU-7KsV.js} +5 -5
  78. package/dist/web/assets/{common-DtVPzGI9.js → common-DBBUvtGu.js} +2 -2
  79. package/dist/web/assets/{common-BY8yEk1M.js → common-eFh2vwGb.js} +3 -3
  80. package/dist/web/assets/cpp-_RjA_yNA.js +82 -0
  81. package/dist/web/assets/csharp-0LZzOc6Q.js +301 -0
  82. package/dist/web/assets/css-D7TbgetL.js +70 -0
  83. package/dist/web/assets/diff-CtSa_15w.js +54 -0
  84. package/dist/web/assets/{dist-DiQ4J8N0.js → dist-BjxypexQ.js} +1397 -897
  85. package/dist/web/assets/{get-auth-plugin-definition-gCzcUybB.js → get-auth-plugin-definition-x8oAsN1R.js} +2 -2
  86. package/dist/web/assets/go-CzER04EZ.js +36 -0
  87. package/dist/web/assets/{hostInit-BPDI3Q4j.js → hostInit-Bay0Y9UX.js} +1 -1
  88. package/dist/web/assets/{index-BocHdii2.js → index-qso1IsKy.js} +2 -2
  89. package/dist/web/assets/ini-CU-wHLTy.js +51 -0
  90. package/dist/web/assets/java-HAvRESj1.js +116 -0
  91. package/dist/web/assets/javascript-BVAr0eZH.js +124 -0
  92. package/dist/web/assets/json-DN8T4yFI.js +38 -0
  93. package/dist/web/assets/kotlin-DkCMjTKK.js +83 -0
  94. package/dist/web/assets/less-ZXX1tgaG.js +42 -0
  95. package/dist/web/assets/lua-D9bD4wrb.js +28 -0
  96. package/dist/web/assets/makefile-CKoRpler.js +40 -0
  97. package/dist/web/assets/markdown-_2_uVr2L.js +278 -0
  98. package/dist/web/assets/markup-BVZ8HhdW.js +176 -0
  99. package/dist/web/assets/markup-templating-BDIRuVJH.js +94 -0
  100. package/dist/web/assets/{mf-entry-bootstrap-0-b337c957.js → mf-entry-bootstrap-0-659c976f.js} +2 -2
  101. package/dist/web/assets/{model-utils-BoeoBppL.js → model-utils-dNFTOjqi.js} +268 -25
  102. package/dist/web/assets/{models-CExR9mVk.js → models-BpslIbU7.js} +2 -2
  103. package/dist/web/assets/{models-Bb8Sa9xa.js → models-CKab4MTC.js} +2 -2
  104. package/dist/web/assets/objectivec-DPgB68It.js +25 -0
  105. package/dist/web/assets/perl-Cul_ma_h.js +92 -0
  106. package/dist/web/assets/php-JTON0zp9.js +298 -0
  107. package/dist/web/assets/{plugin-definition-BSgRuyCf.js → plugin-definition-8Exesd6T.js} +2 -2
  108. package/dist/web/assets/{plugin-definition-DoLu-enC.js → plugin-definition-ChBrbazJ.js} +2 -2
  109. package/dist/web/assets/python-CURlmZ7M.js +73 -0
  110. package/dist/web/assets/r-8lr7pbGm.js +30 -0
  111. package/dist/web/assets/regex-CxQ7DXCx.js +96 -0
  112. package/dist/web/assets/ruby-BoFHz67P.js +175 -0
  113. package/dist/web/assets/rust-CpZXpaj0.js +107 -0
  114. package/dist/web/assets/sass-DG0YAnL7.js +65 -0
  115. package/dist/web/assets/scss-BDRIqhak.js +70 -0
  116. package/dist/web/assets/sql-C-bL8_gT.js +40 -0
  117. package/dist/web/assets/{styles-DWNihayS.js → styles-Cuq4wgvD.js} +7 -7
  118. package/dist/web/assets/swift-rQ52kfab.js +107 -0
  119. package/dist/web/assets/typescript-CDkIWcT8.js +57 -0
  120. package/dist/web/assets/vbnet-_PL7-T9d.js +32 -0
  121. package/dist/web/assets/{virtualExposes-ZQ3-2Iup.js → virtualExposes-BwIds34r.js} +1 -1
  122. package/dist/web/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-joyeTHHj.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-BBt5f0I7.js} +3 -3
  123. package/dist/web/assets/{virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-Cxtxsg7w.js → virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-RzPgl37a.js} +13 -13
  124. package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-BzJkYZS3.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DM6Ir1_S.js} +13 -13
  125. package/dist/web/assets/{web-CbftiK5A.js → web-BZd3bM0n.js} +6 -6
  126. package/dist/web/assets/{web-sVeHdqQo.js → web-BgWG7dYl.js} +10 -10
  127. package/dist/web/assets/{web-BbZNg5Ko.js → web-CXHw8SK7.js} +13 -13
  128. package/dist/web/assets/{web-DUQ-iyMI.js → web-CnB-sqCR.js} +18 -18
  129. package/dist/web/assets/{web-QvGnMr85.js → web-DHv2aVpi.js} +10 -10
  130. package/dist/web/assets/{web-pdVFZ-id.js → web-DNrWXjpS.js} +3 -3
  131. package/dist/web/assets/{web-BWF6Fc7g.js → web-D_H-MoGI.js} +3 -3
  132. package/dist/web/assets/workerBundle-GFUata9j.js +10 -0
  133. package/dist/web/assets/yaml-C9m3vuV5.js +90 -0
  134. package/dist/web/index.html +2 -2
  135. package/dist/web/remoteEntry.js +1 -1
  136. package/dist/web/remoteEntry.ssr.js +1 -1
  137. package/package.json +16 -16
  138. package/dist/web/assets/auth-BA-e6ORB.js +0 -1
@@ -34,14 +34,61 @@ function createPluginSpec(name, options) {
34
34
  };
35
35
  }
36
36
  //#endregion
37
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/_internal/compareValues.mjs
38
- function compareValues(a, b, order) {
39
- if (a < b) return order === "asc" ? -1 : 1;
40
- if (a > b) return order === "asc" ? 1 : -1;
37
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/_internal/compareValues.mjs
38
+ function nullishRank(value) {
39
+ if (value === null) return 1;
40
+ if (value === void 0) return 2;
41
+ return 0;
42
+ }
43
+ function compareAscending(a, b) {
44
+ const aRank = nullishRank(a);
45
+ const bRank = nullishRank(b);
46
+ if (aRank < bRank) return -1;
47
+ if (aRank > bRank) return 1;
48
+ if (aRank !== 0) return 0;
49
+ if (a < b) return -1;
50
+ if (a > b) return 1;
41
51
  return 0;
42
52
  }
53
+ function compareValues(a, b, order) {
54
+ return order === "asc" ? compareAscending(a, b) : compareAscending(b, a);
55
+ }
43
56
  //#endregion
44
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/array/orderBy.mjs
57
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/array/orderBy.mjs
58
+ /**
59
+ * Sorts an array of objects based on the given `criteria` and their corresponding order directions.
60
+ *
61
+ * - If you provide keys, it sorts the objects by the values of those keys.
62
+ * - If you provide functions, it sorts based on the values returned by those functions.
63
+ *
64
+ * The function returns the array of objects sorted in corresponding order directions.
65
+ * If two objects have the same value for the current criterion, it uses the next criterion to determine their order.
66
+ * If the number of orders is less than the number of criteria, it uses the last order for the rest of the criteria.
67
+ *
68
+ * @template T - The type of elements in the array.
69
+ * @param arr - The array of objects to be sorted.
70
+ * @param criteria - The criteria for sorting. This can be an array of object keys or functions that return values used for sorting.
71
+ * @param orders - An array of order directions ('asc' for ascending or 'desc' for descending).
72
+ * @returns The sorted array.
73
+ *
74
+ * @example
75
+ * // Sort an array of objects by 'user' in ascending order and 'age' in descending order.
76
+ * const users = [
77
+ * { user: 'fred', age: 48 },
78
+ * { user: 'barney', age: 34 },
79
+ * { user: 'fred', age: 40 },
80
+ * { user: 'barney', age: 36 },
81
+ * ];
82
+ *
83
+ * const result = orderBy(users, [obj => obj.user, 'age'], ['asc', 'desc']);
84
+ * // result will be:
85
+ * // [
86
+ * // { user: 'barney', age: 36 },
87
+ * // { user: 'barney', age: 34 },
88
+ * // { user: 'fred', age: 48 },
89
+ * // { user: 'fred', age: 40 },
90
+ * // ]
91
+ */
45
92
  function orderBy(arr, criteria, orders) {
46
93
  return arr.slice().sort((a, b) => {
47
94
  const ordersLength = orders.length;
@@ -56,26 +103,102 @@ function orderBy(arr, criteria, orders) {
56
103
  });
57
104
  }
58
105
  //#endregion
59
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/array/sortBy.mjs
106
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/array/sortBy.mjs
107
+ /**
108
+ * Sorts an array of objects based on the given `criteria`.
109
+ *
110
+ * - If you provide keys, it sorts the objects by the values of those keys.
111
+ * - If you provide functions, it sorts based on the values returned by those functions.
112
+ *
113
+ * The function returns the array of objects sorted in ascending order.
114
+ * If two objects have the same value for the current criterion, it uses the next criterion to determine their order.
115
+ *
116
+ * @template T - The type of the objects in the array.
117
+ * @param arr - The array of objects to be sorted.
118
+ * @param criteria - The criteria for sorting. This can be an array of object keys or functions that return values used for sorting.
119
+ * @returns The sorted array.
120
+ *
121
+ * @example
122
+ * const users = [
123
+ * { user: 'foo', age: 24 },
124
+ * { user: 'bar', age: 7 },
125
+ * { user: 'foo', age: 8 },
126
+ * { user: 'bar', age: 29 },
127
+ * ];
128
+ *
129
+ * sortBy(users, ['user', 'age']);
130
+ * sortBy(users, [obj => obj.user, 'age']);
131
+ * // results will be:
132
+ * // [
133
+ * // { user : 'bar', age: 7 },
134
+ * // { user : 'bar', age: 29 },
135
+ * // { user : 'foo', age: 8 },
136
+ * // { user : 'foo', age: 24 },
137
+ * // ]
138
+ */
60
139
  function sortBy(arr, criteria) {
61
140
  return orderBy(arr, criteria, ["asc"]);
62
141
  }
63
142
  //#endregion
64
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/function/noop.mjs
143
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/_internal/globalThis.mjs
144
+ var globalThis_ = typeof globalThis === "object" && globalThis || typeof window === "object" && window || typeof self === "object" && self || typeof global === "object" && global || (function() {
145
+ return this;
146
+ })();
147
+ //#endregion
148
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/function/noop.mjs
149
+ /**
150
+ * A no-operation function that does nothing.
151
+ * This can be used as a placeholder or default function.
152
+ *
153
+ * @example
154
+ * noop(); // Does nothing
155
+ *
156
+ * @returns This function does not return anything.
157
+ */
65
158
  function noop() {}
66
159
  //#endregion
67
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
160
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/predicate/isBuffer.mjs
161
+ /**
162
+ * Checks if the given value is a Buffer instance.
163
+ *
164
+ * This function tests whether the provided value is an instance of Buffer.
165
+ * It returns `true` if the value is a Buffer, and `false` otherwise.
166
+ *
167
+ * This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to `Buffer`.
168
+ *
169
+ * @param x - The value to check if it is a Buffer.
170
+ * @returns Returns `true` if `x` is a Buffer, else `false`.
171
+ *
172
+ * @example
173
+ * const buffer = Buffer.from("test");
174
+ * console.log(isBuffer(buffer)); // true
175
+ *
176
+ * const notBuffer = "not a buffer";
177
+ * console.log(isBuffer(notBuffer)); // false
178
+ */
179
+ function isBuffer(x) {
180
+ return typeof globalThis_.Buffer !== "undefined" && globalThis_.Buffer.isBuffer(x);
181
+ }
182
+ //#endregion
183
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
68
184
  function getSymbols(object) {
69
185
  return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
70
186
  }
71
187
  //#endregion
72
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
188
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
189
+ /**
190
+ * Gets the `toStringTag` of `value`.
191
+ *
192
+ * @private
193
+ * @param {T} value The value to query.
194
+ * @returns {string} Returns the `Object.prototype.toString.call` result.
195
+ */
73
196
  function getTag(value) {
74
197
  if (value == null) return value === void 0 ? "[object Undefined]" : "[object Null]";
75
198
  return Object.prototype.toString.call(value);
76
199
  }
77
200
  //#endregion
78
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs
201
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs
79
202
  var regexpTag = "[object RegExp]";
80
203
  var stringTag = "[object String]";
81
204
  var numberTag = "[object Number]";
@@ -103,7 +226,49 @@ var bigInt64ArrayTag = "[object BigInt64Array]";
103
226
  var float32ArrayTag = "[object Float32Array]";
104
227
  var float64ArrayTag = "[object Float64Array]";
105
228
  //#endregion
106
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
229
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/predicate/isPlainObject.mjs
230
+ /**
231
+ * Checks if a given value is a plain object.
232
+ *
233
+ * @param value - The value to check.
234
+ * @returns True if the value is a plain object, otherwise false.
235
+ *
236
+ * @example
237
+ * ```typescript
238
+ * // ✅👇 True
239
+ *
240
+ * isPlainObject({ }); // ✅
241
+ * isPlainObject({ key: 'value' }); // ✅
242
+ * isPlainObject({ key: new Date() }); // ✅
243
+ * isPlainObject(new Object()); // ✅
244
+ * isPlainObject(Object.create(null)); // ✅
245
+ * isPlainObject({ nested: { key: true} }); // ✅
246
+ * isPlainObject(new Proxy({}, {})); // ✅
247
+ * isPlainObject({ [Symbol('tag')]: 'A' }); // ✅
248
+ *
249
+ * // ✅👇 (cross-realms, node context, workers, ...)
250
+ * const runInNewContext = await import('node:vm').then(
251
+ * (mod) => mod.runInNewContext
252
+ * );
253
+ * isPlainObject(runInNewContext('({})')); // ✅
254
+ *
255
+ * // ❌👇 False
256
+ *
257
+ * class Test { };
258
+ * isPlainObject(new Test()) // ❌
259
+ * isPlainObject(10); // ❌
260
+ * isPlainObject(null); // ❌
261
+ * isPlainObject('hello'); // ❌
262
+ * isPlainObject([]); // ❌
263
+ * isPlainObject(new Date()); // ❌
264
+ * isPlainObject(new Uint8Array([1])); // ❌
265
+ * isPlainObject(Buffer.from('ABC')); // ❌
266
+ * isPlainObject(Promise.resolve({})); // ❌
267
+ * isPlainObject(Object.create({})); // ❌
268
+ * isPlainObject(new (class Cls {})); // ❌
269
+ * isPlainObject(globalThis); // ❌,
270
+ * ```
271
+ */
107
272
  function isPlainObject(value) {
108
273
  if (!value || typeof value !== "object") return false;
109
274
  const proto = Object.getPrototypeOf(value);
@@ -111,12 +276,60 @@ function isPlainObject(value) {
111
276
  return Object.prototype.toString.call(value) === "[object Object]";
112
277
  }
113
278
  //#endregion
114
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/_internal/isEqualsSameValueZero.mjs
115
- function isEqualsSameValueZero(value, other) {
279
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/compat/util/eq.mjs
280
+ /**
281
+ * Performs a `SameValueZero` comparison between two values to determine if they are equivalent.
282
+ *
283
+ * @param value The value to compare.
284
+ * @param other The other value to compare.
285
+ * @returns Returns `true` if the values are equivalent, else `false`.
286
+ *
287
+ * @example
288
+ * eq(1, 1); // true
289
+ * eq(0, -0); // true
290
+ * eq(NaN, NaN); // true
291
+ * eq('a', Object('a')); // false
292
+ */
293
+ function eq(value, other) {
116
294
  return value === other || Number.isNaN(value) && Number.isNaN(other);
117
295
  }
118
296
  //#endregion
119
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
297
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/predicate/isEqualWith.mjs
298
+ /**
299
+ * Compares two values for equality using a custom comparison function.
300
+ *
301
+ * The custom function allows for fine-tuned control over the comparison process. If it returns a boolean, that result determines the equality. If it returns undefined, the function falls back to the default equality comparison.
302
+ *
303
+ * This function also uses the custom equality function to compare values inside objects,
304
+ * arrays, maps, sets, and other complex structures, ensuring a deep comparison.
305
+ *
306
+ * This approach provides flexibility in handling complex comparisons while maintaining efficient default behavior for simpler cases.
307
+ *
308
+ * The custom comparison function can take up to six parameters:
309
+ * - `x`: The value from the first object `a`.
310
+ * - `y`: The value from the second object `b`.
311
+ * - `property`: The property key used to get `x` and `y`.
312
+ * - `xParent`: The parent of the first value `x`.
313
+ * - `yParent`: The parent of the second value `y`.
314
+ * - `stack`: An internal stack (Map) to handle circular references.
315
+ *
316
+ * @param a - The first value to compare.
317
+ * @param b - The second value to compare.
318
+ * @param areValuesEqual - A function to customize the comparison.
319
+ * If it returns a boolean, that result will be used. If it returns undefined,
320
+ * the default equality comparison will be used.
321
+ * @returns `true` if the values are equal according to the customizer, otherwise `false`.
322
+ *
323
+ * @example
324
+ * const customizer = (a, b) => {
325
+ * if (typeof a === 'string' && typeof b === 'string') {
326
+ * return a.toLowerCase() === b.toLowerCase();
327
+ * }
328
+ * };
329
+ * isEqualWith('Hello', 'hello', customizer); // true
330
+ * isEqualWith({ a: 'Hello' }, { a: 'hello' }, customizer); // true
331
+ * isEqualWith([1, 2, 3], [1, 2, 3], customizer); // true
332
+ */
120
333
  function isEqualWith(a, b, areValuesEqual) {
121
334
  return isEqualWithImpl(a, b, void 0, void 0, void 0, void 0, areValuesEqual);
122
335
  }
@@ -144,7 +357,7 @@ function areObjectsEqual(a, b, stack, areValuesEqual) {
144
357
  if (aTag !== bTag) return false;
145
358
  switch (aTag) {
146
359
  case stringTag: return a.toString() === b.toString();
147
- case numberTag: return isEqualsSameValueZero(a.valueOf(), b.valueOf());
360
+ case numberTag: return eq(a.valueOf(), b.valueOf());
148
361
  case booleanTag:
149
362
  case dateTag:
150
363
  case symbolTag: return Object.is(a.valueOf(), b.valueOf());
@@ -189,7 +402,7 @@ function areObjectsEqual(a, b, stack, areValuesEqual) {
189
402
  case bigInt64ArrayTag:
190
403
  case float32ArrayTag:
191
404
  case float64ArrayTag:
192
- if (typeof Buffer !== "undefined" && Buffer.isBuffer(a) !== Buffer.isBuffer(b)) return false;
405
+ if (isBuffer(a) !== isBuffer(b)) return false;
193
406
  if (a.length !== b.length) return false;
194
407
  for (let i = 0; i < a.length; i++) if (!isEqualWithImpl(a[i], b[i], i, a, b, stack, areValuesEqual)) return false;
195
408
  return true;
@@ -222,7 +435,21 @@ function areObjectsEqual(a, b, stack, areValuesEqual) {
222
435
  }
223
436
  }
224
437
  //#endregion
225
- //#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isEqual.mjs
438
+ //#region ../../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/predicate/isEqual.mjs
439
+ /**
440
+ * Checks if two values are equal, including support for `Date`, `RegExp`, and deep object comparison.
441
+ *
442
+ * @param a - The first value to compare.
443
+ * @param b - The second value to compare.
444
+ * @returns `true` if the values are equal, otherwise `false`.
445
+ *
446
+ * @example
447
+ * isEqual(1, 1); // true
448
+ * isEqual({ a: 1 }, { a: 1 }); // true
449
+ * isEqual(/abc/g, /abc/g); // true
450
+ * isEqual(new Date('2020-01-01'), new Date('2020-01-01')); // true
451
+ * isEqual([1, 2, 3], [1, 2, 3]); // true
452
+ */
226
453
  function isEqual(a, b) {
227
454
  return isEqualWith(a, b, noop);
228
455
  }
@@ -485,18 +712,34 @@ function createFieldMap(schemaBuilder, options) {
485
712
  };
486
713
  }
487
714
  //#endregion
488
- //#region ../../node_modules/.pnpm/nanoid@5.0.9/node_modules/nanoid/index.browser.js
715
+ //#region ../../node_modules/.pnpm/nanoid@6.0.0/node_modules/nanoid/index.browser.js
489
716
  var random = (bytes) => crypto.getRandomValues(new Uint8Array(bytes));
490
717
  var customRandom = (alphabet, defaultSize, getRandom) => {
491
- let mask = (2 << Math.log2(alphabet.length - 1)) - 1;
492
- let step = -~(1.6 * mask * defaultSize / alphabet.length);
718
+ let safeByteCutoff = 256 - 256 % alphabet.length;
719
+ if (safeByteCutoff === 256) {
720
+ let mask = alphabet.length - 1;
721
+ return (size = defaultSize) => {
722
+ if (!size) return "";
723
+ let id = "";
724
+ while (true) {
725
+ let bytes = getRandom(size);
726
+ let j = size;
727
+ while (j--) {
728
+ id += alphabet[bytes[j] & mask];
729
+ if (id.length >= size) return id;
730
+ }
731
+ }
732
+ };
733
+ }
734
+ let step = Math.ceil(1.6 * 256 * defaultSize / safeByteCutoff);
493
735
  return (size = defaultSize) => {
736
+ if (!size) return "";
494
737
  let id = "";
495
738
  while (true) {
496
739
  let bytes = getRandom(step);
497
- let j = step | 0;
498
- while (j--) {
499
- id += alphabet[bytes[j] & mask] || "";
740
+ let j = step;
741
+ while (j--) if (bytes[j] < safeByteCutoff) {
742
+ id += alphabet[bytes[j] % alphabet.length];
500
743
  if (id.length >= size) return id;
501
744
  }
502
745
  }
@@ -1351,6 +1594,6 @@ var ModelUtils = {
1351
1594
  isFieldSafeToFilter
1352
1595
  };
1353
1596
  //#endregion
1354
- export { getTag as $, isPlainObject as A, int32ArrayTag as B, createPluginFieldMap as C, validationHintRegistry as D, CASE_VALIDATORS as E, dataViewTag as F, regexpTag as G, mapTag as H, dateTag as I, symbolTag as J, setTag as K, float32ArrayTag as L, arrayBufferTag as M, arrayTag as N, isEqual as O, booleanTag as P, uint8ClampedArrayTag as Q, float64ArrayTag as R, createFieldMapSpec as S, runInPluginContext as T, numberTag as U, int8ArrayTag as V, objectTag as W, uint32ArrayTag as X, uint16ArrayTag as Y, uint8ArrayTag as Z, createRefContextSlot as _, featureEntityType as a, expressionParserSpec as b, createEntityType as c, definitionSchemaWithSlots as d, getSymbols as et, withPlaceholderSlots as f, withRef as g, withEnt as h, createFeaturesSchema as i, argumentsTag as j, isEqualsSameValueZero as k, createDefinitionSchemaParserContext as l, definitionDefaultRegistry as m, FeatureUtils as n, createPluginSpec as nt, featureNameSchema as o, withDefault as p, stringTag as q, createFeatureSchema as r, DefinitionEntityType as s, ModelUtils as t, sortBy as tt, definitionSchema as u, createRefContextSlotMap as v, getPluginContext as w, definitionRefRegistry as x, RefExpressionParser as y, int16ArrayTag as z };
1597
+ export { getTag as $, isPlainObject as A, int32ArrayTag as B, createPluginFieldMap as C, validationHintRegistry as D, CASE_VALIDATORS as E, dataViewTag as F, regexpTag as G, mapTag as H, dateTag as I, symbolTag as J, setTag as K, float32ArrayTag as L, arrayBufferTag as M, arrayTag as N, isEqual as O, booleanTag as P, uint8ClampedArrayTag as Q, float64ArrayTag as R, createFieldMapSpec as S, runInPluginContext as T, numberTag as U, int8ArrayTag as V, objectTag as W, uint32ArrayTag as X, uint16ArrayTag as Y, uint8ArrayTag as Z, createRefContextSlot as _, featureEntityType as a, expressionParserSpec as b, createEntityType as c, definitionSchemaWithSlots as d, getSymbols as et, withPlaceholderSlots as f, withRef as g, withEnt as h, createFeaturesSchema as i, argumentsTag as j, eq as k, createDefinitionSchemaParserContext as l, definitionDefaultRegistry as m, FeatureUtils as n, sortBy as nt, featureNameSchema as o, withDefault as p, stringTag as q, createFeatureSchema as r, createPluginSpec as rt, DefinitionEntityType as s, ModelUtils as t, isBuffer as tt, definitionSchema as u, createRefContextSlotMap as v, getPluginContext as w, definitionRefRegistry as x, RefExpressionParser as y, int16ArrayTag as z };
1355
1598
 
1356
- //# sourceMappingURL=model-utils-BoeoBppL.js.map
1599
+ //# sourceMappingURL=model-utils-dNFTOjqi.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
2
- import { i as __mf_163, y as __mf_59 } 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
+ import { i as __mf_163, y as __mf_59 } 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-BfSk5vRC.js";
3
3
  import { t as BETTER_AUTH_MODELS } from "./model-names-CUS5rSei.js";
4
4
  //#region src/better-auth/core/schema/plugin-definition.ts
5
5
  var createBetterAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({ additionalUserAdminRoles: ctx.withDefault(__mf_0.array(ctx.withRef({
@@ -301,4 +301,4 @@ function createBetterAuthPartialDefinition(authFeatureName, accountsFeatureName)
301
301
  //#endregion
302
302
  export { createBetterAuthPluginDefinitionSchema as n, createBetterAuthPartialDefinition as t };
303
303
 
304
- //# sourceMappingURL=models-CExR9mVk.js.map
304
+ //# sourceMappingURL=models-BpslIbU7.js.map
@@ -1,5 +1,5 @@
1
1
  import { n as __mf_0 } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-Do-7VDVw.js";
2
- import { i as __mf_163, y as __mf_59 } 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
+ import { i as __mf_163, y as __mf_59 } 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-BfSk5vRC.js";
3
3
  import { t as LOCAL_AUTH_MODELS } from "./model-names-BluImOzu.js";
4
4
  //#region src/local-auth/core/schema/plugin-definition.ts
5
5
  var createLocalAuthPluginDefinitionSchema = __mf_163((ctx) => __mf_0.object({
@@ -282,4 +282,4 @@ function createLocalAuthPartialDefinition(authFeatureName, accountsFeatureName)
282
282
  //#endregion
283
283
  export { createLocalAuthPluginDefinitionSchema as n, createLocalAuthPartialDefinition as t };
284
284
 
285
- //# sourceMappingURL=models-Bb8Sa9xa.js.map
285
+ //# sourceMappingURL=models-CKab4MTC.js.map
@@ -0,0 +1,25 @@
1
+ import { t as c } from "./c-C7Ey31hW.js";
2
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/objectivec.js
3
+ /**
4
+ * @import {Refractor} from '../lib/core.js'
5
+ */
6
+ objectivec.displayName = "objectivec";
7
+ objectivec.aliases = ["objc"];
8
+ /** @param {Refractor} Prism */
9
+ function objectivec(Prism) {
10
+ Prism.register(c);
11
+ Prism.languages.objectivec = Prism.languages.extend("c", {
12
+ string: {
13
+ pattern: /@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,
14
+ greedy: true
15
+ },
16
+ keyword: /\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,
17
+ operator: /-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/
18
+ });
19
+ delete Prism.languages.objectivec["class-name"];
20
+ Prism.languages.objc = Prism.languages.objectivec;
21
+ }
22
+ //#endregion
23
+ export { objectivec as default };
24
+
25
+ //# sourceMappingURL=objectivec-DPgB68It.js.map
@@ -0,0 +1,92 @@
1
+ //#region ../../node_modules/.pnpm/refractor@5.0.0/node_modules/refractor/lang/perl.js
2
+ /**
3
+ * @import {Refractor} from '../lib/core.js'
4
+ */
5
+ perl.displayName = "perl";
6
+ perl.aliases = [];
7
+ /** @param {Refractor} Prism */
8
+ function perl(Prism) {
9
+ (function(Prism) {
10
+ var brackets = /(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;
11
+ Prism.languages.perl = {
12
+ comment: [{
13
+ pattern: /(^\s*)=\w[\s\S]*?=cut.*/m,
14
+ lookbehind: true,
15
+ greedy: true
16
+ }, {
17
+ pattern: /(^|[^\\$])#.*/,
18
+ lookbehind: true,
19
+ greedy: true
20
+ }],
21
+ string: [
22
+ {
23
+ pattern: RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source + "(?:" + [
24
+ /([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,
25
+ /([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,
26
+ brackets
27
+ ].join("|") + ")"),
28
+ greedy: true
29
+ },
30
+ {
31
+ pattern: /("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,
32
+ greedy: true
33
+ },
34
+ {
35
+ pattern: /'(?:[^'\\\r\n]|\\.)*'/,
36
+ greedy: true
37
+ }
38
+ ],
39
+ regex: [
40
+ {
41
+ pattern: RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source + "(?:" + [
42
+ /([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,
43
+ /([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,
44
+ brackets
45
+ ].join("|") + ")" + /[msixpodualngc]*/.source),
46
+ greedy: true
47
+ },
48
+ {
49
+ pattern: RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source + "(?:" + [
50
+ /([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,
51
+ /([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,
52
+ brackets + /\s*/.source + brackets
53
+ ].join("|") + ")" + /[msixpodualngcer]*/.source),
54
+ lookbehind: true,
55
+ greedy: true
56
+ },
57
+ {
58
+ pattern: /\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,
59
+ greedy: true
60
+ }
61
+ ],
62
+ variable: [
63
+ /[&*$@%]\{\^[A-Z]+\}/,
64
+ /[&*$@%]\^[A-Z_]/,
65
+ /[&*$@%]#?(?=\{)/,
66
+ /[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,
67
+ /[&*$@%]\d+/,
68
+ /(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/
69
+ ],
70
+ filehandle: {
71
+ pattern: /<(?![<=])\S*?>|\b_\b/,
72
+ alias: "symbol"
73
+ },
74
+ "v-string": {
75
+ pattern: /v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,
76
+ alias: "string"
77
+ },
78
+ function: {
79
+ pattern: /(\bsub[ \t]+)\w+/,
80
+ lookbehind: true
81
+ },
82
+ keyword: /\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,
83
+ number: /\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,
84
+ operator: /-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,
85
+ punctuation: /[{}[\];(),:]/
86
+ };
87
+ })(Prism);
88
+ }
89
+ //#endregion
90
+ export { perl as default };
91
+
92
+ //# sourceMappingURL=perl-Cul_ma_h.js.map