@elyx-code/project-logic-tree 0.0.6180 → 0.0.6182
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.js +22 -12
- package/dist/index.umd.cjs +37 -37
- package/dist/tree/state/change-set.d.ts +2 -0
- package/dist/tree/state/store.d.ts +2 -1
- package/package.json +1 -1
|
@@ -68,6 +68,8 @@ export declare class ChangeSet {
|
|
|
68
68
|
get removedIds(): EntityId[];
|
|
69
69
|
get affectedIds(): EntityId[];
|
|
70
70
|
discardOrphans(): void;
|
|
71
|
+
attemptAutocloseAsync(knownAutoCloseActionName: string, closingEntityId: EntityId): Promise<ChangeSet>;
|
|
72
|
+
closeAsync(): Promise<ChangeSet>;
|
|
71
73
|
attemptAutoclose(knownAutoCloseActionName: string, closingEntityId: EntityId): ChangeSet;
|
|
72
74
|
close(): ChangeSet;
|
|
73
75
|
get(entityId: EntityId): UserManagedEntityState | null;
|
|
@@ -17,7 +17,8 @@ export interface IGetProjectOptions {
|
|
|
17
17
|
mock?: boolean;
|
|
18
18
|
baseUrl?: string;
|
|
19
19
|
ignoreCache?: boolean;
|
|
20
|
-
onFetch?: (projectId: EntityId) => Promise<ProjectFetchResult>;
|
|
20
|
+
onFetch?: (projectId: EntityId) => Promise<ProjectFetchResult | ProjectState>;
|
|
21
|
+
manuallyInit?: boolean;
|
|
21
22
|
}
|
|
22
23
|
export declare const GET_PROJECT_OPTIONS_DEFAULTS: IGetProjectOptions;
|
|
23
24
|
export declare function initProjectFromFetchResult(result: IProjectFetchResult, { enrich }?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6182",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|