@elyx-code/project-logic-tree 0.0.6821 → 0.0.6823
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 +238 -210
- package/dist/index.d.ts +43 -1
- package/dist/index.js +26803 -26686
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10706,10 +10706,19 @@ export declare enum BaseValueDescriptorIds {
|
|
|
10706
10706
|
|
|
10707
10707
|
export declare const cryptoPBKDF2SaltEncodingDT: IDataTypeTransfer;
|
|
10708
10708
|
|
|
10709
|
+
/**
|
|
10710
|
+
* Type of entities that can be used/referenced in the 'entity' field of a data type.
|
|
10711
|
+
*/
|
|
10712
|
+
export declare const DATA_TYPE_ENTITY_OPTION_TYPES: EntityType[];
|
|
10713
|
+
|
|
10709
10714
|
export declare const DATA_TYPE_OPERATIONS: {
|
|
10710
10715
|
[key: string]: IActionDescriptorTransfer;
|
|
10711
10716
|
};
|
|
10712
10717
|
|
|
10718
|
+
export declare const DATA_TYPE_PARENT_TYPES: EntityType[];
|
|
10719
|
+
|
|
10720
|
+
export declare const DATA_TYPE_USER_MANAGED_PARENT_TYPES: EntityType[];
|
|
10721
|
+
|
|
10713
10722
|
declare class DataSource implements IDataSource, ISearchNode {
|
|
10714
10723
|
owner: SearchStatementState;
|
|
10715
10724
|
entity: DefinitionEntityState | null;
|
|
@@ -12459,6 +12468,11 @@ export declare enum BaseValueDescriptorIds {
|
|
|
12459
12468
|
|
|
12460
12469
|
export declare function enrichFromKnownEntities(entity: ElementTransfer | Element_2 | ElementShallowTransfer | IGenericReference | EntityId, allKnownEntities: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>): Element_2 | ElementTransfer | ElementShallowTransfer | null;
|
|
12461
12470
|
|
|
12471
|
+
/**
|
|
12472
|
+
* Entity types that have a 'dataType' field.
|
|
12473
|
+
*/
|
|
12474
|
+
export declare const ENTITIES_WITH_DATA_TYPES: EntityType[];
|
|
12475
|
+
|
|
12462
12476
|
export declare const ENTITIES_WITH_VALUES_EXPLANATION: string;
|
|
12463
12477
|
|
|
12464
12478
|
export declare function entitiesToUniqueCanvasEntities(entities: EntityState[], filterOut?: string[]): CanvasEntityState[];
|
|
@@ -15477,6 +15491,13 @@ export declare enum BaseValueDescriptorIds {
|
|
|
15477
15491
|
}[];
|
|
15478
15492
|
};
|
|
15479
15493
|
|
|
15494
|
+
export declare function getAllAvailableValueReaderEntities(project: ProjectState): {
|
|
15495
|
+
explanations: {
|
|
15496
|
+
id: GenerationExplanationIds.AllAvailableValueReaderEntities | GenerationExplanationIds.EntitiesWithValues;
|
|
15497
|
+
message: string;
|
|
15498
|
+
}[];
|
|
15499
|
+
};
|
|
15500
|
+
|
|
15480
15501
|
export declare function getAllBuiltInEntityIds(): Set<EntityId>;
|
|
15481
15502
|
|
|
15482
15503
|
export declare function getAllBuiltInEntityIdsAsync(options?: YieldOptions): Promise<Set<EntityId>>;
|
|
@@ -15489,6 +15510,13 @@ export declare enum BaseValueDescriptorIds {
|
|
|
15489
15510
|
|
|
15490
15511
|
export declare function getAllValueReadingChildren(entity: CanvasEntityState | InternalCallState): ValueReadingEntityState[];
|
|
15491
15512
|
|
|
15513
|
+
export declare function getAllValueWriterEntities(project: ProjectState): {
|
|
15514
|
+
explanations: {
|
|
15515
|
+
id: GenerationExplanationIds.AllAvailableValueWriterEntities | GenerationExplanationIds.EntitiesWithValues;
|
|
15516
|
+
message: string;
|
|
15517
|
+
}[];
|
|
15518
|
+
};
|
|
15519
|
+
|
|
15492
15520
|
export declare function getAllValueWritingChildren(entity: CanvasEntityState | InternalCallState): ValueWritingEntityState[];
|
|
15493
15521
|
|
|
15494
15522
|
export declare function getAllValueWritingEntities(project: ProjectState, options?: YieldOptions): Promise<ValueWritingEntityState[]>;
|
|
@@ -15497,6 +15525,20 @@ export declare enum BaseValueDescriptorIds {
|
|
|
15497
15525
|
|
|
15498
15526
|
export declare function getAllVariablesInScope(project: ProjectState, variableDeclarations: VariableDeclarationState[], targetEntity?: UserManagedEntityState): VariableDeclarationState[];
|
|
15499
15527
|
|
|
15528
|
+
export declare function getAvailableValueReadersForGivenWritter(project: ProjectState, valueWriterEntity: ValueWritingEntityState): Promise<{
|
|
15529
|
+
explanations: {
|
|
15530
|
+
id: GenerationExplanationIds.AvailableValueReadersForGivenWriter | GenerationExplanationIds.EntitiesWithValues;
|
|
15531
|
+
message: string;
|
|
15532
|
+
}[];
|
|
15533
|
+
}>;
|
|
15534
|
+
|
|
15535
|
+
export declare function getAvailableValueWritersForGivenReader(project: ProjectState, valueReaderEntity: ValueReadingEntityState): Promise<{
|
|
15536
|
+
explanations: {
|
|
15537
|
+
id: GenerationExplanationIds.AvailableValueWritersForGivenReader | GenerationExplanationIds.EntitiesWithValues;
|
|
15538
|
+
message: string;
|
|
15539
|
+
}[];
|
|
15540
|
+
}>;
|
|
15541
|
+
|
|
15500
15542
|
export declare function getBaseBuiltInEntities(entity: DefinitionEntityState | BuiltInBaseEntityState): BuiltInBaseEntityState[];
|
|
15501
15543
|
|
|
15502
15544
|
export declare function getBaseBuiltInNameFromIntegrationName(integrationName: ExternalIntegrationNames): BaseEntityNames | null;
|
|
@@ -30535,7 +30577,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
30535
30577
|
|
|
30536
30578
|
export declare const PROPERTY_IMPLEMENTATION_AND_EXTENSION_AUTO_ENRICHMENT_EXPLANATION = "When a 'property' entity is added to a 'definition-entity', the system will automatically enrich the property based on the parent definition-entity's implemented and extended entities.\nThis means that if a property is required, the parent 'definition-entity' will have auto-generated it. If a manually added property can fit into a parent, it will be auto-enriched with any required 'implementation' or 'extension' references, and the data-type will be recalculated or constrained based on said extensions and implementations.\nThis means that manually adding an 'extends' field to a new property is not necessary, and only specific, non-required 'implements' references need to be added manually if needed.";
|
|
30537
30579
|
|
|
30538
|
-
export declare const PROPERTY_NOT_VALUE_READER_WRITER_EXPLANATION = "A property entity, is neither a value reading, or a value writting entity, but they are often confused with one.\
|
|
30580
|
+
export declare const PROPERTY_NOT_VALUE_READER_WRITER_EXPLANATION = "A property entity, is neither a value reading, or a value writting entity, but they are often confused with one.\nBecause a 'property' can have a default value.\nThe 'property' entity only represents the data field in the declaration, and it can't write or read values.\nWhen a 'definition-entity' is instantiated as a variable, any writes or reads to its properties are done through 'input-map's and 'output-map's.";
|
|
30539
30581
|
|
|
30540
30582
|
export declare enum PropertyDependencyField {
|
|
30541
30583
|
PropertyImplements = "property-implements-field",
|