@nymphjs/tilmeld-client 1.0.0-beta.9 → 1.0.0-beta.90

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/CHANGELOG.md CHANGED
@@ -3,6 +3,361 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.0.0-beta.90](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.89...v1.0.0-beta.90) (2025-02-09)
7
+
8
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
9
+
10
+ # [1.0.0-beta.89](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.88...v1.0.0-beta.89) (2025-02-09)
11
+
12
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
13
+
14
+ # [1.0.0-beta.88](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.87...v1.0.0-beta.88) (2025-01-30)
15
+
16
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
17
+
18
+ # [1.0.0-beta.87](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.86...v1.0.0-beta.87) (2025-01-20)
19
+
20
+ ### Features
21
+
22
+ - deprecate node client and allow multiple client instances to each log in own users ([17b42f4](https://github.com/sciactive/nymphjs/commit/17b42f449f2355a3ce896b8e86a47edd660e9277))
23
+
24
+ # [1.0.0-beta.86](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.85...v1.0.0-beta.86) (2024-12-28)
25
+
26
+ ### Features
27
+
28
+ - add domain support ([c965008](https://github.com/sciactive/nymphjs/commit/c96500811a4d64ab4e80eca6acdfbfdfae1de076))
29
+
30
+ # [1.0.0-beta.85](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.84...v1.0.0-beta.85) (2024-12-27)
31
+
32
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
33
+
34
+ # [1.0.0-beta.84](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.83...v1.0.0-beta.84) (2024-12-21)
35
+
36
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
37
+
38
+ # [1.0.0-beta.83](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.82...v1.0.0-beta.83) (2024-12-20)
39
+
40
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
41
+
42
+ # [1.0.0-beta.82](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.81...v1.0.0-beta.82) (2024-12-15)
43
+
44
+ ### Features
45
+
46
+ - migrate to es modules, upgrade all packages, migrate to Svelte 5 ([3f2b9e5](https://github.com/sciactive/nymphjs/commit/3f2b9e517b39934eddce66601d7fc747fbf3f9e6))
47
+
48
+ # [1.0.0-beta.81](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.80...v1.0.0-beta.81) (2024-09-28)
49
+
50
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
51
+
52
+ # [1.0.0-beta.80](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.79...v1.0.0-beta.80) (2024-09-28)
53
+
54
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
55
+
56
+ # [1.0.0-beta.79](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.78...v1.0.0-beta.79) (2024-09-28)
57
+
58
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
59
+
60
+ # [1.0.0-beta.78](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.77...v1.0.0-beta.78) (2024-09-27)
61
+
62
+ ### Bug Fixes
63
+
64
+ - another flaky test ([0825249](https://github.com/sciactive/nymphjs/commit/082524955a3aea87d38bae3710f710d4b12d499c))
65
+ - hopefully fix flaky test ([bc746f0](https://github.com/sciactive/nymphjs/commit/bc746f077243502fa749be3bc5b1baf2bab511e5))
66
+
67
+ # [1.0.0-beta.77](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.76...v1.0.0-beta.77) (2024-09-26)
68
+
69
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
70
+
71
+ # [1.0.0-beta.76](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.75...v1.0.0-beta.76) (2024-09-25)
72
+
73
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
74
+
75
+ # [1.0.0-beta.75](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.74...v1.0.0-beta.75) (2024-09-24)
76
+
77
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
78
+
79
+ # [1.0.0-beta.74](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.73...v1.0.0-beta.74) (2024-09-21)
80
+
81
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
82
+
83
+ # [1.0.0-beta.73](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.72...v1.0.0-beta.73) (2024-09-20)
84
+
85
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
86
+
87
+ # [1.0.0-beta.72](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.71...v1.0.0-beta.72) (2024-09-20)
88
+
89
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
90
+
91
+ # [1.0.0-beta.71](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.70...v1.0.0-beta.71) (2024-09-20)
92
+
93
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
94
+
95
+ # [1.0.0-beta.70](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.69...v1.0.0-beta.70) (2024-09-20)
96
+
97
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
98
+
99
+ # [1.0.0-beta.69](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.68...v1.0.0-beta.69) (2024-09-19)
100
+
101
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
102
+
103
+ # [1.0.0-beta.68](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.67...v1.0.0-beta.68) (2024-09-19)
104
+
105
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
106
+
107
+ # [1.0.0-beta.67](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.66...v1.0.0-beta.67) (2024-09-03)
108
+
109
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
110
+
111
+ # [1.0.0-beta.66](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.65...v1.0.0-beta.66) (2024-08-06)
112
+
113
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
114
+
115
+ # [1.0.0-beta.65](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.64...v1.0.0-beta.65) (2024-08-05)
116
+
117
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
118
+
119
+ # [1.0.0-beta.64](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.63...v1.0.0-beta.64) (2024-08-04)
120
+
121
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
122
+
123
+ # [1.0.0-beta.63](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.62...v1.0.0-beta.63) (2024-06-18)
124
+
125
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
126
+
127
+ # [1.0.0-beta.62](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.61...v1.0.0-beta.62) (2024-06-15)
128
+
129
+ ### Bug Fixes
130
+
131
+ - update test with new error message ([05afe42](https://github.com/sciactive/nymphjs/commit/05afe42470d975278858edbe65ec1b29c1c43207))
132
+
133
+ # [1.0.0-beta.61](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.60...v1.0.0-beta.61) (2024-06-14)
134
+
135
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
136
+
137
+ # [1.0.0-beta.60](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.59...v1.0.0-beta.60) (2024-06-14)
138
+
139
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
140
+
141
+ # [1.0.0-beta.59](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.58...v1.0.0-beta.59) (2024-06-14)
142
+
143
+ ### Features
144
+
145
+ - add uniqueness constraint feature, refactor some types ([8133d32](https://github.com/sciactive/nymphjs/commit/8133d32b2c04907182dca2e9171b8217ed1b57e4))
146
+
147
+ # [1.0.0-beta.58](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.57...v1.0.0-beta.58) (2024-06-12)
148
+
149
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
150
+
151
+ # [1.0.0-beta.57](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.56...v1.0.0-beta.57) (2024-06-12)
152
+
153
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
154
+
155
+ # [1.0.0-beta.56](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.55...v1.0.0-beta.56) (2024-06-11)
156
+
157
+ ### Features
158
+
159
+ - allow connections where tokens are not renewed ([39071a5](https://github.com/sciactive/nymphjs/commit/39071a545644075190bd8213be25e0a0c46d2b5d))
160
+
161
+ # [1.0.0-beta.55](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.54...v1.0.0-beta.55) (2024-05-26)
162
+
163
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
164
+
165
+ # [1.0.0-beta.54](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.53...v1.0.0-beta.54) (2024-05-26)
166
+
167
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
168
+
169
+ # [1.0.0-beta.53](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.52...v1.0.0-beta.53) (2024-05-26)
170
+
171
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
172
+
173
+ # [1.0.0-beta.52](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.51...v1.0.0-beta.52) (2024-05-25)
174
+
175
+ ### Bug Fixes
176
+
177
+ - support setup app and users and groups when userFields is limited ([20e25a2](https://github.com/sciactive/nymphjs/commit/20e25a2bcc35f96b3146fd9d973e34083a85f854))
178
+
179
+ # [1.0.0-beta.51](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.50...v1.0.0-beta.51) (2024-04-12)
180
+
181
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
182
+
183
+ # [1.0.0-beta.50](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.49...v1.0.0-beta.50) (2024-04-08)
184
+
185
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
186
+
187
+ # [1.0.0-beta.49](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.48...v1.0.0-beta.49) (2024-03-04)
188
+
189
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
190
+
191
+ # [1.0.0-beta.48](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.47...v1.0.0-beta.48) (2023-11-10)
192
+
193
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
194
+
195
+ # [1.0.0-beta.47](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.46...v1.0.0-beta.47) (2023-11-10)
196
+
197
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
198
+
199
+ # [1.0.0-beta.46](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.45...v1.0.0-beta.46) (2023-08-29)
200
+
201
+ ### Features
202
+
203
+ - enable tilmeld admins to remove totp secret from users ([18455b3](https://github.com/sciactive/nymphjs/commit/18455b3edbbfa1188f8cf317438bbfa028ba8f47))
204
+
205
+ # [1.0.0-beta.45](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.44...v1.0.0-beta.45) (2023-07-17)
206
+
207
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
208
+
209
+ # [1.0.0-beta.44](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.43...v1.0.0-beta.44) (2023-07-13)
210
+
211
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
212
+
213
+ # [1.0.0-beta.43](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.42...v1.0.0-beta.43) (2023-07-12)
214
+
215
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
216
+
217
+ # [1.0.0-beta.42](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.41...v1.0.0-beta.42) (2023-07-12)
218
+
219
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
220
+
221
+ # [1.0.0-beta.41](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.40...v1.0.0-beta.41) (2023-07-12)
222
+
223
+ ### Features
224
+
225
+ - remove synchronous database queries ([b579fb2](https://github.com/sciactive/nymphjs/commit/b579fb2eacd96cdd1b386a62c5c00cdbb2438f6e))
226
+
227
+ # [1.0.0-beta.40](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.39...v1.0.0-beta.40) (2023-07-10)
228
+
229
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
230
+
231
+ # [1.0.0-beta.39](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.38...v1.0.0-beta.39) (2023-07-09)
232
+
233
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
234
+
235
+ # [1.0.0-beta.38](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.37...v1.0.0-beta.38) (2023-07-09)
236
+
237
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
238
+
239
+ # [1.0.0-beta.37](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.36...v1.0.0-beta.37) (2023-07-09)
240
+
241
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
242
+
243
+ # [1.0.0-beta.36](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.35...v1.0.0-beta.36) (2023-07-09)
244
+
245
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
246
+
247
+ # [1.0.0-beta.35](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.34...v1.0.0-beta.35) (2023-06-14)
248
+
249
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
250
+
251
+ # [1.0.0-beta.34](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.33...v1.0.0-beta.34) (2023-05-13)
252
+
253
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
254
+
255
+ # [1.0.0-beta.33](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.32...v1.0.0-beta.33) (2023-05-13)
256
+
257
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
258
+
259
+ # [1.0.0-beta.32](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.31...v1.0.0-beta.32) (2023-05-13)
260
+
261
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
262
+
263
+ # [1.0.0-beta.31](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.30...v1.0.0-beta.31) (2023-05-12)
264
+
265
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
266
+
267
+ # [1.0.0-beta.30](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2023-05-12)
268
+
269
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
270
+
271
+ # [1.0.0-beta.29](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2023-05-08)
272
+
273
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
274
+
275
+ # [1.0.0-beta.28](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.27...v1.0.0-beta.28) (2023-05-05)
276
+
277
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
278
+
279
+ # [1.0.0-beta.27](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.26...v1.0.0-beta.27) (2023-05-04)
280
+
281
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
282
+
283
+ # [1.0.0-beta.26](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.25...v1.0.0-beta.26) (2023-05-04)
284
+
285
+ ### Features
286
+
287
+ - update packages and migrate to mysql2 ([72ad611](https://github.com/sciactive/nymphjs/commit/72ad611bd2bf7bf85c3ba8a3486503d9b50c49d6))
288
+
289
+ # [1.0.0-beta.25](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.24...v1.0.0-beta.25) (2023-05-04)
290
+
291
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
292
+
293
+ # [1.0.0-beta.24](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.23...v1.0.0-beta.24) (2023-05-02)
294
+
295
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
296
+
297
+ # [1.0.0-beta.23](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.22...v1.0.0-beta.23) (2023-05-02)
298
+
299
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
300
+
301
+ # [1.0.0-beta.22](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.21...v1.0.0-beta.22) (2023-05-01)
302
+
303
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
304
+
305
+ # [1.0.0-beta.21](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.20...v1.0.0-beta.21) (2023-05-01)
306
+
307
+ ### Features
308
+
309
+ - add totp two factor authentication ([cc9f8ed](https://github.com/sciactive/nymphjs/commit/cc9f8edb183271fa7f51e4b182b876efb8fa0f8d))
310
+
311
+ # [1.0.0-beta.20](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.19...v1.0.0-beta.20) (2023-04-30)
312
+
313
+ ### Features
314
+
315
+ - let the user revoke all current auth tokens ([63af3b9](https://github.com/sciactive/nymphjs/commit/63af3b9a31c6c221ab40c2c8a69231675f4634a2))
316
+
317
+ # [1.0.0-beta.19](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.18...v1.0.0-beta.19) (2023-04-29)
318
+
319
+ ### Bug Fixes
320
+
321
+ - some type issues ([ee69d5d](https://github.com/sciactive/nymphjs/commit/ee69d5d73361dacda5745d697df18fafd47810bc))
322
+
323
+ # [1.0.0-beta.18](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.17...v1.0.0-beta.18) (2023-04-27)
324
+
325
+ ### Features
326
+
327
+ - add the ability to switch to a user without their password ([ca4466a](https://github.com/sciactive/nymphjs/commit/ca4466af1704d68905ac087350a8cf151c1072d9))
328
+
329
+ # [1.0.0-beta.17](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.16...v1.0.0-beta.17) (2023-04-24)
330
+
331
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
332
+
333
+ # [1.0.0-beta.16](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.15...v1.0.0-beta.16) (2023-03-31)
334
+
335
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
336
+
337
+ # [1.0.0-beta.15](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.14...v1.0.0-beta.15) (2023-03-23)
338
+
339
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
340
+
341
+ # [1.0.0-beta.14](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.13...v1.0.0-beta.14) (2023-03-17)
342
+
343
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
344
+
345
+ # [1.0.0-beta.13](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.12...v1.0.0-beta.13) (2023-03-16)
346
+
347
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
348
+
349
+ # [1.0.0-beta.12](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.11...v1.0.0-beta.12) (2023-03-04)
350
+
351
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
352
+
353
+ # [1.0.0-beta.11](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.10...v1.0.0-beta.11) (2023-02-27)
354
+
355
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
356
+
357
+ # [1.0.0-beta.10](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.9...v1.0.0-beta.10) (2023-01-19)
358
+
359
+ **Note:** Version bump only for package @nymphjs/tilmeld-client
360
+
6
361
  # [1.0.0-beta.9](https://github.com/sciactive/nymphjs/compare/v1.0.0-beta.8...v1.0.0-beta.9) (2023-01-09)
7
362
 
8
363
  **Note:** Version bump only for package @nymphjs/tilmeld-client
package/README.md CHANGED
@@ -10,7 +10,7 @@ The Tilmeld Client lets you register, login, and perform user account related fu
10
10
  npm install --save @nymphjs/tilmeld-client
11
11
  ```
12
12
 
13
- You can find UMD in `dist`, or TS source in `src`.
13
+ You can find ES modules in `dist`, or TS source in `src`.
14
14
 
15
15
  ## Usage
16
16
 
@@ -37,7 +37,7 @@ If you're running more than one instance of Nymph client, be sure to use the cla
37
37
 
38
38
  # License
39
39
 
40
- Copyright 2021 SciActive Inc
40
+ Copyright 2021-2025 SciActive Inc
41
41
 
42
42
  Licensed under the Apache License, Version 2.0 (the "License");
43
43
  you may not use this file except in compliance with the License.
@@ -1,28 +1,63 @@
1
1
  import { Entity, Options, Selector } from '@nymphjs/client';
2
- import type User from './User';
3
- import type { CurrentUserData } from './User';
2
+ import type User from './User.js';
3
+ import type { CurrentUserData } from './User.js';
4
4
  export type GroupData = {
5
+ /**
6
+ * The group's groupname.
7
+ */
5
8
  groupname?: string;
9
+ /**
10
+ * The group's name.
11
+ */
6
12
  name?: string;
13
+ /**
14
+ * The group's avatar URL. (Use getAvatar() to support Gravatar.)
15
+ */
7
16
  avatar?: string;
17
+ /**
18
+ * The group's parent.
19
+ */
8
20
  parent?: Group & GroupData;
21
+ /**
22
+ * Whether the group can be used.
23
+ */
9
24
  enabled?: boolean;
25
+ /**
26
+ * Whether this group is the default primary group for new users.
27
+ */
10
28
  defaultPrimary?: boolean;
29
+ /**
30
+ * Whether this group is a default secondary group for new users.
31
+ */
11
32
  defaultSecondary?: boolean;
33
+ /**
34
+ * Whether this group is a default secondary group for unverified users.
35
+ */
12
36
  unverifiedSecondary?: boolean;
13
37
  };
14
38
  export type CurrentGroupData = GroupData & {
39
+ /**
40
+ * The abilities granted to the group.
41
+ */
15
42
  abilities?: string[];
43
+ /**
44
+ * The group's email address.
45
+ */
16
46
  email?: string;
47
+ /**
48
+ * The group's telephone number.
49
+ */
17
50
  phone?: string;
51
+ /**
52
+ * If generatePrimary is on, this will be the user who generated this group.
53
+ */
18
54
  user?: (User & CurrentUserData) | null;
19
55
  };
20
56
  export type AdminGroupData = CurrentGroupData;
21
57
  export default class Group extends Entity<GroupData> {
22
58
  static class: string;
23
- constructor(guid?: string);
24
- static factory(guid?: string): Promise<Group & GroupData>;
25
- static factorySync(guid?: string): Group & GroupData;
59
+ static factoryGroupname(groupname?: string): Promise<Group & GroupData>;
60
+ constructor();
26
61
  $checkGroupname(): Promise<{
27
62
  result: boolean;
28
63
  message: string;
@@ -1,19 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const client_1 = require("@nymphjs/client");
4
- class Group extends client_1.Entity {
5
- constructor(guid) {
6
- super(guid);
7
- if (guid == null) {
8
- this.$data.enabled = true;
9
- this.$data.abilities = [];
1
+ import { Entity } from '@nymphjs/client';
2
+ export default class Group extends Entity {
3
+ // The name of the server class
4
+ static class = 'Group';
5
+ static async factoryGroupname(groupname) {
6
+ const entity = new this();
7
+ if (groupname != null) {
8
+ const entity = await this.nymph.getEntity({
9
+ class: this,
10
+ }, {
11
+ type: '&',
12
+ ilike: ['groupname', groupname.replace(/([\\%_])/g, (s) => `\\${s}`)],
13
+ });
14
+ if (entity != null) {
15
+ return entity;
16
+ }
10
17
  }
18
+ return entity;
11
19
  }
12
- static async factory(guid) {
13
- return (await super.factory(guid));
14
- }
15
- static factorySync(guid) {
16
- return super.factorySync(guid);
20
+ constructor() {
21
+ super();
22
+ this.$data.enabled = true;
23
+ this.$data.abilities = [];
17
24
  }
18
25
  async $checkGroupname() {
19
26
  return await this.$serverCall('$checkGroupname', [], true);
@@ -49,6 +56,4 @@ class Group extends client_1.Entity {
49
56
  ]);
50
57
  }
51
58
  }
52
- exports.default = Group;
53
- Group.class = 'Group';
54
59
  //# sourceMappingURL=Group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Group.js","sourceRoot":"","sources":["../src/Group.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAqB,MAAM,iBAAiB,CAAC;AA8D5D,MAAM,CAAC,OAAO,OAAO,KAAM,SAAQ,MAAiB;IAClD,+BAA+B;IACxB,MAAM,CAAC,KAAK,GAAG,OAAO,CAAC;IAE9B,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAC3B,SAAkB;QAElB,MAAM,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC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