@elyx-code/project-logic-tree 0.0.6170 → 0.0.6171

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.
@@ -48,7 +48,7 @@ export interface IReadOnlyEntityPersistanceRepository {
48
48
  export interface IEditableEntityPersistanceRepository extends IReadOnlyEntityPersistanceRepository {
49
49
  APICreate<T extends Array<any> = any[]>(entity: ElementShallowTransfer, ...otherArgs: T): Promise<ElementShallowTransfer>;
50
50
  APIUpdate<T extends Array<any> = any[]>(entity: ElementShallowTransfer, ...otherArgs: T): Promise<ElementShallowTransfer>;
51
- APIDelete<T extends Array<any> = any[]>(entityId: EntityId, ...otherArgs: T): Promise<void>;
51
+ APIDelete<T extends Array<any> = any[]>(entity: ElementShallowTransfer, ...otherArgs: T): Promise<ElementShallowTransfer>;
52
52
  APIClone<T extends Array<any> = any[]>(entityId: EntityId, ...otherArgs: T): Promise<void>;
53
53
  APILoadVersion<T extends Array<any> = any[]>(entityId: EntityId, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: T): Promise<ElementShallowTransfer | null>;
54
54
  }
@@ -101,7 +101,7 @@ export declare abstract class BaseState extends SharedStateFunctionality impleme
101
101
  abstract version: EntityVersion;
102
102
  abstract type: EntityType;
103
103
  abstract previousVersion: string | null;
104
- abstract createdAt: string | Date;
104
+ abstract createdAt: string;
105
105
  abstract deleted: boolean;
106
106
  abstract author: string;
107
107
  }
@@ -24,7 +24,7 @@ export interface IRecordChangeSet<TSelf extends {
24
24
  } = UserManagedElementShallowTransfer> {
25
25
  added: Record<EntityId, TGeneric>;
26
26
  updated: Record<EntityId, TGeneric>;
27
- removed: EntityId[];
27
+ removed: Record<EntityId, TGeneric>;
28
28
  affected: EntityId[];
29
29
  self: TSelf;
30
30
  seenEntities: EntityId[];
@@ -3,7 +3,7 @@ import { EntityVersion, IVersionMetadata } from '../../definitions';
3
3
  export declare class VersionedState implements IVersionMetadata {
4
4
  version: EntityVersion;
5
5
  previousVersion: EntityVersion | null;
6
- createdAt: string | Date;
6
+ createdAt: string;
7
7
  deleted: boolean;
8
8
  author: string;
9
9
  constructor(data: IVersionMetadata);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6170",
3
+ "version": "0.0.6171",
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",