@contractspec/module.notifications 3.7.15 → 3.7.17

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.
Files changed (46) hide show
  1. package/dist/browser/channels/index.js +1 -314
  2. package/dist/browser/contracts/index.js +1 -356
  3. package/dist/browser/entities/index.js +1 -239
  4. package/dist/browser/i18n/catalogs/en.js +1 -68
  5. package/dist/browser/i18n/catalogs/es.js +1 -68
  6. package/dist/browser/i18n/catalogs/fr.js +1 -68
  7. package/dist/browser/i18n/catalogs/index.js +1 -169
  8. package/dist/browser/i18n/index.js +1 -229
  9. package/dist/browser/i18n/keys.js +1 -37
  10. package/dist/browser/i18n/locale.js +1 -29
  11. package/dist/browser/i18n/messages.js +1 -190
  12. package/dist/browser/index.js +7 -1126
  13. package/dist/browser/notifications.capability.js +1 -35
  14. package/dist/browser/notifications.feature.js +1 -50
  15. package/dist/browser/templates/index.js +7 -235
  16. package/dist/channels/index.js +1 -314
  17. package/dist/contracts/index.js +1 -356
  18. package/dist/entities/index.js +1 -239
  19. package/dist/i18n/catalogs/en.js +1 -68
  20. package/dist/i18n/catalogs/es.js +1 -68
  21. package/dist/i18n/catalogs/fr.js +1 -68
  22. package/dist/i18n/catalogs/index.js +1 -169
  23. package/dist/i18n/index.js +1 -229
  24. package/dist/i18n/keys.js +1 -37
  25. package/dist/i18n/locale.js +1 -29
  26. package/dist/i18n/messages.js +1 -190
  27. package/dist/index.js +7 -1126
  28. package/dist/node/channels/index.js +1 -314
  29. package/dist/node/contracts/index.js +1 -356
  30. package/dist/node/entities/index.js +1 -239
  31. package/dist/node/i18n/catalogs/en.js +1 -68
  32. package/dist/node/i18n/catalogs/es.js +1 -68
  33. package/dist/node/i18n/catalogs/fr.js +1 -68
  34. package/dist/node/i18n/catalogs/index.js +1 -169
  35. package/dist/node/i18n/index.js +1 -229
  36. package/dist/node/i18n/keys.js +1 -37
  37. package/dist/node/i18n/locale.js +1 -29
  38. package/dist/node/i18n/messages.js +1 -190
  39. package/dist/node/index.js +7 -1126
  40. package/dist/node/notifications.capability.js +1 -35
  41. package/dist/node/notifications.feature.js +1 -50
  42. package/dist/node/templates/index.js +7 -235
  43. package/dist/notifications.capability.js +1 -35
  44. package/dist/notifications.feature.js +1 -50
  45. package/dist/templates/index.js +7 -235
  46. package/package.json +8 -8
