@twin.org/messaging-connector-entity-storage 0.0.1-next.8 → 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 +35 -35
- package/dist/esm/index.mjs +36 -36
- package/docs/changelog.md +77 -1
- package/docs/reference/classes/EmailEntry.md +3 -3
- package/docs/reference/classes/EntityStorageMessagingEmailConnector.md +3 -3
- package/docs/reference/classes/EntityStorageMessagingPushNotificationConnector.md +3 -3
- package/docs/reference/classes/EntityStorageMessagingSmsConnector.md +3 -3
- package/docs/reference/classes/PushNotificationDeviceEntry.md +3 -3
- package/docs/reference/classes/PushNotificationMessageEntry.md +3 -3
- package/docs/reference/classes/SmsEntry.md +3 -3
- package/docs/reference/functions/initSchema.md +4 -4
- package/package.json +8 -8
package/dist/cjs/index.cjs
CHANGED
|
@@ -45,35 +45,35 @@ exports.EmailEntry = class EmailEntry {
|
|
|
45
45
|
__decorate([
|
|
46
46
|
entity.property({ type: "string", isPrimary: true }),
|
|
47
47
|
__metadata("design:type", String)
|
|
48
|
-
], exports.EmailEntry.prototype, "id",
|
|
48
|
+
], exports.EmailEntry.prototype, "id", void 0);
|
|
49
49
|
__decorate([
|
|
50
50
|
entity.property({ type: "string" }),
|
|
51
51
|
__metadata("design:type", String)
|
|
52
|
-
], exports.EmailEntry.prototype, "sender",
|
|
52
|
+
], exports.EmailEntry.prototype, "sender", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
entity.property({ type: "array", itemType: "string" }),
|
|
55
55
|
__metadata("design:type", Array)
|
|
56
|
-
], exports.EmailEntry.prototype, "recipients",
|
|
56
|
+
], exports.EmailEntry.prototype, "recipients", void 0);
|
|
57
57
|
__decorate([
|
|
58
|
-
entity.property({ type: "integer" }),
|
|
58
|
+
entity.property({ type: "integer", format: "uint64", sortDirection: entity.SortDirection.Descending }),
|
|
59
59
|
__metadata("design:type", Number)
|
|
60
|
-
], exports.EmailEntry.prototype, "ts",
|
|
60
|
+
], exports.EmailEntry.prototype, "ts", void 0);
|
|
61
61
|
__decorate([
|
|
62
62
|
entity.property({ type: "string" }),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
|
-
], exports.EmailEntry.prototype, "message",
|
|
64
|
+
], exports.EmailEntry.prototype, "message", void 0);
|
|
65
65
|
__decorate([
|
|
66
66
|
entity.property({ type: "string" }),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
|
-
], exports.EmailEntry.prototype, "subject",
|
|
68
|
+
], exports.EmailEntry.prototype, "subject", void 0);
|
|
69
69
|
__decorate([
|
|
70
70
|
entity.property({ type: "string" }),
|
|
71
71
|
__metadata("design:type", String)
|
|
72
|
-
], exports.EmailEntry.prototype, "status",
|
|
72
|
+
], exports.EmailEntry.prototype, "status", void 0);
|
|
73
73
|
__decorate([
|
|
74
|
-
entity.property({ type: "object" }),
|
|
74
|
+
entity.property({ type: "object", optional: true }),
|
|
75
75
|
__metadata("design:type", Object)
|
|
76
|
-
], exports.EmailEntry.prototype, "error",
|
|
76
|
+
], exports.EmailEntry.prototype, "error", void 0);
|
|
77
77
|
exports.EmailEntry = __decorate([
|
|
78
78
|
entity.entity()
|
|
79
79
|
], exports.EmailEntry);
|
|
@@ -110,27 +110,27 @@ exports.PushNotificationDeviceEntry = class PushNotificationDeviceEntry {
|
|
|
110
110
|
__decorate([
|
|
111
111
|
entity.property({ type: "string", isPrimary: true }),
|
|
112
112
|
__metadata("design:type", String)
|
|
113
|
-
], exports.PushNotificationDeviceEntry.prototype, "id",
|
|
113
|
+
], exports.PushNotificationDeviceEntry.prototype, "id", void 0);
|
|
114
114
|
__decorate([
|
|
115
115
|
entity.property({ type: "string" }),
|
|
116
116
|
__metadata("design:type", String)
|
|
117
|
-
], exports.PushNotificationDeviceEntry.prototype, "applicationId",
|
|
117
|
+
], exports.PushNotificationDeviceEntry.prototype, "applicationId", void 0);
|
|
118
118
|
__decorate([
|
|
119
119
|
entity.property({ type: "string" }),
|
|
120
120
|
__metadata("design:type", String)
|
|
121
|
-
], exports.PushNotificationDeviceEntry.prototype, "deviceToken",
|
|
121
|
+
], exports.PushNotificationDeviceEntry.prototype, "deviceToken", void 0);
|
|
122
122
|
__decorate([
|
|
123
|
-
entity.property({ type: "integer" }),
|
|
123
|
+
entity.property({ type: "integer", format: "uint64", sortDirection: entity.SortDirection.Descending }),
|
|
124
124
|
__metadata("design:type", Number)
|
|
125
|
-
], exports.PushNotificationDeviceEntry.prototype, "ts",
|
|
125
|
+
], exports.PushNotificationDeviceEntry.prototype, "ts", void 0);
|
|
126
126
|
__decorate([
|
|
127
127
|
entity.property({ type: "string" }),
|
|
128
128
|
__metadata("design:type", String)
|
|
129
|
-
], exports.PushNotificationDeviceEntry.prototype, "status",
|
|
129
|
+
], exports.PushNotificationDeviceEntry.prototype, "status", void 0);
|
|
130
130
|
__decorate([
|
|
131
|
-
entity.property({ type: "object" }),
|
|
131
|
+
entity.property({ type: "object", optional: true }),
|
|
132
132
|
__metadata("design:type", Object)
|
|
133
|
-
], exports.PushNotificationDeviceEntry.prototype, "error",
|
|
133
|
+
], exports.PushNotificationDeviceEntry.prototype, "error", void 0);
|
|
134
134
|
exports.PushNotificationDeviceEntry = __decorate([
|
|
135
135
|
entity.entity()
|
|
136
136
|
], exports.PushNotificationDeviceEntry);
|
|
@@ -171,31 +171,31 @@ exports.PushNotificationMessageEntry = class PushNotificationMessageEntry {
|
|
|
171
171
|
__decorate([
|
|
172
172
|
entity.property({ type: "string", isPrimary: true }),
|
|
173
173
|
__metadata("design:type", String)
|
|
174
|
-
], exports.PushNotificationMessageEntry.prototype, "id",
|
|
174
|
+
], exports.PushNotificationMessageEntry.prototype, "id", void 0);
|
|
175
175
|
__decorate([
|
|
176
176
|
entity.property({ type: "string" }),
|
|
177
177
|
__metadata("design:type", String)
|
|
178
|
-
], exports.PushNotificationMessageEntry.prototype, "deviceAddress",
|
|
178
|
+
], exports.PushNotificationMessageEntry.prototype, "deviceAddress", void 0);
|
|
179
179
|
__decorate([
|
|
180
180
|
entity.property({ type: "string" }),
|
|
181
181
|
__metadata("design:type", String)
|
|
182
|
-
], exports.PushNotificationMessageEntry.prototype, "title",
|
|
182
|
+
], exports.PushNotificationMessageEntry.prototype, "title", void 0);
|
|
183
183
|
__decorate([
|
|
184
184
|
entity.property({ type: "string" }),
|
|
185
185
|
__metadata("design:type", String)
|
|
186
|
-
], exports.PushNotificationMessageEntry.prototype, "message",
|
|
186
|
+
], exports.PushNotificationMessageEntry.prototype, "message", void 0);
|
|
187
187
|
__decorate([
|
|
188
|
-
entity.property({ type: "integer" }),
|
|
188
|
+
entity.property({ type: "integer", format: "uint64", sortDirection: entity.SortDirection.Descending }),
|
|
189
189
|
__metadata("design:type", Number)
|
|
190
|
-
], exports.PushNotificationMessageEntry.prototype, "ts",
|
|
190
|
+
], exports.PushNotificationMessageEntry.prototype, "ts", void 0);
|
|
191
191
|
__decorate([
|
|
192
192
|
entity.property({ type: "string" }),
|
|
193
193
|
__metadata("design:type", String)
|
|
194
|
-
], exports.PushNotificationMessageEntry.prototype, "status",
|
|
194
|
+
], exports.PushNotificationMessageEntry.prototype, "status", void 0);
|
|
195
195
|
__decorate([
|
|
196
|
-
entity.property({ type: "object" }),
|
|
196
|
+
entity.property({ type: "object", optional: true }),
|
|
197
197
|
__metadata("design:type", Object)
|
|
198
|
-
], exports.PushNotificationMessageEntry.prototype, "error",
|
|
198
|
+
], exports.PushNotificationMessageEntry.prototype, "error", void 0);
|
|
199
199
|
exports.PushNotificationMessageEntry = __decorate([
|
|
200
200
|
entity.entity()
|
|
201
201
|
], exports.PushNotificationMessageEntry);
|
|
@@ -232,27 +232,27 @@ exports.SmsEntry = class SmsEntry {
|
|
|
232
232
|
__decorate([
|
|
233
233
|
entity.property({ type: "string", isPrimary: true }),
|
|
234
234
|
__metadata("design:type", String)
|
|
235
|
-
], exports.SmsEntry.prototype, "id",
|
|
235
|
+
], exports.SmsEntry.prototype, "id", void 0);
|
|
236
236
|
__decorate([
|
|
237
237
|
entity.property({ type: "string" }),
|
|
238
238
|
__metadata("design:type", String)
|
|
239
|
-
], exports.SmsEntry.prototype, "phoneNumber",
|
|
239
|
+
], exports.SmsEntry.prototype, "phoneNumber", void 0);
|
|
240
240
|
__decorate([
|
|
241
|
-
entity.property({ type: "integer" }),
|
|
241
|
+
entity.property({ type: "integer", format: "uint64", sortDirection: entity.SortDirection.Descending }),
|
|
242
242
|
__metadata("design:type", Number)
|
|
243
|
-
], exports.SmsEntry.prototype, "ts",
|
|
243
|
+
], exports.SmsEntry.prototype, "ts", void 0);
|
|
244
244
|
__decorate([
|
|
245
245
|
entity.property({ type: "string" }),
|
|
246
246
|
__metadata("design:type", String)
|
|
247
|
-
], exports.SmsEntry.prototype, "message",
|
|
247
|
+
], exports.SmsEntry.prototype, "message", void 0);
|
|
248
248
|
__decorate([
|
|
249
249
|
entity.property({ type: "string" }),
|
|
250
250
|
__metadata("design:type", String)
|
|
251
|
-
], exports.SmsEntry.prototype, "status",
|
|
251
|
+
], exports.SmsEntry.prototype, "status", void 0);
|
|
252
252
|
__decorate([
|
|
253
|
-
entity.property({ type: "object" }),
|
|
253
|
+
entity.property({ type: "object", optional: true }),
|
|
254
254
|
__metadata("design:type", Object)
|
|
255
|
-
], exports.SmsEntry.prototype, "error",
|
|
255
|
+
], exports.SmsEntry.prototype, "error", void 0);
|
|
256
256
|
exports.SmsEntry = __decorate([
|
|
257
257
|
entity.entity()
|
|
258
258
|
], exports.SmsEntry);
|
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, StringHelper, Guards, Converter, RandomHelper, GeneralError } from '@twin.org/core';
|
|
3
3
|
import { EntityStorageConnectorFactory } from '@twin.org/entity-storage-models';
|
|
4
4
|
import { LoggingConnectorFactory } from '@twin.org/logging-models';
|
|
@@ -43,35 +43,35 @@ let EmailEntry = class EmailEntry {
|
|
|
43
43
|
__decorate([
|
|
44
44
|
property({ type: "string", isPrimary: true }),
|
|
45
45
|
__metadata("design:type", String)
|
|
46
|
-
], EmailEntry.prototype, "id",
|
|
46
|
+
], EmailEntry.prototype, "id", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
property({ type: "string" }),
|
|
49
49
|
__metadata("design:type", String)
|
|
50
|
-
], EmailEntry.prototype, "sender",
|
|
50
|
+
], EmailEntry.prototype, "sender", void 0);
|
|
51
51
|
__decorate([
|
|
52
52
|
property({ type: "array", itemType: "string" }),
|
|
53
53
|
__metadata("design:type", Array)
|
|
54
|
-
], EmailEntry.prototype, "recipients",
|
|
54
|
+
], EmailEntry.prototype, "recipients", void 0);
|
|
55
55
|
__decorate([
|
|
56
|
-
property({ type: "integer" }),
|
|
56
|
+
property({ type: "integer", format: "uint64", sortDirection: SortDirection.Descending }),
|
|
57
57
|
__metadata("design:type", Number)
|
|
58
|
-
], EmailEntry.prototype, "ts",
|
|
58
|
+
], EmailEntry.prototype, "ts", void 0);
|
|
59
59
|
__decorate([
|
|
60
60
|
property({ type: "string" }),
|
|
61
61
|
__metadata("design:type", String)
|
|
62
|
-
], EmailEntry.prototype, "message",
|
|
62
|
+
], EmailEntry.prototype, "message", void 0);
|
|
63
63
|
__decorate([
|
|
64
64
|
property({ type: "string" }),
|
|
65
65
|
__metadata("design:type", String)
|
|
66
|
-
], EmailEntry.prototype, "subject",
|
|
66
|
+
], EmailEntry.prototype, "subject", void 0);
|
|
67
67
|
__decorate([
|
|
68
68
|
property({ type: "string" }),
|
|
69
69
|
__metadata("design:type", String)
|
|
70
|
-
], EmailEntry.prototype, "status",
|
|
70
|
+
], EmailEntry.prototype, "status", void 0);
|
|
71
71
|
__decorate([
|
|
72
|
-
property({ type: "object" }),
|
|
72
|
+
property({ type: "object", optional: true }),
|
|
73
73
|
__metadata("design:type", Object)
|
|
74
|
-
], EmailEntry.prototype, "error",
|
|
74
|
+
], EmailEntry.prototype, "error", void 0);
|
|
75
75
|
EmailEntry = __decorate([
|
|
76
76
|
entity()
|
|
77
77
|
], EmailEntry);
|
|
@@ -108,27 +108,27 @@ let PushNotificationDeviceEntry = class PushNotificationDeviceEntry {
|
|
|
108
108
|
__decorate([
|
|
109
109
|
property({ type: "string", isPrimary: true }),
|
|
110
110
|
__metadata("design:type", String)
|
|
111
|
-
], PushNotificationDeviceEntry.prototype, "id",
|
|
111
|
+
], PushNotificationDeviceEntry.prototype, "id", void 0);
|
|
112
112
|
__decorate([
|
|
113
113
|
property({ type: "string" }),
|
|
114
114
|
__metadata("design:type", String)
|
|
115
|
-
], PushNotificationDeviceEntry.prototype, "applicationId",
|
|
115
|
+
], PushNotificationDeviceEntry.prototype, "applicationId", void 0);
|
|
116
116
|
__decorate([
|
|
117
117
|
property({ type: "string" }),
|
|
118
118
|
__metadata("design:type", String)
|
|
119
|
-
], PushNotificationDeviceEntry.prototype, "deviceToken",
|
|
119
|
+
], PushNotificationDeviceEntry.prototype, "deviceToken", void 0);
|
|
120
120
|
__decorate([
|
|
121
|
-
property({ type: "integer" }),
|
|
121
|
+
property({ type: "integer", format: "uint64", sortDirection: SortDirection.Descending }),
|
|
122
122
|
__metadata("design:type", Number)
|
|
123
|
-
], PushNotificationDeviceEntry.prototype, "ts",
|
|
123
|
+
], PushNotificationDeviceEntry.prototype, "ts", void 0);
|
|
124
124
|
__decorate([
|
|
125
125
|
property({ type: "string" }),
|
|
126
126
|
__metadata("design:type", String)
|
|
127
|
-
], PushNotificationDeviceEntry.prototype, "status",
|
|
127
|
+
], PushNotificationDeviceEntry.prototype, "status", void 0);
|
|
128
128
|
__decorate([
|
|
129
|
-
property({ type: "object" }),
|
|
129
|
+
property({ type: "object", optional: true }),
|
|
130
130
|
__metadata("design:type", Object)
|
|
131
|
-
], PushNotificationDeviceEntry.prototype, "error",
|
|
131
|
+
], PushNotificationDeviceEntry.prototype, "error", void 0);
|
|
132
132
|
PushNotificationDeviceEntry = __decorate([
|
|
133
133
|
entity()
|
|
134
134
|
], PushNotificationDeviceEntry);
|
|
@@ -169,31 +169,31 @@ let PushNotificationMessageEntry = class PushNotificationMessageEntry {
|
|
|
169
169
|
__decorate([
|
|
170
170
|
property({ type: "string", isPrimary: true }),
|
|
171
171
|
__metadata("design:type", String)
|
|
172
|
-
], PushNotificationMessageEntry.prototype, "id",
|
|
172
|
+
], PushNotificationMessageEntry.prototype, "id", void 0);
|
|
173
173
|
__decorate([
|
|
174
174
|
property({ type: "string" }),
|
|
175
175
|
__metadata("design:type", String)
|
|
176
|
-
], PushNotificationMessageEntry.prototype, "deviceAddress",
|
|
176
|
+
], PushNotificationMessageEntry.prototype, "deviceAddress", void 0);
|
|
177
177
|
__decorate([
|
|
178
178
|
property({ type: "string" }),
|
|
179
179
|
__metadata("design:type", String)
|
|
180
|
-
], PushNotificationMessageEntry.prototype, "title",
|
|
180
|
+
], PushNotificationMessageEntry.prototype, "title", void 0);
|
|
181
181
|
__decorate([
|
|
182
182
|
property({ type: "string" }),
|
|
183
183
|
__metadata("design:type", String)
|
|
184
|
-
], PushNotificationMessageEntry.prototype, "message",
|
|
184
|
+
], PushNotificationMessageEntry.prototype, "message", void 0);
|
|
185
185
|
__decorate([
|
|
186
|
-
property({ type: "integer" }),
|
|
186
|
+
property({ type: "integer", format: "uint64", sortDirection: SortDirection.Descending }),
|
|
187
187
|
__metadata("design:type", Number)
|
|
188
|
-
], PushNotificationMessageEntry.prototype, "ts",
|
|
188
|
+
], PushNotificationMessageEntry.prototype, "ts", void 0);
|
|
189
189
|
__decorate([
|
|
190
190
|
property({ type: "string" }),
|
|
191
191
|
__metadata("design:type", String)
|
|
192
|
-
], PushNotificationMessageEntry.prototype, "status",
|
|
192
|
+
], PushNotificationMessageEntry.prototype, "status", void 0);
|
|
193
193
|
__decorate([
|
|
194
|
-
property({ type: "object" }),
|
|
194
|
+
property({ type: "object", optional: true }),
|
|
195
195
|
__metadata("design:type", Object)
|
|
196
|
-
], PushNotificationMessageEntry.prototype, "error",
|
|
196
|
+
], PushNotificationMessageEntry.prototype, "error", void 0);
|
|
197
197
|
PushNotificationMessageEntry = __decorate([
|
|
198
198
|
entity()
|
|
199
199
|
], PushNotificationMessageEntry);
|
|
@@ -230,27 +230,27 @@ let SmsEntry = class SmsEntry {
|
|
|
230
230
|
__decorate([
|
|
231
231
|
property({ type: "string", isPrimary: true }),
|
|
232
232
|
__metadata("design:type", String)
|
|
233
|
-
], SmsEntry.prototype, "id",
|
|
233
|
+
], SmsEntry.prototype, "id", void 0);
|
|
234
234
|
__decorate([
|
|
235
235
|
property({ type: "string" }),
|
|
236
236
|
__metadata("design:type", String)
|
|
237
|
-
], SmsEntry.prototype, "phoneNumber",
|
|
237
|
+
], SmsEntry.prototype, "phoneNumber", void 0);
|
|
238
238
|
__decorate([
|
|
239
|
-
property({ type: "integer" }),
|
|
239
|
+
property({ type: "integer", format: "uint64", sortDirection: SortDirection.Descending }),
|
|
240
240
|
__metadata("design:type", Number)
|
|
241
|
-
], SmsEntry.prototype, "ts",
|
|
241
|
+
], SmsEntry.prototype, "ts", void 0);
|
|
242
242
|
__decorate([
|
|
243
243
|
property({ type: "string" }),
|
|
244
244
|
__metadata("design:type", String)
|
|
245
|
-
], SmsEntry.prototype, "message",
|
|
245
|
+
], SmsEntry.prototype, "message", void 0);
|
|
246
246
|
__decorate([
|
|
247
247
|
property({ type: "string" }),
|
|
248
248
|
__metadata("design:type", String)
|
|
249
|
-
], SmsEntry.prototype, "status",
|
|
249
|
+
], SmsEntry.prototype, "status", void 0);
|
|
250
250
|
__decorate([
|
|
251
|
-
property({ type: "object" }),
|
|
251
|
+
property({ type: "object", optional: true }),
|
|
252
252
|
__metadata("design:type", Object)
|
|
253
|
-
], SmsEntry.prototype, "error",
|
|
253
|
+
], SmsEntry.prototype, "error", void 0);
|
|
254
254
|
SmsEntry = __decorate([
|
|
255
255
|
entity()
|
|
256
256
|
], SmsEntry);
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,81 @@
|
|
|
1
1
|
# @twin.org/messaging-connector-entity-storage - 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-connector-entity-storage-v0.0.1-next.15...messaging-connector-entity-storage-v0.0.1-next.16) (2025-06-30)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **messaging-connector-entity-storage:** 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-connector-entity-storage-v0.0.1-next.14...messaging-connector-entity-storage-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-connector-entity-storage-v0.0.1-next.13...messaging-connector-entity-storage-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-connector-entity-storage-v0.0.1-next.12...messaging-connector-entity-storage-v0.0.1-next.13) (2025-03-28)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* Entity Storage email connector init ([#2](https://github.com/twinfoundation/messaging/issues/2)) ([65b344d](https://github.com/twinfoundation/messaging/commit/65b344de0d2d3d557d921e3d32e263dcb04ee9b3))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
### Bug Fixes
|
|
68
|
+
|
|
69
|
+
* Adding format to the MessagingEntries ts number ([8b99d4f](https://github.com/twinfoundation/messaging/commit/8b99d4f01c4f2b08da8d2affc1b9554fcb0d3690))
|
|
70
|
+
* Make SMS entry error property optional ([#5](https://github.com/twinfoundation/messaging/issues/5)) ([e0faf83](https://github.com/twinfoundation/messaging/commit/e0faf83e028a2c5dc45a5e8ba1a546013e4a3c8c))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Dependencies
|
|
74
|
+
|
|
75
|
+
* The following workspace dependencies were updated
|
|
76
|
+
* dependencies
|
|
77
|
+
* @twin.org/messaging-models bumped from 0.0.1-next.12 to 0.0.1-next.13
|
|
78
|
+
|
|
79
|
+
## v0.0.1-next.12
|
|
4
80
|
|
|
5
81
|
- Initial Release
|
|
@@ -4,13 +4,13 @@ Call defining an email entry.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new EmailEntry**():
|
|
9
|
+
> **new EmailEntry**(): `EmailEntry`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`EmailEntry`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
@@ -8,9 +8,9 @@ Class for connecting to the email messaging operations of the Entity Storage.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new EntityStorageMessagingEmailConnector**(`options
|
|
13
|
+
> **new EntityStorageMessagingEmailConnector**(`options?`): `EntityStorageMessagingEmailConnector`
|
|
14
14
|
|
|
15
15
|
Create a new instance of EntityStorageMessagingEmailConnector.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`EntityStorageMessagingEmailConnector`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -8,9 +8,9 @@ Class for connecting to the push notifications messaging operations of the Entit
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new EntityStorageMessagingPushNotificationConnector**(`options
|
|
13
|
+
> **new EntityStorageMessagingPushNotificationConnector**(`options?`): `EntityStorageMessagingPushNotificationConnector`
|
|
14
14
|
|
|
15
15
|
Create a new instance of EntityStorageMessagingPushNotificationConnector.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`EntityStorageMessagingPushNotificationConnector`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -8,9 +8,9 @@ Class for connecting to the SMS messaging operations of the Entity Storage.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new EntityStorageMessagingSmsConnector**(`options
|
|
13
|
+
> **new EntityStorageMessagingSmsConnector**(`options?`): `EntityStorageMessagingSmsConnector`
|
|
14
14
|
|
|
15
15
|
Create a new instance of EntityStorageMessagingSmsConnector.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`EntityStorageMessagingSmsConnector`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -4,13 +4,13 @@ Call defining an push notification device entry.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new PushNotificationDeviceEntry**():
|
|
9
|
+
> **new PushNotificationDeviceEntry**(): `PushNotificationDeviceEntry`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`PushNotificationDeviceEntry`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@ Call defining an push notification message entry.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new PushNotificationMessageEntry**():
|
|
9
|
+
> **new PushNotificationMessageEntry**(): `PushNotificationMessageEntry`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`PushNotificationMessageEntry`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@ Call defining an sms entry.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new SmsEntry**():
|
|
9
|
+
> **new SmsEntry**(): `SmsEntry`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`SmsEntry`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Function: initSchema()
|
|
2
2
|
|
|
3
|
-
> **initSchema**(`options
|
|
3
|
+
> **initSchema**(`options?`): `void`
|
|
4
4
|
|
|
5
5
|
Initialize the schema for the messaging connector entity storage.
|
|
6
6
|
|
|
@@ -10,19 +10,19 @@ Initialize the schema for the messaging connector entity storage.
|
|
|
10
10
|
|
|
11
11
|
The options for the initialisation.
|
|
12
12
|
|
|
13
|
-
#### email
|
|
13
|
+
#### email?
|
|
14
14
|
|
|
15
15
|
`boolean`
|
|
16
16
|
|
|
17
17
|
Should we register email schemas.
|
|
18
18
|
|
|
19
|
-
#### sms
|
|
19
|
+
#### sms?
|
|
20
20
|
|
|
21
21
|
`boolean`
|
|
22
22
|
|
|
23
23
|
Should we register sms schemas.
|
|
24
24
|
|
|
25
|
-
#### pushNotification
|
|
25
|
+
#### pushNotification?
|
|
26
26
|
|
|
27
27
|
`boolean`
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/messaging-connector-entity-storage",
|
|
3
|
-
"version": "0.0.1
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Messaging connector implementation using the Entity Storage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,20 +14,20 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "
|
|
18
|
-
"@twin.org/entity": "
|
|
19
|
-
"@twin.org/logging-models": "
|
|
20
|
-
"@twin.org/messaging-models": "0.0.1
|
|
21
|
-
"@twin.org/nameof": "
|
|
17
|
+
"@twin.org/core": "^0.0.1",
|
|
18
|
+
"@twin.org/entity": "^0.0.1",
|
|
19
|
+
"@twin.org/logging-models": "^0.0.1",
|
|
20
|
+
"@twin.org/messaging-models": "^0.0.1",
|
|
21
|
+
"@twin.org/nameof": "^0.0.1"
|
|
22
22
|
},
|
|
23
23
|
"main": "./dist/cjs/index.cjs",
|
|
24
24
|
"module": "./dist/esm/index.mjs",
|
|
25
25
|
"types": "./dist/types/index.d.ts",
|
|
26
26
|
"exports": {
|
|
27
27
|
".": {
|
|
28
|
+
"types": "./dist/types/index.d.ts",
|
|
28
29
|
"require": "./dist/cjs/index.cjs",
|
|
29
|
-
"import": "./dist/esm/index.mjs"
|
|
30
|
-
"types": "./dist/types/index.d.ts"
|
|
30
|
+
"import": "./dist/esm/index.mjs"
|
|
31
31
|
},
|
|
32
32
|
"./locales": "./locales"
|
|
33
33
|
},
|