@enonic-types/lib-event 7.11.0-B4 → 7.11.0-RC3

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.
Files changed (2) hide show
  1. package/event.d.ts +12 -12
  2. package/package.json +1 -1
package/event.d.ts CHANGED
@@ -32,22 +32,22 @@ export interface SendParams {
32
32
  data?: object;
33
33
  }
34
34
  export interface EnonicEvent<EventData extends object = EnonicEventData> {
35
- readonly type: string;
36
- readonly timestamp: number;
37
- readonly localOrigin: boolean;
38
- readonly distributed: boolean;
39
- readonly data: EventData;
35
+ type: string;
36
+ timestamp: number;
37
+ localOrigin: boolean;
38
+ distributed: boolean;
39
+ data: EventData;
40
40
  }
41
41
  export interface EnonicEventData {
42
- readonly nodes: ReadonlyArray<EnonicEventDataNode>;
43
- readonly state?: string;
42
+ nodes: EnonicEventDataNode[];
43
+ state?: string;
44
44
  }
45
45
  export interface EnonicEventDataNode {
46
- readonly id: string;
47
- readonly path: string;
48
- readonly branch: string;
49
- readonly repo: string;
50
- readonly newPath?: string;
46
+ id: string;
47
+ path: string;
48
+ branch: string;
49
+ repo: string;
50
+ newPath?: string;
51
51
  }
52
52
  /**
53
53
  * Event functions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enonic-types/lib-event",
3
- "version": "7.11.0-B4",
3
+ "version": "7.11.0-RC3",
4
4
  "description": "Type definitions for lib-event.",
5
5
  "types": "event.d.ts",
6
6
  "files": [