evo360-types 1.3.16 → 1.3.17

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
@@ -1,11 +1,13 @@
1
1
  // @evo360/types/index.ts
2
2
  export * from "./types/shared";
3
+ export * from "./types/firebase/pubsub-sync";
3
4
  export * from "./types/evo-core";
4
5
  export * from "./types/evo-tenant";
5
6
  export * from "./types/evo-activity";
6
7
  export * from "./types/evo-people";
7
8
  export * from "./types/evo-crm/dic";
8
9
  export * from "./types/evo-crm/lead";
10
+ export * from "./types/evo-chat";
9
11
  export * from "./types/evo-med/dic";
10
12
  export * from "./types/evo-med/insurance";
11
13
  export * from "./types/evo-med/people";
@@ -1 +1,7 @@
1
- export {};
1
+ export interface IReplicationMessage<T> {
2
+ tenantId: string;
3
+ docId: string;
4
+ docPath: string;
5
+ data: Partial<T>;
6
+ version: number;
7
+ }
@@ -0,0 +1,8 @@
1
+ // Interface for the message published to Pub/Sub
2
+ export interface IReplicationMessage<T> {
3
+ tenantId: string;
4
+ docId: string;
5
+ docPath: string;
6
+ data: Partial<T>; // Data to be replicated
7
+ version: number;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.16",
3
+ "version": "1.3.17",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",