@axinom/mosaic-messages 0.32.1 → 0.34.0-rc.0
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/generated/config/payloads/index.d.ts +0 -1
- package/dist/generated/config/payloads/index.d.ts.map +1 -1
- package/dist/generated/config/payloads/index.js +0 -1
- package/dist/generated/config/payloads/index.js.map +1 -1
- package/dist/generated/schemas/payloads/index.d.ts +0 -1
- package/dist/generated/schemas/payloads/index.d.ts.map +1 -1
- package/dist/generated/schemas/payloads/index.js +0 -1
- package/dist/generated/schemas/payloads/index.js.map +1 -1
- package/dist/generated/types/payloads/index.d.ts +0 -1
- package/dist/generated/types/payloads/index.d.ts.map +1 -1
- package/dist/generated/types/payloads/index.js +0 -1
- package/dist/generated/types/payloads/index.js.map +1 -1
- package/package.json +5 -5
- package/src/generated/config/payloads/index.ts +0 -1
- package/src/generated/schemas/payloads/index.ts +0 -1
- package/src/generated/types/payloads/index.ts +0 -1
- package/dist/generated/config/payloads/_template/index.d.ts +0 -2
- package/dist/generated/config/payloads/_template/index.d.ts.map +0 -1
- package/dist/generated/config/payloads/_template/index.js +0 -18
- package/dist/generated/config/payloads/_template/index.js.map +0 -1
- package/dist/generated/config/payloads/_template/template-service-messaging-settings.d.ts +0 -11
- package/dist/generated/config/payloads/_template/template-service-messaging-settings.d.ts.map +0 -1
- package/dist/generated/config/payloads/_template/template-service-messaging-settings.js +0 -17
- package/dist/generated/config/payloads/_template/template-service-messaging-settings.js.map +0 -1
- package/dist/generated/schemas/payloads/_template/events/example-post-created-event.json +0 -26
- package/dist/generated/schemas/payloads/_template/events/index.d.ts +0 -23
- package/dist/generated/schemas/payloads/_template/events/index.d.ts.map +0 -1
- package/dist/generated/schemas/payloads/_template/events/index.js +0 -6
- package/dist/generated/schemas/payloads/_template/events/index.js.map +0 -1
- package/dist/generated/schemas/payloads/_template/index.d.ts +0 -2
- package/dist/generated/schemas/payloads/_template/index.d.ts.map +0 -1
- package/dist/generated/schemas/payloads/_template/index.js +0 -18
- package/dist/generated/schemas/payloads/_template/index.js.map +0 -1
- package/dist/generated/types/payloads/_template/events/example-post-created-event.d.ts +0 -18
- package/dist/generated/types/payloads/_template/events/example-post-created-event.d.ts.map +0 -1
- package/dist/generated/types/payloads/_template/events/example-post-created-event.js +0 -3
- package/dist/generated/types/payloads/_template/events/example-post-created-event.js.map +0 -1
- package/dist/generated/types/payloads/_template/events/index.d.ts +0 -8
- package/dist/generated/types/payloads/_template/events/index.d.ts.map +0 -1
- package/dist/generated/types/payloads/_template/events/index.js +0 -27
- package/dist/generated/types/payloads/_template/events/index.js.map +0 -1
- package/dist/generated/types/payloads/_template/index.d.ts +0 -2
- package/dist/generated/types/payloads/_template/index.d.ts.map +0 -1
- package/dist/generated/types/payloads/_template/index.js +0 -18
- package/dist/generated/types/payloads/_template/index.js.map +0 -1
- package/src/generated/config/payloads/_template/index.ts +0 -1
- package/src/generated/config/payloads/_template/template-service-messaging-settings.ts +0 -23
- package/src/generated/schemas/payloads/_template/events/example-post-created-event.json +0 -26
- package/src/generated/schemas/payloads/_template/events/index.ts +0 -3
- package/src/generated/schemas/payloads/_template/index.ts +0 -1
- package/src/generated/types/payloads/_template/events/example-post-created-event.ts +0 -17
- package/src/generated/types/payloads/_template/events/index.ts +0 -9
- package/src/generated/types/payloads/_template/index.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/config/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/config/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,OAAO,CAAC;AACtB,cAAc,6BAA6B,CAAC;AAC5C,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./_template"), exports);
|
|
18
17
|
__exportStar(require("./admin"), exports);
|
|
19
18
|
__exportStar(require("./ax-auth"), exports);
|
|
20
19
|
__exportStar(require("./billing"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/config/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/config/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,uCAAqB;AACrB,0CAAwB;AACxB,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,wCAAsB;AACtB,8DAA4C;AAC5C,yCAAuB;AACvB,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/schemas/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/schemas/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,OAAO,CAAC;AACtB,cAAc,6BAA6B,CAAC;AAC5C,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./_template"), exports);
|
|
18
17
|
__exportStar(require("./admin"), exports);
|
|
19
18
|
__exportStar(require("./ax-auth"), exports);
|
|
20
19
|
__exportStar(require("./billing"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/schemas/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/schemas/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,uCAAqB;AACrB,0CAAwB;AACxB,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,wCAAsB;AACtB,8DAA4C;AAC5C,yCAAuB;AACvB,0CAAwB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/payloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,MAAM,CAAC;AACrB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,OAAO,CAAC;AACtB,cAAc,6BAA6B,CAAC;AAC5C,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -14,7 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./_template"), exports);
|
|
18
17
|
__exportStar(require("./admin"), exports);
|
|
19
18
|
__exportStar(require("./ax-auth"), exports);
|
|
20
19
|
__exportStar(require("./billing"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/types/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/generated/types/payloads/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,uCAAqB;AACrB,0CAAwB;AACxB,iDAA+B;AAC/B,mDAAiC;AACjC,wDAAsC;AACtC,oDAAkC;AAClC,mDAAiC;AACjC,wCAAsB;AACtB,8DAA4C;AAC5C,yCAAuB;AACvB,0CAAwB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axinom/mosaic-messages",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.34.0-rc.0",
|
|
4
4
|
"description": "Shared types for Axinom Mosaic service messages",
|
|
5
5
|
"author": "Axinom",
|
|
6
6
|
"license": "PROPRIETARY",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"clean:generated": "rimraf src/generated",
|
|
22
22
|
"codegen": "yarn lint:schema && yarn clean:generated && yarn mosaic msg-codegen -i schemas -o src/generated",
|
|
23
23
|
"codegen:watch": "watch 'yarn codegen' schemas/",
|
|
24
|
-
"msg-diff": "yarn mosaic msg-diff -i schemas
|
|
24
|
+
"msg-diff": "yarn mosaic msg-diff -i schemas",
|
|
25
25
|
"build": "yarn clean && yarn codegen && yarn build:compile",
|
|
26
26
|
"build:ci": "yarn workspaces focus && yarn build",
|
|
27
27
|
"build:compile": "tsc",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"dev": "concurrently --names \"codegen,tsc\" \"yarn codegen:watch\" \"yarn build:compile:watch\""
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@axinom/mosaic-cli": "^0.
|
|
33
|
-
"@axinom/mosaic-message-bus-abstractions": "^0.5.
|
|
32
|
+
"@axinom/mosaic-cli": "^0.24.0-rc.0",
|
|
33
|
+
"@axinom/mosaic-message-bus-abstractions": "^0.5.11-rc.0",
|
|
34
34
|
"@types/glob": "^7.1.3",
|
|
35
35
|
"concurrently": "^5.3.0",
|
|
36
36
|
"rimraf": "^3.0.2",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "0818b5a39695ec1b66f6284b7e69300a625729b4"
|
|
46
46
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/_template/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./template-service-messaging-settings"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/_template/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wEAAsD"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
|
|
2
|
-
export declare class TemplateServiceMessagingSettings implements MessagingSettings {
|
|
3
|
-
readonly messageType: string;
|
|
4
|
-
readonly queue: string;
|
|
5
|
-
readonly routingKey: string;
|
|
6
|
-
static ExamplePostCreated: TemplateServiceMessagingSettings;
|
|
7
|
-
readonly serviceId = "ax-service-template";
|
|
8
|
-
private constructor();
|
|
9
|
-
toString: () => string;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=template-service-messaging-settings.d.ts.map
|
package/dist/generated/config/payloads/_template/template-service-messaging-settings.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template-service-messaging-settings.d.ts","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/_template/template-service-messaging-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,qBAAa,gCAAiC,YAAW,iBAAiB;aAUtD,WAAW,EAAE,MAAM;aACnB,KAAK,EAAE,MAAM;aACb,UAAU,EAAE,MAAM;IAXpC,OAAc,kBAAkB,mCAI5B;IAEJ,SAAgB,SAAS,yBAAyB;IAElD,OAAO;IAQA,QAAQ,QAAO,MAAM,CAE1B;CACH"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TemplateServiceMessagingSettings = void 0;
|
|
4
|
-
class TemplateServiceMessagingSettings {
|
|
5
|
-
constructor(messageType, queue, routingKey) {
|
|
6
|
-
this.messageType = messageType;
|
|
7
|
-
this.queue = queue;
|
|
8
|
-
this.routingKey = routingKey;
|
|
9
|
-
this.serviceId = 'ax-service-template';
|
|
10
|
-
this.toString = () => {
|
|
11
|
-
return this.messageType;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
TemplateServiceMessagingSettings.ExamplePostCreated = new TemplateServiceMessagingSettings('ExamplePostCreated', 'example_post:created', 'example_post.created');
|
|
16
|
-
exports.TemplateServiceMessagingSettings = TemplateServiceMessagingSettings;
|
|
17
|
-
//# sourceMappingURL=template-service-messaging-settings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template-service-messaging-settings.js","sourceRoot":"","sources":["../../../../../src/generated/config/payloads/_template/template-service-messaging-settings.ts"],"names":[],"mappings":";;;AAEA,MAAa,gCAAgC;IAS3C,YACkB,WAAmB,EACnB,KAAa,EACb,UAAkB;QAFlB,gBAAW,GAAX,WAAW,CAAQ;QACnB,UAAK,GAAL,KAAK,CAAQ;QACb,eAAU,GAAV,UAAU,CAAQ;QALpB,cAAS,GAAG,qBAAqB,CAAC;QAU3C,aAAQ,GAAG,GAAW,EAAE;YAC7B,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC,CAAC;IAJF,CAAC;;AAda,mDAAkB,GAAG,IAAI,gCAAgC,CACrE,oBAAoB,EACpB,sBAAsB,EACtB,sBAAsB,CACrB,AAJ6B,CAI5B;AALO,4EAAgC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"title": "example_post_created_event",
|
|
5
|
-
"description": "New post created event.",
|
|
6
|
-
"properties": {
|
|
7
|
-
"title": {
|
|
8
|
-
"description": "Title of the post.",
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"content": {
|
|
12
|
-
"description": "Post body, actual content.",
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"is_public": {
|
|
16
|
-
"description": "Indicates whether the post is public.",
|
|
17
|
-
"type": "boolean"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"additionalProperties": false,
|
|
21
|
-
"required": [
|
|
22
|
-
"title",
|
|
23
|
-
"content",
|
|
24
|
-
"is_public"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const ExamplePostCreatedEventSchema: {
|
|
2
|
-
$schema: string;
|
|
3
|
-
type: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
properties: {
|
|
7
|
-
title: {
|
|
8
|
-
description: string;
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
content: {
|
|
12
|
-
description: string;
|
|
13
|
-
type: string;
|
|
14
|
-
};
|
|
15
|
-
is_public: {
|
|
16
|
-
description: string;
|
|
17
|
-
type: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
additionalProperties: boolean;
|
|
21
|
-
required: string[];
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/_template/events/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;CAA0B,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExamplePostCreatedEventSchema = void 0;
|
|
4
|
-
const ExamplePostCreatedEvent = require("./example-post-created-event.json");
|
|
5
|
-
exports.ExamplePostCreatedEventSchema = ExamplePostCreatedEvent;
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/schemas/payloads/_template/events/index.ts"],"names":[],"mappings":";;;AAAA,6EAA6E;AAEhE,QAAA,6BAA6B,GAAG,uBAAuB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/_template/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./events"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/schemas/payloads/_template/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* New post created event.
|
|
3
|
-
*/
|
|
4
|
-
export interface ExamplePostCreatedEvent {
|
|
5
|
-
/**
|
|
6
|
-
* Title of the post.
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* Post body, actual content.
|
|
11
|
-
*/
|
|
12
|
-
content: string;
|
|
13
|
-
/**
|
|
14
|
-
* Indicates whether the post is public.
|
|
15
|
-
*/
|
|
16
|
-
is_public: boolean;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=example-post-created-event.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example-post-created-event.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/_template/events/example-post-created-event.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example-post-created-event.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/_template/events/example-post-created-event.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './example-post-created-event';
|
|
2
|
-
export declare enum TemplateEventsSchemas {
|
|
3
|
-
ExamplePostCreatedEvent = "payloads/_template/events/example-post-created-event.json"
|
|
4
|
-
}
|
|
5
|
-
export declare enum TemplateEventsTypes {
|
|
6
|
-
ExamplePostCreatedEvent = "ExamplePostCreatedEvent"
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/_template/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAE7C,oBAAY,qBAAqB;IAC/B,uBAAuB,8DAA8D;CACtF;AAED,oBAAY,mBAAmB;IAC7B,uBAAuB,4BAA4B;CACpD"}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
exports.TemplateEventsTypes = exports.TemplateEventsSchemas = void 0;
|
|
18
|
-
__exportStar(require("./example-post-created-event"), exports);
|
|
19
|
-
var TemplateEventsSchemas;
|
|
20
|
-
(function (TemplateEventsSchemas) {
|
|
21
|
-
TemplateEventsSchemas["ExamplePostCreatedEvent"] = "payloads/_template/events/example-post-created-event.json";
|
|
22
|
-
})(TemplateEventsSchemas = exports.TemplateEventsSchemas || (exports.TemplateEventsSchemas = {}));
|
|
23
|
-
var TemplateEventsTypes;
|
|
24
|
-
(function (TemplateEventsTypes) {
|
|
25
|
-
TemplateEventsTypes["ExamplePostCreatedEvent"] = "ExamplePostCreatedEvent";
|
|
26
|
-
})(TemplateEventsTypes = exports.TemplateEventsTypes || (exports.TemplateEventsTypes = {}));
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/generated/types/payloads/_template/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+DAA6C;AAE7C,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAC/B,8GAAqF,CAAA;AACvF,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,IAAY,mBAEX;AAFD,WAAY,mBAAmB;IAC7B,0EAAmD,CAAA;AACrD,CAAC,EAFW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAE9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/types/payloads/_template/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./events"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/generated/types/payloads/_template/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './template-service-messaging-settings';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { MessagingSettings } from '@axinom/mosaic-message-bus-abstractions';
|
|
2
|
-
|
|
3
|
-
export class TemplateServiceMessagingSettings implements MessagingSettings {
|
|
4
|
-
public static ExamplePostCreated = new TemplateServiceMessagingSettings(
|
|
5
|
-
'ExamplePostCreated',
|
|
6
|
-
'example_post:created',
|
|
7
|
-
'example_post.created'
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
public readonly serviceId = 'ax-service-template';
|
|
11
|
-
|
|
12
|
-
private constructor(
|
|
13
|
-
public readonly messageType: string,
|
|
14
|
-
public readonly queue: string,
|
|
15
|
-
public readonly routingKey: string,
|
|
16
|
-
) {
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
public toString = (): string => {
|
|
21
|
-
return this.messageType;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"title": "example_post_created_event",
|
|
5
|
-
"description": "New post created event.",
|
|
6
|
-
"properties": {
|
|
7
|
-
"title": {
|
|
8
|
-
"description": "Title of the post.",
|
|
9
|
-
"type": "string"
|
|
10
|
-
},
|
|
11
|
-
"content": {
|
|
12
|
-
"description": "Post body, actual content.",
|
|
13
|
-
"type": "string"
|
|
14
|
-
},
|
|
15
|
-
"is_public": {
|
|
16
|
-
"description": "Indicates whether the post is public.",
|
|
17
|
-
"type": "boolean"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"additionalProperties": false,
|
|
21
|
-
"required": [
|
|
22
|
-
"title",
|
|
23
|
-
"content",
|
|
24
|
-
"is_public"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './events';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* New post created event.
|
|
3
|
-
*/
|
|
4
|
-
export interface ExamplePostCreatedEvent {
|
|
5
|
-
/**
|
|
6
|
-
* Title of the post.
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* Post body, actual content.
|
|
11
|
-
*/
|
|
12
|
-
content: string;
|
|
13
|
-
/**
|
|
14
|
-
* Indicates whether the post is public.
|
|
15
|
-
*/
|
|
16
|
-
is_public: boolean;
|
|
17
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './example-post-created-event';
|
|
2
|
-
|
|
3
|
-
export enum TemplateEventsSchemas {
|
|
4
|
-
ExamplePostCreatedEvent = 'payloads/_template/events/example-post-created-event.json'
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export enum TemplateEventsTypes {
|
|
8
|
-
ExamplePostCreatedEvent = 'ExamplePostCreatedEvent'
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './events';
|