@elyx-code/project-logic-tree 0.0.6282 → 0.0.6283
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 +19 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2971,7 +2971,7 @@ export declare function flattenInternalCall(entity: IInternalCall | IInternalCal
|
|
|
2971
2971
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
2972
2972
|
|
|
2973
2973
|
declare function flattenJoinExprIntoAggregationStatementsSync(joinExpr: JoinExpr, parentQuery: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
2974
|
-
onDescribeTable?: (tableName: string) =>
|
|
2974
|
+
onDescribeTable?: (tableName: string) => ITable | null;
|
|
2975
2975
|
}, debug?: boolean): {
|
|
2976
2976
|
aggregations: AggregationStatement[];
|
|
2977
2977
|
columnMappings: IColumnMapping[];
|
|
@@ -3415,7 +3415,7 @@ export declare function generateUniqueUUID(): string;
|
|
|
3415
3415
|
export declare const GET_PROJECT_OPTIONS_DEFAULTS: IGetProjectOptions;
|
|
3416
3416
|
|
|
3417
3417
|
declare function getAggregationStatementsFromSelectStatementSync(selectStatement: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
3418
|
-
onDescribeTable?: (tableName: string) =>
|
|
3418
|
+
onDescribeTable?: (tableName: string) => ITable | null;
|
|
3419
3419
|
}): {
|
|
3420
3420
|
aggregations: AggregationStatement[];
|
|
3421
3421
|
columnMappings: IColumnMapping[];
|
|
@@ -8103,12 +8103,16 @@ export declare interface IChildEntityTransfer {
|
|
|
8103
8103
|
parent: Element_2 | ElementTransfer | Reference;
|
|
8104
8104
|
}
|
|
8105
8105
|
|
|
8106
|
+
declare interface IColumn {
|
|
8107
|
+
columnName: string;
|
|
8108
|
+
property: PropertyState | null;
|
|
8109
|
+
primaryKey?: boolean;
|
|
8110
|
+
table?: ITable;
|
|
8111
|
+
}
|
|
8112
|
+
|
|
8106
8113
|
declare interface IColumnMapping {
|
|
8107
8114
|
as: string;
|
|
8108
|
-
column:
|
|
8109
|
-
columnName: string;
|
|
8110
|
-
property: PropertyState | null;
|
|
8111
|
-
};
|
|
8115
|
+
column: IColumn;
|
|
8112
8116
|
}
|
|
8113
8117
|
|
|
8114
8118
|
export declare interface ICompatibleAInBScope extends IScopeCompatibility {
|
|
@@ -9736,6 +9740,12 @@ export declare interface IString extends IPrimitiveEntity {
|
|
|
9736
9740
|
name: PrimitiveTypes.String;
|
|
9737
9741
|
}
|
|
9738
9742
|
|
|
9743
|
+
declare interface ITable {
|
|
9744
|
+
entity: DefinitionEntityState;
|
|
9745
|
+
tableName: string;
|
|
9746
|
+
columns: IColumn[];
|
|
9747
|
+
}
|
|
9748
|
+
|
|
9739
9749
|
export declare const iterateOverListActionDescriptorListArgumentDeclaration: IValueDescriptorTransfer;
|
|
9740
9750
|
|
|
9741
9751
|
export declare const iterateOverListActionDescriptorListArgumentDeclarationDataType: IDataTypeTransfer;
|
|
@@ -12483,8 +12493,10 @@ declare namespace searchStatementUtils {
|
|
|
12483
12493
|
hydrateSearchStatementState,
|
|
12484
12494
|
FORBIDDEN_SQL_KEYWORDS,
|
|
12485
12495
|
IShallowColumnMapping,
|
|
12496
|
+
IColumn,
|
|
12486
12497
|
IColumnMapping,
|
|
12487
|
-
|
|
12498
|
+
ITable,
|
|
12499
|
+
SupportedOperators
|
|
12488
12500
|
}
|
|
12489
12501
|
}
|
|
12490
12502
|
export { searchStatementUtils }
|
|
@@ -12826,14 +12838,6 @@ export declare function suggestNewIdForEntity(generatedEntity: ElementGeneration
|
|
|
12826
12838
|
|
|
12827
12839
|
declare type SupportedOperators = string | PostgresqlOperatorExpr | Keyword<'IS'> | [Keyword<'IS'>, Keyword<'NOT'>] | [Keyword<'IS'>, Keyword<'DISTINCT'>, Keyword<'FROM'>] | [Keyword<'IS'>, Keyword<'NOT'>, Keyword<'DISTINCT'>, Keyword<'FROM'>] | Keyword<'IN'> | [Keyword<'NOT'>, Keyword<'IN'>] | Keyword<'LIKE' | 'RLIKE' | 'ILIKE' | 'GLOB' | 'MATCH'> | [Keyword<'NOT'>, Keyword<'LIKE' | 'RLIKE' | 'ILIKE' | 'GLOB' | 'MATCH'>];
|
|
12828
12840
|
|
|
12829
|
-
declare interface Table {
|
|
12830
|
-
entity: DefinitionEntityState;
|
|
12831
|
-
columns: {
|
|
12832
|
-
columnName: string;
|
|
12833
|
-
property: PropertyState | null;
|
|
12834
|
-
}[];
|
|
12835
|
-
}
|
|
12836
|
-
|
|
12837
12841
|
export declare const TERMINATION_TYPES: EntityType[];
|
|
12838
12842
|
|
|
12839
12843
|
export declare type TerminationEntity = IReturnStatement | IBreakStatement | IContinueStatement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6283",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|