sigo-entities 1.2.381 → 1.2.382
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/index.mjs +10 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9477,7 +9477,7 @@ interface IParams {
|
|
|
9477
9477
|
prefix: string;
|
|
9478
9478
|
dataDB: SystemOptionEntity[];
|
|
9479
9479
|
rawData: RouteInfo[];
|
|
9480
|
-
UnprocessableEntityException:
|
|
9480
|
+
UnprocessableEntityException: ClassConstructor<Error>;
|
|
9481
9481
|
root?: boolean;
|
|
9482
9482
|
}
|
|
9483
9483
|
declare function builSystemOption(params: IParams): Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -9477,7 +9477,7 @@ interface IParams {
|
|
|
9477
9477
|
prefix: string;
|
|
9478
9478
|
dataDB: SystemOptionEntity[];
|
|
9479
9479
|
rawData: RouteInfo[];
|
|
9480
|
-
UnprocessableEntityException:
|
|
9480
|
+
UnprocessableEntityException: ClassConstructor<Error>;
|
|
9481
9481
|
root?: boolean;
|
|
9482
9482
|
}
|
|
9483
9483
|
declare function builSystemOption(params: IParams): Promise<{
|
package/dist/index.js
CHANGED
|
@@ -50213,16 +50213,16 @@ async function builSystemOption(params) {
|
|
|
50213
50213
|
if (mapaLocal.has(key)) continue;
|
|
50214
50214
|
mapaLocal.add(key);
|
|
50215
50215
|
if (!dataDBSet.has(key)) {
|
|
50216
|
-
const _newEntity =
|
|
50217
|
-
|
|
50218
|
-
|
|
50219
|
-
|
|
50220
|
-
|
|
50221
|
-
|
|
50222
|
-
|
|
50223
|
-
|
|
50224
|
-
|
|
50225
|
-
}
|
|
50216
|
+
const _newEntity = {
|
|
50217
|
+
father,
|
|
50218
|
+
name: separarPalabras(element),
|
|
50219
|
+
prefix,
|
|
50220
|
+
root,
|
|
50221
|
+
key,
|
|
50222
|
+
method: isLast ? method : "",
|
|
50223
|
+
route: isLast ? `${method} ${rootPath}${pathParts}` : "",
|
|
50224
|
+
_id: crypto.randomUUID()
|
|
50225
|
+
};
|
|
50226
50226
|
const newItem = await validateCustom(_newEntity, SystemOptionEntity, UnprocessableEntityException);
|
|
50227
50227
|
newData.push(newItem);
|
|
50228
50228
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -49738,16 +49738,16 @@ async function builSystemOption(params) {
|
|
|
49738
49738
|
if (mapaLocal.has(key)) continue;
|
|
49739
49739
|
mapaLocal.add(key);
|
|
49740
49740
|
if (!dataDBSet.has(key)) {
|
|
49741
|
-
const _newEntity =
|
|
49742
|
-
|
|
49743
|
-
|
|
49744
|
-
|
|
49745
|
-
|
|
49746
|
-
|
|
49747
|
-
|
|
49748
|
-
|
|
49749
|
-
|
|
49750
|
-
}
|
|
49741
|
+
const _newEntity = {
|
|
49742
|
+
father,
|
|
49743
|
+
name: separarPalabras(element),
|
|
49744
|
+
prefix,
|
|
49745
|
+
root,
|
|
49746
|
+
key,
|
|
49747
|
+
method: isLast ? method : "",
|
|
49748
|
+
route: isLast ? `${method} ${rootPath}${pathParts}` : "",
|
|
49749
|
+
_id: crypto.randomUUID()
|
|
49750
|
+
};
|
|
49751
49751
|
const newItem = await validateCustom(_newEntity, SystemOptionEntity, UnprocessableEntityException);
|
|
49752
49752
|
newData.push(newItem);
|
|
49753
49753
|
}
|