@cdp-forge/plugin-pipeline-sdk 1.1.6 → 1.1.8
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/PipelineStage.d.ts +1 -1
- package/dist/PipelineStage.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -15
- package/dist/index.js.map +1 -1
- package/dist/plugin/PipelinePluginI.d.ts +1 -1
- package/dist/plugin/PipelinePluginI.d.ts.map +1 -1
- package/dist/plugin/Plugin.d.ts +1 -1
- package/dist/plugin/Plugin.d.ts.map +1 -1
- package/dist/startServer.d.ts +1 -1
- package/dist/startServer.d.ts.map +1 -1
- package/dist/types.d.ts +1 -78
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/PipelineStage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kafka, Producer, Consumer } from "kafkajs";
|
|
2
|
-
import PipelinePluginI from "./plugin/PipelinePluginI";
|
|
2
|
+
import { PipelinePluginI } from "./plugin/PipelinePluginI";
|
|
3
3
|
import { Config } from "@cdp-forge/types";
|
|
4
4
|
export default class PipelineSTage {
|
|
5
5
|
plugin: PipelinePluginI;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PipelineStage.d.ts","sourceRoot":"","sources":["../src/PipelineStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAsB,MAAM,SAAS,CAAC;AACxE,OAAO,eAAe,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"PipelineStage.d.ts","sourceRoot":"","sources":["../src/PipelineStage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAsB,MAAM,SAAS,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAI/C,MAAM,CAAC,OAAO,OAAO,aAAa;IAC9B,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,gBAAgB,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;gBAEpB,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM;IAa7C,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,GAAE,MAAM,GAAG,IAAW,GAAG,OAAO,CAAC,IAAI,CAAC;YASnE,MAAM;IA4Bd,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAMb,KAAK;IAKb,OAAO,CAAC,UAAU,EAAE,MAAM,EAAC,WAAW,EAAE,MAAM,GAAC,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;CAIjF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export type { PipelinePluginI } from './plugin/PipelinePluginI';
|
|
2
2
|
export { default as PipelineStage } from './PipelineStage';
|
|
3
3
|
export { default as ConfigListener } from './ConfigListener';
|
|
4
4
|
export { default as ConfigReader } from './ConfigReader';
|
|
5
5
|
export { start } from './startServer';
|
|
6
|
-
export * from '@cdp-forge/types';
|
|
6
|
+
export type * from '@cdp-forge/types';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,mBAAmB,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
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
|
-
};
|
|
16
2
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
4
|
};
|
|
@@ -26,5 +12,4 @@ var ConfigReader_1 = require("./ConfigReader");
|
|
|
26
12
|
Object.defineProperty(exports, "ConfigReader", { enumerable: true, get: function () { return __importDefault(ConfigReader_1).default; } });
|
|
27
13
|
var startServer_1 = require("./startServer");
|
|
28
14
|
Object.defineProperty(exports, "start", { enumerable: true, get: function () { return startServer_1.start; } });
|
|
29
|
-
__exportStar(require("@cdp-forge/types"), exports);
|
|
30
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AACA,iDAA2D;AAAlD,+HAAA,OAAO,OAAiB;AACjC,mDAA6D;AAApD,iIAAA,OAAO,OAAkB;AAClC,+CAAyD;AAAhD,6HAAA,OAAO,OAAgB;AAChC,6CAAsC;AAA7B,oGAAA,KAAK,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PipelinePluginI.d.ts","sourceRoot":"","sources":["../../src/plugin/PipelinePluginI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,MAAM,
|
|
1
|
+
{"version":3,"file":"PipelinePluginI.d.ts","sourceRoot":"","sources":["../../src/plugin/PipelinePluginI.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,MAAM,WAAW,eAAe;IAC5B,SAAS,CAAC,GAAG,EAAE,GAAG,GAAI,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC;IAC1C,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB"}
|
package/dist/plugin/Plugin.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/plugin/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/plugin/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,MAAM,CAAC,OAAO,OAAO,QAAS,YAAW,eAAe;IACpD,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,GAAG,IAAI,CAAC;IAIxC,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAGxB"}
|
package/dist/startServer.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startServer.d.ts","sourceRoot":"","sources":["../src/startServer.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"startServer.d.ts","sourceRoot":"","sources":["../src/startServer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,wBAAsB,KAAK,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM;;;GA0BhE"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,79 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export interface Product {
|
|
3
|
-
id: string;
|
|
4
|
-
price: number;
|
|
5
|
-
brand?: string;
|
|
6
|
-
category?: string;
|
|
7
|
-
quantity: number;
|
|
8
|
-
currency?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface Log {
|
|
11
|
-
client: number;
|
|
12
|
-
date: string;
|
|
13
|
-
device: {
|
|
14
|
-
browser?: string;
|
|
15
|
-
id: string;
|
|
16
|
-
ip?: string;
|
|
17
|
-
os?: string;
|
|
18
|
-
type?: string;
|
|
19
|
-
userAgent?: string;
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
event: string;
|
|
23
|
-
geo?: {
|
|
24
|
-
city?: string;
|
|
25
|
-
country?: string;
|
|
26
|
-
point?: {
|
|
27
|
-
type: string;
|
|
28
|
-
coordinates: number[];
|
|
29
|
-
};
|
|
30
|
-
region?: string;
|
|
31
|
-
zipCode?: string;
|
|
32
|
-
timeZone?: string;
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
};
|
|
35
|
-
googleTopics?: GoogleTopic[];
|
|
36
|
-
instance: number;
|
|
37
|
-
page: {
|
|
38
|
-
description?: string;
|
|
39
|
-
href?: string;
|
|
40
|
-
image?: string;
|
|
41
|
-
title: string;
|
|
42
|
-
type?: string;
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
};
|
|
45
|
-
product?: Product[];
|
|
46
|
-
referrer?: string;
|
|
47
|
-
session: string;
|
|
48
|
-
target?: string;
|
|
49
|
-
order?: string;
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}
|
|
52
|
-
export interface GoogleTopic {
|
|
53
|
-
id: keyof typeof GoogleTopicsMap;
|
|
54
|
-
name: (typeof GoogleTopicsMap)[keyof typeof GoogleTopicsMap];
|
|
55
|
-
}
|
|
56
|
-
export interface ConfigMessage {
|
|
57
|
-
inputTopic: string;
|
|
58
|
-
outputTopic: string | null;
|
|
59
|
-
plugin: string;
|
|
60
|
-
}
|
|
61
|
-
export interface Config {
|
|
62
|
-
manager: {
|
|
63
|
-
url: string;
|
|
64
|
-
config_topic: string;
|
|
65
|
-
};
|
|
66
|
-
plugin: {
|
|
67
|
-
name: string;
|
|
68
|
-
priority: number;
|
|
69
|
-
type: 'parallel' | 'blocking';
|
|
70
|
-
};
|
|
71
|
-
kafkaConfig: {
|
|
72
|
-
brokers: string[];
|
|
73
|
-
};
|
|
74
|
-
mysqlConfig?: {
|
|
75
|
-
uri: string;
|
|
76
|
-
};
|
|
77
|
-
[key: string]: any;
|
|
78
|
-
}
|
|
1
|
+
export type * from '@cdp-forge/types';
|
|
79
2
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,mBAAmB,kBAAkB,CAAC"}
|