@elyx-code/project-logic-tree 0.0.6375 → 0.0.6376

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
@@ -1773,7 +1773,7 @@ export declare function cloneProject(project: ProjectState, { enrich, }?: {
1773
1773
 
1774
1774
  declare class ColumnRef implements ISearchNode {
1775
1775
  owner: SearchStatementState;
1776
- source: ColumnRef | PropertyState | SearchStatementLiteralValue | null;
1776
+ source: ColumnRef | PropertyState | ValueRef | SearchStatementLiteralValue | null;
1777
1777
  parent: DataSource | null;
1778
1778
  _id: string;
1779
1779
  _as: string | null;
@@ -3664,7 +3664,7 @@ export declare function fromPublishingDisabledCodeToReadable(code: PUBLISHING_DI
3664
3664
 
3665
3665
  declare function fromSelectClauseColumnsToColumnMappings(selectClause: SelectClause, objectName?: string): IShallowColumnMapping[];
3666
3666
 
3667
- declare function fromSelectClauseToLiteralValueSelections(selectClause: SelectClause, state: SearchStatementState, _debug?: boolean): ColumnRef[];
3667
+ declare function fromSelectClauseToLiteralValueSelections(selectClause: SelectClause, state: SearchStatementState, project: ProjectState, _debug?: boolean): ColumnRef[];
3668
3668
 
3669
3669
  declare function fromSqlOperatorsExprToComparisonOperator(operator: SupportedOperators): WhereStatementOperator | 'not' | null;
3670
3670
 
@@ -13969,8 +13969,8 @@ declare class SearchStatementState implements ISearchNode {
13969
13969
  from: DataSource | null;
13970
13970
  aggregations: AggregationStatement[];
13971
13971
  where: WhereStatement | null;
13972
- offset: InputMapState | SearchStatementLiteralValue | null;
13973
- limit: InputMapState | SearchStatementLiteralValue | null;
13972
+ offset: ValueRef | SearchStatementLiteralValue | null;
13973
+ limit: ValueRef | SearchStatementLiteralValue | null;
13974
13974
  asList: boolean;
13975
13975
  sorting: SortStatement[];
13976
13976
  dataSources: DataSource[];
@@ -14009,8 +14009,8 @@ declare class SearchStatementState implements ISearchNode {
14009
14009
  editSelection(selection: ColumnRef | AllColumnsSelector): void;
14010
14010
  setFrom(from: DataSource): void;
14011
14011
  setWhere(where: WhereStatement): void;
14012
- setLimit(limit: SearchStatementLiteralValue | InputMapState): void;
14013
- setOffset(offset: SearchStatementLiteralValue | InputMapState): void;
14012
+ setLimit(limit: SearchStatementLiteralValue | ValueRef): void;
14013
+ setOffset(offset: SearchStatementLiteralValue | ValueRef): void;
14014
14014
  setAsList(asList: boolean): void;
14015
14015
  }
14016
14016
 
@@ -14022,6 +14022,7 @@ declare namespace searchStatementState {
14022
14022
  ISearchNode,
14023
14023
  AggregationStatementType,
14024
14024
  AggregationStatement,
14025
+ ValueRef,
14025
14026
  SearchLiteralValueType,
14026
14027
  SearchStatementLiteralValue,
14027
14028
  WhereStatementOperator,
@@ -15580,6 +15581,16 @@ export declare type ValueReadingEntityTransfer = IVariableDeclarationTransfer |
15580
15581
 
15581
15582
  export declare type ValueReadingEntityTypesUnion = VariableDeclarationTypesUnion | VariableInstanceTypesUnion | InputMapTypesUnion | ReturnDeclarationTypesUnion;
15582
15583
 
15584
+ declare class ValueRef implements ISearchNode {
15585
+ owner: SearchStatementState;
15586
+ inputMap: InputMapState | null;
15587
+ _id: string;
15588
+ constructor(owner: SearchStatementState);
15589
+ get id(): string;
15590
+ get type(): SearchStatementNodeType.ValueRef;
15591
+ toQuery(): string;
15592
+ }
15593
+
15583
15594
  export declare type ValueValidationCallback<T = LiteralValueType> = (self: EntityWithValueState, value: T) => IValueValidationResult<T>;
15584
15595
 
15585
15596
  export declare type ValueWritingEntity = IVariableDeclaration | IVariableInstance | IArgumentDeclaration | IOutputMap;
@@ -16049,9 +16060,9 @@ declare class WhereStatement implements ISearchNode {
16049
16060
  parent: WhereStatement | null;
16050
16061
  and: WhereStatement[];
16051
16062
  or: WhereStatement[];
16052
- left: ColumnRef | InputMapState | SearchStatementLiteralValue | null;
16063
+ left: ColumnRef | ValueRef | SearchStatementLiteralValue | null;
16053
16064
  operator: WhereStatementOperator | null;
16054
- right: ColumnRef | InputMapState | SearchStatementLiteralValue | null;
16065
+ right: ColumnRef | ValueRef | SearchStatementLiteralValue | null;
16055
16066
  _id: string;
16056
16067
  constructor(owner: SearchStatementState, parent?: WhereStatement);
16057
16068
  get type(): SearchStatementNodeType.WhereStatement;