@elyx-code/project-logic-tree 0.0.6811 → 0.0.6813
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 +224 -218
- package/dist/index.d.ts +20 -6
- package/dist/index.js +32898 -32766
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9518,7 +9518,6 @@ export declare enum BaseValueDescriptorIds {
|
|
|
9518
9518
|
ValuesAlreadyConnected = "values-already-connected",
|
|
9519
9519
|
CannotReadMoreThanOneValue = "cannot-read-more-than-one-value",
|
|
9520
9520
|
CannotReadValueFromChildren = "cannot-read-value-from-children",
|
|
9521
|
-
CannotWriteValueToChildren = "cannot-write-value-to-children",
|
|
9522
9521
|
CannotBeCalledByChildren = "cannot-be-called-by-children",
|
|
9523
9522
|
ExecutionsAlreadyConnected = "executions-already-connected",
|
|
9524
9523
|
DataTypesNotCompatible = "data-types-not-compatible",
|
|
@@ -9542,7 +9541,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
9542
9541
|
CannotInteractWithOutputInVariableWithInternalCalls = "cannot-interact-with-output-in-variable-with-internal-calls",
|
|
9543
9542
|
PropertyIsConstantItsValueCantBeReset = "property-is-constant-its-value-cant-be-reset",
|
|
9544
9543
|
CannotWriteValueOfGlobalVariableDeclaration = "cannot-write-value-of-global-variable-declaration",
|
|
9545
|
-
CannotReSetValueOfConstantVariable = "cannot-reset-value-of-constant-variable"
|
|
9544
|
+
CannotReSetValueOfConstantVariable = "cannot-reset-value-of-constant-variable",
|
|
9545
|
+
CannotConnectToOwnNode = "cannot-connect-to-own-node"
|
|
9546
9546
|
}
|
|
9547
9547
|
|
|
9548
9548
|
export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason | StateMutationErrorCode;
|
|
@@ -12451,6 +12451,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12451
12451
|
|
|
12452
12452
|
export declare type EntityActionPayload = PersistChangeSetEntityActionPayload;
|
|
12453
12453
|
|
|
12454
|
+
export declare function entityDisabledReasonToShortReadableError(code: CanvasEntityConnectionDisabledReason | string): string;
|
|
12455
|
+
|
|
12454
12456
|
export declare class EntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode> implements IEntityError<TCode> {
|
|
12455
12457
|
id: string;
|
|
12456
12458
|
message: string;
|
|
@@ -14447,9 +14449,11 @@ export declare enum BaseValueDescriptorIds {
|
|
|
14447
14449
|
* @param allKnownEntities
|
|
14448
14450
|
* @param seenEntities
|
|
14449
14451
|
* @param options
|
|
14450
|
-
* @returns {Record<EntityId,
|
|
14452
|
+
* @returns {Record<EntityId, UserManagedElementTransfer | UserManagedElement | UserManagedElementShallowTransfer | UserManagedEntityState>}
|
|
14451
14453
|
*/
|
|
14452
|
-
export declare function flattenNodeAsRecord(entity: DraggableElementTransfer | DraggableElement | DraggableElementShallowTransfer | CanvasEntityState, allKnownEntities: Record<EntityId,
|
|
14454
|
+
export declare function flattenNodeAsRecord(entity: DraggableElementTransfer | DraggableElement | DraggableElementShallowTransfer | CanvasEntityState, allKnownEntities: Record<EntityId, ElementTransfer | Element_2 | ElementShallowTransfer | EntityState> | {
|
|
14455
|
+
[EntityId: EntityId]: Element_2 | ElementTransfer | ElementShallowTransfer | EntityState;
|
|
14456
|
+
}, seenEntities?: Set<EntityId>, options?: {
|
|
14453
14457
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14454
14458
|
allBuiltInEntityIds?: Set<EntityId>;
|
|
14455
14459
|
entityMaps?: Map<string, string>;
|
|
@@ -15301,7 +15305,11 @@ export declare enum BaseValueDescriptorIds {
|
|
|
15301
15305
|
InmutableMetaProperties = "inmutable-meta-properties-explanation",
|
|
15302
15306
|
InmutableUpstreamProperties = "inmutable-upstream-properties-explanation",
|
|
15303
15307
|
DownstreamProperties = "downstream-properties-explanation",
|
|
15304
|
-
FullEditingProperties = "full-editing-properties-explanation"
|
|
15308
|
+
FullEditingProperties = "full-editing-properties-explanation",
|
|
15309
|
+
OutputMapsAutogeneration = "output-maps-autogeneration-explanation",
|
|
15310
|
+
AvailableOutputMapsForGivenParentCallableEntity = "available-output-maps-for-given-parent-callable-entity-explanation",
|
|
15311
|
+
InputMapsAutogeneration = "input-maps-autogeneration-explanation",
|
|
15312
|
+
AvailableInputMapsForGivenParentCallableEntity = "available-input-maps-for-given-parent-callable-entity-explanation"
|
|
15305
15313
|
}
|
|
15306
15314
|
|
|
15307
15315
|
/** lodash-like get(obj, path, defaultValue) with precise "missing" detection */
|
|
@@ -18552,7 +18560,9 @@ export declare enum BaseValueDescriptorIds {
|
|
|
18552
18560
|
|
|
18553
18561
|
export declare function getImplementedBuiltInEntity(entity: DefinitionEntityState): BuiltInBaseEntityState | null;
|
|
18554
18562
|
|
|
18555
|
-
export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: YieldOptions
|
|
18563
|
+
export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: YieldOptions & {
|
|
18564
|
+
allowWriteToFixableScope?: boolean;
|
|
18565
|
+
}): Promise<{
|
|
18556
18566
|
compatible: {
|
|
18557
18567
|
[id: string]: EntityState;
|
|
18558
18568
|
};
|
|
@@ -22172,6 +22182,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
22172
22182
|
|
|
22173
22183
|
export declare const INMUTABLE_UPSTREAM_PROPERTIES_EXPLANATION = "Some upstream relational properties of entities cannot be changed after the initial creation, like 'parent' for some entities, etc...\nThese are called inmutable upstream properties.";
|
|
22174
22184
|
|
|
22185
|
+
export declare const INPUT_MAPS_AUTOGENERATION_EXPLANATION = "Input-maps don't ever need to be explicitly created by the user. They are automatically generated to match the shape required by the parent callable entity. For example, a variable that contains an object will have one input-map for each property of the object. Or a function-declaration or operation will have one input-map for each property of the returned object, if any.";
|
|
22186
|
+
|
|
22175
22187
|
export declare enum InputMapDependencyField {
|
|
22176
22188
|
Declaration = "declaration",
|
|
22177
22189
|
DataTypeEntity = "data-type-entity"
|
|
@@ -29446,6 +29458,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
29446
29458
|
|
|
29447
29459
|
export declare const outEncDefault: ILiteralValueTransfer;
|
|
29448
29460
|
|
|
29461
|
+
export declare const OUTPUT_MAPS_AUTOGENERATION_EXPLANATION = "Output-maps don't ever need to be explicitly created by the user. They are automatically generated to match the shape required by the parent callable entity. For example, a variable that contains an object will have one output-map for each property of the object. Or a function-call or operation will have one output-map for each property of the returned object, if any. ONLY output-maps that have a 'parentRelationType' of 'error' can be added manually, to represent the value of a caught error, and as long as one doesn't already exist in the same parent callable node.";
|
|
29462
|
+
|
|
29449
29463
|
export declare enum OutputMapDependencyField {
|
|
29450
29464
|
Declaration = "declaration",
|
|
29451
29465
|
DataTypeEntity = "data-type-entity"
|