@elyx-code/project-logic-tree 0.0.6418 → 0.0.6420
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 +0 -63
- package/dist/index.js +6195 -6596
- package/dist/index.umd.cjs +204 -204
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ import { UnpivotExpr } from 'sql-parser-cst';
|
|
|
38
38
|
import { WhereClause } from 'sql-parser-cst';
|
|
39
39
|
import * as z from 'zod';
|
|
40
40
|
import { z as z_2 } from 'zod';
|
|
41
|
-
import { ZodError } from 'zod';
|
|
42
41
|
|
|
43
42
|
export declare type ActionDescriptorPayloadUnion = ActionDescriptorState | ActionDescriptorTypesUnion;
|
|
44
43
|
|
|
@@ -152,8 +151,6 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
152
151
|
clearErrors(): ActionDescriptorState;
|
|
153
152
|
validate(): {
|
|
154
153
|
success: boolean;
|
|
155
|
-
error: ZodError | null;
|
|
156
|
-
data: IActionDescriptorTransfer | null;
|
|
157
154
|
};
|
|
158
155
|
getErrors(): EntityError[];
|
|
159
156
|
getShallowErrors(): EntityError[];
|
|
@@ -501,8 +498,6 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
501
498
|
clearErrors(): ArgumentDeclarationState;
|
|
502
499
|
validate(): {
|
|
503
500
|
success: boolean;
|
|
504
|
-
error: ZodError | null;
|
|
505
|
-
data: IArgumentDeclarationTransfer | null;
|
|
506
501
|
};
|
|
507
502
|
getErrors(): EntityError[];
|
|
508
503
|
getShallowErrors(): EntityError[];
|
|
@@ -685,8 +680,6 @@ export declare class BreakStatementState extends VersionedState implements IBrea
|
|
|
685
680
|
clearErrors(): BreakStatementState;
|
|
686
681
|
validate(): {
|
|
687
682
|
success: boolean;
|
|
688
|
-
error: ZodError | null;
|
|
689
|
-
data: IBreakStatementTransfer | null;
|
|
690
683
|
};
|
|
691
684
|
getErrors(): EntityError[];
|
|
692
685
|
getShallowErrors(): EntityError[];
|
|
@@ -1475,8 +1468,6 @@ export declare class BuiltInBaseEntityState extends VersionedState implements Ba
|
|
|
1475
1468
|
clearErrors(): BuiltInBaseEntityState;
|
|
1476
1469
|
validate(): {
|
|
1477
1470
|
success: boolean;
|
|
1478
|
-
error: ZodError | null;
|
|
1479
|
-
data: IBuiltInBaseEntityTransfer | null;
|
|
1480
1471
|
};
|
|
1481
1472
|
getErrors(): EntityError[];
|
|
1482
1473
|
getShallowErrors(): EntityError[];
|
|
@@ -2022,8 +2013,6 @@ export declare class ConditionState extends VersionedState implements ICondition
|
|
|
2022
2013
|
clearErrors(): ConditionState;
|
|
2023
2014
|
validate(): {
|
|
2024
2015
|
success: boolean;
|
|
2025
|
-
error: ZodError | null;
|
|
2026
|
-
data: IConditionTransfer | null;
|
|
2027
2016
|
};
|
|
2028
2017
|
getErrors(): EntityError[];
|
|
2029
2018
|
getShallowErrors(): EntityError[];
|
|
@@ -2159,8 +2148,6 @@ export declare class ContinueStatementState extends VersionedState implements IC
|
|
|
2159
2148
|
clearErrors(): ContinueStatementState;
|
|
2160
2149
|
validate(): {
|
|
2161
2150
|
success: boolean;
|
|
2162
|
-
error: ZodError | null;
|
|
2163
|
-
data: IContinueStatementTransfer | null;
|
|
2164
2151
|
};
|
|
2165
2152
|
getErrors(): EntityError[];
|
|
2166
2153
|
getShallowErrors(): EntityError[];
|
|
@@ -2481,8 +2468,6 @@ export declare class DataTypeState extends VersionedState implements IDataType,
|
|
|
2481
2468
|
clearErrors(): DataTypeState;
|
|
2482
2469
|
validate(): {
|
|
2483
2470
|
success: boolean;
|
|
2484
|
-
error: ZodError | null;
|
|
2485
|
-
data: IDataTypeTransfer | null;
|
|
2486
2471
|
};
|
|
2487
2472
|
getErrors(): EntityError[];
|
|
2488
2473
|
getShallowErrors(): EntityError[];
|
|
@@ -2775,8 +2760,6 @@ export declare class DefaultProjectLogicContext extends ExtensionContextBase<Ext
|
|
|
2775
2760
|
clearErrors(): ProjectState;
|
|
2776
2761
|
validate(): {
|
|
2777
2762
|
success: boolean;
|
|
2778
|
-
error: ZodError | null;
|
|
2779
|
-
data: IProjectTransfer | null;
|
|
2780
2763
|
};
|
|
2781
2764
|
validateChildren(): void;
|
|
2782
2765
|
getErrors(): EntityError[];
|
|
@@ -2977,8 +2960,6 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
|
|
|
2977
2960
|
clearErrors(): DefinitionEntityState;
|
|
2978
2961
|
validate(): {
|
|
2979
2962
|
success: boolean;
|
|
2980
|
-
error: ZodError | null;
|
|
2981
|
-
data: IDefinitionEntityTransfer | null;
|
|
2982
2963
|
};
|
|
2983
2964
|
getErrors(): EntityError[];
|
|
2984
2965
|
getShallowErrors(): EntityError[];
|
|
@@ -3351,7 +3332,6 @@ export declare type EntityActionPayload = PersistChangeSetEntityActionPayload;
|
|
|
3351
3332
|
export declare class EntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode> implements IEntityError<TCode> {
|
|
3352
3333
|
id: string;
|
|
3353
3334
|
message: string;
|
|
3354
|
-
issue: z_2.ZodIssue | null;
|
|
3355
3335
|
severity: EntityErrorSeverity;
|
|
3356
3336
|
code: TCode;
|
|
3357
3337
|
entity: EntityState;
|
|
@@ -3371,7 +3351,6 @@ export declare enum EntityErrorSeverity {
|
|
|
3371
3351
|
export declare class EntityGenerationError implements IEntityGenerationError {
|
|
3372
3352
|
id: string;
|
|
3373
3353
|
message: string;
|
|
3374
|
-
issue: z_2.ZodIssue | null;
|
|
3375
3354
|
severity: EntityErrorSeverity;
|
|
3376
3355
|
code: SharedEntityErrorCode | EntityGenerationErrorCode;
|
|
3377
3356
|
constructor(error: IEntityGenerationError);
|
|
@@ -4235,8 +4214,6 @@ export declare class FunctionCallState extends VersionedState implements IFuncti
|
|
|
4235
4214
|
clearErrors(): FunctionCallState;
|
|
4236
4215
|
validate(): {
|
|
4237
4216
|
success: boolean;
|
|
4238
|
-
error: ZodError | null;
|
|
4239
|
-
data: IFunctionCallTransfer | null;
|
|
4240
4217
|
};
|
|
4241
4218
|
getErrors(): EntityError[];
|
|
4242
4219
|
getShallowErrors(): EntityError[];
|
|
@@ -4385,8 +4362,6 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
4385
4362
|
clearErrors(): FunctionDeclarationState;
|
|
4386
4363
|
validate(): {
|
|
4387
4364
|
success: boolean;
|
|
4388
|
-
error: ZodError | null;
|
|
4389
|
-
data: IFunctionDeclarationTransfer | null;
|
|
4390
4365
|
};
|
|
4391
4366
|
getErrors(): EntityError[];
|
|
4392
4367
|
getShallowErrors(): EntityError[];
|
|
@@ -8741,8 +8716,6 @@ export declare class GlobalEventState extends VersionedState implements IGlobalE
|
|
|
8741
8716
|
clearErrors(): GlobalEventState;
|
|
8742
8717
|
validate(): {
|
|
8743
8718
|
success: boolean;
|
|
8744
|
-
error: ZodError | null;
|
|
8745
|
-
data: IGlobalEventTransfer | null;
|
|
8746
8719
|
};
|
|
8747
8720
|
getErrors(): EntityError[];
|
|
8748
8721
|
getShallowErrors(): EntityError[];
|
|
@@ -9825,7 +9798,6 @@ export declare interface IEntityComponentProps {
|
|
|
9825
9798
|
export declare interface IEntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode> {
|
|
9826
9799
|
id: string;
|
|
9827
9800
|
message: string;
|
|
9828
|
-
issue: z_2.ZodIssue | null;
|
|
9829
9801
|
severity: EntityErrorSeverity;
|
|
9830
9802
|
code: TCode;
|
|
9831
9803
|
entity: EntityState;
|
|
@@ -9836,7 +9808,6 @@ export declare interface IEntityError<TCode = SharedEntityErrorCode | EntityInst
|
|
|
9836
9808
|
export declare interface IEntityGenerationError {
|
|
9837
9809
|
id: string;
|
|
9838
9810
|
message: string;
|
|
9839
|
-
issue: z_2.ZodIssue | null;
|
|
9840
9811
|
severity: EntityErrorSeverity;
|
|
9841
9812
|
code: SharedEntityErrorCode | EntityGenerationErrorCode;
|
|
9842
9813
|
}
|
|
@@ -10461,8 +10432,6 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
10461
10432
|
clearErrors(): InputMapState;
|
|
10462
10433
|
validate(): {
|
|
10463
10434
|
success: boolean;
|
|
10464
|
-
error: ZodError | null;
|
|
10465
|
-
data: IInputMapTransfer | null;
|
|
10466
10435
|
};
|
|
10467
10436
|
getErrors(): EntityError[];
|
|
10468
10437
|
getShallowErrors(): EntityError[];
|
|
@@ -10584,8 +10553,6 @@ export declare class InstalledProjectState extends VersionedState implements IIn
|
|
|
10584
10553
|
clearErrors(): InstalledProjectState;
|
|
10585
10554
|
validate(): {
|
|
10586
10555
|
success: boolean;
|
|
10587
|
-
error: ZodError | null;
|
|
10588
|
-
data: IInstalledProjectTransfer | null;
|
|
10589
10556
|
};
|
|
10590
10557
|
getErrors(): EntityError[];
|
|
10591
10558
|
getShallowErrors(): EntityError[];
|
|
@@ -10727,8 +10694,6 @@ export declare class InternalCallState extends VersionedState implements IIntern
|
|
|
10727
10694
|
clearErrors(): InternalCallState;
|
|
10728
10695
|
validate(): {
|
|
10729
10696
|
success: boolean;
|
|
10730
|
-
error: ZodError | null;
|
|
10731
|
-
data: IInternalCallTransfer | null;
|
|
10732
10697
|
};
|
|
10733
10698
|
getErrors(): EntityError[];
|
|
10734
10699
|
getShallowErrors(): EntityError[];
|
|
@@ -12099,8 +12064,6 @@ export declare class LiteralValueState extends VersionedState implements BaseSta
|
|
|
12099
12064
|
clearErrors(): LiteralValueState;
|
|
12100
12065
|
validate(): {
|
|
12101
12066
|
success: boolean;
|
|
12102
|
-
error: ZodError | null;
|
|
12103
|
-
data: ILiteralValueTransfer | null;
|
|
12104
12067
|
};
|
|
12105
12068
|
getErrors(): EntityError[];
|
|
12106
12069
|
getShallowErrors(): EntityError[];
|
|
@@ -12277,8 +12240,6 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
12277
12240
|
clearErrors(): LoopState;
|
|
12278
12241
|
validate(): {
|
|
12279
12242
|
success: boolean;
|
|
12280
|
-
error: ZodError | null;
|
|
12281
|
-
data: ILoopTransfer | null;
|
|
12282
12243
|
};
|
|
12283
12244
|
getErrors(): EntityError[];
|
|
12284
12245
|
getShallowErrors(): EntityError[];
|
|
@@ -13138,8 +13099,6 @@ export declare class OperationState extends VersionedState implements IOperation
|
|
|
13138
13099
|
clearErrors(): OperationState;
|
|
13139
13100
|
validate(): {
|
|
13140
13101
|
success: boolean;
|
|
13141
|
-
error: ZodError | null;
|
|
13142
|
-
data: IOperationTransfer | null;
|
|
13143
13102
|
};
|
|
13144
13103
|
getErrors(): EntityError[];
|
|
13145
13104
|
getShallowErrors(): EntityError[];
|
|
@@ -13290,8 +13249,6 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
13290
13249
|
clearErrors(): OutputMapState;
|
|
13291
13250
|
validate(): {
|
|
13292
13251
|
success: boolean;
|
|
13293
|
-
error: ZodError | null;
|
|
13294
|
-
data: IOutputMapTransfer | null;
|
|
13295
13252
|
};
|
|
13296
13253
|
getErrors(): EntityError[];
|
|
13297
13254
|
getShallowErrors(): EntityError[];
|
|
@@ -13528,8 +13485,6 @@ export declare class PrimitiveEntityState extends VersionedState implements Base
|
|
|
13528
13485
|
clearErrors(): PrimitiveEntityState;
|
|
13529
13486
|
validate(): {
|
|
13530
13487
|
success: boolean;
|
|
13531
|
-
error: ZodError | null;
|
|
13532
|
-
data: IPrimitiveEntityTransfer | null;
|
|
13533
13488
|
};
|
|
13534
13489
|
getErrors(): EntityError[];
|
|
13535
13490
|
getShallowErrors(): EntityError[];
|
|
@@ -13748,8 +13703,6 @@ export declare class ProjectState extends VersionedState implements IProject, Us
|
|
|
13748
13703
|
clearErrors(): ProjectState;
|
|
13749
13704
|
validate(): {
|
|
13750
13705
|
success: boolean;
|
|
13751
|
-
error: ZodError | null;
|
|
13752
|
-
data: IProjectTransfer | null;
|
|
13753
13706
|
};
|
|
13754
13707
|
validateChildren(): void;
|
|
13755
13708
|
getErrors(): EntityError[];
|
|
@@ -13955,8 +13908,6 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
13955
13908
|
clearErrors(): PropertyState;
|
|
13956
13909
|
validate(): {
|
|
13957
13910
|
success: boolean;
|
|
13958
|
-
error: ZodError | null;
|
|
13959
|
-
data: IPropertyTransfer | null;
|
|
13960
13911
|
};
|
|
13961
13912
|
getErrors(): EntityError[];
|
|
13962
13913
|
getShallowErrors(): EntityError[];
|
|
@@ -14499,8 +14450,6 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
14499
14450
|
clearErrors(): ReturnDeclarationState;
|
|
14500
14451
|
validate(): {
|
|
14501
14452
|
success: boolean;
|
|
14502
|
-
error: ZodError | null;
|
|
14503
|
-
data: IReturnDeclarationTransfer | null;
|
|
14504
14453
|
};
|
|
14505
14454
|
getErrors(): EntityError[];
|
|
14506
14455
|
getShallowErrors(): EntityError[];
|
|
@@ -14638,8 +14587,6 @@ export declare class ReturnStatementState extends VersionedState implements IRet
|
|
|
14638
14587
|
clearErrors(): ReturnStatementState;
|
|
14639
14588
|
validate(): {
|
|
14640
14589
|
success: boolean;
|
|
14641
|
-
error: ZodError | null;
|
|
14642
|
-
data: IReturnStatementTransfer | null;
|
|
14643
14590
|
};
|
|
14644
14591
|
getErrors(): EntityError[];
|
|
14645
14592
|
getShallowErrors(): EntityError[];
|
|
@@ -14841,8 +14788,6 @@ export declare class SearchState extends VersionedState implements ISearch, Base
|
|
|
14841
14788
|
clearErrors(): SearchState;
|
|
14842
14789
|
validate(): {
|
|
14843
14790
|
success: boolean;
|
|
14844
|
-
error: ZodError | null;
|
|
14845
|
-
data: ISearchTransfer | null;
|
|
14846
14791
|
};
|
|
14847
14792
|
getErrors(): EntityError[];
|
|
14848
14793
|
getShallowErrors(): EntityError[];
|
|
@@ -15118,8 +15063,6 @@ export declare abstract class SharedStateFunctionality {
|
|
|
15118
15063
|
abstract toFlatGenerationTarget(seenEntities?: Set<string>): ElementGenerationTarget[];
|
|
15119
15064
|
abstract validate(): {
|
|
15120
15065
|
success: boolean;
|
|
15121
|
-
error: ZodError | null;
|
|
15122
|
-
data: ElementTransfer | null;
|
|
15123
15066
|
};
|
|
15124
15067
|
abstract clearErrors(): SharedStateFunctionality;
|
|
15125
15068
|
abstract getErrors(): EntityError[];
|
|
@@ -16225,8 +16168,6 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
16225
16168
|
clearErrors(): ValueDescriptorState;
|
|
16226
16169
|
validate(): {
|
|
16227
16170
|
success: boolean;
|
|
16228
|
-
error: ZodError | null;
|
|
16229
|
-
data: IValueDescriptorTransfer | null;
|
|
16230
16171
|
};
|
|
16231
16172
|
getErrors(): EntityError[];
|
|
16232
16173
|
getShallowErrors(): EntityError[];
|
|
@@ -16459,8 +16400,6 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
16459
16400
|
clearErrors(): VariableDeclarationState;
|
|
16460
16401
|
validate(): {
|
|
16461
16402
|
success: boolean;
|
|
16462
|
-
error: ZodError | null;
|
|
16463
|
-
data: IVariableDeclarationTransfer | null;
|
|
16464
16403
|
};
|
|
16465
16404
|
getErrors(): EntityError[];
|
|
16466
16405
|
getShallowErrors(): EntityError[];
|
|
@@ -16658,8 +16597,6 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
16658
16597
|
clearErrors(): VariableInstanceState;
|
|
16659
16598
|
validate(): {
|
|
16660
16599
|
success: boolean;
|
|
16661
|
-
error: ZodError | null;
|
|
16662
|
-
data: IVariableInstanceTransfer | null;
|
|
16663
16600
|
};
|
|
16664
16601
|
getErrors(): EntityError[];
|
|
16665
16602
|
getShallowErrors(): EntityError[];
|