@twin.org/messaging-service 0.0.1-next.9 → 0.0.1
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/cjs/index.cjs
CHANGED
|
@@ -31,19 +31,19 @@ exports.TemplateEntry = class TemplateEntry {
|
|
|
31
31
|
__decorate([
|
|
32
32
|
entity.property({ type: "string", isPrimary: true }),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
], exports.TemplateEntry.prototype, "id",
|
|
34
|
+
], exports.TemplateEntry.prototype, "id", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
entity.property({ type: "string" }),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
], exports.TemplateEntry.prototype, "title",
|
|
38
|
+
], exports.TemplateEntry.prototype, "title", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
entity.property({ type: "string" }),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
|
-
], exports.TemplateEntry.prototype, "content",
|
|
42
|
+
], exports.TemplateEntry.prototype, "content", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
entity.property({ type: "integer" }),
|
|
44
|
+
entity.property({ type: "integer", format: "uint64", sortDirection: entity.SortDirection.Descending }),
|
|
45
45
|
__metadata("design:type", Number)
|
|
46
|
-
], exports.TemplateEntry.prototype, "ts",
|
|
46
|
+
], exports.TemplateEntry.prototype, "ts", void 0);
|
|
47
47
|
exports.TemplateEntry = __decorate([
|
|
48
48
|
entity.entity()
|
|
49
49
|
], exports.TemplateEntry);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { property, entity, EntitySchemaFactory, EntitySchemaHelper } from '@twin.org/entity';
|
|
1
|
+
import { property, SortDirection, entity, EntitySchemaFactory, EntitySchemaHelper } from '@twin.org/entity';
|
|
2
2
|
import { Is, GeneralError, Guards } from '@twin.org/core';
|
|
3
3
|
import { EntityStorageConnectorFactory } from '@twin.org/entity-storage-models';
|
|
4
4
|
import { MessagingEmailConnectorFactory, MessagingPushNotificationsConnectorFactory, MessagingSmsConnectorFactory } from '@twin.org/messaging-models';
|
|
@@ -29,19 +29,19 @@ let TemplateEntry = class TemplateEntry {
|
|
|
29
29
|
__decorate([
|
|
30
30
|
property({ type: "string", isPrimary: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], TemplateEntry.prototype, "id",
|
|
32
|
+
], TemplateEntry.prototype, "id", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
property({ type: "string" }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
], TemplateEntry.prototype, "title",
|
|
36
|
+
], TemplateEntry.prototype, "title", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
property({ type: "string" }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
|
-
], TemplateEntry.prototype, "content",
|
|
40
|
+
], TemplateEntry.prototype, "content", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
property({ type: "integer" }),
|
|
42
|
+
property({ type: "integer", format: "uint64", sortDirection: SortDirection.Descending }),
|
|
43
43
|
__metadata("design:type", Number)
|
|
44
|
-
], TemplateEntry.prototype, "ts",
|
|
44
|
+
], TemplateEntry.prototype, "ts", void 0);
|
|
45
45
|
TemplateEntry = __decorate([
|
|
46
46
|
entity()
|
|
47
47
|
], TemplateEntry);
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,80 @@
|
|
|
1
1
|
# @twin.org/messaging-service - Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.0.1 (2025-07-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* release to production ([cc714a7](https://github.com/twinfoundation/messaging/commit/cc714a7e1db251ab8e1a158f7753387a56d60271))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/messaging-models bumped from ^0.0.0 to ^0.0.1
|
|
16
|
+
|
|
17
|
+
## [0.0.1-next.16](https://github.com/twinfoundation/messaging/compare/messaging-service-v0.0.1-next.15...messaging-service-v0.0.1-next.16) (2025-06-30)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **messaging-service:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Dependencies
|
|
26
|
+
|
|
27
|
+
* The following workspace dependencies were updated
|
|
28
|
+
* dependencies
|
|
29
|
+
* @twin.org/messaging-models bumped from 0.0.1-next.15 to 0.0.1-next.16
|
|
30
|
+
|
|
31
|
+
## [0.0.1-next.15](https://github.com/twinfoundation/messaging/compare/messaging-service-v0.0.1-next.14...messaging-service-v0.0.1-next.15) (2025-06-12)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* update dependencies ([53dcde6](https://github.com/twinfoundation/messaging/commit/53dcde60d6efaee5957296f6d097cb97c0fb2f9d))
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
|
|
41
|
+
* The following workspace dependencies were updated
|
|
42
|
+
* dependencies
|
|
43
|
+
* @twin.org/messaging-models bumped from 0.0.1-next.14 to 0.0.1-next.15
|
|
44
|
+
|
|
45
|
+
## [0.0.1-next.14](https://github.com/twinfoundation/messaging/compare/messaging-service-v0.0.1-next.13...messaging-service-v0.0.1-next.14) (2025-04-17)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
### Features
|
|
49
|
+
|
|
50
|
+
* use shared store mechanism ([#8](https://github.com/twinfoundation/messaging/issues/8)) ([9ad65c2](https://github.com/twinfoundation/messaging/commit/9ad65c239ba77bb75604a1f6e51b975357f3228d))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
### Dependencies
|
|
54
|
+
|
|
55
|
+
* The following workspace dependencies were updated
|
|
56
|
+
* dependencies
|
|
57
|
+
* @twin.org/messaging-models bumped from 0.0.1-next.13 to 0.0.1-next.14
|
|
58
|
+
|
|
59
|
+
## [0.0.1-next.13](https://github.com/twinfoundation/messaging/compare/messaging-service-v0.0.1-next.12...messaging-service-v0.0.1-next.13) (2025-03-28)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* Messaging services ([#3](https://github.com/twinfoundation/messaging/issues/3)) ([32571b5](https://github.com/twinfoundation/messaging/commit/32571b5abf5d3fc3b168074c23507e926c5d00b0))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* Adding format to the MessagingEntries ts number ([8b99d4f](https://github.com/twinfoundation/messaging/commit/8b99d4f01c4f2b08da8d2affc1b9554fcb0d3690))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### Dependencies
|
|
73
|
+
|
|
74
|
+
* The following workspace dependencies were updated
|
|
75
|
+
* dependencies
|
|
76
|
+
* @twin.org/messaging-models bumped from 0.0.1-next.12 to 0.0.1-next.13
|
|
77
|
+
|
|
78
|
+
## v0.0.1-next.12
|
|
4
79
|
|
|
5
80
|
- Initial Release
|
|
@@ -8,9 +8,9 @@ Service for performing email messaging operations to a connector.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new MessagingService**(`options
|
|
13
|
+
> **new MessagingService**(`options?`): `MessagingService`
|
|
14
14
|
|
|
15
15
|
Create a new instance of MessagingService.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`MessagingService`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -4,13 +4,13 @@ Call defining a template message entry.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new TemplateEntry**():
|
|
9
|
+
> **new TemplateEntry**(): `TemplateEntry`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`TemplateEntry`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/messaging-service",
|
|
3
|
-
"version": "0.0.1
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Messaging service implementation",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "
|
|
18
|
-
"@twin.org/entity": "
|
|
19
|
-
"@twin.org/entity-storage-models": "^0.0.1
|
|
20
|
-
"@twin.org/logging-models": "
|
|
21
|
-
"@twin.org/messaging-models": "0.0.1
|
|
22
|
-
"@twin.org/nameof": "
|
|
17
|
+
"@twin.org/core": "^0.0.1",
|
|
18
|
+
"@twin.org/entity": "^0.0.1",
|
|
19
|
+
"@twin.org/entity-storage-models": "^0.0.1",
|
|
20
|
+
"@twin.org/logging-models": "^0.0.1",
|
|
21
|
+
"@twin.org/messaging-models": "^0.0.1",
|
|
22
|
+
"@twin.org/nameof": "^0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"main": "./dist/cjs/index.cjs",
|
|
25
25
|
"module": "./dist/esm/index.mjs",
|