@elyx-code/project-logic-tree 0.0.6291 → 0.0.6300
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 -9
- package/dist/index.js +15575 -15443
- package/dist/index.umd.cjs +138 -138
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -391,7 +391,7 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
391
391
|
getErrors(): EntityError[];
|
|
392
392
|
getShallowErrors(): EntityError[];
|
|
393
393
|
getDefaultValue(): LiteralValueState | null;
|
|
394
|
-
setDefaultValue(
|
|
394
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
395
395
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
|
|
396
396
|
getDataType(_changeSet?: ChangeSet | null): DataTypeState | null;
|
|
397
397
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
@@ -2244,6 +2244,12 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
|
|
|
2244
2244
|
implement(newEntityName: string, changeSet?: ChangeSet | null, newId?: string): DefinitionEntityState;
|
|
2245
2245
|
getAllInteractiveMethods(): FunctionDeclarationState[];
|
|
2246
2246
|
inferFromInputs(inputs: VariableInputMapState[], changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
|
|
2247
|
+
getRawDefaultValue(): {
|
|
2248
|
+
[propertyName: string]: any;
|
|
2249
|
+
};
|
|
2250
|
+
getActiveRawDefaultValue(): {
|
|
2251
|
+
[propertyName: string]: any;
|
|
2252
|
+
};
|
|
2247
2253
|
}
|
|
2248
2254
|
|
|
2249
2255
|
export declare function definitionEntityToZodSchema(entity: IDefinitionEntity): z.ZodObject<any>;
|
|
@@ -8957,7 +8963,7 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
8957
8963
|
getErrors(): EntityError[];
|
|
8958
8964
|
getShallowErrors(): EntityError[];
|
|
8959
8965
|
getDefaultValue(): LiteralValueState | null;
|
|
8960
|
-
setDefaultValue(value: LiteralValueState): InputMapState;
|
|
8966
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): InputMapState;
|
|
8961
8967
|
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityState | null, newId?: string | null, subscribe?: boolean): InputMapState;
|
|
8962
8968
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
8963
8969
|
}
|
|
@@ -11201,7 +11207,7 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
11201
11207
|
getErrors(): EntityError[];
|
|
11202
11208
|
getShallowErrors(): EntityError[];
|
|
11203
11209
|
getDefaultValue(): LiteralValueState | null;
|
|
11204
|
-
setDefaultValue(
|
|
11210
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): OutputMapState;
|
|
11205
11211
|
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityWithOutputsState | null, newId?: string | null, subscribe?: boolean): OutputMapState;
|
|
11206
11212
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
11207
11213
|
}
|
|
@@ -11825,13 +11831,14 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
11825
11831
|
};
|
|
11826
11832
|
getErrors(): EntityError[];
|
|
11827
11833
|
getShallowErrors(): EntityError[];
|
|
11834
|
+
implement(parent: DefinitionEntityState, changeSet?: ChangeSet | null, newId?: string | null): PropertyState;
|
|
11828
11835
|
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | null, newId?: string | null, subscribe?: boolean): PropertyState;
|
|
11829
11836
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): PropertyState;
|
|
11830
11837
|
removeDataType(): PropertyState;
|
|
11831
11838
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
11832
11839
|
getDefaultValue(): LiteralValueState | null;
|
|
11833
|
-
setDefaultValue(value: LiteralValueState): PropertyState;
|
|
11834
|
-
|
|
11840
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): PropertyState;
|
|
11841
|
+
syncWithImplementation(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
|
|
11835
11842
|
}
|
|
11836
11843
|
|
|
11837
11844
|
export declare function propertyToZodSchema(property: IProperty): z.ZodType<any>;
|
|
@@ -12078,7 +12085,7 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
12078
12085
|
getErrors(): EntityError[];
|
|
12079
12086
|
getShallowErrors(): EntityError[];
|
|
12080
12087
|
getDefaultValue(): LiteralValueState | null;
|
|
12081
|
-
setDefaultValue(
|
|
12088
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
12082
12089
|
clone(changeSet?: ChangeSet | null, parent?: ReturnStatementState | BreakStatementState | ContinueStatementState | null, newId?: string | null, subscribe?: boolean): ReturnDeclarationState;
|
|
12083
12090
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
12084
12091
|
removeDataType(): ReturnDeclarationState;
|
|
@@ -12227,6 +12234,8 @@ declare namespace returnStatementValidation {
|
|
|
12227
12234
|
}
|
|
12228
12235
|
export { returnStatementValidation }
|
|
12229
12236
|
|
|
12237
|
+
declare function sanitizeQuery(query: string): string;
|
|
12238
|
+
|
|
12230
12239
|
declare function sanitizeSQLIdentifierText(text: string): string;
|
|
12231
12240
|
|
|
12232
12241
|
export declare type ScopeCompatibility = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope | IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
|
|
@@ -12507,6 +12516,7 @@ export { searchStatementState }
|
|
|
12507
12516
|
declare namespace searchStatementUtils {
|
|
12508
12517
|
export {
|
|
12509
12518
|
sanitizeSQLIdentifierText,
|
|
12519
|
+
sanitizeQuery,
|
|
12510
12520
|
fromNameToTableDescription,
|
|
12511
12521
|
loadProjectDatasources,
|
|
12512
12522
|
getSelectStatementFromProgram,
|
|
@@ -13980,7 +13990,7 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
13980
13990
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
13981
13991
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
13982
13992
|
getDefaultValue(): LiteralValueState | null;
|
|
13983
|
-
setDefaultValue(
|
|
13993
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
13984
13994
|
removeDataType(): ValueDescriptorState;
|
|
13985
13995
|
implementAsReturnDeclaration(changeSet: (ChangeSet | null) | undefined, newParent: ReturnStatementState | BreakStatementState | ContinueStatementState, newId?: string): ReturnDeclarationState;
|
|
13986
13996
|
implementAsArgumentDeclaration(changeSet: (ChangeSet | null) | undefined, newParent: EntryPointEntityState, newId?: string): ArgumentDeclarationState;
|
|
@@ -14196,7 +14206,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
14196
14206
|
getErrors(): EntityError[];
|
|
14197
14207
|
getShallowErrors(): EntityError[];
|
|
14198
14208
|
getDefaultValue(): LiteralValueState | null;
|
|
14199
|
-
setDefaultValue(
|
|
14209
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
14200
14210
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableDeclarationState;
|
|
14201
14211
|
addInternalCall(internalCall: InternalCallState): VariableDeclarationState;
|
|
14202
14212
|
createInstance(parent?: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null, overrides?: Partial<IVariableInstanceTransfer>): VariableInstanceState;
|
|
@@ -14389,7 +14399,7 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
14389
14399
|
getErrors(): EntityError[];
|
|
14390
14400
|
getShallowErrors(): EntityError[];
|
|
14391
14401
|
getDefaultValue(): LiteralValueState | null;
|
|
14392
|
-
setDefaultValue(value: LiteralValueState): VariableInstanceState;
|
|
14402
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
14393
14403
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableInstanceState;
|
|
14394
14404
|
addInternalCall(internalCall: InternalCallState): VariableInstanceState;
|
|
14395
14405
|
setDeclaration(declaration: VariableDeclarationState): VariableInstanceState;
|