@elyx-code/project-logic-tree 0.0.6488 → 0.0.6490

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.ts CHANGED
@@ -201,9 +201,9 @@ export declare function afterLiteralValueChangeSideEffects(newValue: LiteralValu
201
201
 
202
202
  export declare function afterLiteralValueDeleteSideEffects(entity: EntityWithValueState, project: ProjectState, storage: ChangeSet | IValueStoreClient): ChangeSet | null;
203
203
 
204
- export declare function aggregateVariableInputsNextValues(objectData: UntypedObjectValue, entity: VariableDeclarationState, context: IValueResolutionContext): UntypedObjectValue;
204
+ export declare function aggregateVariableInputsNextValues(objectData: UntypedObjectValue, entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): UntypedObjectValue;
205
205
 
206
- export declare function aggregateVariableInputsValues(objectData: UntypedObjectValue, entity: VariableDeclarationState, context: IValueResolutionContext): UntypedObjectValue;
206
+ export declare function aggregateVariableInputsValues(objectData: UntypedObjectValue, entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): UntypedObjectValue;
207
207
 
208
208
  declare class AggregationStatement implements ISearchNode {
209
209
  owner: SearchStatementState;
@@ -2873,7 +2873,7 @@ export declare class DefaultEditorContext extends ExtensionContextBase<Extension
2873
2873
  resolveInitialChildrenPositions(parent: CanvasEntityState | null, children: CanvasEntityState[], changeSet: ChangeSet | null): CanvasEntityState[];
2874
2874
  publish(): Promise<void>;
2875
2875
  loadActivePublication(publicationId: string): Promise<IPublication>;
2876
- requestActiveDynamicValue(valueOwner: EntityWithValueState): IDynamicValue | null;
2876
+ requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
2877
2877
  }
2878
2878
 
2879
2879
  export declare type DefaultExtensionContext = DefaultEditorContext | DefaultProjectLogicContext;
@@ -3008,7 +3008,7 @@ export declare class DefaultProjectLogicContext extends ExtensionContextBase<Ext
3008
3008
  getLoops(): LoopState[];
3009
3009
  getSearches(): SearchState[];
3010
3010
  getBuiltInPersistedEntity(): BuiltInBaseEntityState | null;
3011
- requestActiveDynamicValue(valueOwner: EntityWithValueState): IDynamicValue | null;
3011
+ requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
3012
3012
  undo(): IProjectVersionTransitionConfig;
3013
3013
  redo(): IProjectVersionTransitionConfig;
3014
3014
  applyExternalChangeSet(request: PersistChangeSetEntityActionRequestPayload): ChangeSet;
@@ -11286,7 +11286,7 @@ export declare interface IProjectGenerationTarget extends IProject_base {
11286
11286
  }
11287
11287
 
11288
11288
  export declare interface IProjectInstanceParentContext extends IProjectStaticParentContext {
11289
- requestActiveDynamicValue: (valueOwner: EntityWithValueState) => IDynamicValue | null;
11289
+ requestActiveDynamicValue: (valueOwner: EntityWithValueState, onlyDefault?: boolean) => IDynamicValue | null;
11290
11290
  events: Events;
11291
11291
  }
11292
11292
 
@@ -14046,7 +14046,7 @@ export declare class ProjectState extends VersionedState implements IProject, Us
14046
14046
  getSearches(): SearchState[];
14047
14047
  attachOrphanReferences(): ProjectState;
14048
14048
  getBuiltInPersistedEntity(): BuiltInBaseEntityState | null;
14049
- requestActiveDynamicValue(valueOwner: EntityWithValueState): IDynamicValue | null;
14049
+ requestActiveDynamicValue(valueOwner: EntityWithValueState, onlyDefault?: boolean): IDynamicValue | null;
14050
14050
  requestModule<T = any>(moduleId: string): T | null;
14051
14051
  undo(): IProjectVersionTransitionConfig;
14052
14052
  redo(): IProjectVersionTransitionConfig;
@@ -14472,7 +14472,7 @@ export declare const READABLE_ENTITY_TYPES: {
14472
14472
  };
14473
14473
  };
14474
14474
 
