@elyx-code/project-logic-tree 0.0.6793 → 0.0.6795
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.cjs +2 -2
- package/dist/index.d.ts +6 -0
- package/dist/index.js +10 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19203,6 +19203,12 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
19203
19203
|
|
|
19204
19204
|
export declare function getRelationalDBInstanceNameFromEntityId(entityId: string): string;
|
|
19205
19205
|
|
|
19206
|
+
/**
|
|
19207
|
+
* Returns the root entry point entity that owns the scope of the given entity
|
|
19208
|
+
*
|
|
19209
|
+
* @param {EntityState | Element | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer} entity EntityState or Element that has a 'parent' property
|
|
19210
|
+
* @returns {EntityWithLogicScopeState | null} EntityWithLogicScopeState that owns the root entry point scope, or null if no valid scope owner is found
|
|
19211
|
+
*/
|
|
19206
19212
|
export declare function getRootEntryPointScopeOwner(entity: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): EntityWithLogicScopeState | null;
|
|
19207
19213
|
|
|
19208
19214
|
export declare function getRootExternalIntegrationFromAlias(_alias: ExternalIntegrationAliasProviders): ExternalIntegrationRootProviders;
|
package/dist/index.js
CHANGED
|
@@ -160148,7 +160148,7 @@ function Qt(o, p = {
|
|
|
160148
160148
|
const re = se(ie, o.project), fe = i.firstLabel === "name" ? re : ie.id, Te = i.firstLabel === "name" ? ie.id : re, Ae = r(
|
|
160149
160149
|
"type"
|
|
160150
160150
|
/* Type */
|
|
160151
|
-
) && !i.omitTypesFor.includes(ie.type) ? ie.type : "", Ie = `${Ae ? Ae + ":" : ""}${fe}${Te ? ` (${Te})` : ""}`;
|
|
160151
|
+
) && !i.omitTypesFor.includes(ie.type) ? ie.type : "", Ie = `${Ae ? Ae + ": " : ""}${fe}${Te ? ` (${Te})` : ""}`;
|
|
160152
160152
|
g.push({
|
|
160153
160153
|
text: `- ${Ie}`,
|
|
160154
160154
|
indentLevel: a + 1
|
|
@@ -160160,7 +160160,7 @@ function Qt(o, p = {
|
|
|
160160
160160
|
), re = i.firstLabel === "name" ? ie : o.extends.id, fe = i.firstLabel === "name" ? o.extends.id : ie, Te = r(
|
|
160161
160161
|
"type"
|
|
160162
160162
|
/* Type */
|
|
160163
|
-
) && !i.omitTypesFor.includes(o.extends.type) ? o.extends.type : "", Ae = `${Te ? Te + ":" : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160163
|
+
) && !i.omitTypesFor.includes(o.extends.type) ? o.extends.type : "", Ae = `${Te ? Te + ": " : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160164
160164
|
g.push({
|
|
160165
160165
|
text: `Extends: ${Ae}`,
|
|
160166
160166
|
indentLevel: a
|
|
@@ -160312,7 +160312,7 @@ function Qt(o, p = {
|
|
|
160312
160312
|
), re = i.firstLabel === "name" ? ie : o.extends.id, fe = i.firstLabel === "name" ? o.extends.id : ie, Te = r(
|
|
160313
160313
|
"type"
|
|
160314
160314
|
/* Type */
|
|
160315
|
-
) && !i.omitTypesFor.includes(o.extends.type) ? o.extends.type : "", Ae = `${Te ? Te + ":" : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160315
|
+
) && !i.omitTypesFor.includes(o.extends.type) ? o.extends.type : "", Ae = `${Te ? Te + ": " : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160316
160316
|
g.push({
|
|
160317
160317
|
text: `Extends: ${Ae}`,
|
|
160318
160318
|
indentLevel: a
|
|
@@ -160435,7 +160435,7 @@ function Qt(o, p = {
|
|
|
160435
160435
|
const ie = se(ce, o.project), re = i.firstLabel === "name" ? ie : ce.id, fe = i.firstLabel === "name" ? ce.id : ie, Te = r(
|
|
160436
160436
|
"type"
|
|
160437
160437
|
/* Type */
|
|
160438
|
-
) && !i.omitTypesFor.includes(ce.type) ? ce.type : "", Ae = `${Te ? Te + ":" : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160438
|
+
) && !i.omitTypesFor.includes(ce.type) ? ce.type : "", Ae = `${Te ? Te + ": " : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160439
160439
|
g.push({
|
|
160440
160440
|
text: `- ${Ae}`,
|
|
160441
160441
|
indentLevel: a + 1
|
|
@@ -160450,7 +160450,7 @@ function Qt(o, p = {
|
|
|
160450
160450
|
), re = i.firstLabel === "name" ? ce : o.extends.id, fe = i.firstLabel === "name" ? o.extends.id : ce, Te = r(
|
|
160451
160451
|
"type"
|
|
160452
160452
|
/* Type */
|
|
160453
|
-
) && !i.omitTypesFor.includes(o.extends.type) ? o.extends.type : "", Ae = `${Te ? Te + ":" : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160453
|
+
) && !i.omitTypesFor.includes(o.extends.type) ? o.extends.type : "", Ae = `${Te ? Te + ": " : ""}${re}${fe ? ` (${fe})` : ""}`;
|
|
160454
160454
|
g.push({
|
|
160455
160455
|
text: `Extends: ${Ae} -- from: ${ie}`,
|
|
160456
160456
|
indentLevel: a
|
|
@@ -160500,7 +160500,7 @@ function Qt(o, p = {
|
|
|
160500
160500
|
const fe = se(re, o.project), Te = i.firstLabel === "name" ? fe : re.id, Ae = i.firstLabel === "name" ? re.id : fe, Ie = r(
|
|
160501
160501
|
"type"
|
|
160502
160502
|
/* Type */
|
|
160503
|
-
) && !i.omitTypesFor.includes(re.type) ? re.type : "", Ne = `${Ie ? Ie + ":" : ""}${Te}${Ae ? ` (${Ae})` : ""}`;
|
|
160503
|
+
) && !i.omitTypesFor.includes(re.type) ? re.type : "", Ne = `${Ie ? Ie + ": " : ""}${Te}${Ae ? ` (${Ae})` : ""}`;
|
|
160504
160504
|
g.push({
|
|
160505
160505
|
text: `- ${Ne}`,
|
|
160506
160506
|
indentLevel: a + 1
|
|
@@ -192905,7 +192905,7 @@ function Nu(o, p) {
|
|
|
192905
192905
|
);
|
|
192906
192906
|
return i ? i === p ? yr.includes(o.type) ? o : (ne.warn(
|
|
192907
192907
|
`getRootEntryPointScopeOwner is \`null\` because it was called with an entity that has the project as parent: ${o.id}`
|
|
192908
|
-
), null) : i.type === d.DefinitionEntity ? o : Nu(i, p) : (ne.warn(
|
|
192908
|
+
), null) : i.type === d.DefinitionEntity && i.parent.type === d.Project ? o.type === d.FunctionDeclaration ? o : null : Nu(i, p) : (ne.warn(
|
|
192909
192909
|
`getRootEntryPointScopeOwner is \`null\` because it was called with an entity that has no parent: ${o.id}`
|
|
192910
192910
|
), null);
|
|
192911
192911
|
}
|
|
@@ -193644,7 +193644,9 @@ function VZ(o) {
|
|
|
193644
193644
|
}
|
|
193645
193645
|
function SE(o) {
|
|
193646
193646
|
const p = [];
|
|
193647
|
-
return Gt.includes(o.type) ? (p.push(...o.outputs), o.throws && p.push(
|
|
193647
|
+
return Gt.includes(o.type) ? (p.push(...o.outputs), o.throws && p.push(
|
|
193648
|
+
o.throws
|
|
193649
|
+
), p) : Jt.includes(o.type) ? (p.push(
|
|
193648
193650
|
...o.inputs.flatMap((i) => [
|
|
193649
193651
|
i
|
|
193650
193652
|
])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6795",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|