@baseplate-dev/plugin-auth 0.6.10 → 0.6.11
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 +16 -0
- package/dist/web/assets/{_virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-ClIdhDoz.js → _virtual_mf-localSharedImportMap___mfe_internal__plugin_mf_2_auth-DEljr3MS.js} +37 -29
- 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-B6a7L2-k.js +346 -0
- 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-JKpdJ1L0.js +89 -0
- package/dist/web/assets/{dist-BhvYza4J.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DsLoA9K7.js} +6408 -2424
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.mjs-CCE3BH4R.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__.js-CGsbw2Lx.js} +206 -1086
- package/dist/web/assets/{_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.mjs-BalS-ZNe.js → _virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js} +271 -20
- package/dist/web/assets/auth-YjeUffyx.js +1 -0
- package/dist/web/assets/{common-ERn8TuKQ.js → common-B3OG-gju.js} +3 -3
- package/dist/web/assets/{common-C7yhhy8-.js → common-CTWnBc6I.js} +5 -5
- package/dist/web/assets/{common-DsAJIAWm.js → common-CzNLnT_1.js} +3 -3
- package/dist/web/assets/{common-KNIYXbku.js → common-g_Gn0v5J.js} +3 -3
- package/dist/web/assets/{common-DpbhYjND.js → common-kfSP8YQO.js} +5 -5
- package/dist/web/assets/{common-DiDohcsR.js → common-zfktVQvk.js} +3 -3
- package/dist/web/assets/{dist-B0GpYPx6.js → dist-C6kDPCTC.js} +217 -214
- package/dist/web/assets/{get-auth-plugin-definition-Bu_lkrUz.js → get-auth-plugin-definition-2vFJROjB.js} +2 -2
- package/dist/web/assets/hostInit-35H-qR11.js +119 -0
- package/dist/web/assets/{index-D5GoD4M0.js → index-Cr47LBtj.js} +2 -2
- package/dist/web/assets/mf-entry-bootstrap-0-13480d2a.js +32 -0
- package/dist/web/assets/{model-utils-BPfI0c3Y.js → model-utils-ZF_FVZ_o.js} +15 -15
- package/dist/web/assets/{models-BufWBHGv.js → models-CORL4i-6.js} +3 -3
- package/dist/web/assets/{models-BTYxwDyB.js → models-DPPMgQz_.js} +3 -3
- package/dist/web/assets/{plugin-definition-BTHzuXv5.js → plugin-definition-UAfMRa7u.js} +3 -3
- package/dist/web/assets/{plugin-definition-D5s4GTfd.js → plugin-definition-mNNM2hOB.js} +3 -3
- package/dist/web/assets/{rolldown-runtime-_TIqcEvS.js → rolldown-runtime-FZ4Itg2g.js} +8 -1
- package/dist/web/assets/{styles-CAm3HyKx.css → styles-Cc26Bbxc.css} +1 -1
- package/dist/web/assets/{styles-BpmWykfT.js → styles-DNVWarsT.js} +8 -9
- package/dist/web/assets/{virtualExposes-Bru0eAhP.js → virtualExposes-CZsMFYa2.js} +1 -1
- package/dist/web/assets/{dist-CEUHjZe8.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-Bt9-dftr.js} +1175 -300
- package/dist/web/assets/virtual_mf-exposes-ssr___mfe_internal__plugin-auth__remoteEntry_js-DC8YPV1Z.js +129 -0
- package/dist/web/assets/{virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-DBiKf3iL.js → virtual_mf-exposes___mfe_internal__plugin-auth__remoteEntry_js-CmilMd0E.js} +15 -15
- package/dist/web/assets/vite-preload-helper-iIio8xkS.js +67 -0
- package/dist/web/assets/{web-BUa3uD-P.js → web-BbqWFVPH.js} +16 -19
- package/dist/web/assets/{web-BmHd5WWD.js → web-BldKZtQd.js} +10 -11
- package/dist/web/assets/{web-DhTqWxxL.js → web-CNMEeTj-.js} +3 -3
- package/dist/web/assets/{web-ffSErgfF.js → web-CnsQCdFE.js} +3 -3
- package/dist/web/assets/{web-CgosRRUN.js → web-DiGj_0d0.js} +14 -15
- package/dist/web/assets/{web-DlJyNEbj.js → web-OntIhIfe.js} +29 -31
- package/dist/web/assets/{web-nADEuz1b.js → web-y8E7eNgy.js} +11 -12
- package/dist/web/index.html +2 -2
- package/dist/web/remoteEntry.js +1 -1
- package/dist/web/remoteEntry.ssr.js +43 -0
- package/package.json +18 -18
- 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__.mjs-DMKuehfC.js +0 -100
- 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__.mjs-D-Ap1aU9.js +0 -38
- 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__.mjs-BwkXxd-B.js +0 -38
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_tanstack_mf_1_react_mf_2_router__loadShare__-D-_Nu6mi.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react__loadShare__-Bed38hA6.js +0 -3
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__react_mf_2_dom__loadShare__-Bixm3Wfj.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__-BArWH8PX.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild___mf_0_tanstack_mf_1_react_mf_2_router__prebuild__-C01b4AWM.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react__prebuild__-D4n2cb00.js +0 -3
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_1_jsx_mf_2_runtime__prebuild__-BkswA-5f.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__react_mf_2_dom__prebuild__-CiX5bkAg.js +0 -2
- package/dist/web/assets/_virtual_mf___mfe_internal__plugin_mf_2_auth__prebuild__zod__prebuild__-BnF6dd62.js +0 -2
- package/dist/web/assets/auth-B91ghZtH.js +0 -1
- package/dist/web/assets/hostInit-BeM6xnlw.js +0 -72
- package/dist/web/assets/index.esm-iUXrvsTx.js +0 -2003
- package/dist/web/assets/md-BLjaL5ZD.js +0 -439
- package/dist/web/assets/react-B4hMnLhV.js +0 -49
- package/dist/web/assets/stringify-pretty-stable-ByfjYf8u.js +0 -155
- package/dist/web/assets/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__plugin-auth__remoteEntry_js-DK03x1PZ.js +0 -270
- package/dist/web/mf-entry-bootstrap-0.js +0 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as __commonJSMin } from "./rolldown-runtime-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
1
|
+
import { t as __commonJSMin } from "./rolldown-runtime-FZ4Itg2g.js";
|
|
2
|
+
import { q as stringifyPrettyStable } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare___mf_0_baseplate_mf_2_dev_mf_1_ui_mf_2_components__loadShare__.js-DsLoA9K7.js";
|
|
3
|
+
import { n as __mf_0, t as __mfDefaultExport } from "./_virtual_mf___mfe_internal__plugin_mf_2_auth__loadShare__zod__loadShare__.js-DE4UUe5K.js";
|
|
4
|
+
import { $ as getSymbols, A as argumentsTag, B as int8ArrayTag, C as createPluginFieldMap, D as validationHintRegistry, E as CASE_VALIDATORS, F as dateTag, G as setTag, H as numberTag, I as float32ArrayTag, J as uint16ArrayTag, K as stringTag, L as float64ArrayTag, M as arrayTag, N as booleanTag, O as isEqual, P as dataViewTag, Q as getTag, R as int16ArrayTag, S as createFieldMapSpec, T as runInPluginContext, U as objectTag, V as mapTag, W as regexpTag, X as uint8ArrayTag, Y as uint32ArrayTag, Z as uint8ClampedArrayTag, _ as createRefContextSlot, a as featureEntityType, b as expressionParserSpec, c as createEntityType, d as definitionSchemaWithSlots, et as isPlainObject$1, f as withPlaceholderSlots, g as withRef, h as withEnt, i as createFeaturesSchema, j as arrayBufferTag, k as isEqualsSameValueZero, l as createDefinitionSchemaParserContext, m as definitionDefaultRegistry, n as FeatureUtils, nt as createPluginSpec, o as featureNameSchema, p as withDefault, q as symbolTag, r as createFeatureSchema, s as DefinitionEntityType, t as ModelUtils, tt as sortBy, u as definitionSchema, v as createRefContextSlotMap, w as getPluginContext, x as definitionRefRegistry, y as RefExpressionParser, z as int32ArrayTag } from "./model-utils-ZF_FVZ_o.js";
|
|
5
5
|
//#region ../../packages/utils/dist/arrays/assert-no-duplicates.js
|
|
6
6
|
/**
|
|
7
7
|
* Asserts that an array has no duplicate values based on an optional key function.
|
|
@@ -66,11 +66,6 @@ function keyBy(arr, getKeyFromItem) {
|
|
|
66
66
|
return result;
|
|
67
67
|
}
|
|
68
68
|
//#endregion
|
|
69
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
|
|
70
|
-
function isSymbol(value) {
|
|
71
|
-
return typeof value === "symbol" || value instanceof Symbol;
|
|
72
|
-
}
|
|
73
|
-
//#endregion
|
|
74
69
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/array/uniq.mjs
|
|
75
70
|
function uniq(arr) {
|
|
76
71
|
return [...new Set(arr)];
|
|
@@ -85,189 +80,6 @@ function flow(...funcs) {
|
|
|
85
80
|
};
|
|
86
81
|
}
|
|
87
82
|
//#endregion
|
|
88
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/function/identity.mjs
|
|
89
|
-
function identity$1(x) {
|
|
90
|
-
return x;
|
|
91
|
-
}
|
|
92
|
-
//#endregion
|
|
93
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
94
|
-
function isPrimitive(value) {
|
|
95
|
-
return value == null || typeof value !== "object" && typeof value !== "function";
|
|
96
|
-
}
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
99
|
-
function isTypedArray(x) {
|
|
100
|
-
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
101
|
-
}
|
|
102
|
-
//#endregion
|
|
103
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/clone.mjs
|
|
104
|
-
function clone(obj) {
|
|
105
|
-
if (isPrimitive(obj)) return obj;
|
|
106
|
-
if (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && obj instanceof SharedArrayBuffer) return obj.slice(0);
|
|
107
|
-
const prototype = Object.getPrototypeOf(obj);
|
|
108
|
-
if (prototype == null) return Object.assign(Object.create(prototype), obj);
|
|
109
|
-
const Constructor = prototype.constructor;
|
|
110
|
-
if (obj instanceof Date || obj instanceof Map || obj instanceof Set) return new Constructor(obj);
|
|
111
|
-
if (obj instanceof RegExp) {
|
|
112
|
-
const newRegExp = new Constructor(obj);
|
|
113
|
-
newRegExp.lastIndex = obj.lastIndex;
|
|
114
|
-
return newRegExp;
|
|
115
|
-
}
|
|
116
|
-
if (obj instanceof DataView) return new Constructor(obj.buffer.slice(0));
|
|
117
|
-
if (obj instanceof Error) {
|
|
118
|
-
let newError;
|
|
119
|
-
if (obj instanceof AggregateError) newError = new Constructor(obj.errors, obj.message, { cause: obj.cause });
|
|
120
|
-
else newError = new Constructor(obj.message, { cause: obj.cause });
|
|
121
|
-
newError.stack = obj.stack;
|
|
122
|
-
Object.assign(newError, obj);
|
|
123
|
-
return newError;
|
|
124
|
-
}
|
|
125
|
-
if (typeof File !== "undefined" && obj instanceof File) return new Constructor([obj], obj.name, {
|
|
126
|
-
type: obj.type,
|
|
127
|
-
lastModified: obj.lastModified
|
|
128
|
-
});
|
|
129
|
-
if (typeof obj === "object") return Object.assign(Object.create(prototype), obj);
|
|
130
|
-
return obj;
|
|
131
|
-
}
|
|
132
|
-
//#endregion
|
|
133
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
134
|
-
function cloneDeepWith$1(obj, cloneValue) {
|
|
135
|
-
return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), cloneValue);
|
|
136
|
-
}
|
|
137
|
-
function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
|
|
138
|
-
const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
|
|
139
|
-
if (cloned !== void 0) return cloned;
|
|
140
|
-
if (isPrimitive(valueToClone)) return valueToClone;
|
|
141
|
-
if (stack.has(valueToClone)) return stack.get(valueToClone);
|
|
142
|
-
if (Array.isArray(valueToClone)) {
|
|
143
|
-
const result = new Array(valueToClone.length);
|
|
144
|
-
stack.set(valueToClone, result);
|
|
145
|
-
for (let i = 0; i < valueToClone.length; i++) result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
146
|
-
if (Object.hasOwn(valueToClone, "index")) result.index = valueToClone.index;
|
|
147
|
-
if (Object.hasOwn(valueToClone, "input")) result.input = valueToClone.input;
|
|
148
|
-
return result;
|
|
149
|
-
}
|
|
150
|
-
if (valueToClone instanceof Date) return new Date(valueToClone.getTime());
|
|
151
|
-
if (valueToClone instanceof RegExp) {
|
|
152
|
-
const result = new RegExp(valueToClone.source, valueToClone.flags);
|
|
153
|
-
result.lastIndex = valueToClone.lastIndex;
|
|
154
|
-
return result;
|
|
155
|
-
}
|
|
156
|
-
if (valueToClone instanceof Map) {
|
|
157
|
-
const result = /* @__PURE__ */ new Map();
|
|
158
|
-
stack.set(valueToClone, result);
|
|
159
|
-
for (const [key, value] of valueToClone) result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
|
|
160
|
-
return result;
|
|
161
|
-
}
|
|
162
|
-
if (valueToClone instanceof Set) {
|
|
163
|
-
const result = /* @__PURE__ */ new Set();
|
|
164
|
-
stack.set(valueToClone, result);
|
|
165
|
-
for (const value of valueToClone) result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
|
|
166
|
-
return result;
|
|
167
|
-
}
|
|
168
|
-
if (typeof Buffer !== "undefined" && Buffer.isBuffer(valueToClone)) return valueToClone.subarray();
|
|
169
|
-
if (isTypedArray(valueToClone)) {
|
|
170
|
-
const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
|
|
171
|
-
stack.set(valueToClone, result);
|
|
172
|
-
for (let i = 0; i < valueToClone.length; i++) result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
173
|
-
return result;
|
|
174
|
-
}
|
|
175
|
-
if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) return valueToClone.slice(0);
|
|
176
|
-
if (valueToClone instanceof DataView) {
|
|
177
|
-
const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
|
|
178
|
-
stack.set(valueToClone, result);
|
|
179
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
180
|
-
return result;
|
|
181
|
-
}
|
|
182
|
-
if (typeof File !== "undefined" && valueToClone instanceof File) {
|
|
183
|
-
const result = new File([valueToClone], valueToClone.name, { type: valueToClone.type });
|
|
184
|
-
stack.set(valueToClone, result);
|
|
185
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
186
|
-
return result;
|
|
187
|
-
}
|
|
188
|
-
if (typeof Blob !== "undefined" && valueToClone instanceof Blob) {
|
|
189
|
-
const result = new Blob([valueToClone], { type: valueToClone.type });
|
|
190
|
-
stack.set(valueToClone, result);
|
|
191
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
192
|
-
return result;
|
|
193
|
-
}
|
|
194
|
-
if (valueToClone instanceof Error) {
|
|
195
|
-
const result = new valueToClone.constructor();
|
|
196
|
-
stack.set(valueToClone, result);
|
|
197
|
-
result.message = valueToClone.message;
|
|
198
|
-
result.name = valueToClone.name;
|
|
199
|
-
result.stack = valueToClone.stack;
|
|
200
|
-
result.cause = valueToClone.cause;
|
|
201
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
202
|
-
return result;
|
|
203
|
-
}
|
|
204
|
-
if (valueToClone instanceof Boolean) {
|
|
205
|
-
const result = new Boolean(valueToClone.valueOf());
|
|
206
|
-
stack.set(valueToClone, result);
|
|
207
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
208
|
-
return result;
|
|
209
|
-
}
|
|
210
|
-
if (valueToClone instanceof Number) {
|
|
211
|
-
const result = new Number(valueToClone.valueOf());
|
|
212
|
-
stack.set(valueToClone, result);
|
|
213
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
214
|
-
return result;
|
|
215
|
-
}
|
|
216
|
-
if (valueToClone instanceof String) {
|
|
217
|
-
const result = new String(valueToClone.valueOf());
|
|
218
|
-
stack.set(valueToClone, result);
|
|
219
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
220
|
-
return result;
|
|
221
|
-
}
|
|
222
|
-
if (typeof valueToClone === "object" && isCloneableObject(valueToClone)) {
|
|
223
|
-
const result = Object.create(Object.getPrototypeOf(valueToClone));
|
|
224
|
-
stack.set(valueToClone, result);
|
|
225
|
-
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
226
|
-
return result;
|
|
227
|
-
}
|
|
228
|
-
return valueToClone;
|
|
229
|
-
}
|
|
230
|
-
function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
|
|
231
|
-
const keys = [...Object.keys(source), ...getSymbols(source)];
|
|
232
|
-
for (let i = 0; i < keys.length; i++) {
|
|
233
|
-
const key = keys[i];
|
|
234
|
-
const descriptor = Object.getOwnPropertyDescriptor(target, key);
|
|
235
|
-
if (descriptor == null || descriptor.writable) target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
function isCloneableObject(object) {
|
|
239
|
-
switch (getTag(object)) {
|
|
240
|
-
case argumentsTag:
|
|
241
|
-
case arrayTag:
|
|
242
|
-
case arrayBufferTag:
|
|
243
|
-
case dataViewTag:
|
|
244
|
-
case booleanTag:
|
|
245
|
-
case dateTag:
|
|
246
|
-
case float32ArrayTag:
|
|
247
|
-
case float64ArrayTag:
|
|
248
|
-
case int8ArrayTag:
|
|
249
|
-
case int16ArrayTag:
|
|
250
|
-
case int32ArrayTag:
|
|
251
|
-
case mapTag:
|
|
252
|
-
case numberTag:
|
|
253
|
-
case objectTag:
|
|
254
|
-
case regexpTag:
|
|
255
|
-
case setTag:
|
|
256
|
-
case stringTag:
|
|
257
|
-
case symbolTag:
|
|
258
|
-
case uint8ArrayTag:
|
|
259
|
-
case uint8ClampedArrayTag:
|
|
260
|
-
case uint16ArrayTag:
|
|
261
|
-
case uint32ArrayTag: return true;
|
|
262
|
-
default: return false;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
//#endregion
|
|
266
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs
|
|
267
|
-
function cloneDeep$1(obj) {
|
|
268
|
-
return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
|
|
269
|
-
}
|
|
270
|
-
//#endregion
|
|
271
83
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/mapValues.mjs
|
|
272
84
|
function mapValues(object, getNewValue) {
|
|
273
85
|
const result = {};
|
|
@@ -326,9 +138,47 @@ function pickBy(obj, shouldPick) {
|
|
|
326
138
|
return result;
|
|
327
139
|
}
|
|
328
140
|
//#endregion
|
|
329
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/
|
|
330
|
-
function
|
|
331
|
-
return
|
|
141
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
142
|
+
function isPrimitive(value) {
|
|
143
|
+
return value == null || typeof value !== "object" && typeof value !== "function";
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
147
|
+
function isTypedArray(x) {
|
|
148
|
+
return ArrayBuffer.isView(x) && !(x instanceof DataView);
|
|
149
|
+
}
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/clone.mjs
|
|
152
|
+
function clone(obj) {
|
|
153
|
+
if (isPrimitive(obj)) return obj;
|
|
154
|
+
if (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && obj instanceof SharedArrayBuffer) return obj.slice(0);
|
|
155
|
+
const prototype = Object.getPrototypeOf(obj);
|
|
156
|
+
if (prototype == null) return Object.assign(Object.create(prototype), obj);
|
|
157
|
+
const Constructor = prototype.constructor;
|
|
158
|
+
if (obj instanceof Date || obj instanceof Map || obj instanceof Set) return new Constructor(obj);
|
|
159
|
+
if (obj instanceof RegExp) {
|
|
160
|
+
const newRegExp = new Constructor(obj);
|
|
161
|
+
newRegExp.lastIndex = obj.lastIndex;
|
|
162
|
+
return newRegExp;
|
|
163
|
+
}
|
|
164
|
+
if (obj instanceof DataView) return new Constructor(obj.buffer.slice(0));
|
|
165
|
+
if (obj instanceof Error) {
|
|
166
|
+
let newError;
|
|
167
|
+
if (obj instanceof AggregateError) newError = new Constructor(obj.errors, obj.message, { cause: obj.cause });
|
|
168
|
+
else newError = new Constructor(obj.message, { cause: obj.cause });
|
|
169
|
+
newError.stack = obj.stack;
|
|
170
|
+
Object.assign(newError, obj);
|
|
171
|
+
return newError;
|
|
172
|
+
}
|
|
173
|
+
if (typeof File !== "undefined" && obj instanceof File) return new Constructor([obj], obj.name, {
|
|
174
|
+
type: obj.type,
|
|
175
|
+
lastModified: obj.lastModified
|
|
176
|
+
});
|
|
177
|
+
if (typeof obj === "object") {
|
|
178
|
+
const newObject = Object.create(prototype);
|
|
179
|
+
return Object.assign(newObject, obj);
|
|
180
|
+
}
|
|
181
|
+
return obj;
|
|
332
182
|
}
|
|
333
183
|
//#endregion
|
|
334
184
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/toMerged.mjs
|
|
@@ -341,11 +191,6 @@ function toMerged(target, source) {
|
|
|
341
191
|
});
|
|
342
192
|
}
|
|
343
193
|
//#endregion
|
|
344
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isLength.mjs
|
|
345
|
-
function isLength(value) {
|
|
346
|
-
return Number.isSafeInteger(value) && value >= 0;
|
|
347
|
-
}
|
|
348
|
-
//#endregion
|
|
349
194
|
//#region ../../packages/utils/dist/maps/group-by.js
|
|
350
195
|
/**
|
|
351
196
|
* Groups values of an iterable using a key-generating function and returns a Map.
|
|
@@ -552,7 +397,7 @@ function makeOutgoingEdges(nodes, edgeArr) {
|
|
|
552
397
|
if (targetIndex === void 0) throw new ToposortUnknownNodeError(target);
|
|
553
398
|
const sourceEdges = outgoingEdgesMap.get(sourceIndex);
|
|
554
399
|
if (sourceEdges) sourceEdges.add(targetIndex);
|
|
555
|
-
else outgoingEdgesMap.set(sourceIndex, new Set([targetIndex]));
|
|
400
|
+
else outgoingEdgesMap.set(sourceIndex, /* @__PURE__ */ new Set([targetIndex]));
|
|
556
401
|
}
|
|
557
402
|
return outgoingEdgesMap;
|
|
558
403
|
}
|
|
@@ -1303,6 +1148,16 @@ function createDefinitionEntityNameResolver(entityNameResolver) {
|
|
|
1303
1148
|
return entityNameResolver;
|
|
1304
1149
|
}
|
|
1305
1150
|
//#endregion
|
|
1151
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/function/identity.mjs
|
|
1152
|
+
function identity$1(x) {
|
|
1153
|
+
return x;
|
|
1154
|
+
}
|
|
1155
|
+
//#endregion
|
|
1156
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/predicate/isLength.mjs
|
|
1157
|
+
function isLength(value) {
|
|
1158
|
+
return Number.isSafeInteger(value) && value >= 0;
|
|
1159
|
+
}
|
|
1160
|
+
//#endregion
|
|
1306
1161
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
|
|
1307
1162
|
function isArrayLike(value) {
|
|
1308
1163
|
return value != null && typeof value !== "function" && isLength(value.length);
|
|
@@ -1518,6 +1373,144 @@ function isMatch(target, source) {
|
|
|
1518
1373
|
return isMatchWith(target, source, () => void 0);
|
|
1519
1374
|
}
|
|
1520
1375
|
//#endregion
|
|
1376
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
1377
|
+
function cloneDeepWith$1(obj, cloneValue) {
|
|
1378
|
+
return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), cloneValue);
|
|
1379
|
+
}
|
|
1380
|
+
function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
|
|
1381
|
+
const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
|
|
1382
|
+
if (cloned !== void 0) return cloned;
|
|
1383
|
+
if (isPrimitive(valueToClone)) return valueToClone;
|
|
1384
|
+
if (stack.has(valueToClone)) return stack.get(valueToClone);
|
|
1385
|
+
if (Array.isArray(valueToClone)) {
|
|
1386
|
+
const result = new Array(valueToClone.length);
|
|
1387
|
+
stack.set(valueToClone, result);
|
|
1388
|
+
for (let i = 0; i < valueToClone.length; i++) result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
1389
|
+
if (Object.hasOwn(valueToClone, "index")) result.index = valueToClone.index;
|
|
1390
|
+
if (Object.hasOwn(valueToClone, "input")) result.input = valueToClone.input;
|
|
1391
|
+
return result;
|
|
1392
|
+
}
|
|
1393
|
+
if (valueToClone instanceof Date) return new Date(valueToClone.getTime());
|
|
1394
|
+
if (valueToClone instanceof RegExp) {
|
|
1395
|
+
const result = new RegExp(valueToClone.source, valueToClone.flags);
|
|
1396
|
+
result.lastIndex = valueToClone.lastIndex;
|
|
1397
|
+
return result;
|
|
1398
|
+
}
|
|
1399
|
+
if (valueToClone instanceof Map) {
|
|
1400
|
+
const result = /* @__PURE__ */ new Map();
|
|
1401
|
+
stack.set(valueToClone, result);
|
|
1402
|
+
for (const [key, value] of valueToClone) result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
|
|
1403
|
+
return result;
|
|
1404
|
+
}
|
|
1405
|
+
if (valueToClone instanceof Set) {
|
|
1406
|
+
const result = /* @__PURE__ */ new Set();
|
|
1407
|
+
stack.set(valueToClone, result);
|
|
1408
|
+
for (const value of valueToClone) result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
|
|
1409
|
+
return result;
|
|
1410
|
+
}
|
|
1411
|
+
if (typeof Buffer !== "undefined" && Buffer.isBuffer(valueToClone)) return valueToClone.subarray();
|
|
1412
|
+
if (isTypedArray(valueToClone)) {
|
|
1413
|
+
const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
|
|
1414
|
+
stack.set(valueToClone, result);
|
|
1415
|
+
for (let i = 0; i < valueToClone.length; i++) result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
|
|
1416
|
+
return result;
|
|
1417
|
+
}
|
|
1418
|
+
if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) return valueToClone.slice(0);
|
|
1419
|
+
if (valueToClone instanceof DataView) {
|
|
1420
|
+
const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
|
|
1421
|
+
stack.set(valueToClone, result);
|
|
1422
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1423
|
+
return result;
|
|
1424
|
+
}
|
|
1425
|
+
if (typeof File !== "undefined" && valueToClone instanceof File) {
|
|
1426
|
+
const result = new File([valueToClone], valueToClone.name, { type: valueToClone.type });
|
|
1427
|
+
stack.set(valueToClone, result);
|
|
1428
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1429
|
+
return result;
|
|
1430
|
+
}
|
|
1431
|
+
if (typeof Blob !== "undefined" && valueToClone instanceof Blob) {
|
|
1432
|
+
const result = new Blob([valueToClone], { type: valueToClone.type });
|
|
1433
|
+
stack.set(valueToClone, result);
|
|
1434
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1435
|
+
return result;
|
|
1436
|
+
}
|
|
1437
|
+
if (valueToClone instanceof Error) {
|
|
1438
|
+
const result = new valueToClone.constructor();
|
|
1439
|
+
stack.set(valueToClone, result);
|
|
1440
|
+
result.message = valueToClone.message;
|
|
1441
|
+
result.name = valueToClone.name;
|
|
1442
|
+
result.stack = valueToClone.stack;
|
|
1443
|
+
result.cause = valueToClone.cause;
|
|
1444
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1445
|
+
return result;
|
|
1446
|
+
}
|
|
1447
|
+
if (valueToClone instanceof Boolean) {
|
|
1448
|
+
const result = new Boolean(valueToClone.valueOf());
|
|
1449
|
+
stack.set(valueToClone, result);
|
|
1450
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1451
|
+
return result;
|
|
1452
|
+
}
|
|
1453
|
+
if (valueToClone instanceof Number) {
|
|
1454
|
+
const result = new Number(valueToClone.valueOf());
|
|
1455
|
+
stack.set(valueToClone, result);
|
|
1456
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1457
|
+
return result;
|
|
1458
|
+
}
|
|
1459
|
+
if (valueToClone instanceof String) {
|
|
1460
|
+
const result = new String(valueToClone.valueOf());
|
|
1461
|
+
stack.set(valueToClone, result);
|
|
1462
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1463
|
+
return result;
|
|
1464
|
+
}
|
|
1465
|
+
if (typeof valueToClone === "object" && isCloneableObject(valueToClone)) {
|
|
1466
|
+
const result = Object.create(Object.getPrototypeOf(valueToClone));
|
|
1467
|
+
stack.set(valueToClone, result);
|
|
1468
|
+
copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
|
|
1469
|
+
return result;
|
|
1470
|
+
}
|
|
1471
|
+
return valueToClone;
|
|
1472
|
+
}
|
|
1473
|
+
function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
|
|
1474
|
+
const keys = [...Object.keys(source), ...getSymbols(source)];
|
|
1475
|
+
for (let i = 0; i < keys.length; i++) {
|
|
1476
|
+
const key = keys[i];
|
|
1477
|
+
const descriptor = Object.getOwnPropertyDescriptor(target, key);
|
|
1478
|
+
if (descriptor == null || descriptor.writable) target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
|
|
1479
|
+
}
|
|
1480
|
+
}
|
|
1481
|
+
function isCloneableObject(object) {
|
|
1482
|
+
switch (getTag(object)) {
|
|
1483
|
+
case argumentsTag:
|
|
1484
|
+
case arrayTag:
|
|
1485
|
+
case arrayBufferTag:
|
|
1486
|
+
case dataViewTag:
|
|
1487
|
+
case booleanTag:
|
|
1488
|
+
case dateTag:
|
|
1489
|
+
case float32ArrayTag:
|
|
1490
|
+
case float64ArrayTag:
|
|
1491
|
+
case int8ArrayTag:
|
|
1492
|
+
case int16ArrayTag:
|
|
1493
|
+
case int32ArrayTag:
|
|
1494
|
+
case mapTag:
|
|
1495
|
+
case numberTag:
|
|
1496
|
+
case objectTag:
|
|
1497
|
+
case regexpTag:
|
|
1498
|
+
case setTag:
|
|
1499
|
+
case stringTag:
|
|
1500
|
+
case symbolTag:
|
|
1501
|
+
case uint8ArrayTag:
|
|
1502
|
+
case uint8ClampedArrayTag:
|
|
1503
|
+
case uint16ArrayTag:
|
|
1504
|
+
case uint32ArrayTag: return true;
|
|
1505
|
+
default: return false;
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
//#endregion
|
|
1509
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs
|
|
1510
|
+
function cloneDeep$1(obj) {
|
|
1511
|
+
return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
|
|
1512
|
+
}
|
|
1513
|
+
//#endregion
|
|
1521
1514
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/predicate/matches.mjs
|
|
1522
1515
|
function matches(source) {
|
|
1523
1516
|
source = cloneDeep$1(source);
|
|
@@ -1635,6 +1628,17 @@ function groupBy(source, _getKeyFromItem) {
|
|
|
1635
1628
|
return groupBy$1(isArrayLike(source) ? Array.from(source) : Object.values(source), iteratee(_getKeyFromItem ?? identity$1));
|
|
1636
1629
|
}
|
|
1637
1630
|
//#endregion
|
|
1631
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/assignValue.mjs
|
|
1632
|
+
var assignValue = (object, key, value) => {
|
|
1633
|
+
const objValue = object[key];
|
|
1634
|
+
if (!(Object.hasOwn(object, key) && isEqualsSameValueZero(objValue, value)) || value === void 0 && !(key in object)) object[key] = value;
|
|
1635
|
+
};
|
|
1636
|
+
//#endregion
|
|
1637
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
|
|
1638
|
+
function isSymbol(value) {
|
|
1639
|
+
return typeof value === "symbol" || value instanceof Symbol;
|
|
1640
|
+
}
|
|
1641
|
+
//#endregion
|
|
1638
1642
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/isKey.mjs
|
|
1639
1643
|
var regexIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
1640
1644
|
var regexIsPlainProp = /^\w*$/;
|
|
@@ -1644,12 +1648,6 @@ function isKey(value, object) {
|
|
|
1644
1648
|
return typeof value === "string" && (regexIsPlainProp.test(value) || !regexIsDeepProp.test(value)) || object != null && Object.hasOwn(object, value);
|
|
1645
1649
|
}
|
|
1646
1650
|
//#endregion
|
|
1647
|
-
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/_internal/assignValue.mjs
|
|
1648
|
-
var assignValue = (object, key, value) => {
|
|
1649
|
-
const objValue = object[key];
|
|
1650
|
-
if (!(Object.hasOwn(object, key) && isEqualsSameValueZero(objValue, value)) || value === void 0 && !(key in object)) object[key] = value;
|
|
1651
|
-
};
|
|
1652
|
-
//#endregion
|
|
1653
1651
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/object/updateWith.mjs
|
|
1654
1652
|
function updateWith(obj, path, updater, customizer) {
|
|
1655
1653
|
if (obj == null && !isObject(obj)) return obj;
|
|
@@ -1680,6 +1678,11 @@ function set$1(obj, path, value) {
|
|
|
1680
1678
|
return updateWith(obj, path, () => value, () => void 0);
|
|
1681
1679
|
}
|
|
1682
1680
|
//#endregion
|
|
1681
|
+
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/string/capitalize.mjs
|
|
1682
|
+
function capitalize$1(str) {
|
|
1683
|
+
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
|
|
1684
|
+
}
|
|
1685
|
+
//#endregion
|
|
1683
1686
|
//#region ../../node_modules/.pnpm/es-toolkit@1.44.0/node_modules/es-toolkit/dist/compat/string/capitalize.mjs
|
|
1684
1687
|
function capitalize(str) {
|
|
1685
1688
|
return capitalize$1(toString$1(str));
|
|
@@ -1687,7 +1690,7 @@ function capitalize(str) {
|
|
|
1687
1690
|
//#endregion
|
|
1688
1691
|
//#region ../../packages/project-builder-lib/dist/parser/schema-structure.js
|
|
1689
1692
|
/** Leaf types that are allowed in a plain `z.union()` without a discriminator. */
|
|
1690
|
-
var LEAF_UNION_TYPES = new Set([
|
|
1693
|
+
var LEAF_UNION_TYPES = /* @__PURE__ */ new Set([
|
|
1691
1694
|
"string",
|
|
1692
1695
|
"enum",
|
|
1693
1696
|
"literal"
|
|
@@ -8775,7 +8778,7 @@ var authConfigSpec = createFieldMapSpec("core/auth-config", (t) => ({
|
|
|
8775
8778
|
/**
|
|
8776
8779
|
* Valid auth context field names that can be accessed.
|
|
8777
8780
|
*/
|
|
8778
|
-
var VALID_AUTH_FIELDS = new Set(["userId"]);
|
|
8781
|
+
var VALID_AUTH_FIELDS = /* @__PURE__ */ new Set(["userId"]);
|
|
8779
8782
|
/**
|
|
8780
8783
|
* Get role info from the project definition using the auth config spec.
|
|
8781
8784
|
*
|
|
@@ -11330,7 +11333,7 @@ function getDependentPlugins(projectDefinition, pluginKey, pluginStore) {
|
|
|
11330
11333
|
const metadata = getPluginMetadataByKey(pluginStore, pluginEntityType.keyFromId(plugin.id));
|
|
11331
11334
|
if (metadata) enabledMetadataMap.set(metadata.fullyQualifiedName, metadata);
|
|
11332
11335
|
}
|
|
11333
|
-
const visited = new Set([targetMetadata.fullyQualifiedName]);
|
|
11336
|
+
const visited = /* @__PURE__ */ new Set([targetMetadata.fullyQualifiedName]);
|
|
11334
11337
|
const queue = [targetMetadata.fullyQualifiedName];
|
|
11335
11338
|
const dependents = [];
|
|
11336
11339
|
for (let i = 0; i < queue.length; i++) {
|
|
@@ -15791,7 +15794,7 @@ var migration029AdminRoleAndAutoAssigned = createSchemaMigration({
|
|
|
15791
15794
|
if (authPlugin?.config) {
|
|
15792
15795
|
const authConfig = authPlugin.config;
|
|
15793
15796
|
if (authConfig.roles) {
|
|
15794
|
-
const autoAssignedRoles = new Set([
|
|
15797
|
+
const autoAssignedRoles = /* @__PURE__ */ new Set([
|
|
15795
15798
|
"public",
|
|
15796
15799
|
"user",
|
|
15797
15800
|
"system"
|
|
@@ -16295,7 +16298,7 @@ function diffEntityArray(path, entityMeta, currentArray, otherArray, scopeToName
|
|
|
16295
16298
|
const label = capitalize(entityMeta.type.name);
|
|
16296
16299
|
const currentByName = new Map(currentArray.map((item) => [getEntityName(entityMeta, item), item]));
|
|
16297
16300
|
const otherByName = new Map(otherArray.map((item) => [getEntityName(entityMeta, item), item]));
|
|
16298
|
-
const namesToDiff = scopeToNames ?? new Set([...currentByName.keys(), ...otherByName.keys()]);
|
|
16301
|
+
const namesToDiff = scopeToNames ?? /* @__PURE__ */ new Set([...currentByName.keys(), ...otherByName.keys()]);
|
|
16299
16302
|
for (const name of namesToDiff) {
|
|
16300
16303
|
const currentItem = currentByName.get(name);
|
|
16301
16304
|
const otherItem = otherByName.get(name);
|
|
@@ -16338,7 +16341,7 @@ function diffEntityArray(path, entityMeta, currentArray, otherArray, scopeToName
|
|
|
16338
16341
|
function diffSerializedDefinitions(schema, currentDef, otherDef, options) {
|
|
16339
16342
|
const entityArrayInfoByKey = new Map(collectEntityArrays(schema).filter((info) => !info.path.includes(".")).map((info) => [info.path, info]));
|
|
16340
16343
|
const entries = [];
|
|
16341
|
-
const keysToCompare = options?.scopeToKeys ?? new Set([...Object.keys(currentDef), ...Object.keys(otherDef)]);
|
|
16344
|
+
const keysToCompare = options?.scopeToKeys ?? /* @__PURE__ */ new Set([...Object.keys(currentDef), ...Object.keys(otherDef)]);
|
|
16342
16345
|
for (const key of keysToCompare) {
|
|
16343
16346
|
const currentValue = currentDef[key];
|
|
16344
16347
|
const otherValue = otherDef[key];
|
|
@@ -18142,4 +18145,4 @@ function generateDefaultTheme() {
|
|
|
18142
18145
|
//#endregion
|
|
18143
18146
|
export { AVAILABLE_FLAGS, AppUtils, AuthorizerExpressionParseError, AuthorizerExpressionParser, BUILT_IN_ADMIN_CRUD_ACTIONS, BUILT_IN_ADMIN_CRUD_COLUMNS, BUILT_IN_ADMIN_CRUD_INPUTS, BUILT_IN_TRANSFORMERS, COLOR_PALETTES, DEFAULT_APPS_FOLDER, DEFAULT_LIBRARIES_FOLDER, DefinitionDiffArrayIncludesField, DefinitionDiffKeyedArrayField, DefinitionDiffReplacementField, DefinitionEntityType, EnumUtils, FIXED_COLOR_MAPPINGS, FeatureUtils, LibraryCompiler, LibraryUtils, ModelFieldUtils, ModelTransformerUtils, ModelUtils, PALETTE_SHADES, PackageCompiler, PluginSpecStore, PluginUtils, ProjectDefinitionContainer, REFERENTIAL_ACTIONS, RefExpressionParser, SCALAR_FIELD_TYPES, SCHEMA_MIGRATIONS, SchemaMigrationError, THEME_COLORS, THEME_COLOR_KEYS, VALIDATORS, adminCrudActionCompilerSpec, adminCrudActionEntityType, adminCrudActionSpec, adminCrudColumnCompilerSpec, adminCrudColumnEntityType, adminCrudColumnSpec, adminCrudEmbeddedFormEntityType, adminCrudEmbeddedInputType, adminCrudEmbeddedLocalInputType, adminCrudInputCompilerSpec, adminCrudInputEntityType, adminCrudInputSpec, adminCrudSectionColumnEntityType, adminSectionEntityType, appCompilerSpec, appEntityType, applyDefinitionDiff, applyDefinitionFixes, applyExpressionRenames, applyMergedDefinition, assignEntityIds, authConfigSpec, authModelsSpec, authRoleEntityType, backendAppEntryType, baseAdminCrudActionSchema, baseAdminCrudColumnSchema, baseAdminCrudInputSchema, baseAppSchema, baseAppValidators, baseLibrarySchema, baseLibraryValidators, basePluginDefinitionSchema, baseTransformerFields, baseTransformerSchema, buildEnabledPluginFqnSet, buildModelExpressionContext, buildPackageName, checkUniqueField, checkUniqueFieldValue, cleanDefaultValues, collectDefinitionIssues, collectEntityArrays, collectEntityMetadata, collectExpressionIssues, collectFieldIssues, convertColorNameToOklch, convertHexToOklch, convertOklchToColorName, convertOklchToHex, createAdminAppSchema, createAdminCrudActionSchema, createAdminCrudActionType, createAdminCrudColumnCompiler, createAdminCrudColumnSchema, createAdminCrudColumnType, createAdminCrudDeleteActionSchema, createAdminCrudEditActionSchema, createAdminCrudEmbeddedFormSchema, createAdminCrudEmbeddedInputSchema, createAdminCrudEmbeddedLocalInputSchema, createAdminCrudEnumInputSchema, createAdminCrudForeignColumnSchema, createAdminCrudForeignInputSchema, createAdminCrudInputSchema, createAdminCrudInputType, createAdminCrudPasswordInputSchema, createAdminCrudSectionSchema, createAdminCrudTextColumnSchema, createAdminCrudTextInputSchema, createAppCompiler, createAppEntryType, createAppSchema, createAuthorizerRoleSchema, createBackendAppSchema, createBaseAdminSectionValidators, createDefinitionDiff, createDefinitionDiffConfig, createDefinitionEntityNameResolver, createDefinitionSchemaParserContext, createEmbeddedRelationTransformerSchema, createEntity, createEntityIssue, createEntityType, createEnumBaseSchema, createEnumSchema, createEnumValueSchema, createExpressionParserRef, createFeatureSchema, createFeaturesSchema, createFieldMapSpec, createIssueFixSetter, createLibraryWebConfig, createModelAuthorizerSchema, createModelBaseSchema, createModelGraphqlSchema, createModelIndexSchema, createModelRelationFieldSchema, createModelScalarFieldSchema, createModelSchema, createModelServiceSchema, createModelTransformerType, createModelUniqueConstraintSchema, createPluginFieldMap, createPluginImplementationStoreWithNewPlugins, createPluginModelSyncChecker, createPluginModule, createPluginSpec, createPluginSpecStore, createPluginWithConfigSchema, createPluginsSchema, createProjectDefinitionSchema, createProjectDefinitionSchemaWithContext, createRefContextSlot, createRefContextSlotMap, createRefSchemaCollector, createRefSchemaVisitor, createSettingsSchema, createTemplateExtractorSchema, createThemeSchema, createTransformerSchema, createWebAdminSectionSchema, createWebAppSchema, definitionFieldIssueRegistry, definitionFixRegistry, definitionIssueCheckerSpec, definitionRefRegistry, definitionSchema, definitionSchemaWithSlots, deleteEntity, deserializeSchemaWithTransformedReferences, diffDefinition, diffSerializedDefinitions, expressionParserCoreModule, expressionParserSpec, extractDefinitionRefs, featureEntityType, featureNameSchema, findDiscriminatedUnionMatch, findOrphanedUnionItems, fixDefinitionRefs, fixRefDeletions, formatOklch, generalSettingsSchema, generateCssBlockFromThemeColors, generateCssFromThemeConfig, generateDefaultTheme, generateThemeColorsFromShade, getBackendRelativePath, getDefaultThemeColorFromShade, getEntity, getEntityName, getLatestMigrationVersion, getManagedPluginsForPlugin, getMergeRule, getPackageDirectory, getPluginContext, getPluginDependencies, getPluginMetadataByKey, getPluginMetadataByKeyOrThrow, getUnmetPluginDependencies, infrastructureSettingsSchema, initializePlugins, isMigrateableProjectDefinition, libraryEntityType, libraryTypeSpec, listEntities, mergeDataWithSchema, mergeDefinition, mergeDefinitionContainer, modelAuthorizerRoleEntityType, modelEntityType, modelEnumEntityType, modelEnumValueEntityType, modelForeignRelationEntityType, modelIndexEntityType, modelLocalRelationEntityType, modelScalarFieldEntityType, modelTransformerCompilerSpec, modelTransformerEntityType, modelTransformerSpec, modelUniqueConstraintEntityType, monorepoSettingsSchema, nodeLibraryDefinitionSchemaEntry, normalizeOklch, oklchColor, paletteSchema, palettesSchema, parseAuthorizerExpression, parseOklch, parseProjectDefinitionWithContext, parseProjectDefinitionWithReferences, partitionIssuesBySeverity, pluginAppCompiler, pluginConfigSpec, pluginDefaultsSpec, pluginDependencySchema, pluginEntityType, pluginMetadataSchema, pluginSpecDependencySchema, pluginSpecSupportSchema, previewIssueFix, resolveIssuePath, rootCompilerSpec, runInPluginContext, runPluginMigrations, runSchemaMigrations, serializeSchema, serializeSchemaFromRefPayload, sortEntityArrays, stripEmptyGeneratorChildren, stripUndefinedValues, themeColorSchema, transformDataWithSchema, undefinedIfEmpty, undefinedIfFalsy, updateEntity, validateAuthorizerExpression, validatePluginDependencyGraph, visitAuthorizerExpression, walkDataWithSchema, walkSchemaStructure, webAppEntryType, webConfigSpec, withByKeyMergeRule, withDefault, withEnt, withFix, withIssueChecker, withMergeRule, withPlaceholderSlots, withRef };
|
|
18144
18147
|
|
|
18145
|
-
//# sourceMappingURL=dist-
|
|
18148
|
+
//# sourceMappingURL=dist-C6kDPCTC.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as __mf_26 } 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__.
|
|
1
|
+
import { p as __mf_26 } 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-B6a7L2-k.js";
|
|
2
2
|
//#region src/auth/utils/get-auth-plugin-definition.ts
|
|
3
3
|
/**
|
|
4
4
|
* Get the auth plugin definition from the project definition.
|
|
@@ -11,4 +11,4 @@ function getAuthPluginDefinition(definition) {
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getAuthPluginDefinition as t };
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=get-auth-plugin-definition-
|
|
14
|
+
//# sourceMappingURL=get-auth-plugin-definition-2vFJROjB.js.map
|