@elyx-code/project-logic-tree 0.0.6888 → 0.0.6890
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 +246 -246
- package/dist/index.d.ts +249 -5
- package/dist/index.js +38677 -37245
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -769,7 +769,9 @@ export declare enum BaseEntityNames {
|
|
|
769
769
|
MICROSOFT_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_MICROSOFT_AUTH",
|
|
770
770
|
OPENAI_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_OPENAI_AUTH",
|
|
771
771
|
ATLASSIAN_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_ATLASSIAN_AUTH",
|
|
772
|
-
JIRA_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_JIRA_AUTH"
|
|
772
|
+
JIRA_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_JIRA_AUTH",
|
|
773
|
+
SQL_SSL_CONNECTION_CONFIG = "BUILT_IN_SQL_SSL_CONNECTION_CONFIG_ENTITY",
|
|
774
|
+
SQL_ROOT_CONNECTION_CONFIG = "BUILT_IN_SQL_ROOT_CONNECTION_CONFIG_ENTITY"
|
|
773
775
|
}
|
|
774
776
|
|
|
775
777
|
export declare class BaseExtensionState implements IExtensionState {
|
|
@@ -1043,6 +1045,10 @@ export declare enum BaseValueDescriptorIds {
|
|
|
1043
1045
|
id: string;
|
|
1044
1046
|
properties: {};
|
|
1045
1047
|
};
|
|
1048
|
+
"sql-program": {
|
|
1049
|
+
id: string;
|
|
1050
|
+
properties: {};
|
|
1051
|
+
};
|
|
1046
1052
|
boolean: {
|
|
1047
1053
|
id: string;
|
|
1048
1054
|
properties: {};
|
|
@@ -1584,6 +1590,102 @@ export declare enum BaseValueDescriptorIds {
|
|
|
1584
1590
|
};
|
|
1585
1591
|
methods: {};
|
|
1586
1592
|
};
|
|
1593
|
+
BUILT_IN_SQL_SSL_CONNECTION_CONFIG_ENTITY: {
|
|
1594
|
+
id: BaseEntityNames;
|
|
1595
|
+
properties: {
|
|
1596
|
+
cert: {
|
|
1597
|
+
id: string;
|
|
1598
|
+
dataType: {
|
|
1599
|
+
id: string;
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
key: {
|
|
1603
|
+
id: string;
|
|
1604
|
+
dataType: {
|
|
1605
|
+
id: string;
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
ca: {
|
|
1609
|
+
id: string;
|
|
1610
|
+
dataType: {
|
|
1611
|
+
id: string;
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
rejectUnauthorized: {
|
|
1615
|
+
id: string;
|
|
1616
|
+
dataType: {
|
|
1617
|
+
id: string;
|
|
1618
|
+
};
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
methods: {};
|
|
1622
|
+
};
|
|
1623
|
+
BUILT_IN_SQL_ROOT_CONNECTION_CONFIG_ENTITY: {
|
|
1624
|
+
id: BaseEntityNames;
|
|
1625
|
+
properties: {
|
|
1626
|
+
host: {
|
|
1627
|
+
id: string;
|
|
1628
|
+
dataType: {
|
|
1629
|
+
id: string;
|
|
1630
|
+
};
|
|
1631
|
+
};
|
|
1632
|
+
port: {
|
|
1633
|
+
id: string;
|
|
1634
|
+
dataType: {
|
|
1635
|
+
id: string;
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
user: {
|
|
1639
|
+
id: string;
|
|
1640
|
+
dataType: {
|
|
1641
|
+
id: string;
|
|
1642
|
+
};
|
|
1643
|
+
};
|
|
1644
|
+
password: {
|
|
1645
|
+
id: string;
|
|
1646
|
+
dataType: {
|
|
1647
|
+
id: string;
|
|
1648
|
+
};
|
|
1649
|
+
};
|
|
1650
|
+
client: {
|
|
1651
|
+
id: string;
|
|
1652
|
+
dataType: {
|
|
1653
|
+
id: string;
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
connectionUri: {
|
|
1657
|
+
id: string;
|
|
1658
|
+
dataType: {
|
|
1659
|
+
id: string;
|
|
1660
|
+
};
|
|
1661
|
+
};
|
|
1662
|
+
database: {
|
|
1663
|
+
id: string;
|
|
1664
|
+
dataType: {
|
|
1665
|
+
id: string;
|
|
1666
|
+
};
|
|
1667
|
+
};
|
|
1668
|
+
connectionTimeoutMillis: {
|
|
1669
|
+
id: string;
|
|
1670
|
+
dataType: {
|
|
1671
|
+
id: string;
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
ssl: {
|
|
1675
|
+
id: string;
|
|
1676
|
+
dataType: {
|
|
1677
|
+
id: string;
|
|
1678
|
+
orBoolean: {
|
|
1679
|
+
id: string;
|
|
1680
|
+
};
|
|
1681
|
+
orObject: {
|
|
1682
|
+
id: string;
|
|
1683
|
+
};
|
|
1684
|
+
};
|
|
1685
|
+
};
|
|
1686
|
+
};
|
|
1687
|
+
methods: {};
|
|
1688
|
+
};
|
|
1587
1689
|
};
|
|
1588
1690
|
operation: {
|
|
1589
1691
|
"op-string-join": {
|
|
@@ -4515,6 +4617,63 @@ export declare enum BaseValueDescriptorIds {
|
|
|
4515
4617
|
id: string;
|
|
4516
4618
|
};
|
|
4517
4619
|
};
|
|
4620
|
+
"op-sql-execute-query": {
|
|
4621
|
+
id: SQLOperations;
|
|
4622
|
+
inputs: {
|
|
4623
|
+
connectionConfig: {
|
|
4624
|
+
id: string;
|
|
4625
|
+
dataType: {
|
|
4626
|
+
id: string;
|
|
4627
|
+
};
|
|
4628
|
+
};
|
|
4629
|
+
query: {
|
|
4630
|
+
id: string;
|
|
4631
|
+
dataType: {
|
|
4632
|
+
id: string;
|
|
4633
|
+
};
|
|
4634
|
+
};
|
|
4635
|
+
};
|
|
4636
|
+
dataType: {
|
|
4637
|
+
id: string;
|
|
4638
|
+
entity: {
|
|
4639
|
+
id: string;
|
|
4640
|
+
properties: {
|
|
4641
|
+
results: {
|
|
4642
|
+
id: string;
|
|
4643
|
+
dataType: {
|
|
4644
|
+
id: string;
|
|
4645
|
+
entity: {
|
|
4646
|
+
id: string;
|
|
4647
|
+
properties: {
|
|
4648
|
+
command: {
|
|
4649
|
+
id: string;
|
|
4650
|
+
dataType: {
|
|
4651
|
+
id: string;
|
|
4652
|
+
};
|
|
4653
|
+
};
|
|
4654
|
+
records: {
|
|
4655
|
+
id: string;
|
|
4656
|
+
dataType: {
|
|
4657
|
+
id: string;
|
|
4658
|
+
};
|
|
4659
|
+
};
|
|
4660
|
+
rowCount: {
|
|
4661
|
+
id: string;
|
|
4662
|
+
dataType: {
|
|
4663
|
+
id: string;
|
|
4664
|
+
};
|
|
4665
|
+
};
|
|
4666
|
+
};
|
|
4667
|
+
};
|
|
4668
|
+
};
|
|
4669
|
+
};
|
|
4670
|
+
};
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
error: {
|
|
4674
|
+
id: string;
|
|
4675
|
+
};
|
|
4676
|
+
};
|
|
4518
4677
|
"op-object-validate": {
|
|
4519
4678
|
id: ObjectOperations;
|
|
4520
4679
|
dataType: {
|
|
@@ -7154,7 +7313,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
7154
7313
|
entity: {
|
|
7155
7314
|
id: string;
|
|
7156
7315
|
properties: {
|
|
7157
|
-
|
|
7316
|
+
file: {
|
|
7158
7317
|
id: string;
|
|
7159
7318
|
dataType: {
|
|
7160
7319
|
id: string;
|
|
@@ -11484,6 +11643,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
11484
11643
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__COMPARISON_PRIMITIVE_EQUAL: string;
|
|
11485
11644
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__COMPARISON_PRIMITIVE_NOT_EQUAL: string;
|
|
11486
11645
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__HTTP_REQUEST: string;
|
|
11646
|
+
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_SQL: string;
|
|
11487
11647
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: string;
|
|
11488
11648
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__EXECUTE_WAIT: string;
|
|
11489
11649
|
BUILT_INT_OPERATIONS_IMPLEMENTATIONS__LIST_JOIN: string;
|
|
@@ -11729,6 +11889,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
11729
11889
|
readonly id: string;
|
|
11730
11890
|
constructor(extensionsRegistry: ExtensionsRegistry, _editor: IEditor, id?: string);
|
|
11731
11891
|
get ready(): boolean;
|
|
11892
|
+
get env(): IEnvConfig;
|
|
11732
11893
|
get hasLoadedLogic(): boolean;
|
|
11733
11894
|
get destroyed(): boolean;
|
|
11734
11895
|
get logicLoadingPromise(): Promise<void> | null;
|
|
@@ -14859,7 +15020,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
14859
15020
|
_id: string;
|
|
14860
15021
|
_as: string | null;
|
|
14861
15022
|
constructor(owner: SearchStatementState);
|
|
14862
|
-
set functionName(name: FunctionNames);
|
|
15023
|
+
set functionName(name: FunctionNames | string);
|
|
14863
15024
|
get functionName(): FunctionNames | '';
|
|
14864
15025
|
set as(as: string);
|
|
14865
15026
|
get as(): string;
|
|
@@ -21937,6 +22098,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
21937
22098
|
hasLoadedLogic: boolean;
|
|
21938
22099
|
destroyed: boolean;
|
|
21939
22100
|
logicLoadingPromise: Promise<void> | null;
|
|
22101
|
+
env: IEnvConfig;
|
|
21940
22102
|
logic: ProjectState | null;
|
|
21941
22103
|
lastPublishedProjectState: ProjectState | null;
|
|
21942
22104
|
branch: IActiveBranchHeadResult | null;
|
|
@@ -22074,6 +22236,31 @@ export declare enum BaseValueDescriptorIds {
|
|
|
22074
22236
|
options: string[];
|
|
22075
22237
|
}
|
|
22076
22238
|
|
|
22239
|
+
export declare interface IEnvConfig {
|
|
22240
|
+
API_BASE_URL: string;
|
|
22241
|
+
WS_URL: string;
|
|
22242
|
+
amplifyConfig: {
|
|
22243
|
+
aws_project_region: string;
|
|
22244
|
+
aws_cognito_region: string;
|
|
22245
|
+
aws_user_pools_id: string;
|
|
22246
|
+
aws_user_pools_web_client_id: string;
|
|
22247
|
+
aws_cognito_username_attributes: string[];
|
|
22248
|
+
aws_cognito_signup_attributes: string[];
|
|
22249
|
+
aws_cognito_password_protection_settings: {
|
|
22250
|
+
passwordPolicyMinLength: number;
|
|
22251
|
+
passwordPolicyCharacters: string[];
|
|
22252
|
+
};
|
|
22253
|
+
aws_cognito_verification_mechanisms: string[];
|
|
22254
|
+
};
|
|
22255
|
+
HELP_ARTICLES_URL: string;
|
|
22256
|
+
PUBLIC_EXTERNAL_INTEGRATIONS_URL: string;
|
|
22257
|
+
EXTERNAL_INTEGRATIONS_URL: string;
|
|
22258
|
+
EXTERNAL_INTEGRATIONS_CONNECT_URL: string;
|
|
22259
|
+
EXTERNAL_INTEGRATIONS_LOGOS_URL: string;
|
|
22260
|
+
HTTP_CLIENT_URL: string;
|
|
22261
|
+
EDITOR_RUNTIME_IP_ADDRESS: string;
|
|
22262
|
+
}
|
|
22263
|
+
|
|
22077
22264
|
export declare interface IExecutionCallbackContext {
|
|
22078
22265
|
detached: boolean;
|
|
22079
22266
|
}
|
|
@@ -27788,6 +27975,14 @@ export declare enum BaseValueDescriptorIds {
|
|
|
27788
27975
|
};
|
|
27789
27976
|
}
|
|
27790
27977
|
|
|
27978
|
+
export declare class OperationsImplementationsExecuteSQLModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
27979
|
+
manifest: ExtensionManifest;
|
|
27980
|
+
module: {
|
|
27981
|
+
init: (contexts: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
|
|
27982
|
+
main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<IPrimitiveExecutionResult>;
|
|
27983
|
+
};
|
|
27984
|
+
}
|
|
27985
|
+
|
|
27791
27986
|
export declare class OperationsImplementationsExecutionWaitModule extends BaseRegisteredExtension implements IRegisteredExtension<OperationsImplementation> {
|
|
27792
27987
|
manifest: ExtensionManifest;
|
|
27793
27988
|
module: {
|
|
@@ -27800,7 +27995,7 @@ export declare enum BaseValueDescriptorIds {
|
|
|
27800
27995
|
manifest: ExtensionManifest;
|
|
27801
27996
|
module: {
|
|
27802
27997
|
init: (contexts: (DefaultEditorContext | DefaultProjectLogicContext)[]) => void;
|
|
27803
|
-
main: (entity: OperationState,
|
|
27998
|
+
main: (entity: OperationState, inputs: IDynamicValue[]) => Promise<IPrimitiveExecutionResult>;
|
|
27804
27999
|
};
|
|
27805
28000
|
}
|
|
27806
28001
|
|
|
@@ -30515,7 +30710,8 @@ export declare enum BaseValueDescriptorIds {
|
|
|
30515
30710
|
Date = "date",
|
|
30516
30711
|
UUID = "uuid",
|
|
30517
30712
|
File = "file",
|
|
30518
|
-
Untyped = "untyped"
|
|
30713
|
+
Untyped = "untyped",
|
|
30714
|
+
SqlProgram = "sql-program"
|
|
30519
30715
|
}
|
|
30520
30716
|
|
|
30521
30717
|
export declare function printDataType(dataType: DataTypeState | null, options?: IPrintEntityOptions): {
|
|
@@ -33009,16 +33205,64 @@ export declare enum BaseValueDescriptorIds {
|
|
|
33009
33205
|
|
|
33010
33206
|
declare const SQL_FUNCTION_REGISTRY: Record<string, ISQLFunctionDefinition>;
|
|
33011
33207
|
|
|
33208
|
+
export declare const SQL_OPERATIONS: {
|
|
33209
|
+
[key: string]: IActionDescriptorTransfer;
|
|
33210
|
+
};
|
|
33211
|
+
|
|
33012
33212
|
export { SQLAST }
|
|
33013
33213
|
|
|
33014
33214
|
declare type SQLDataType = 'string' | 'number' | 'boolean' | 'date' | 'table' | 'any' | 'json' | 'array';
|
|
33015
33215
|
|
|
33216
|
+
export declare const sqlExecuteSQLCommandPropertyDataTypeTransfer: IDataTypeTransfer;
|
|
33217
|
+
|
|
33218
|
+
export declare const sqlExecuteSQLCommandPropertyTransfer: IPropertyTransfer;
|
|
33219
|
+
|
|
33220
|
+
export declare const sqlExecuteSQLConnectionInputDataTypeTransfer: IDataTypeTransfer;
|
|
33221
|
+
|
|
33222
|
+
export declare const sqlExecuteSQLConnectionInputTransfer: IValueDescriptorTransfer;
|
|
33223
|
+
|
|
33224
|
+
export declare const sqlExecuteSQLOperation: IActionDescriptorTransfer;
|
|
33225
|
+
|
|
33226
|
+
export declare const sqlExecuteSQLOperationError: IValueDescriptorTransfer;
|
|
33227
|
+
|
|
33228
|
+
export declare const sqlExecuteSQLRecordsPropertyDataTypeTransfer: IDataTypeTransfer;
|
|
33229
|
+
|
|
33230
|
+
export declare const sqlExecuteSQLRecordsPropertyTransfer: IPropertyTransfer;
|
|
33231
|
+
|
|
33232
|
+
export declare const sqlExecuteSQLResponseDataTypeParentRef: IActionDescriptorReference;
|
|
33233
|
+
|
|
33234
|
+
export declare const sqlExecuteSQLResponseDataTypeTransfer: IDataTypeTransfer;
|
|
33235
|
+
|
|
33236
|
+
export declare const sqlExecuteSQLResponseEntityParentRef: IDataTypeReference;
|
|
33237
|
+
|
|
33238
|
+
export declare const sqlExecuteSQLResponseEntityTransfer: IDefinitionEntityTransfer;
|
|
33239
|
+
|
|
33240
|
+
export declare const sqlExecuteSQLResultsPropertyDataTypeTransfer: IDataTypeTransfer;
|
|
33241
|
+
|
|
33242
|
+
export declare const sqlExecuteSQLResultsPropertyTransfer: IPropertyTransfer;
|
|
33243
|
+
|
|
33244
|
+
export declare const sqlExecuteSQLRowCountPropertyDataTypeTransfer: IDataTypeTransfer;
|
|
33245
|
+
|
|
33246
|
+
export declare const sqlExecuteSQLRowCountPropertyTransfer: IPropertyTransfer;
|
|
33247
|
+
|
|
33248
|
+
export declare const sqlExecuteSQLStringInputDataTypeTransfer: IDataTypeTransfer;
|
|
33249
|
+
|
|
33250
|
+
export declare const sqlExecuteSQLStringInputTransfer: IValueDescriptorTransfer;
|
|
33251
|
+
|
|
33016
33252
|
declare enum SQLFunctionCategory {
|
|
33017
33253
|
Scalar = "SCALAR",
|
|
33018
33254
|
Aggregate = "AGGREGATE",
|
|
33019
33255
|
TableValued = "TABLE_VALUED"
|
|
33020
33256
|
}
|
|
33021
33257
|
|
|
33258
|
+
export declare enum SQLOperations {
|
|
33259
|
+
ExecuteSQL = "op-sql-execute-query"
|
|
33260
|
+
}
|
|
33261
|
+
|
|
33262
|
+
export declare const sqlProgramPrototype: IPrimitiveEntity;
|
|
33263
|
+
|
|
33264
|
+
export declare const sqlQueryResultEntityTransfer: IDefinitionEntityTransfer;
|
|
33265
|
+
|
|
33022
33266
|
export declare const sqlRowTransformerBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
|
|
33023
33267
|
|
|
33024
33268
|
export declare const sqlRowTransformerBuiltInBaseEntityDefinitionProperty: IPropertyTransfer;
|