@elyx-code/project-logic-tree 0.0.6374 → 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 +21 -9
- package/dist/index.js +14215 -14155
- package/dist/index.umd.cjs +135 -135
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1575,7 +1575,8 @@ export declare enum CanvasEntityConnectionDisabledReason {
|
|
|
1575
1575
|
CallerIsInLowerScope = "caller-is-in-lower-scope",
|
|
1576
1576
|
CallIsInHigherScope = "call-is-in-higher-scope",
|
|
1577
1577
|
CallIsInLowerScope = "call-is-in-lower-scope",
|
|
1578
|
-
OtherIncompatibleScopeReason = "other-incompatible-scope-reason"
|
|
1578
|
+
OtherIncompatibleScopeReason = "other-incompatible-scope-reason",
|
|
1579
|
+
SiblingInternalCallAlreadyUsedInParentVariable = "sibling-internal-call-already-used-in-parent-variable"
|
|
1579
1580
|
}
|
|
1580
1581
|
|
|
1581
1582
|
export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason;
|
|
@@ -1772,7 +1773,7 @@ export declare function cloneProject(project: ProjectState, { enrich, }?: {
|
|
|
1772
1773
|
|
|
1773
1774
|
declare class ColumnRef implements ISearchNode {
|
|
1774
1775
|
owner: SearchStatementState;
|
|
1775
|
-
source: ColumnRef | PropertyState | SearchStatementLiteralValue | null;
|
|
1776
|
+
source: ColumnRef | PropertyState | ValueRef | SearchStatementLiteralValue | null;
|
|
1776
1777
|
parent: DataSource | null;
|
|
1777
1778
|
_id: string;
|
|
1778
1779
|
_as: string | null;
|
|
@@ -3663,7 +3664,7 @@ export declare function fromPublishingDisabledCodeToReadable(code: PUBLISHING_DI
|
|
|
3663
3664
|
|
|
3664
3665
|
declare function fromSelectClauseColumnsToColumnMappings(selectClause: SelectClause, objectName?: string): IShallowColumnMapping[];
|
|
3665
3666
|
|
|
3666
|
-
declare function fromSelectClauseToLiteralValueSelections(selectClause: SelectClause, state: SearchStatementState, _debug?: boolean): ColumnRef[];
|
|
3667
|
+
declare function fromSelectClauseToLiteralValueSelections(selectClause: SelectClause, state: SearchStatementState, project: ProjectState, _debug?: boolean): ColumnRef[];
|
|
3667
3668
|
|
|
3668
3669
|
declare function fromSqlOperatorsExprToComparisonOperator(operator: SupportedOperators): WhereStatementOperator | 'not' | null;
|
|
3669
3670
|
|
|
@@ -13968,8 +13969,8 @@ declare class SearchStatementState implements ISearchNode {
|
|
|
13968
13969
|
from: DataSource | null;
|
|
13969
13970
|
aggregations: AggregationStatement[];
|
|
13970
13971
|
where: WhereStatement | null;
|
|
13971
|
-
offset:
|
|
13972
|
-
limit:
|
|
13972
|
+
offset: ValueRef | SearchStatementLiteralValue | null;
|
|
13973
|
+
limit: ValueRef | SearchStatementLiteralValue | null;
|
|
13973
13974
|
asList: boolean;
|
|
13974
13975
|
sorting: SortStatement[];
|
|
13975
13976
|
dataSources: DataSource[];
|
|
@@ -14008,8 +14009,8 @@ declare class SearchStatementState implements ISearchNode {
|
|
|
14008
14009
|
editSelection(selection: ColumnRef | AllColumnsSelector): void;
|
|
14009
14010
|
setFrom(from: DataSource): void;
|
|
14010
14011
|
setWhere(where: WhereStatement): void;
|
|
14011
|
-
setLimit(limit: SearchStatementLiteralValue |
|
|
14012
|
-
setOffset(offset: SearchStatementLiteralValue |
|
|
14012
|
+
setLimit(limit: SearchStatementLiteralValue | ValueRef): void;
|
|
14013
|
+
setOffset(offset: SearchStatementLiteralValue | ValueRef): void;
|
|
14013
14014
|
setAsList(asList: boolean): void;
|
|
14014
14015
|
}
|
|
14015
14016
|
|
|
@@ -14021,6 +14022,7 @@ declare namespace searchStatementState {
|
|
|
14021
14022
|
ISearchNode,
|
|
14022
14023
|
AggregationStatementType,
|
|
14023
14024
|
AggregationStatement,
|
|
14025
|
+
ValueRef,
|
|
14024
14026
|
SearchLiteralValueType,
|
|
14025
14027
|
SearchStatementLiteralValue,
|
|
14026
14028
|
WhereStatementOperator,
|
|
@@ -15579,6 +15581,16 @@ export declare type ValueReadingEntityTransfer = IVariableDeclarationTransfer |
|
|
|
15579
15581
|
|
|
15580
15582
|
export declare type ValueReadingEntityTypesUnion = VariableDeclarationTypesUnion | VariableInstanceTypesUnion | InputMapTypesUnion | ReturnDeclarationTypesUnion;
|
|
15581
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
|
+
|
|
15582
15594
|
export declare type ValueValidationCallback<T = LiteralValueType> = (self: EntityWithValueState, value: T) => IValueValidationResult<T>;
|
|
15583
15595
|
|
|
15584
15596
|
export declare type ValueWritingEntity = IVariableDeclaration | IVariableInstance | IArgumentDeclaration | IOutputMap;
|
|
@@ -16048,9 +16060,9 @@ declare class WhereStatement implements ISearchNode {
|
|
|
16048
16060
|
parent: WhereStatement | null;
|
|
16049
16061
|
and: WhereStatement[];
|
|
16050
16062
|
or: WhereStatement[];
|
|
16051
|
-
left: ColumnRef |
|
|
16063
|
+
left: ColumnRef | ValueRef | SearchStatementLiteralValue | null;
|
|
16052
16064
|
operator: WhereStatementOperator | null;
|
|
16053
|
-
right: ColumnRef |
|
|
16065
|
+
right: ColumnRef | ValueRef | SearchStatementLiteralValue | null;
|
|
16054
16066
|
_id: string;
|
|
16055
16067
|
constructor(owner: SearchStatementState, parent?: WhereStatement);
|
|
16056
16068
|
get type(): SearchStatementNodeType.WhereStatement;
|