@elyx-code/project-logic-tree 0.0.6422 → 0.0.6424

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 CHANGED
@@ -816,6 +816,17 @@ export declare const BUILT_IN_BASE_ENTITY_IDS: {
816
816
  id: string;
817
817
  };
818
818
  };
819
+ methods: {
820
+ create: {
821
+ id: BuiltInFunctionIds;
822
+ };
823
+ update: {
824
+ id: BuiltInFunctionIds;
825
+ };
826
+ delete: {
827
+ id: BuiltInFunctionIds;
828
+ };
829
+ };
819
830
  };
820
831
  BUILT_IN_RELATIONAL_DATABASE_ENTITY: {
821
832
  id: BaseEntityNames;
@@ -1493,7 +1504,8 @@ export declare type BuiltInElementTypesUnion = BuiltInElement | BuiltInElementTr
1493
1504
 
1494
1505
  export declare enum BuiltInFunctionIds {
1495
1506
  DeletePersistedEntity = "base-delete-persisted-entity",
1496
- SavePersistedEntity = "base-save-persisted-entity",
1507
+ CreatePersistedEntity = "base-create-persisted-entity",
1508
+ UpdatePersistedEntity = "base-update-persisted-entity",
1497
1509
  AbortExecution = "base-abort-execution"
1498
1510
  }
1499
1511
 
@@ -1509,6 +1521,18 @@ export declare class BuiltInFunctionImplementationAbortExecutionModule extends B
1509
1521
  };
1510
1522
  }
1511
1523
 
1524
+ export declare class BuiltInFunctionImplementationCreatePersistedEntityModule extends BaseRegisteredExtension implements IRegisteredExtension<BuiltInFunctionImplementationModule> {
1525
+ manifest: ExtensionManifest;
1526
+ module: {
1527
+ main: (entity: InternalCallState, _inputs: IDynamicValue[]) => Promise<{
1528
+ value: ExecutionTerminationType;
1529
+ entity: InternalCallState;
1530
+ error: null;
1531
+ results: never[];
1532
+ }>;
1533
+ };
1534
+ }
1535
+
1512
1536
  export declare class BuiltInFunctionImplementationDeletePersistedEntityModule extends BaseRegisteredExtension implements IRegisteredExtension<BuiltInFunctionImplementationModule> {
1513
1537
  manifest: ExtensionManifest;
1514
1538
  module: {
@@ -1525,7 +1549,7 @@ export declare interface BuiltInFunctionImplementationModule {
1525
1549
  main: (entity: InternalCallState, _inputs: IDynamicValue[]) => Promise<IExecutionResult>;
1526
1550
  }
1527
1551
 
1528
- export declare class BuiltInFunctionImplementationSavePersistedEntityModule extends BaseRegisteredExtension implements IRegisteredExtension<BuiltInFunctionImplementationModule> {
1552
+ export declare class BuiltInFunctionImplementationUpdatePersistedEntityModule extends BaseRegisteredExtension implements IRegisteredExtension<BuiltInFunctionImplementationModule> {
1529
1553
  manifest: ExtensionManifest;
1530
1554
  module: {
1531
1555
  main: (entity: InternalCallState, _inputs: IDynamicValue[]) => Promise<{
@@ -2262,6 +2286,10 @@ export declare enum CreateNewOutputIds {
2262
2286
  Error = "create-new-instance-error-return-delaration"
2263
2287
  }
2264
2288
 
2289
+ export declare const createPersistedEntityMethod: IFunctionDeclarationTransfer;
2290
+
2291
+ export declare const createPersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
2292
+
2265
2293
  export declare function createSemanticId(entityName: string, entityType: EntityType, project: ProjectState): string;
2266
2294
 
2267
2295
  export declare function createStateFromGenerationTargetType(entity: ElementGenerationTarget, parentProjectState: ProjectState): UserManagedEntityState;
@@ -2561,7 +2589,8 @@ export declare const DEFAULT_MODULE_IDS: {
2561
2589
  UUID: string;
2562
2590
  SEARCH_NODE_IMPLEMENTATION: string;
2563
2591
  BUILT_IN_FUNCTION_IMPLEMENTATIONS__ABORT_EXECUTION: string;
2564
- BUILT_IN_FUNCTION_IMPLEMENTATIONS__SAVE_PERSISTED_ENTITY: string;
2592
+ BUILT_IN_FUNCTION_IMPLEMENTATIONS__CREATE_PERSISTED_ENTITY: string;
2593
+ BUILT_IN_FUNCTION_IMPLEMENTATIONS__UPDATE_PERSISTED_ENTITY: string;
2565
2594
  BUILT_IN_FUNCTION_IMPLEMENTATIONS__DELETE_PERSISTED_ENTITY: string;
2566
2595
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__HTTP_REQUEST: string;
2567
2596
  BUILT_INT_OPERATIONS_IMPLEMENTATIONS__VALIDATE_ENTITY: string;
@@ -14616,10 +14645,6 @@ declare function sanitizeQuery(query: string): string;
14616
14645
 
14617
14646
  declare function sanitizeSQLIdentifierText(text: string): string;
14618
14647
 
14619
- export declare const savePersistedEntityMethod: IFunctionDeclarationTransfer;
14620
-
14621
- export declare const savePersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
14622
-
14623
14648
  export declare type ScopeCompatibility = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope | IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
14624
14649
 
14625
14650
  export declare enum ScopeCompatibilityType {
@@ -15363,6 +15388,10 @@ export declare type UntypedValue = string | number | boolean | null | Date | {
15363
15388
 
15364
15389
  export declare function updateErrorsList(oldErrors: EntityError[], newErrors: EntityError[]): EntityError[];
15365
15390
 
15391
+ export declare const updatePersistedEntityMethod: IFunctionDeclarationTransfer;
15392
+
15393
+ export declare const updatePersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
15394
+
15366
15395
  export declare const urlDefaultValue: ILiteralValueTransfer;
15367
15396
 
15368
15397
  export declare const USER_MANAGED_ENTITY_TYPES: EntityType[];