@followupus/common 0.7.2 → 0.7.3

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.
@@ -11,6 +11,11 @@ export declare const DELTA_ACTION: {
11
11
  UPDATE: string;
12
12
  CREATE: string;
13
13
  };
14
+ export declare const ROOT_SCHEMA_NAME: {
15
+ USERS: string;
16
+ BOARDS: string;
17
+ SPACES: string;
18
+ };
14
19
  export interface DeltaObject {
15
20
  id: number;
16
21
  action: keyof typeof DELTA_ACTION;
@@ -20,7 +25,7 @@ export interface DeltaObject {
20
25
  createdAt: string;
21
26
  data?: object;
22
27
  rootId: string;
23
- rootType: keyof typeof DELTA_SCHEMA_NAME;
28
+ rootType: keyof typeof ROOT_SCHEMA_NAME;
24
29
  }
25
30
  export interface DeltaMessages {
26
31
  cmd: string;
@@ -11,3 +11,8 @@ export const DELTA_ACTION = {
11
11
  UPDATE: "U",
12
12
  CREATE: "C",
13
13
  };
14
+ export const ROOT_SCHEMA_NAME = {
15
+ USERS: "USERS",
16
+ BOARDS: "BOARDS",
17
+ SPACES: "SPACES",
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@followupus/common",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "followup common utils npm package with TypeScript and VSCode",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",