@contractspec/module.notifications 3.7.16 → 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 +6 -6
@@ -1,191 +1,2 @@
1
1
  // @bun
2
- var __defProp = Object.defineProperty;
3
- var __returnValue = (v) => v;
4
- function __exportSetter(name, newValue) {
5
- this[name] = __returnValue.bind(null, newValue);
6
- }
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, {
10
- get: all[name],
11
- enumerable: true,
12
- configurable: true,
13
- set: __exportSetter.bind(all, name)
14
- });
15
- };
16
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
17
-
18
- // src/i18n/catalogs/en.ts
19
- import { defineTranslation } from "@contractspec/lib.contracts-spec/translations";
20
- var enMessages;
21
- var init_en = __esm(() => {
22
- enMessages = defineTranslation({
23
- meta: {
24
- key: "notifications.messages",
25
- version: "1.0.0",
26
- domain: "notifications",
27
- description: "Template and channel strings for the notifications module",
28
- owners: ["platform"],
29
- stability: "experimental"
30
- },
31
- locale: "en",
32
- fallback: "en",
33
- messages: {
34
- "template.welcome.name": {
35
- value: "Welcome",
36
- description: "Welcome template display name"
37
- },
38
- "template.welcome.description": {
39
- value: "Sent when a user signs up.",
40
- description: "Welcome template description"
41
- },
42
- "template.orgInvite.name": {
43
- value: "Organization Invitation",
44
- description: "Org invite template display name"
45
- },
46
- "template.orgInvite.description": {
47
- value: "Sent when a user is invited to an organization.",
48
- description: "Org invite template description"
49
- },
50
- "template.mention.name": {
51
- value: "Mention",
52
- description: "Mention template display name"
53
- },
54
- "template.mention.description": {
55
- value: "Sent when a user is mentioned.",
56
- description: "Mention template description"
57
- },
58
- "channel.webhook.noUrl": {
59
- value: "No webhook URL configured",
60
- description: "Error when webhook channel has no URL"
61
- }
62
- }
63
- });
64
- });
65
-
66
- // src/i18n/catalogs/es.ts
67
- import { defineTranslation as defineTranslation2 } from "@contractspec/lib.contracts-spec/translations";
68
- var esMessages;
69
- var init_es = __esm(() => {
70
- esMessages = defineTranslation2({
71
- meta: {
72
- key: "notifications.messages",
73
- version: "1.0.0",
74
- domain: "notifications",
75
- description: "Template and channel strings (Spanish)",
76
- owners: ["platform"],
77
- stability: "experimental"
78
- },
79
- locale: "es",
80
- fallback: "en",
81
- messages: {
82
- "template.welcome.name": {
83
- value: "Bienvenida",
84
- description: "Welcome template display name"
85
- },
86
- "template.welcome.description": {
87
- value: "Enviado cuando un usuario se registra.",
88
- description: "Welcome template description"
89
- },
90
- "template.orgInvite.name": {
91
- value: "Invitaci\xF3n a la organizaci\xF3n",
92
- description: "Org invite template display name"
93
- },
94
- "template.orgInvite.description": {
95
- value: "Enviado cuando un usuario es invitado a una organizaci\xF3n.",
96
- description: "Org invite template description"
97
- },
98
- "template.mention.name": {
99
- value: "Menci\xF3n",
100
- description: "Mention template display name"
101
- },
102
- "template.mention.description": {
103
- value: "Enviado cuando un usuario es mencionado.",
104
- description: "Mention template description"
105
- },
106
- "channel.webhook.noUrl": {
107
- value: "No se ha configurado una URL de webhook",
108
- description: "Error when webhook channel has no URL"
109
- }
110
- }
111
- });
112
- });
113
-
114
- // src/i18n/catalogs/fr.ts
115
- import { defineTranslation as defineTranslation3 } from "@contractspec/lib.contracts-spec/translations";
116
- var frMessages;
117
- var init_fr = __esm(() => {
118
- frMessages = defineTranslation3({
119
- meta: {
120
- key: "notifications.messages",
121
- version: "1.0.0",
122
- domain: "notifications",
123
- description: "Template and channel strings (French)",
124
- owners: ["platform"],
125
- stability: "experimental"
126
- },
127
- locale: "fr",
128
- fallback: "en",
129
- messages: {
130
- "template.welcome.name": {
131
- value: "Bienvenue",
132
- description: "Welcome template display name"
133
- },
134
- "template.welcome.description": {
135
- value: "Envoy\xE9 lorsqu'un utilisateur s'inscrit.",
136
- description: "Welcome template description"
137
- },
138
- "template.orgInvite.name": {
139
- value: "Invitation \xE0 l'organisation",
140
- description: "Org invite template display name"
141
- },
142
- "template.orgInvite.description": {
143
- value: "Envoy\xE9 lorsqu'un utilisateur est invit\xE9 \xE0 une organisation.",
144
- description: "Org invite template description"
145
- },
146
- "template.mention.name": {
147
- value: "Mention",
148
- description: "Mention template display name"
149
- },
150
- "template.mention.description": {
151
- value: "Envoy\xE9 lorsqu'un utilisateur est mentionn\xE9.",
152
- description: "Mention template description"
153
- },
154
- "channel.webhook.noUrl": {
155
- value: "Aucune URL de webhook configur\xE9e",
156
- description: "Error when webhook channel has no URL"
157
- }
158
- }
159
- });
160
- });
161
-
162
- // src/i18n/messages.ts
163
- var exports_messages = {};
164
- __export(exports_messages, {
165
- resetI18nRegistry: () => resetI18nRegistry,
166
- getDefaultI18n: () => getDefaultI18n,
167
- createNotificationsI18n: () => createNotificationsI18n
168
- });
169
- import {
170
- createI18nFactory
171
- } from "@contractspec/lib.contracts-spec/translations";
172
- var factory, createNotificationsI18n, getDefaultI18n, resetI18nRegistry;
173
- var init_messages = __esm(() => {
174
- init_en();
175
- init_es();
176
- init_fr();
177
- factory = createI18nFactory({
178
- specKey: "notifications.messages",
179
- catalogs: [enMessages, frMessages, esMessages]
180
- });
181
- createNotificationsI18n = factory.create;
182
- getDefaultI18n = factory.getDefault;
183
- resetI18nRegistry = factory.resetRegistry;
184
- });
185
- init_messages();
186
-
187
- export {
188
- resetI18nRegistry,
189
- getDefaultI18n,
190
- createNotificationsI18n
191
- };
2
+ 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\xF3n a la organizaci\xF3n",description:"Org invite template display name"},"template.orgInvite.description":{value:"Enviado cuando un usuario es invitado a una organizaci\xF3n.",description:"Org invite template description"},"template.mention.name":{value:"Menci\xF3n",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\xE9 lorsqu'un utilisateur s'inscrit.",description:"Welcome template description"},"template.orgInvite.name":{value:"Invitation \xE0 l'organisation",description:"Org invite template display name"},"template.orgInvite.description":{value:"Envoy\xE9 lorsqu'un utilisateur est invit\xE9 \xE0 une organisation.",description:"Org invite template description"},"template.mention.name":{value:"Mention",description:"Mention template display name"},"template.mention.description":{value:"Envoy\xE9 lorsqu'un utilisateur est mentionn\xE9.",description:"Mention template description"},"channel.webhook.noUrl":{value:"Aucune URL de webhook configur\xE9e",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};