@elyx-code/project-logic-tree 0.0.6885 → 0.0.6887
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.cjs +97 -97
- package/dist/index.d.ts +29 -0
- package/dist/index.js +16747 -16740
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18923,6 +18923,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
18923
18923
|
}[];
|
|
18924
18924
|
};
|
|
18925
18925
|
|
|
18926
|
+
declare function getFunctionDefinition(name: FunctionNames): ISQLFunctionDefinition | null;
|
|
18927
|
+
|
|
18926
18928
|
export declare function getGenerationTargetSchemaBasedOnType(entity: {
|
|
18927
18929
|
type: EntityType;
|
|
18928
18930
|
[key: string]: any;
|
|
@@ -23722,6 +23724,21 @@ export declare enum BaseValueDescriptorIds {
|
|
|
23722
23724
|
|
|
23723
23725
|
export declare function isPromise(obj: any): obj is Promise<any>;
|
|
23724
23726
|
|
|
23727
|
+
declare interface ISQLFunctionArgument {
|
|
23728
|
+
name: string;
|
|
23729
|
+
acceptedTypes: SQLDataType[];
|
|
23730
|
+
isVariadic?: boolean;
|
|
23731
|
+
optional?: boolean;
|
|
23732
|
+
}
|
|
23733
|
+
|
|
23734
|
+
declare interface ISQLFunctionDefinition {
|
|
23735
|
+
name: FunctionNames;
|
|
23736
|
+
category: SQLFunctionCategory;
|
|
23737
|
+
description: string;
|
|
23738
|
+
returnType: SQLDataType;
|
|
23739
|
+
arguments: ISQLFunctionArgument[];
|
|
23740
|
+
}
|
|
23741
|
+
|
|
23725
23742
|
export declare interface ISQLMigrationsDiffs {
|
|
23726
23743
|
changesSinceLastPublication: boolean;
|
|
23727
23744
|
rowTransformerNeeded: boolean;
|
|
@@ -32134,6 +32151,16 @@ export declare enum BaseValueDescriptorIds {
|
|
|
32134
32151
|
|
|
32135
32152
|
export declare const searchStatementErrorGlobalValueDescriptorRef: IValueDescriptorReference;
|
|
32136
32153
|
|
|
32154
|
+
declare namespace searchStatementFunctions {
|
|
32155
|
+
export {
|
|
32156
|
+
getFunctionDefinition,
|
|
32157
|
+
ISQLFunctionArgument,
|
|
32158
|
+
ISQLFunctionDefinition,
|
|
32159
|
+
SQL_FUNCTION_REGISTRY
|
|
32160
|
+
}
|
|
32161
|
+
}
|
|
32162
|
+
export { searchStatementFunctions }
|
|
32163
|
+
|
|
32137
32164
|
declare class SearchStatementLiteralValue implements ISearchNode {
|
|
32138
32165
|
owner: SearchStatementState;
|
|
32139
32166
|
valueType: SearchLiteralValueType;
|
|
@@ -32980,6 +33007,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
32980
33007
|
|
|
32981
33008
|
export declare const splitStringAtLastSeparatorOperationStringDataType: IDataTypeTransfer;
|
|
32982
33009
|
|
|
33010
|
+
declare const SQL_FUNCTION_REGISTRY: Record<string, ISQLFunctionDefinition>;
|
|
33011
|
+
|
|
32983
33012
|
export { SQLAST }
|
|
32984
33013
|
|
|
32985
33014
|
declare type SQLDataType = 'string' | 'number' | 'boolean' | 'date' | 'table' | 'any' | 'json' | 'array';
|