@elyx-code/project-logic-tree 0.0.6555 → 0.0.6556
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 -6
- package/dist/index.js +287 -247
- package/dist/index.umd.cjs +94 -94
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -644,6 +644,7 @@ export declare class BreakStatementState extends UserManagedVersionedState imple
|
|
|
644
644
|
initialized: boolean;
|
|
645
645
|
startedInitialization: boolean;
|
|
646
646
|
suggestion: boolean;
|
|
647
|
+
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
647
648
|
constructor(initialData: IBreakStatement | IBreakStatementTransfer, parentProjectState: ProjectState);
|
|
648
649
|
static repository: IEditableEntityPersistanceRepository;
|
|
649
650
|
static type: EntityType.BreakStatement;
|
|
@@ -668,6 +669,7 @@ export declare class BreakStatementState extends UserManagedVersionedState imple
|
|
|
668
669
|
errors: EntityGenerationError[];
|
|
669
670
|
modifiedData: IBreakStatementGenerationTarget;
|
|
670
671
|
};
|
|
672
|
+
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
671
673
|
validateGeneratedUpdate(data: Partial<IBreakStatementGenerationTarget>): {
|
|
672
674
|
errors: EntityGenerationError[];
|
|
673
675
|
modifiedData: Partial<IBreakStatementGenerationTarget>;
|
|
@@ -3734,7 +3736,7 @@ export declare enum ChangeSetEntityChangeType {
|
|
|
3734
3736
|
export declare class ChangeSetEvent implements IChangeSetEvent {
|
|
3735
3737
|
id: string;
|
|
3736
3738
|
action: StateMutationAction;
|
|
3737
|
-
errorReason:
|
|
3739
|
+
errorReason: StateMutationErrorCode | null;
|
|
3738
3740
|
owner: UserManagedEntityState | null;
|
|
3739
3741
|
counterpart: UserManagedEntityState | PrimitiveEntityState | BuiltInBaseEntityState | null;
|
|
3740
3742
|
rootAction: boolean;
|
|
@@ -4092,6 +4094,7 @@ export declare class ContinueStatementState extends UserManagedVersionedState im
|
|
|
4092
4094
|
initialized: boolean;
|
|
4093
4095
|
startedInitialization: boolean;
|
|
4094
4096
|
suggestion: boolean;
|
|
4097
|
+
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
4095
4098
|
constructor(initialData: IContinueStatement | IContinueStatementTransfer, parentProjectState: ProjectState);
|
|
4096
4099
|
static repository: IEditableEntityPersistanceRepository;
|
|
4097
4100
|
static type: EntityType.ContinueStatement;
|
|
@@ -4116,6 +4119,7 @@ export declare class ContinueStatementState extends UserManagedVersionedState im
|
|
|
4116
4119
|
errors: EntityGenerationError[];
|
|
4117
4120
|
modifiedData: IContinueStatementGenerationTarget;
|
|
4118
4121
|
};
|
|
4122
|
+
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
4119
4123
|
validateGeneratedUpdate(data: Partial<IContinueStatementGenerationTarget>): {
|
|
4120
4124
|
errors: EntityGenerationError[];
|
|
4121
4125
|
modifiedData: Partial<IContinueStatementGenerationTarget>;
|
|
@@ -13177,7 +13181,7 @@ export declare interface IChangeSet<TSelf extends {
|
|
|
13177
13181
|
export declare interface IChangeSetEvent {
|
|
13178
13182
|
id: string;
|
|
13179
13183
|
action: StateMutationAction;
|
|
13180
|
-
errorReason:
|
|
13184
|
+
errorReason: StateMutationErrorCode | EntityErrorCode | SharedEntityErrorCode | EntityGenerationErrorCode | null;
|
|
13181
13185
|
owner: UserManagedEntityState | null;
|
|
13182
13186
|
counterpart: UserManagedEntityState | PrimitiveEntityState | BuiltInBaseEntityState | null;
|
|
13183
13187
|
rootAction: boolean;
|
|
@@ -13186,7 +13190,7 @@ export declare interface IChangeSetEvent {
|
|
|
13186
13190
|
export declare interface IChangeSetEventCreationPayload {
|
|
13187
13191
|
id: string;
|
|
13188
13192
|
action: StateMutationAction;
|
|
13189
|
-
errorReason?:
|
|
13193
|
+
errorReason?: StateMutationErrorCode;
|
|
13190
13194
|
owner?: UserManagedEntityState;
|
|
13191
13195
|
counterpart?: UserManagedEntityState | PrimitiveEntityState | BuiltInBaseEntityState;
|
|
13192
13196
|
rootAction?: boolean;
|
|
@@ -18401,6 +18405,7 @@ export declare class ReturnStatementState extends UserManagedVersionedState impl
|
|
|
18401
18405
|
initialized: boolean;
|
|
18402
18406
|
startedInitialization: boolean;
|
|
18403
18407
|
suggestion: boolean;
|
|
18408
|
+
readonly _codeNativeValueValidation: ValueValidationCallback | null;
|
|
18404
18409
|
constructor(initialData: IReturnStatement | IReturnStatementTransfer, parentProjectState: ProjectState);
|
|
18405
18410
|
static repository: IEditableEntityPersistanceRepository;
|
|
18406
18411
|
static type: EntityType.ReturnStatement;
|
|
@@ -18425,6 +18430,7 @@ export declare class ReturnStatementState extends UserManagedVersionedState impl
|
|
|
18425
18430
|
errors: EntityGenerationError[];
|
|
18426
18431
|
modifiedData: IReturnStatementGenerationTarget;
|
|
18427
18432
|
};
|
|
18433
|
+
get codeNativeValueValidation(): ValueValidationCallback | null;
|
|
18428
18434
|
validateGeneratedUpdate(data: Partial<IReturnStatementGenerationTarget>): {
|
|
18429
18435
|
errors: EntityGenerationError[];
|
|
18430
18436
|
modifiedData: Partial<IReturnStatementGenerationTarget>;
|
|
@@ -19383,13 +19389,22 @@ export declare enum StateMutationAction {
|
|
|
19383
19389
|
RemoveAbstractMethod = "remove-abstract-method",
|
|
19384
19390
|
SetValueAsTypeSingle = "set-value-as-type-single",
|
|
19385
19391
|
SetValueAsTypeList = "set-value-as-type-list",
|
|
19386
|
-
SetValueAsType = "set-value-as-type"
|
|
19392
|
+
SetValueAsType = "set-value-as-type",
|
|
19393
|
+
RemoveErrorCatching = "remove-error-catching",
|
|
19394
|
+
RemoveAllErrorCallers = "remove-all-error-callers",
|
|
19395
|
+
RemoveAllSuccessCallers = "remove-all-success-callers",
|
|
19396
|
+
RemoveAllCallers = "remove-all-callers",
|
|
19397
|
+
RemoveAllErrorCalls = "remove-all-error-calls"
|
|
19387
19398
|
}
|
|
19388
19399
|
|
|
19389
|
-
export declare enum
|
|
19400
|
+
export declare enum StateMutationErrorCode {
|
|
19390
19401
|
ActionOwnerEntityNotEditable = "action-owner-entity-not-editable",
|
|
19391
19402
|
ActionCounterpartEntityNotEditable = "action-counterpart-entity-not-editable",
|
|
19392
|
-
ActionOwnerEntityNonDeletable = "action-owner-entity-non-deletable"
|
|
19403
|
+
ActionOwnerEntityNonDeletable = "action-owner-entity-non-deletable",
|
|
19404
|
+
GlobalVariableDeclarationCannnotCatchError = "global-variable-declaration-cannot-catch-error",
|
|
19405
|
+
GlobalVariableDeclarationCannotReadValue = "global-variable-declaration-cannot-read-value",
|
|
19406
|
+
GlobalVariableDeclarationCannotBeCalled = "global-variable-declaration-cannot-be-called",
|
|
19407
|
+
GlobalVariableDeclarationCannotCallFromError = "global-variable-declaration-cannot-call-from-error"
|
|
19393
19408
|
}
|
|
19394
19409
|
|
|
19395
19410
|
export declare const STATIC_PROPERTY_HEIGHT = 49;
|