evo360-types 1.3.14 → 1.3.16
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 +1 -0
- package/dist/index.ts +1 -0
- package/dist/types/evo-chat/index.d.ts +1 -1
- package/dist/types/evo-chat/index.js +15 -0
- package/dist/types/evo-chat/index.ts +1 -0
- package/dist/types/firebase/pubsub-sync/document-replication-handler.d.ts +10 -0
- package/dist/types/firebase/pubsub-sync/document-replication-handler.js +2 -0
- package/dist/types/firebase/pubsub-sync/document-replication-handler.ts +12 -0
- package/dist/types/firebase/pubsub-sync/document-replication.d.ts +1 -0
- package/dist/types/firebase/pubsub-sync/document-replication.js +2 -0
- package/dist/types/firebase/pubsub-sync/document-replication.ts +0 -0
- package/dist/types/firebase/pubsub-sync/index.d.ts +2 -0
- package/dist/types/firebase/pubsub-sync/index.js +18 -0
- package/dist/types/firebase/pubsub-sync/index.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
// @evo360/types/index.ts
|
|
18
18
|
__exportStar(require("./types/shared"), exports);
|
|
19
|
+
__exportStar(require("./types/firebase/pubsub-sync"), exports);
|
|
19
20
|
__exportStar(require("./types/evo-core"), exports);
|
|
20
21
|
__exportStar(require("./types/evo-tenant"), exports);
|
|
21
22
|
__exportStar(require("./types/evo-activity"), exports);
|
package/dist/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./fb_collections";
|
|
@@ -1,2 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./fb_collections"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./fb_collections";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ReplicationFieldMapping = {
|
|
2
|
+
sourceField: string;
|
|
3
|
+
targetField: string;
|
|
4
|
+
criteriaField: string;
|
|
5
|
+
};
|
|
6
|
+
export type ReplicationTopicConfig<T> = {
|
|
7
|
+
topic: string;
|
|
8
|
+
fields: ReplicationFieldMapping[];
|
|
9
|
+
};
|
|
10
|
+
export type ReplicationSchema<T> = ReplicationTopicConfig<T>[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ReplicationFieldMapping = {
|
|
2
|
+
sourceField: string; // Field in the source document (from the message)
|
|
3
|
+
targetField: string; // Field in the target document to be updated
|
|
4
|
+
criteriaField: string; // Field in the target document used for matching
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export type ReplicationTopicConfig<T> = {
|
|
8
|
+
topic: string;
|
|
9
|
+
fields: ReplicationFieldMapping[];
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type ReplicationSchema<T> = ReplicationTopicConfig<T>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./document-replication"), exports);
|
|
18
|
+
__exportStar(require("./document-replication-handler"), exports);
|