14475
- export declare function readValueFromWritter(entity: ValueReadingEntityState, context: IValueResolutionContext): IDynamicValue | null;
14475
+ export declare function readValueFromWritter(entity: ValueReadingEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14476
14476
 
14477
14477
  export declare function rebaseStack<T = any>(undoableStackValueIndex: number, history: T[], newItem: T): number;
14478
14478
 
@@ -14557,7 +14557,7 @@ export declare function resolveAllParallelAncestorConditionCallersForEntity(enti
14557
14557
 
14558
14558
  declare function resolveAreThereConflictingColumnsInSelectAll(allColumnsSelector: AllColumnsSelector | null): boolean;
14559
14559
 
14560
- export declare function resolveArgumentDeclarationValue(entity: ArgumentDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
14560
+ export declare function resolveArgumentDeclarationValue(entity: ArgumentDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14561
14561
 
14562
14562
  export declare function resolveBaseEntityName(baseEntities: BaseEntityNames[]): string;
14563
14563
 
@@ -14606,23 +14606,23 @@ export declare function resolveFirstWritesSecond(first: ValueWritingEntityState,
14606
14606
 
14607
14607
  export declare function resolveFunctionDeclarationCardSubheader(entity: FunctionDeclarationState): string;
14608
14608
 
14609
- export declare function resolveInputMapNextStandaloneValue(entity: InputMapState, context: IValueResolutionContext): IDynamicValue | null;
14609
+ export declare function resolveInputMapNextStandaloneValue(entity: InputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14610
14610
 
14611
- export declare function resolveInputMapNextValue(entity: InputMapState, context: IValueResolutionContext): IDynamicValue | null;
14611
+ export declare function resolveInputMapNextValue(entity: InputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14612
14612
 
14613
- export declare function resolveInputMapNextValueAsPropertyOfAnObject(entity: InputMapState, context: IValueResolutionContext): IDynamicValue | null;
14613
+ export declare function resolveInputMapNextValueAsPropertyOfAnObject(entity: InputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14614
14614
 
14615
- export declare function resolveInputMapStandaloneValue(entity: InputMapState, context: IValueResolutionContext): IDynamicValue | null;
14615
+ export declare function resolveInputMapStandaloneValue(entity: InputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14616
14616
 
14617
- export declare function resolveInputMapValue(entity: InputMapState, context: IValueResolutionContext): IDynamicValue | null;
14617
+ export declare function resolveInputMapValue(entity: InputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14618
14618
 
14619
- export declare function resolveInputMapValueAsPropertyOfAnObject(entity: InputMapState, context: IValueResolutionContext): IDynamicValue | null;
14619
+ export declare function resolveInputMapValueAsPropertyOfAnObject(entity: InputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14620
14620
 
14621
14621
  export declare function resolveMethodCardSubheader(entity: FunctionDeclarationState): string;
14622
14622
 
14623
- export declare function resolveNextValue(entity: ValueReadingEntityState, context: IValueResolutionContext): IDynamicValue | null;
14623
+ export declare function resolveNextValue(entity: ValueReadingEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14624
14624
 
14625
- export declare function resolveOutputMapValue(entity: OutputMapState, context: IValueResolutionContext): IDynamicValue | null;
14625
+ export declare function resolveOutputMapValue(entity: OutputMapState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14626
14626
 
14627
14627
  export declare function resolvePersistedDefinitionEntityDatabaseEntity(entity: DefinitionEntityState): DefinitionEntityState | null;
14628
14628
 
@@ -14635,33 +14635,33 @@ export declare function resolvePrimitiveEntityName(primitiveEntity: {
14635
14635
  [key: string]: any;
14636
14636
  }): string;
14637
14637
 
14638
- export declare function resolvePropertyValue(entity: PropertyState, context: IValueResolutionContext): IDynamicValue | null;
14638
+ export declare function resolvePropertyValue(entity: PropertyState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14639
14639
 
14640
14640
  export declare function resolvePublicationStepStatusFromType(eventType: PublicationStepStatus): string;
14641
14641
 
14642
14642
  export declare function resolveResourceNameFromType(resourceType: InfrastructureResourceType): string;
14643
14643
 
14644
- export declare function resolveReturnDeclarationValue(entity: ReturnDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
14644
+ export declare function resolveReturnDeclarationValue(entity: ReturnDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14645
14645
 
14646
14646
  export declare function resolveSearchName(search: SearchState): string;
14647
14647
 
14648
- export declare function resolveValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState, context: IValueResolutionContext): IDynamicValue | null;
14648
+ export declare function resolveValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState, context: IValueResolutionContext, onlyDefaults?: boolean): IDynamicValue | null;
14649
14649
 
14650
- export declare function resolveValueDescriptorValue(entity: ValueDescriptorState, context: IValueResolutionContext): IDynamicValue | null;
14650
+ export declare function resolveValueDescriptorValue(entity: ValueDescriptorState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14651
14651
 
14652
- export declare function resolveVarDeclarationAggregateObjectValue(entity: VariableDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
14652
+ export declare function resolveVarDeclarationAggregateObjectValue(entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14653
14653
 
14654
- export declare function resolveVarDeclarationNextAggregateObjectValue(entity: VariableDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
14654
+ export declare function resolveVarDeclarationNextAggregateObjectValue(entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14655
14655
 
14656
- export declare function resolveVarDeclarationNextValue(entity: VariableDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
14656
+ export declare function resolveVarDeclarationNextValue(entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14657
14657
 
14658
- export declare function resolveVarDeclarationValue(entity: VariableDeclarationState, context: IValueResolutionContext): IDynamicValue | null;
14658
+ export declare function resolveVarDeclarationValue(entity: VariableDeclarationState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14659
14659
 
14660
14660
  export declare function resolveVariableScope(variable: VariableState): 'global-declaration' | 'global-instance' | 'local-declaration' | 'local-instance';
14661
14661
 
14662
- export declare function resolveVarInstanceNextValue(entity: VariableInstanceState, context: IValueResolutionContext): IDynamicValue | null;
14662
+ export declare function resolveVarInstanceNextValue(entity: VariableInstanceState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14663
14663
 
14664
- export declare function resolveVarInstanceValue(entity: VariableInstanceState, context: IValueResolutionContext): IDynamicValue | null;
14664
+ export declare function resolveVarInstanceValue(entity: VariableInstanceState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
14665
14665
 
14666
14666
  export declare const RETURN_STATEMENT_RETURN_DECLARATIONS_EXPLANATION = "Return statements need to be identical inside the same scope. For example if a 'return-statement' belongs to a function, with multiple branches of logic, leading to multiple 'return-statement' entities, all of them need to have the exact same amount of 'return-declaration' entities, sharing the same name and an equivalent 'data-type' entity.\nFurthermore, some 'function-declarations' and all 'global-events' might be implementing a base 'action-descriptor' entity, which defines exactly the shape and number of the return declarations.";
14667
14667