@@ -1,229 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true,
11
- configurable: true,
12
- set: __exportSetter.bind(all, name)
13
- });
14
- };
15
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
16
-
17
- // src/i18n/catalogs/en.ts
18
- import { defineTranslation } from "@contractspec/lib.contracts-spec/translations";
19
- var enMessages;
20
- var init_en = __esm(() => {
21
- enMessages = defineTranslation({
22
- meta: {
23
- key: "notifications.messages",
24
- version: "1.0.0",
25
- domain: "notifications",
26
- description: "Template and channel strings for the notifications module",
27
- owners: ["platform"],
28
- stability: "experimental"
29
- },
30
- locale: "en",
31
- fallback: "en",
32
- messages: {
33
- "template.welcome.name": {
34
- value: "Welcome",
35
- description: "Welcome template display name"
36
- },
37
- "template.welcome.description": {
38
- value: "Sent when a user signs up.",
39
- description: "Welcome template description"
40
- },
41
- "template.orgInvite.name": {
42
- value: "Organization Invitation",
43
- description: "Org invite template display name"
44
- },
45
- "template.orgInvite.description": {
46
- value: "Sent when a user is invited to an organization.",
47
- description: "Org invite template description"
48
- },
49
- "template.mention.name": {
50
- value: "Mention",
51
- description: "Mention template display name"
52
- },
53
- "template.mention.description": {
54
- value: "Sent when a user is mentioned.",
55
- description: "Mention template description"
56
- },
57
- "channel.webhook.noUrl": {
58
- value: "No webhook URL configured",
59
- description: "Error when webhook channel has no URL"
60
- }
61
- }
62
- });
63
- });
64
-
65
- // src/i18n/catalogs/es.ts
66
- import { defineTranslation as defineTranslation2 } from "@contractspec/lib.contracts-spec/translations";
67
- var esMessages;
68
- var init_es = __esm(() => {
69
- esMessages = defineTranslation2({
70
- meta: {
71
- key: "notifications.messages",
72
- version: "1.0.0",
73
- domain: "notifications",
74
- description: "Template and channel strings (Spanish)",
75
- owners: ["platform"],
76
- stability: "experimental"
77
- },
78
- locale: "es",
79
- fallback: "en",
80
- messages: {
81
- "template.welcome.name": {
82
- value: "Bienvenida",
83
- description: "Welcome template display name"
84
- },
85
- "template.welcome.description": {
86
- value: "Enviado cuando un usuario se registra.",
87
- description: "Welcome template description"
88
- },
89
- "template.orgInvite.name": {
90
- value: "Invitación a la organización",
91
- description: "Org invite template display name"
92
- },
93
- "template.orgInvite.description": {
94
- value: "Enviado cuando un usuario es invitado a una organización.",
95
- description: "Org invite template description"
96
- },
97
- "template.mention.name": {
98
- value: "Mención",
99
- description: "Mention template display name"
100
- },
101
- "template.mention.description": {
102
- value: "Enviado cuando un usuario es mencionado.",
103
- description: "Mention template description"
104
- },
105
- "channel.webhook.noUrl": {
106
- value: "No se ha configurado una URL de webhook",
107
- description: "Error when webhook channel has no URL"
108
- }
109
- }
110
- });
111
- });
112
-
113
- // src/i18n/catalogs/fr.ts
114
- import { defineTranslation as defineTranslation3 } from "@contractspec/lib.contracts-spec/translations";
115
- var frMessages;
116
- var init_fr = __esm(() => {
117
- frMessages = defineTranslation3({
118
- meta: {
119
- key: "notifications.messages",
120
- version: "1.0.0",
121
- domain: "notifications",
122
- description: "Template and channel strings (French)",
123
- owners: ["platform"],
124
- stability: "experimental"
125
- },
126
- locale: "fr",
127
- fallback: "en",
128
- messages: {
129
- "template.welcome.name": {
130
- value: "Bienvenue",
131
- description: "Welcome template display name"
132
- },
133
- "template.welcome.description": {
134
- value: "Envoyé lorsqu'un utilisateur s'inscrit.",
135
- description: "Welcome template description"
136
- },
137
- "template.orgInvite.name": {
138
- value: "Invitation à l'organisation",
139
- description: "Org invite template display name"
140
- },
141
- "template.orgInvite.description": {
142
- value: "Envoyé lorsqu'un utilisateur est invité à une organisation.",
143
- description: "Org invite template description"
144
- },
145
- "template.mention.name": {
146
- value: "Mention",
147
- description: "Mention template display name"
148
- },
149
- "template.mention.description": {
150
- value: "Envoyé lorsqu'un utilisateur est mentionné.",
151
- description: "Mention template description"
152
- },
153
- "channel.webhook.noUrl": {
154
- value: "Aucune URL de webhook configurée",
155
- description: "Error when webhook channel has no URL"
156
- }
157
- }
158
- });
159
- });
160
-
161
- // src/i18n/messages.ts
162
- var exports_messages = {};
163
- __export(exports_messages, {
164
- resetI18nRegistry: () => resetI18nRegistry,
165
- getDefaultI18n: () => getDefaultI18n,
166
- createNotificationsI18n: () => createNotificationsI18n
167
- });
168
- import {
169
- createI18nFactory
170
- } from "@contractspec/lib.contracts-spec/translations";
171
- var factory, createNotificationsI18n, getDefaultI18n, resetI18nRegistry;
172
- var init_messages = __esm(() => {
173
- init_en();
174
- init_es();
175
- init_fr();
176
- factory = createI18nFactory({
177
- specKey: "notifications.messages",
178
- catalogs: [enMessages, frMessages, esMessages]
179
- });
180
- createNotificationsI18n = factory.create;
181
- getDefaultI18n = factory.getDefault;
182
- resetI18nRegistry = factory.resetRegistry;
183
- });
184
-
185
- // src/i18n/keys.ts
186
- var TEMPLATE_KEYS = {
187
- "template.welcome.name": "template.welcome.name",
188
- "template.welcome.description": "template.welcome.description",
189
- "template.orgInvite.name": "template.orgInvite.name",
190
- "template.orgInvite.description": "template.orgInvite.description",
191
- "template.mention.name": "template.mention.name",
192
- "template.mention.description": "template.mention.description"
193
- };
194
- var CHANNEL_KEYS = {
195
- "channel.webhook.noUrl": "channel.webhook.noUrl"
196
- };
197
- var I18N_KEYS = {
198
- ...TEMPLATE_KEYS,
199
- ...CHANNEL_KEYS
200
- };
201
-
202
- // src/i18n/locale.ts
203
- import {
204
- DEFAULT_LOCALE,
205
- isSupportedLocale,
206
- resolveLocale,
207
- SUPPORTED_LOCALES
208
- } from "@contractspec/lib.contracts-spec/translations";
209
-
210
- // src/i18n/index.ts
211
- init_en();
212
- init_es();
213
- init_fr();
214
- init_messages();
215
- export {
216
- resolveLocale,
217
- resetI18nRegistry,
218
- isSupportedLocale,
219
- getDefaultI18n,
220
- frMessages,
221
- esMessages,
222
- enMessages,
223
- createNotificationsI18n,
224
- TEMPLATE_KEYS,
225
- SUPPORTED_LOCALES,
226
- I18N_KEYS,
227
- DEFAULT_LOCALE,
228
- CHANNEL_KEYS
229
- };
1
+ var C=Object.defineProperty;var K=(e)=>e;function P(e,m){this[e]=K.bind(null,m)}var R=(e,m)=>{for(var x in m)C(e,x,{get:m[x],enumerable:!0,configurable:!0,set:P.bind(m,x)})};var o=(e,m)=>()=>(e&&(m=e(e=0)),m);import{defineTranslation as d}from"@contractspec/lib.contracts-spec/translations";var L;var f=o(()=>{L=d({meta:{key:"notifications.messages",version:"1.0.0",domain:"notifications",description:"Template and channel strings for the notifications module",owners:["platform"],stability:"experimental"},locale:"en",fallback:"en",messages:{"template.welcome.name":{value:"Welcome",description:"Welcome template display name"},"template.welcome.description":{value:"Sent when a user signs up.",description:"Welcome template description"},"template.orgInvite.name":{value:"Organization Invitation",description:"Org invite template display name"},"template.orgInvite.description":{value:"Sent when a user is invited to an organization.",description:"Org invite template description"},"template.mention.name":{value:"Mention",description:"Mention template display name"},"template.mention.description":{value:"Sent when a user is mentioned.",description:"Mention template description"},"channel.webhook.noUrl":{value:"No webhook URL configured",description:"Error when webhook channel has no URL"}}})});import{defineTranslation as g}from"@contractspec/lib.contracts-spec/translations";var p;var u=o(()=>{p=g({meta:{key:"notifications.messages",version:"1.0.0",domain:"notifications",description:"Template and channel strings (Spanish)",owners:["platform"],stability:"experimental"},locale:"es",fallback:"en",messages:{"template.welcome.name":{value:"Bienvenida",description:"Welcome template display name"},"template.welcome.description":{value:"Enviado cuando un usuario se registra.",description:"Welcome template description"},"template.orgInvite.name":{value:"Invitación a la organización",description:"Org invite template display name"},"template.orgInvite.description":{value:"Enviado cuando un usuario es invitado a una organización.",description:"Org invite template description"},"template.mention.name":{value:"Mención",description:"Mention template display name"},"template.mention.description":{value:"Enviado cuando un usuario es mencionado.",description:"Mention template description"},"channel.webhook.noUrl":{value:"No se ha configurado una URL de webhook",description:"Error when webhook channel has no URL"}}})});import{defineTranslation as z}from"@contractspec/lib.contracts-spec/translations";var E;var I=o(()=>{E=z({meta:{key:"notifications.messages",version:"1.0.0",domain:"notifications",description:"Template and channel strings (French)",owners:["platform"],stability:"experimental"},locale:"fr",fallback:"en",messages:{"template.welcome.name":{value:"Bienvenue",description:"Welcome template display name"},"template.welcome.description":{value:"Envoyé lorsqu'un utilisateur s'inscrit.",description:"Welcome template description"},"template.orgInvite.name":{value:"Invitation à l'organisation",description:"Org invite template display name"},"template.orgInvite.description":{value:"Envoyé lorsqu'un utilisateur est invité à une organisation.",description:"Org invite template description"},"template.mention.name":{value:"Mention",description:"Mention template display name"},"template.mention.description":{value:"Envoyé lorsqu'un utilisateur est mentionné.",description:"Mention template description"},"channel.webhook.noUrl":{value:"Aucune URL de webhook configurée",description:"Error when webhook channel has no URL"}}})});var U={};R(U,{resetI18nRegistry:()=>A,getDefaultI18n:()=>r,createNotificationsI18n:()=>N});import{createI18nFactory as M}from"@contractspec/lib.contracts-spec/translations";var S,N,r,A;var D=o(()=>{f();u();I();S=M({specKey:"notifications.messages",catalogs:[L,E,p]}),N=S.create,r=S.getDefault,A=S.resetRegistry});var O={"template.welcome.name":"template.welcome.name","template.welcome.description":"template.welcome.description","template.orgInvite.name":"template.orgInvite.name","template.orgInvite.description":"template.orgInvite.description","template.mention.name":"template.mention.name","template.mention.description":"template.mention.description"},_={"channel.webhook.noUrl":"channel.webhook.noUrl"},Y={...O,..._};import{DEFAULT_LOCALE as h,isSupportedLocale as j,resolveLocale as k,SUPPORTED_LOCALES as q}from"@contractspec/lib.contracts-spec/translations";f();u();I();D();export{k as resolveLocale,A as resetI18nRegistry,j as isSupportedLocale,r as getDefaultI18n,E as frMessages,p as esMessages,L as enMessages,N as createNotificationsI18n,O as TEMPLATE_KEYS,q as SUPPORTED_LOCALES,Y as I18N_KEYS,h as DEFAULT_LOCALE,_ as CHANNEL_KEYS};
@@ -1,37 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true,
11
- configurable: true,
12
- set: __exportSetter.bind(all, name)
13
- });
14
- };
15
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
16
-
17
- // src/i18n/keys.ts
18
- var TEMPLATE_KEYS = {
19
- "template.welcome.name": "template.welcome.name",
20
- "template.welcome.description": "template.welcome.description",
21
- "template.orgInvite.name": "template.orgInvite.name",
22
- "template.orgInvite.description": "template.orgInvite.description",
23
- "template.mention.name": "template.mention.name",
24
- "template.mention.description": "template.mention.description"
25
- };
26
- var CHANNEL_KEYS = {
27
- "channel.webhook.noUrl": "channel.webhook.noUrl"
28
- };
29
- var I18N_KEYS = {
30
- ...TEMPLATE_KEYS,
31
- ...CHANNEL_KEYS
32
- };
33
- export {
34
- TEMPLATE_KEYS,
35
- I18N_KEYS,
36
- CHANNEL_KEYS
37
- };
1
+ var j=Object.defineProperty;var m=(b)=>b;function q(b,g){this[b]=m.bind(null,g)}var w=(b,g)=>{for(var h in g)j(b,h,{get:g[h],enumerable:!0,configurable:!0,set:q.bind(g,h)})};var x=(b,g)=>()=>(b&&(g=b(b=0)),g);var r={"template.welcome.name":"template.welcome.name","template.welcome.description":"template.welcome.description","template.orgInvite.name":"template.orgInvite.name","template.orgInvite.description":"template.orgInvite.description","template.mention.name":"template.mention.name","template.mention.description":"template.mention.description"},u={"channel.webhook.noUrl":"channel.webhook.noUrl"},B={...r,...u};export{r as TEMPLATE_KEYS,B as I18N_KEYS,u as CHANNEL_KEYS};
@@ -1,29 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true,
11
- configurable: true,
12
- set: __exportSetter.bind(all, name)
13
- });
14
- };
15
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
16
-
17
- // src/i18n/locale.ts
18
- import {
19
- DEFAULT_LOCALE,
20
- isSupportedLocale,
21
- resolveLocale,
22
- SUPPORTED_LOCALES
23
- } from "@contractspec/lib.contracts-spec/translations";
24
- export {
25
- resolveLocale,
26
- isSupportedLocale,
27
- SUPPORTED_LOCALES,
28
- DEFAULT_LOCALE
29
- };
1
+ var h=Object.defineProperty;var j=(d)=>d;function k(d,f){this[d]=j.bind(null,f)}var m=(d,f)=>{for(var g in f)h(d,g,{get:f[g],enumerable:!0,configurable:!0,set:k.bind(f,g)})};var q=(d,f)=>()=>(d&&(f=d(d=0)),f);import{DEFAULT_LOCALE as x,isSupportedLocale as y,resolveLocale as z,SUPPORTED_LOCALES as A}from"@contractspec/lib.contracts-spec/translations";export{z as resolveLocale,y as isSupportedLocale,A as SUPPORTED_LOCALES,x as DEFAULT_LOCALE};
@@ -1,190 +1 @@
1
- var __defProp = Object.defineProperty;
2
- var __returnValue = (v) => v;
3
- function __exportSetter(name, newValue) {
4
- this[name] = __returnValue.bind(null, newValue);
5
- }
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true,
11
- configurable: true,
12
- set: __exportSetter.bind(all, name)
13
- });
14
- };
15
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
16
-
17
- // src/i18n/catalogs/en.ts
18
- import { defineTranslation } from "@contractspec/lib.contracts-spec/translations";
19
- var enMessages;
20
- var init_en = __esm(() => {
21
- enMessages = defineTranslation({
22
- meta: {
23
- key: "notifications.messages",
24
- version: "1.0.0",
25
- domain: "notifications",
26
- description: "Template and channel strings for the notifications module",
27
- owners: ["platform"],
28
- stability: "experimental"
29
- },
30
- locale: "en",
31
- fallback: "en",
32
- messages: {
33
- "template.welcome.name": {
34
- value: "Welcome",
35
- description: "Welcome template display name"
36
- },
37
- "template.welcome.description": {
38
- value: "Sent when a user signs up.",
39
- description: "Welcome template description"
40
- },
41
- "template.orgInvite.name": {
42
- value: "Organization Invitation",
43
- description: "Org invite template display name"
44
- },
45
- "template.orgInvite.description": {
46
- value: "Sent when a user is invited to an organization.",
47
- description: "Org invite template description"
48
- },
49
- "template.mention.name": {
50
- value: "Mention",
51
- description: "Mention template display name"
52
- },
53
- "template.mention.description": {
54
- value: "Sent when a user is mentioned.",
55
- description: "Mention template description"
56
- },
57
- "channel.webhook.noUrl": {
58
- value: "No webhook URL configured",
59
- description: "Error when webhook channel has no URL"
60
- }
61
- }
62
- });
63
- });
64
-
65
- // src/i18n/catalogs/es.ts
66
- import { defineTranslation as defineTranslation2 } from "@contractspec/lib.contracts-spec/translations";
67
- var esMessages;
68
- var init_es = __esm(() => {
69
- esMessages = defineTranslation2({
70
- meta: {
71
- key: "notifications.messages",
72
- version: "1.0.0",
73
- domain: "notifications",
74
- description: "Template and channel strings (Spanish)",
75
- owners: ["platform"],
76
- stability: "experimental"
77
- },
78
- locale: "es",
79
- fallback: "en",
80
- messages: {
81
- "template.welcome.name": {
82
- value: "Bienvenida",
83
- description: "Welcome template display name"
84
- },
85
- "template.welcome.description": {
86
- value: "Enviado cuando un usuario se registra.",
87
- description: "Welcome template description"
88
- },
89
- "template.orgInvite.name": {
90
- value: "Invitación a la organización",
91
- description: "Org invite template display name"
92
- },
93
- "template.orgInvite.description": {
94
- value: "Enviado cuando un usuario es invitado a una organización.",
95
- description: "Org invite template description"
96
- },
97
- "template.mention.name": {
98
- value: "Mención",
99
- description: "Mention template display name"
100
- },
101
- "template.mention.description": {
102
- value: "Enviado cuando un usuario es mencionado.",
103
- description: "Mention template description"
104
- },
105
- "channel.webhook.noUrl": {
106
- value: "No se ha configurado una URL de webhook",
107
- description: "Error when webhook channel has no URL"
108
- }
109
- }
110
- });
111
- });
112
-
113
- // src/i18n/catalogs/fr.ts
114
- import { defineTranslation as defineTranslation3 } from "@contractspec/lib.contracts-spec/translations";
115
- var frMessages;
116
- var init_fr = __esm(() => {
117
- frMessages = defineTranslation3({
118
- meta: {
119
- key: "notifications.messages",
120
- version: "1.0.0",
121
- domain: "notifications",
122
- description: "Template and channel strings (French)",
123
- owners: ["platform"],
124
- stability: "experimental"
125
- },
126
- locale: "fr",
127
- fallback: "en",
128
- messages: {
129
- "template.welcome.name": {
130
- value: "Bienvenue",
131
- description: "Welcome template display name"
132
- },
133
- "template.welcome.description": {
134
- value: "Envoyé lorsqu'un utilisateur s'inscrit.",
135
- description: "Welcome template description"
136
- },
137
- "template.orgInvite.name": {
138
- value: "Invitation à l'organisation",
139
- description: "Org invite template display name"
140
- },
141
- "template.orgInvite.description": {
142
- value: "Envoyé lorsqu'un utilisateur est invité à une organisation.",
143
- description: "Org invite template description"
144
- },
145
- "template.mention.name": {
146
- value: "Mention",
147
- description: "Mention template display name"
148
- },
149
- "template.mention.description": {
150
- value: "Envoyé lorsqu'un utilisateur est mentionné.",
151
- description: "Mention template description"
152
- },
153
- "channel.webhook.noUrl": {
154
- value: "Aucune URL de webhook configurée",
155
- description: "Error when webhook channel has no URL"
156
- }
157
- }
158
- });
159
- });
160
-
161
- // src/i18n/messages.ts
162
- var exports_messages = {};
163
- __export(exports_messages, {
164
- resetI18nRegistry: () => resetI18nRegistry,
165
- getDefaultI18n: () => getDefaultI18n,
166
- createNotificationsI18n: () => createNotificationsI18n
167
- });
168
- import {
169
- createI18nFactory
170
- } from "@contractspec/lib.contracts-spec/translations";
171
- var factory, createNotificationsI18n, getDefaultI18n, resetI18nRegistry;
172
- var init_messages = __esm(() => {
173
- init_en();
174
- init_es();
175
- init_fr();
176
- factory = createI18nFactory({
177
- specKey: "notifications.messages",
178
- catalogs: [enMessages, frMessages, esMessages]
179
- });
180
- createNotificationsI18n = factory.create;
181
- getDefaultI18n = factory.getDefault;
182
- resetI18nRegistry = factory.resetRegistry;
183
- });
184
- init_messages();
185
-
186
- export {
187
- resetI18nRegistry,
188
- getDefaultI18n,
189
- createNotificationsI18n
190
- };
1
+ var B=Object.defineProperty;var C=(h)=>h;function D(h,j){this[h]=C.bind(null,j)}var E=(h,j)=>{for(var m in j)B(h,m,{get:j[m],enumerable:!0,configurable:!0,set:D.bind(j,m)})};var k=(h,j)=>()=>(h&&(j=h(h=0)),j);import{defineTranslation as G}from"@contractspec/lib.contracts-spec/translations";var u;var v=k(()=>{u=G({meta:{key:"notifications.messages",version:"1.0.0",domain:"notifications",description:"Template and channel strings for the notifications module",owners:["platform"],stability:"experimental"},locale:"en",fallback:"en",messages:{"template.welcome.name":{value:"Welcome",description:"Welcome template display name"},"template.welcome.description":{value:"Sent when a user signs up.",description:"Welcome template description"},"template.orgInvite.name":{value:"Organization Invitation",description:"Org invite template display name"},"template.orgInvite.description":{value:"Sent when a user is invited to an organization.",description:"Org invite template description"},"template.mention.name":{value:"Mention",description:"Mention template display name"},"template.mention.description":{value:"Sent when a user is mentioned.",description:"Mention template description"},"channel.webhook.noUrl":{value:"No webhook URL configured",description:"Error when webhook channel has no URL"}}})});import{defineTranslation as H}from"@contractspec/lib.contracts-spec/translations";var w;var x=k(()=>{w=H({meta:{key:"notifications.messages",version:"1.0.0",domain:"notifications",description:"Template and channel strings (Spanish)",owners:["platform"],stability:"experimental"},locale:"es",fallback:"en",messages:{"template.welcome.name":{value:"Bienvenida",description:"Welcome template display name"},"template.welcome.description":{value:"Enviado cuando un usuario se registra.",description:"Welcome template description"},"template.orgInvite.name":{value:"Invitación a la organización",description:"Org invite template display name"},"template.orgInvite.description":{value:"Enviado cuando un usuario es invitado a una organización.",description:"Org invite template description"},"template.mention.name":{value:"Mención",description:"Mention template display name"},"template.mention.description":{value:"Enviado cuando un usuario es mencionado.",description:"Mention template description"},"channel.webhook.noUrl":{value:"No se ha configurado una URL de webhook",description:"Error when webhook channel has no URL"}}})});import{defineTranslation as J}from"@contractspec/lib.contracts-spec/translations";var z;var A=k(()=>{z=J({meta:{key:"notifications.messages",version:"1.0.0",domain:"notifications",description:"Template and channel strings (French)",owners:["platform"],stability:"experimental"},locale:"fr",fallback:"en",messages:{"template.welcome.name":{value:"Bienvenue",description:"Welcome template display name"},"template.welcome.description":{value:"Envoyé lorsqu'un utilisateur s'inscrit.",description:"Welcome template description"},"template.orgInvite.name":{value:"Invitation à l'organisation",description:"Org invite template display name"},"template.orgInvite.description":{value:"Envoyé lorsqu'un utilisateur est invité à une organisation.",description:"Org invite template description"},"template.mention.name":{value:"Mention",description:"Mention template display name"},"template.mention.description":{value:"Envoyé lorsqu'un utilisateur est mentionné.",description:"Mention template description"},"channel.webhook.noUrl":{value:"Aucune URL de webhook configurée",description:"Error when webhook channel has no URL"}}})});var P={};E(P,{resetI18nRegistry:()=>O,getDefaultI18n:()=>N,createNotificationsI18n:()=>L});import{createI18nFactory as K}from"@contractspec/lib.contracts-spec/translations";var q,L,N,O;var Q=k(()=>{v();x();A();q=K({specKey:"notifications.messages",catalogs:[u,z,w]}),L=q.create,N=q.getDefault,O=q.resetRegistry});Q();export{O as resetI18nRegistry,N as getDefaultI18n,L as createNotificationsI18n};