@elyx-code/project-logic-tree 0.0.6722 → 0.0.6724
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 +177 -177
- package/dist/index.d.ts +64 -6
- package/dist/index.js +22483 -22403
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9771,13 +9771,18 @@ export declare const clampToRangeOperation: IActionDescriptorTransfer;
|
|
|
9771
9771
|
export declare function cloneProject(project: ProjectState, { enrich, shallowErrors, }?: {
|
|
9772
9772
|
enrich: boolean;
|
|
9773
9773
|
shallowErrors: boolean;
|
|
9774
|
-
}, parentContext?: IProjectInstanceParentContext):
|
|
9774
|
+
}, parentContext?: IProjectInstanceParentContext): {
|
|
9775
|
+
project: ProjectState;
|
|
9776
|
+
maps: Map<EntityId, EntityId>;
|
|
9777
|
+
};
|
|
9775
9778
|
|
|
9776
|
-
export declare function cloneProjectAsync(project: ProjectState, { enrich, shallowErrors, ...other }?: {
|
|
9779
|
+
export declare function cloneProjectAsync(project: ProjectState, { enrich, shallowErrors, ...other }?: YieldOptions & {
|
|
9777
9780
|
enrich: boolean;
|
|
9778
9781
|
shallowErrors: boolean;
|
|
9779
|
-
|
|
9780
|
-
|
|
9782
|
+
}, parentContext?: IProjectInstanceParentContext): Promise<{
|
|
9783
|
+
project: ProjectState;
|
|
9784
|
+
maps: Map<EntityId, EntityId>;
|
|
9785
|
+
}>;
|
|
9781
9786
|
|
|
9782
9787
|
export declare class CloudHostedCodebaseInfrastructureResource extends InfrastructureResource implements ICloudHostedCodebaseInfrastructureResource {
|
|
9783
9788
|
resourceType: InfrastructureResourceType.CloudHostedCodebase;
|
|
@@ -13943,6 +13948,7 @@ export declare function flattenActionDescriptor(entity: IActionDescriptor | IAct
|
|
|
13943
13948
|
|
|
13944
13949
|
export declare function flattenActionDescriptorAsync(entity: IActionDescriptor | IActionDescriptorTransfer | IActionDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13945
13950
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13951
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
13946
13952
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13947
13953
|
|
|
13948
13954
|
export declare function flattenArgumentDeclaration(entity: IArgumentDeclaration | IArgumentDeclarationTransfer | IArgumentDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -13951,6 +13957,7 @@ export declare function flattenArgumentDeclaration(entity: IArgumentDeclaration
|
|
|
13951
13957
|
|
|
13952
13958
|
export declare function flattenArgumentDeclarationAsync(entity: IArgumentDeclaration | IArgumentDeclarationTransfer | IArgumentDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13953
13959
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13960
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
13954
13961
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13955
13962
|
|
|
13956
13963
|
declare function flattenBinaryExprComparisonsToWhereStatements(whereExpr: BinaryExpr, parent: WhereStatement, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, debug?: boolean): {
|
|
@@ -13964,6 +13971,7 @@ export declare function flattenBreakStatement(entity: IBreakStatement | IBreakSt
|
|
|
13964
13971
|
|
|
13965
13972
|
export declare function flattenBreakStatementAsync(entity: IBreakStatement | IBreakStatementTransfer | IBreakStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13966
13973
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13974
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
13967
13975
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13968
13976
|
|
|
13969
13977
|
export declare function flattenBuiltInBaseEntity(entity: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IBuiltInBaseEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -13972,6 +13980,7 @@ export declare function flattenBuiltInBaseEntity(entity: IBuiltInBaseEntity | IB
|
|
|
13972
13980
|
|
|
13973
13981
|
export declare function flattenBuiltInBaseEntityAsync(entity: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IBuiltInBaseEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13974
13982
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13983
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
13975
13984
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13976
13985
|
|
|
13977
13986
|
/**
|
|
@@ -14005,6 +14014,7 @@ export declare function flattenCondition(entity: ICondition | IConditionTransfer
|
|
|
14005
14014
|
|
|
14006
14015
|
export declare function flattenConditionAsync(entity: ICondition | IConditionTransfer | IConditionShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14007
14016
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14017
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14008
14018
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14009
14019
|
|
|
14010
14020
|
export declare function flattenContinueStatement(entity: IContinueStatement | IContinueStatementTransfer | IContinueStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14013,6 +14023,7 @@ export declare function flattenContinueStatement(entity: IContinueStatement | IC
|
|
|
14013
14023
|
|
|
14014
14024
|
export declare function flattenContinueStatementAsync(entity: IContinueStatement | IContinueStatementTransfer | IContinueStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14015
14025
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14026
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14016
14027
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14017
14028
|
|
|
14018
14029
|
export declare function flattenDataType(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14021,6 +14032,7 @@ export declare function flattenDataType(entity: IDataType | IDataTypeTransfer |
|
|
|
14021
14032
|
|
|
14022
14033
|
export declare function flattenDataTypeAsync(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14023
14034
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14035
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14024
14036
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14025
14037
|
|
|
14026
14038
|
export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14029,6 +14041,7 @@ export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDef
|
|
|
14029
14041
|
|
|
14030
14042
|
export declare function flattenDefinitionEntityAsync(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14031
14043
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14044
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14032
14045
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14033
14046
|
|
|
14034
14047
|
export declare function flattenDefinitionEntityExtensionAndImplementationTypes(entity: DefinitionEntityState): (BaseEntityNames | EntityType.DefinitionEntity)[];
|
|
@@ -14052,6 +14065,15 @@ export declare function flattenDefinitionEntityImplementionTypes(entity: Definit
|
|
|
14052
14065
|
*/
|
|
14053
14066
|
export declare function flattenDerivedCanvasEntities(entity: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
|
|
14054
14067
|
|
|
14068
|
+
/**
|
|
14069
|
+
* Given an entity from the canvas, it returns a flat list of entities
|
|
14070
|
+
* representing the chain of entities on the right of the given one, that are related to it
|
|
14071
|
+
* Including relations of its relations, recursively
|
|
14072
|
+
*
|
|
14073
|
+
* @param entity The entity to flatten
|
|
14074
|
+
* @param seenEntities A set of already seen entities to avoid infinite loops
|
|
14075
|
+
* @returns {CanvasEntityState[]} A flat list of derived canvas entities
|
|
14076
|
+
*/
|
|
14055
14077
|
/**
|
|
14056
14078
|
* Given an entity from the canvas, it returns a flat list of entities
|
|
14057
14079
|
* representing the chain of entities on the right of the given one, that are related to it
|
|
@@ -14084,6 +14106,7 @@ export declare function flattenEntity(entity: Element_2 | ElementTransfer | Elem
|
|
|
14084
14106
|
export declare function flattenEntityAsync(entity: Element_2 | ElementTransfer | ElementShallowTransfer | Reference, seenEntities?: Set<EntityId>, options?: {
|
|
14085
14107
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14086
14108
|
diggestedBuiltInBaseEntitiesIds?: Set<EntityId>;
|
|
14109
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14087
14110
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14088
14111
|
|
|
14089
14112
|
export declare function flattenFunctionCall(entity: IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14092,6 +14115,7 @@ export declare function flattenFunctionCall(entity: IFunctionCall | IFunctionCal
|
|
|
14092
14115
|
|
|
14093
14116
|
export declare function flattenFunctionCallAsync(entity: IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14094
14117
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14118
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14095
14119
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14096
14120
|
|
|
14097
14121
|
export declare function flattenFunctionDeclaration(entity: IFunctionDeclaration | IFunctionDeclarationTransfer | IFunctionDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14100,6 +14124,7 @@ export declare function flattenFunctionDeclaration(entity: IFunctionDeclaration
|
|
|
14100
14124
|
|
|
14101
14125
|
export declare function flattenFunctionDeclarationAsync(entity: IFunctionDeclaration | IFunctionDeclarationTransfer | IFunctionDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14102
14126
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14127
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14103
14128
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14104
14129
|
|
|
14105
14130
|
export declare function flattenGlobalEvent(entity: IGlobalEvent | IGlobalEventTransfer | IGlobalEventShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14108,6 +14133,7 @@ export declare function flattenGlobalEvent(entity: IGlobalEvent | IGlobalEventTr
|
|
|
14108
14133
|
|
|
14109
14134
|
export declare function flattenGlobalEventAsync(entity: IGlobalEvent | IGlobalEventTransfer | IGlobalEventShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14110
14135
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14136
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14111
14137
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14112
14138
|
|
|
14113
14139
|
export declare function flattenInputMap(entity: IInputMap | IInputMapTransfer | IInputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14116,6 +14142,7 @@ export declare function flattenInputMap(entity: IInputMap | IInputMapTransfer |
|
|
|
14116
14142
|
|
|
14117
14143
|
export declare function flattenInputMapAsync(entity: IInputMap | IInputMapTransfer | IInputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14118
14144
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14145
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14119
14146
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14120
14147
|
|
|
14121
14148
|
export declare function flattenInstalledProject(entity: IInstalledProject | IInstalledProjectTransfer | IInstalledProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14124,6 +14151,7 @@ export declare function flattenInstalledProject(entity: IInstalledProject | IIns
|
|
|
14124
14151
|
|
|
14125
14152
|
export declare function flattenInstalledProjectAsync(entity: IInstalledProject | IInstalledProjectTransfer | IInstalledProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14126
14153
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14154
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14127
14155
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14128
14156
|
|
|
14129
14157
|
export declare function flattenInternalCall(entity: IInternalCall | IInternalCallTransfer | IInternalCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14132,6 +14160,7 @@ export declare function flattenInternalCall(entity: IInternalCall | IInternalCal
|
|
|
14132
14160
|
|
|
14133
14161
|
export declare function flattenInternalCallAsync(entity: IInternalCall | IInternalCallTransfer | IInternalCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14134
14162
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14163
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14135
14164
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14136
14165
|
|
|
14137
14166
|
declare function flattenJoinExprIntoAggregationStatementsSync(joinExpr: JoinExpr, parentQuery: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
@@ -14152,6 +14181,7 @@ export declare function flattenLiteralValue(entity: ILiteralValue | ILiteralValu
|
|
|
14152
14181
|
|
|
14153
14182
|
export declare function flattenLiteralValueAsync(entity: ILiteralValue | ILiteralValueTransfer | ILiteralValueShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14154
14183
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14184
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14155
14185
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14156
14186
|
|
|
14157
14187
|
export declare function flattenLoop(entity: ILoop | ILoopTransfer | ILoopShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14160,6 +14190,7 @@ export declare function flattenLoop(entity: ILoop | ILoopTransfer | ILoopShallow
|
|
|
14160
14190
|
|
|
14161
14191
|
export declare function flattenLoopAsync(entity: ILoop | ILoopTransfer | ILoopShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14162
14192
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14193
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14163
14194
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14164
14195
|
|
|
14165
14196
|
export declare function flattenOneLevel(list: unknown): any[];
|
|
@@ -14170,6 +14201,7 @@ export declare function flattenOperation(entity: IOperation | IOperationTransfer
|
|
|
14170
14201
|
|
|
14171
14202
|
export declare function flattenOperationAsync(entity: IOperation | IOperationTransfer | IOperationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14172
14203
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14204
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14173
14205
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14174
14206
|
|
|
14175
14207
|
export declare function flattenOutputMap(entity: IOutputMap | IOutputMapTransfer | IOutputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14178,6 +14210,7 @@ export declare function flattenOutputMap(entity: IOutputMap | IOutputMapTransfer
|
|
|
14178
14210
|
|
|
14179
14211
|
export declare function flattenOutputMapAsync(entity: IOutputMap | IOutputMapTransfer | IOutputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14180
14212
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14213
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14181
14214
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14182
14215
|
|
|
14183
14216
|
export declare function flattenPrimitiveEntity(entity: IPrimitiveEntity | IPrimitiveEntityTransfer | IPrimitiveEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14186,6 +14219,7 @@ export declare function flattenPrimitiveEntity(entity: IPrimitiveEntity | IPrimi
|
|
|
14186
14219
|
|
|
14187
14220
|
export declare function flattenPrimitiveEntityAsync(entity: IPrimitiveEntity | IPrimitiveEntityTransfer | IPrimitiveEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14188
14221
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14222
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14189
14223
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14190
14224
|
|
|
14191
14225
|
export declare function flattenProject(entity: IProject | IProjectTransfer | IProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14194,6 +14228,7 @@ export declare function flattenProject(entity: IProject | IProjectTransfer | IPr
|
|
|
14194
14228
|
|
|
14195
14229
|
export declare function flattenProjectAsync(entity: IProject | IProjectTransfer | IProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14196
14230
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14231
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14197
14232
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14198
14233
|
|
|
14199
14234
|
export declare function flattenProjectElements(project: ProjectState): EntityState[];
|
|
@@ -14204,6 +14239,7 @@ export declare function flattenProperty(entity: IProperty | IPropertyTransfer |
|
|
|
14204
14239
|
|
|
14205
14240
|
export declare function flattenPropertyAsync(entity: IProperty | IPropertyTransfer | IPropertyShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14206
14241
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14242
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14207
14243
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14208
14244
|
|
|
14209
14245
|
export declare function flattenRelatedCallableElementsOnTheRight(entity: CanvasEntityState | ProjectState | InternalCallState, respectCollapse?: boolean): CallableEntityState[];
|
|
@@ -14224,6 +14260,7 @@ export declare function flattenReturnStatement(entity: IReturnStatement | IRetur
|
|
|
14224
14260
|
|
|
14225
14261
|
export declare function flattenReturnStatementAsync(entity: IReturnStatement | IReturnStatementTransfer | IReturnStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14226
14262
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14263
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14227
14264
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14228
14265
|
|
|
14229
14266
|
export declare function flattenSearch(entity: ISearch | ISearchTransfer | ISearchShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14232,6 +14269,7 @@ export declare function flattenSearch(entity: ISearch | ISearchTransfer | ISearc
|
|
|
14232
14269
|
|
|
14233
14270
|
export declare function flattenSearchAsync(entity: ISearch | ISearchTransfer | ISearchShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14234
14271
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14272
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14235
14273
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14236
14274
|
|
|
14237
14275
|
export declare function flattenValueDescriptor(entity: IValueDescriptor | IValueDescriptorTransfer | IValueDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14240,6 +14278,7 @@ export declare function flattenValueDescriptor(entity: IValueDescriptor | IValue
|
|
|
14240
14278
|
|
|
14241
14279
|
export declare function flattenValueDescriptorAsync(entity: IValueDescriptor | IValueDescriptorTransfer | IValueDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14242
14280
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14281
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14243
14282
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14244
14283
|
|
|
14245
14284
|
export declare function flattenVariableDeclaration(entity: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14248,6 +14287,7 @@ export declare function flattenVariableDeclaration(entity: IVariableDeclaration
|
|
|
14248
14287
|
|
|
14249
14288
|
export declare function flattenVariableDeclarationAsync(entity: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14250
14289
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14290
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14251
14291
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14252
14292
|
|
|
14253
14293
|
export declare function flattenVariableInstance(entity: IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
@@ -14256,6 +14296,7 @@ export declare function flattenVariableInstance(entity: IVariableInstance | IVar
|
|
|
14256
14296
|
|
|
14257
14297
|
export declare function flattenVariableInstanceAsync(entity: IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14258
14298
|
ignoreBuiltInBaseEntities?: boolean;
|
|
14299
|
+
allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
14259
14300
|
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14260
14301
|
|
|
14261
14302
|
export declare function flattenVariableReads(variable: VariableState, seenVariables?: Set<string>): VariableState[];
|
|
@@ -18713,6 +18754,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
18713
18754
|
ignoreBuiltInBaseEntities?: boolean;
|
|
18714
18755
|
allBuiltInEntityIds?: Set<EntityId>;
|
|
18715
18756
|
entityMaps?: Map<string, string>;
|
|
18757
|
+
debug?: boolean;
|
|
18716
18758
|
}): {
|
|
18717
18759
|
upstream: Record<EntityId, EntityVersion>;
|
|
18718
18760
|
downstream: Record<EntityId, EntityVersion>;
|
|
@@ -21622,9 +21664,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21622
21664
|
allBuiltInIds?: Set<EntityId>;
|
|
21623
21665
|
}, parentContext?: IProjectInstanceParentContext): ProjectState;
|
|
21624
21666
|
|
|
21625
|
-
export declare function initBaseProjectEntityAsync(data: IProjectTransfer, options?: {
|
|
21667
|
+
export declare function initBaseProjectEntityAsync(data: IProjectTransfer, options?: YieldOptions & {
|
|
21626
21668
|
shallowErrors?: boolean;
|
|
21627
|
-
yieldEvery?: number;
|
|
21628
21669
|
allBuiltInIds?: Set<EntityId>;
|
|
21629
21670
|
}, parentContext?: IProjectInstanceParentContext): Promise<ProjectState>;
|
|
21630
21671
|
|
|
@@ -24643,6 +24684,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24643
24684
|
|
|
24644
24685
|
export declare function mapRange(vRaw: unknown, inMinRaw: unknown, inMaxRaw: unknown, outMinRaw: unknown, outMaxRaw: unknown): number;
|
|
24645
24686
|
|
|
24687
|
+
/**
|
|
24688
|
+
* Maps the keys of a record using a provided map of entity IDs.
|
|
24689
|
+
*
|
|
24690
|
+
* @param {Record< EntityId, Element | ElementTransfer | ElementShallowTransfer>} record - The record to be mapped.
|
|
24691
|
+
* @param {Map<EntityId, EntityId>} entityIdMaps - A map containing the entity ID mappings.
|
|
24692
|
+
* @returns
|
|
24693
|
+
*/
|
|
24646
24694
|
export declare function mapRecord(record: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer> | undefined, entityIdMaps: Map<EntityId, EntityId>): Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
24647
24695
|
|
|
24648
24696
|
export declare function maxOf(inputs: ISODateString[]): ISODateString;
|
|
@@ -29515,6 +29563,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29515
29563
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ProjectState>;
|
|
29516
29564
|
addSelfToProject(_changeSet: ChangeSet | null): IChangeSet<ProjectState>;
|
|
29517
29565
|
get instancesList(): EntityState[];
|
|
29566
|
+
get builtInInstancesList(): EntityState[];
|
|
29518
29567
|
isOperationDeclaration(entity: ActionDescriptorState): boolean;
|
|
29519
29568
|
isGlobalEventActionDescriptor(entity: ActionDescriptorState): boolean;
|
|
29520
29569
|
isLoopDeclaration(entity: ActionDescriptorState): boolean;
|
|
@@ -29631,6 +29680,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29631
29680
|
size: number;
|
|
29632
29681
|
record: Record<EntityId, UserManagedElementShallowTransfer>;
|
|
29633
29682
|
};
|
|
29683
|
+
toFullProjectTransferAsync(options?: YieldOptions & {
|
|
29684
|
+
seenEntityMaps?: Map<EntityId, EntityId>;
|
|
29685
|
+
}): Promise<{
|
|
29686
|
+
order: EntityId[];
|
|
29687
|
+
size: number;
|
|
29688
|
+
record: Record<EntityId, UserManagedElementShallowTransfer>;
|
|
29689
|
+
}>;
|
|
29634
29690
|
}
|
|
29635
29691
|
|
|
29636
29692
|
export declare enum ProjectStateEvents {
|
|
@@ -30594,6 +30650,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30594
30650
|
|
|
30595
30651
|
export declare const roundToUnitDT: IDataTypeTransfer;
|
|
30596
30652
|
|
|
30653
|
+
export declare function safeResolveEntityName(entity: EntityState, project: ProjectState, fallback?: string): string;
|
|
30654
|
+
|
|
30597
30655
|
export declare const saltEncDefault: ILiteralValueTransfer;
|
|
30598
30656
|
|
|
30599
30657
|
declare function sanitizeQuery(query: string): string;
|