@elyx-code/project-logic-tree 0.0.6282 → 0.0.6284
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 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2735,6 +2735,8 @@ export declare type EntityWithNamesReference = IDefinitionEntityReference | IFun
|
|
|
2735
2735
|
|
|
2736
2736
|
export declare type EntityWithNamesShallowTransfer = IDefinitionEntityShallowTransfer | IFunctionDeclarationShallowTransfer | IArgumentDeclarationShallowTransfer | IReturnDeclarationShallowTransfer | IPropertyShallowTransfer | IVariableDeclarationShallowTransfer | ISearchShallowTransfer | IProjectShallowTransfer | IInstalledProjectShallowTransfer | IActionDescriptorShallowTransfer | IValueDescriptorShallowTransfer;
|
|
2737
2737
|
|
|
2738
|
+
export declare type EntityWithNamesState = DefinitionEntityState | FunctionDeclarationState | ArgumentDeclarationState | ReturnDeclarationState | PropertyState | VariableDeclarationState | SearchState | ProjectState | InstalledProjectState | ActionDescriptorState | ValueDescriptorState;
|
|
2739
|
+
|
|
2738
2740
|
export declare type EntityWithNamesTransfer = IDefinitionEntityTransfer | IFunctionDeclarationTransfer | IArgumentDeclarationTransfer | IReturnDeclarationTransfer | IPropertyTransfer | IVariableDeclarationTransfer | ISearchTransfer | IProjectTransfer | IInstalledProjectTransfer | IActionDescriptorTransfer | IValueDescriptorTransfer;
|
|
2739
2741
|
|
|
2740
2742
|
export declare type EntityWithValue = ValueWritingEntity | ValueReadingEntity | IProperty | IValueDescriptor;
|
|
@@ -2971,7 +2973,7 @@ export declare function flattenInternalCall(entity: IInternalCall | IInternalCal
|
|
|
2971
2973
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
2972
2974
|
|
|
2973
2975
|
declare function flattenJoinExprIntoAggregationStatementsSync(joinExpr: JoinExpr, parentQuery: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
2974
|
-
onDescribeTable?: (tableName: string) =>
|
|
2976
|
+
onDescribeTable?: (tableName: string) => ITable | null;
|
|
2975
2977
|
}, debug?: boolean): {
|
|
2976
2978
|
aggregations: AggregationStatement[];
|
|
2977
2979
|
columnMappings: IColumnMapping[];
|
|
@@ -3415,7 +3417,7 @@ export declare function generateUniqueUUID(): string;
|
|
|
3415
3417
|
export declare const GET_PROJECT_OPTIONS_DEFAULTS: IGetProjectOptions;
|
|
3416
3418
|
|
|
3417
3419
|
declare function getAggregationStatementsFromSelectStatementSync(selectStatement: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
3418
|
-
onDescribeTable?: (tableName: string) =>
|
|
3420
|
+
onDescribeTable?: (tableName: string) => ITable | null;
|
|
3419
3421
|
}): {
|
|
3420
3422
|
aggregations: AggregationStatement[];
|
|
3421
3423
|
columnMappings: IColumnMapping[];
|
|
@@ -8103,12 +8105,16 @@ export declare interface IChildEntityTransfer {
|
|
|
8103
8105
|
parent: Element_2 | ElementTransfer | Reference;
|
|
8104
8106
|
}
|
|
8105
8107
|
|
|
8108
|
+
declare interface IColumn {
|
|
8109
|
+
columnName: string;
|
|
8110
|
+
property: PropertyState | null;
|
|
8111
|
+
primaryKey?: boolean;
|
|
8112
|
+
table?: ITable;
|
|
8113
|
+
}
|
|
8114
|
+
|
|
8106
8115
|
declare interface IColumnMapping {
|
|
8107
8116
|
as: string;
|
|
8108
|
-
column:
|
|
8109
|
-
columnName: string;
|
|
8110
|
-
property: PropertyState | null;
|
|
8111
|
-
};
|
|
8117
|
+
column: IColumn;
|
|
8112
8118
|
}
|
|
8113
8119
|
|
|
8114
8120
|
export declare interface ICompatibleAInBScope extends IScopeCompatibility {
|
|
@@ -9736,6 +9742,12 @@ export declare interface IString extends IPrimitiveEntity {
|
|
|
9736
9742
|
name: PrimitiveTypes.String;
|
|
9737
9743
|
}
|
|
9738
9744
|
|
|
9745
|
+
declare interface ITable {
|
|
9746
|
+
entity: DefinitionEntityState;
|
|
9747
|
+
tableName: string;
|
|
9748
|
+
columns: IColumn[];
|
|
9749
|
+
}
|
|
9750
|
+
|
|
9739
9751
|
export declare const iterateOverListActionDescriptorListArgumentDeclaration: IValueDescriptorTransfer;
|
|
9740
9752
|
|
|
9741
9753
|
export declare const iterateOverListActionDescriptorListArgumentDeclarationDataType: IDataTypeTransfer;
|
|
@@ -12483,8 +12495,10 @@ declare namespace searchStatementUtils {
|
|
|
12483
12495
|
hydrateSearchStatementState,
|
|
12484
12496
|
FORBIDDEN_SQL_KEYWORDS,
|
|
12485
12497
|
IShallowColumnMapping,
|
|
12498
|
+
IColumn,
|
|
12486
12499
|
IColumnMapping,
|
|
12487
|
-
|
|
12500
|
+
ITable,
|
|
12501
|
+
SupportedOperators
|
|
12488
12502
|
}
|
|
12489
12503
|
}
|
|
12490
12504
|
export { searchStatementUtils }
|
|
@@ -12826,14 +12840,6 @@ export declare function suggestNewIdForEntity(generatedEntity: ElementGeneration
|
|
|
12826
12840
|
|
|
12827
12841
|
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
12842
|
|
|
12829
|
-
declare interface Table {
|
|
12830
|
-
entity: DefinitionEntityState;
|
|
12831
|
-
columns: {
|
|
12832
|
-
columnName: string;
|
|
12833
|
-
property: PropertyState | null;
|
|
12834
|
-
}[];
|
|
12835
|
-
}
|
|
12836
|
-
|
|
12837
12843
|
export declare const TERMINATION_TYPES: EntityType[];
|
|
12838
12844
|
|
|
12839
12845
|
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.6284",
|
|
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",
|