@expcluster/permission-groups 7.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.
Files changed (91) hide show
  1. package/LICENSE.md +21 -0
  2. package/controller.ts +434 -0
  3. package/dist/browser/messages.d.ts +527 -0
  4. package/dist/browser/messages.d.ts.map +1 -0
  5. package/dist/browser/messages.js +561 -0
  6. package/dist/browser/messages.js.map +1 -0
  7. package/dist/browser/package.json +49 -0
  8. package/dist/browser/tsconfig.browser.tsbuildinfo +1 -0
  9. package/dist/browser/web/components/AssignmentForm.d.ts +7 -0
  10. package/dist/browser/web/components/AssignmentForm.d.ts.map +1 -0
  11. package/dist/browser/web/components/AssignmentForm.js +29 -0
  12. package/dist/browser/web/components/AssignmentForm.js.map +1 -0
  13. package/dist/browser/web/components/AssignmentsTable.d.ts +2 -0
  14. package/dist/browser/web/components/AssignmentsTable.d.ts.map +1 -0
  15. package/dist/browser/web/components/AssignmentsTable.js +61 -0
  16. package/dist/browser/web/components/AssignmentsTable.js.map +1 -0
  17. package/dist/browser/web/components/DeleteConfirm.d.ts +6 -0
  18. package/dist/browser/web/components/DeleteConfirm.d.ts.map +1 -0
  19. package/dist/browser/web/components/DeleteConfirm.js +7 -0
  20. package/dist/browser/web/components/DeleteConfirm.js.map +1 -0
  21. package/dist/browser/web/components/GroupForm.d.ts +5 -0
  22. package/dist/browser/web/components/GroupForm.d.ts.map +1 -0
  23. package/dist/browser/web/components/GroupForm.js +22 -0
  24. package/dist/browser/web/components/GroupForm.js.map +1 -0
  25. package/dist/browser/web/components/GroupViewPage.d.ts +2 -0
  26. package/dist/browser/web/components/GroupViewPage.d.ts.map +1 -0
  27. package/dist/browser/web/components/GroupViewPage.js +161 -0
  28. package/dist/browser/web/components/GroupViewPage.js.map +1 -0
  29. package/dist/browser/web/components/GroupsTable.d.ts +2 -0
  30. package/dist/browser/web/components/GroupsTable.d.ts.map +1 -0
  31. package/dist/browser/web/components/GroupsTable.js +29 -0
  32. package/dist/browser/web/components/GroupsTable.js.map +1 -0
  33. package/dist/browser/web/components/RoleMappingForm.d.ts +7 -0
  34. package/dist/browser/web/components/RoleMappingForm.d.ts.map +1 -0
  35. package/dist/browser/web/components/RoleMappingForm.js +32 -0
  36. package/dist/browser/web/components/RoleMappingForm.js.map +1 -0
  37. package/dist/browser/web/components/RoleMappingsTable.d.ts +2 -0
  38. package/dist/browser/web/components/RoleMappingsTable.d.ts.map +1 -0
  39. package/dist/browser/web/components/RoleMappingsTable.js +64 -0
  40. package/dist/browser/web/components/RoleMappingsTable.js.map +1 -0
  41. package/dist/browser/web/index.d.ts +13 -0
  42. package/dist/browser/web/index.d.ts.map +1 -0
  43. package/dist/browser/web/index.js +60 -0
  44. package/dist/browser/web/index.js.map +1 -0
  45. package/dist/node/controller.d.ts +37 -0
  46. package/dist/node/controller.d.ts.map +1 -0
  47. package/dist/node/controller.js +372 -0
  48. package/dist/node/controller.js.map +1 -0
  49. package/dist/node/index.d.ts +10 -0
  50. package/dist/node/index.d.ts.map +1 -0
  51. package/dist/node/index.js +196 -0
  52. package/dist/node/index.js.map +1 -0
  53. package/dist/node/instance.d.ts +40 -0
  54. package/dist/node/instance.d.ts.map +1 -0
  55. package/dist/node/instance.js +155 -0
  56. package/dist/node/instance.js.map +1 -0
  57. package/dist/node/messages.d.ts +527 -0
  58. package/dist/node/messages.d.ts.map +1 -0
  59. package/dist/node/messages.js +620 -0
  60. package/dist/node/messages.js.map +1 -0
  61. package/dist/node/tsconfig.node.tsbuildinfo +1 -0
  62. package/dist/web/manifest.json +10 -0
  63. package/dist/web/static/exp_groups.afefd90b210f7c8e0df2.js +543 -0
  64. package/dist/web/static/index_ts.f7d30aa0c13ff0be393a.js +22 -0
  65. package/dist/web/static/main.c2178975889c1c720e80.js +653 -0
  66. package/dist/web/static/messages_ts.65a81c17fb37953c5d68.js +22 -0
  67. package/dist/web/static/package_json.aab0d3f37da0567c250c.js +22 -0
  68. package/dist/web/static/vendors-node_modules_pnpm_ant-design_icons_6_2_3_rea_94b50600dfe79448cabf92d130d83059_node_mo-c79f54.cf768c64b40c811ce6c9.js +273 -0
  69. package/dist/web/static/vendors-node_modules_pnpm_sinclair_typebox_0_30_4_node_modules_sinclair_typebox_typebox_js.7fa46fac84f2e9324e54.js +22 -0
  70. package/dist/web/static/web_index_tsx-webpack_sharing_consume_default_react.b4766180f4d467b7b24f.js +102 -0
  71. package/index.ts +183 -0
  72. package/instance.ts +171 -0
  73. package/messages.ts +692 -0
  74. package/module/control.lua +438 -0
  75. package/module/globals.lua +11 -0
  76. package/module/module.json +12 -0
  77. package/module/module_exports.lua +3 -0
  78. package/package.json +47 -0
  79. package/tsconfig.browser.json +4 -0
  80. package/tsconfig.json +7 -0
  81. package/tsconfig.node.json +5 -0
  82. package/web/components/AssignmentForm.tsx +74 -0
  83. package/web/components/AssignmentsTable.tsx +111 -0
  84. package/web/components/DeleteConfirm.tsx +16 -0
  85. package/web/components/GroupForm.tsx +45 -0
  86. package/web/components/GroupViewPage.tsx +287 -0
  87. package/web/components/GroupsTable.tsx +49 -0
  88. package/web/components/RoleMappingForm.tsx +106 -0
  89. package/web/components/RoleMappingsTable.tsx +107 -0
  90. package/web/index.tsx +108 -0
  91. package/webpack.config.js +34 -0
@@ -0,0 +1,561 @@
1
+ import * as lib from "@clusterio/lib";
2
+ import { Type } from "@sinclair/typebox";
3
+ /*
4
+ Data records
5
+ */
6
+ export class GroupPermissions {
7
+ isBlacklist;
8
+ permissions;
9
+ constructor(isBlacklist, permissions) {
10
+ this.isBlacklist = isBlacklist;
11
+ this.permissions = permissions;
12
+ }
13
+ static jsonSchema = Type.Object({
14
+ is_blacklist: Type.Boolean(),
15
+ permissions: Type.Array(Type.String()),
16
+ });
17
+ toJSON() {
18
+ return {
19
+ is_blacklist: this.isBlacklist,
20
+ permissions: this.permissions,
21
+ };
22
+ }
23
+ static fromJSON(json) {
24
+ return new this(json.is_blacklist, json.permissions);
25
+ }
26
+ }
27
+ export class GroupRecord {
28
+ id;
29
+ name;
30
+ permissions;
31
+ updatedAtMs;
32
+ isDeleted;
33
+ constructor(id, name, permissions, updatedAtMs = 0, isDeleted = false) {
34
+ this.id = id;
35
+ this.name = name;
36
+ this.permissions = permissions;
37
+ this.updatedAtMs = updatedAtMs;
38
+ this.isDeleted = isDeleted;
39
+ }
40
+ static jsonSchema = Type.Object({
41
+ id: Type.Integer(),
42
+ name: Type.String(),
43
+ permissions: GroupPermissions.jsonSchema,
44
+ updated_at_ms: Type.Optional(Type.Number()),
45
+ is_deleted: Type.Optional(Type.Boolean()),
46
+ });
47
+ toJSON() {
48
+ let json = {
49
+ id: this.id,
50
+ name: this.name,
51
+ permissions: this.permissions.toJSON(),
52
+ };
53
+ if (this.updatedAtMs) {
54
+ json.updated_at_ms = this.updatedAtMs;
55
+ }
56
+ if (this.isDeleted) {
57
+ json.is_deleted = true;
58
+ }
59
+ return json;
60
+ }
61
+ static fromJSON(json) {
62
+ return new this(json.id, json.name, GroupPermissions.fromJSON(json.permissions), json.updated_at_ms ?? 0, json.is_deleted ?? false);
63
+ }
64
+ }
65
+ export class AssignmentRecord {
66
+ name;
67
+ groupId;
68
+ updatedAtMs;
69
+ isDeleted;
70
+ constructor(name, groupId, updatedAtMs = 0, isDeleted = false) {
71
+ this.name = name;
72
+ this.groupId = groupId;
73
+ this.updatedAtMs = updatedAtMs;
74
+ this.isDeleted = isDeleted;
75
+ }
76
+ get id() {
77
+ return this.name;
78
+ }
79
+ static jsonSchema = Type.Object({
80
+ name: Type.String(),
81
+ group_id: Type.Integer(),
82
+ updated_at_ms: Type.Optional(Type.Number()),
83
+ is_deleted: Type.Optional(Type.Boolean()),
84
+ });
85
+ toJSON() {
86
+ let json = {
87
+ name: this.name,
88
+ group_id: this.groupId,
89
+ };
90
+ if (this.updatedAtMs) {
91
+ json.updated_at_ms = this.updatedAtMs;
92
+ }
93
+ if (this.isDeleted) {
94
+ json.is_deleted = true;
95
+ }
96
+ return json;
97
+ }
98
+ static fromJSON(json) {
99
+ return new this(json.name, json.group_id, json.updated_at_ms ?? 0, json.is_deleted ?? false);
100
+ }
101
+ }
102
+ export class RoleMappingRecord {
103
+ id;
104
+ roleIds;
105
+ groupId;
106
+ priority;
107
+ enabled;
108
+ updatedAtMs;
109
+ isDeleted;
110
+ constructor(id, roleIds, groupId, priority, enabled, updatedAtMs = 0, isDeleted = false) {
111
+ this.id = id;
112
+ this.roleIds = roleIds;
113
+ this.groupId = groupId;
114
+ this.priority = priority;
115
+ this.enabled = enabled;
116
+ this.updatedAtMs = updatedAtMs;
117
+ this.isDeleted = isDeleted;
118
+ }
119
+ static jsonSchema = Type.Object({
120
+ id: Type.Integer(),
121
+ role_ids: Type.Array(Type.Integer()),
122
+ group_id: Type.Integer(),
123
+ priority: Type.Number(),
124
+ enabled: Type.Boolean(),
125
+ updated_at_ms: Type.Optional(Type.Number()),
126
+ is_deleted: Type.Optional(Type.Boolean()),
127
+ });
128
+ toJSON() {
129
+ let json = {
130
+ id: this.id,
131
+ role_ids: [...this.roleIds],
132
+ group_id: this.groupId,
133
+ priority: this.priority,
134
+ enabled: this.enabled,
135
+ };
136
+ if (this.updatedAtMs) {
137
+ json.updated_at_ms = this.updatedAtMs;
138
+ }
139
+ if (this.isDeleted) {
140
+ json.is_deleted = true;
141
+ }
142
+ return json;
143
+ }
144
+ static fromJSON(json) {
145
+ return new this(json.id, new Set(json.role_ids), json.group_id, json.priority, json.enabled, json.updated_at_ms ?? 0, json.is_deleted ?? false);
146
+ }
147
+ }
148
+ /*
149
+ Update events
150
+ */
151
+ export class GroupUpdatedEvent {
152
+ updates;
153
+ static plugin = "exp_groups";
154
+ static type = "event";
155
+ static src = "controller";
156
+ static dst = ["control", "instance"];
157
+ static permission = "exp_groups.group.subscribe";
158
+ constructor(updates) {
159
+ this.updates = updates;
160
+ }
161
+ static jsonSchema = Type.Object({
162
+ updates: Type.Array(GroupRecord.jsonSchema),
163
+ });
164
+ toJSON() {
165
+ return { updates: this.updates.map(group => group.toJSON()) };
166
+ }
167
+ static fromJSON(json) {
168
+ return new this(json.updates.map(group => GroupRecord.fromJSON(group)));
169
+ }
170
+ }
171
+ export class ManualAssignmentUpdatedEvent {
172
+ updates;
173
+ static plugin = "exp_groups";
174
+ static type = "event";
175
+ static src = "controller";
176
+ static dst = ["control", "instance"];
177
+ static permission = "exp_groups.assignment.subscribe";
178
+ constructor(updates) {
179
+ this.updates = updates;
180
+ }
181
+ static jsonSchema = Type.Object({
182
+ updates: Type.Array(AssignmentRecord.jsonSchema),
183
+ });
184
+ toJSON() {
185
+ return { updates: this.updates.map(assignment => assignment.toJSON()) };
186
+ }
187
+ static fromJSON(json) {
188
+ return new this(json.updates.map(assignment => AssignmentRecord.fromJSON(assignment)));
189
+ }
190
+ }
191
+ export class ResolvedAssignmentUpdatedEvent {
192
+ updates;
193
+ static plugin = "exp_groups";
194
+ static type = "event";
195
+ static src = "controller";
196
+ static dst = ["control", "instance"];
197
+ static permission = "exp_groups.assignment.subscribe";
198
+ constructor(updates) {
199
+ this.updates = updates;
200
+ }
201
+ static jsonSchema = Type.Object({
202
+ updates: Type.Array(AssignmentRecord.jsonSchema),
203
+ });
204
+ toJSON() {
205
+ return { updates: this.updates.map(assignment => assignment.toJSON()) };
206
+ }
207
+ static fromJSON(json) {
208
+ return new this(json.updates.map(assignment => AssignmentRecord.fromJSON(assignment)));
209
+ }
210
+ }
211
+ export class RoleMappingUpdatedEvent {
212
+ updates;
213
+ static plugin = "exp_groups";
214
+ static type = "event";
215
+ static src = "controller";
216
+ static dst = "control";
217
+ static permission = "exp_groups.role_mapping.subscribe";
218
+ constructor(updates) {
219
+ this.updates = updates;
220
+ }
221
+ static jsonSchema = Type.Object({
222
+ updates: Type.Array(RoleMappingRecord.jsonSchema),
223
+ });
224
+ toJSON() {
225
+ return { updates: this.updates.map(roleMapping => roleMapping.toJSON()) };
226
+ }
227
+ static fromJSON(json) {
228
+ return new this(json.updates.map(roleMapping => RoleMappingRecord.fromJSON(roleMapping)));
229
+ }
230
+ }
231
+ /*
232
+ Group requests
233
+ */
234
+ export class GroupCreateRequest {
235
+ name;
236
+ permissions;
237
+ static plugin = "exp_groups";
238
+ static type = "request";
239
+ static src = ["control", "instance"];
240
+ static dst = "controller";
241
+ static permission = "exp_groups.group.create";
242
+ static Response = GroupRecord;
243
+ constructor(name, permissions) {
244
+ this.name = name;
245
+ this.permissions = permissions;
246
+ }
247
+ static jsonSchema = Type.Object({
248
+ name: Type.String(),
249
+ permissions: GroupPermissions.jsonSchema,
250
+ });
251
+ toJSON() {
252
+ return {
253
+ name: this.name,
254
+ permissions: this.permissions.toJSON(),
255
+ };
256
+ }
257
+ static fromJSON(json) {
258
+ return new this(json.name, GroupPermissions.fromJSON(json.permissions));
259
+ }
260
+ }
261
+ export class GroupUpdateRequest {
262
+ group;
263
+ static plugin = "exp_groups";
264
+ static type = "request";
265
+ static src = ["control", "instance"];
266
+ static dst = "controller";
267
+ static permission = "exp_groups.group.update";
268
+ constructor(group) {
269
+ this.group = group;
270
+ }
271
+ static jsonSchema = Type.Object({
272
+ group: GroupRecord.jsonSchema,
273
+ });
274
+ toJSON() {
275
+ return {
276
+ group: this.group.toJSON(),
277
+ };
278
+ }
279
+ static fromJSON(json) {
280
+ return new this(GroupRecord.fromJSON(json.group));
281
+ }
282
+ }
283
+ export class GroupDeleteRequest {
284
+ groupId;
285
+ static plugin = "exp_groups";
286
+ static type = "request";
287
+ static src = ["control", "instance"];
288
+ static dst = "controller";
289
+ static permission = "exp_groups.group.delete";
290
+ constructor(groupId) {
291
+ this.groupId = groupId;
292
+ }
293
+ static jsonSchema = Type.Object({
294
+ group_id: Type.Integer(),
295
+ });
296
+ toJSON() {
297
+ return {
298
+ group_id: this.groupId,
299
+ };
300
+ }
301
+ static fromJSON(json) {
302
+ return new this(json.group_id);
303
+ }
304
+ }
305
+ export class GroupGetRequest {
306
+ groupId;
307
+ static plugin = "exp_groups";
308
+ static type = "request";
309
+ static src = ["control", "instance"];
310
+ static dst = "controller";
311
+ static permission = "exp_groups.group.get";
312
+ static Response = GroupRecord;
313
+ constructor(groupId) {
314
+ this.groupId = groupId;
315
+ }
316
+ static jsonSchema = Type.Object({
317
+ group_id: Type.Integer(),
318
+ });
319
+ toJSON() {
320
+ return {
321
+ group_id: this.groupId,
322
+ };
323
+ }
324
+ static fromJSON(json) {
325
+ return new this(json.group_id);
326
+ }
327
+ }
328
+ export class GroupListRequest {
329
+ static plugin = "exp_groups";
330
+ static type = "request";
331
+ static src = ["control", "instance"];
332
+ static dst = "controller";
333
+ static permission = "exp_groups.group.list";
334
+ static Response = lib.jsonArray(GroupRecord);
335
+ constructor() { }
336
+ }
337
+ /*
338
+ Assignment requests
339
+ */
340
+ export class AssignmentCreateRequest {
341
+ name;
342
+ groupId;
343
+ static plugin = "exp_groups";
344
+ static type = "request";
345
+ static src = ["control", "instance"];
346
+ static dst = "controller";
347
+ static permission = "exp_groups.assignment.create";
348
+ static Response = AssignmentRecord;
349
+ constructor(name, groupId) {
350
+ this.name = name;
351
+ this.groupId = groupId;
352
+ }
353
+ static jsonSchema = Type.Object({
354
+ name: Type.String(),
355
+ group_id: Type.Integer(),
356
+ });
357
+ toJSON() {
358
+ return {
359
+ name: this.name,
360
+ group_id: this.groupId,
361
+ };
362
+ }
363
+ static fromJSON(json) {
364
+ return new this(json.name, json.group_id);
365
+ }
366
+ }
367
+ export class AssignmentUpdateRequest {
368
+ assignment;
369
+ static plugin = "exp_groups";
370
+ static type = "request";
371
+ static src = ["control", "instance"];
372
+ static dst = "controller";
373
+ static permission = "exp_groups.assignment.update";
374
+ constructor(assignment) {
375
+ this.assignment = assignment;
376
+ }
377
+ static jsonSchema = Type.Object({
378
+ assignment: AssignmentRecord.jsonSchema,
379
+ });
380
+ toJSON() {
381
+ return {
382
+ assignment: this.assignment.toJSON(),
383
+ };
384
+ }
385
+ static fromJSON(json) {
386
+ return new this(AssignmentRecord.fromJSON(json.assignment));
387
+ }
388
+ }
389
+ export class AssignmentDeleteRequest {
390
+ name;
391
+ static plugin = "exp_groups";
392
+ static type = "request";
393
+ static src = ["control", "instance"];
394
+ static dst = "controller";
395
+ static permission = "exp_groups.assignment.delete";
396
+ constructor(name) {
397
+ this.name = name;
398
+ }
399
+ static jsonSchema = Type.Object({
400
+ name: Type.String(),
401
+ });
402
+ toJSON() {
403
+ return {
404
+ name: this.name,
405
+ };
406
+ }
407
+ static fromJSON(json) {
408
+ return new this(json.name);
409
+ }
410
+ }
411
+ export class AssignmentGetRequest {
412
+ name;
413
+ resolve;
414
+ static plugin = "exp_groups";
415
+ static type = "request";
416
+ static src = ["control", "instance"];
417
+ static dst = "controller";
418
+ static permission = "exp_groups.assignment.get";
419
+ static Response = AssignmentRecord;
420
+ constructor(name, resolve = false) {
421
+ this.name = name;
422
+ this.resolve = resolve;
423
+ }
424
+ static jsonSchema = Type.Object({
425
+ name: Type.String(),
426
+ resolve: Type.Boolean(),
427
+ });
428
+ toJSON() {
429
+ return {
430
+ name: this.name,
431
+ resolve: this.resolve,
432
+ };
433
+ }
434
+ static fromJSON(json) {
435
+ return new this(json.name, json.resolve);
436
+ }
437
+ }
438
+ export class AssignmentListRequest {
439
+ static plugin = "exp_groups";
440
+ static type = "request";
441
+ static src = ["control", "instance"];
442
+ static dst = "controller";
443
+ static permission = "exp_groups.assignment.list";
444
+ static Response = lib.jsonArray(AssignmentRecord);
445
+ constructor() { }
446
+ }
447
+ /*
448
+ Role mapping requests
449
+ */
450
+ export class RoleMappingCreateRequest {
451
+ roleIds;
452
+ groupId;
453
+ priority;
454
+ enabled;
455
+ static plugin = "exp_groups";
456
+ static type = "request";
457
+ static src = ["control", "instance"];
458
+ static dst = "controller";
459
+ static permission = "exp_groups.role_mapping.create";
460
+ static Response = RoleMappingRecord;
461
+ constructor(roleIds, groupId, priority, enabled) {
462
+ this.roleIds = roleIds;
463
+ this.groupId = groupId;
464
+ this.priority = priority;
465
+ this.enabled = enabled;
466
+ }
467
+ static jsonSchema = Type.Object({
468
+ role_ids: Type.Array(Type.Integer()),
469
+ group_id: Type.Integer(),
470
+ priority: Type.Number(),
471
+ enabled: Type.Boolean(),
472
+ });
473
+ toJSON() {
474
+ return {
475
+ role_ids: this.roleIds,
476
+ group_id: this.groupId,
477
+ priority: this.priority,
478
+ enabled: this.enabled,
479
+ };
480
+ }
481
+ static fromJSON(json) {
482
+ return new this(json.role_ids, json.group_id, json.priority, json.enabled);
483
+ }
484
+ }
485
+ export class RoleMappingUpdateRequest {
486
+ roleMapping;
487
+ static plugin = "exp_groups";
488
+ static type = "request";
489
+ static src = ["control", "instance"];
490
+ static dst = "controller";
491
+ static permission = "exp_groups.role_mapping.update";
492
+ constructor(roleMapping) {
493
+ this.roleMapping = roleMapping;
494
+ }
495
+ static jsonSchema = Type.Object({
496
+ role_mapping: RoleMappingRecord.jsonSchema,
497
+ });
498
+ toJSON() {
499
+ return {
500
+ role_mapping: this.roleMapping.toJSON(),
501
+ };
502
+ }
503
+ static fromJSON(json) {
504
+ return new this(RoleMappingRecord.fromJSON(json.role_mapping));
505
+ }
506
+ }
507
+ export class RoleMappingDeleteRequest {
508
+ id;
509
+ static plugin = "exp_groups";
510
+ static type = "request";
511
+ static src = ["control", "instance"];
512
+ static dst = "controller";
513
+ static permission = "exp_groups.role_mapping.delete";
514
+ constructor(id) {
515
+ this.id = id;
516
+ }
517
+ static jsonSchema = Type.Object({
518
+ id: Type.Integer(),
519
+ });
520
+ toJSON() {
521
+ return {
522
+ id: this.id,
523
+ };
524
+ }
525
+ static fromJSON(json) {
526
+ return new this(json.id);
527
+ }
528
+ }
529
+ export class RoleMappingGetRequest {
530
+ id;
531
+ static plugin = "exp_groups";
532
+ static type = "request";
533
+ static src = ["control", "instance"];
534
+ static dst = "controller";
535
+ static permission = "exp_groups.role_mapping.get";
536
+ static Response = RoleMappingRecord;
537
+ constructor(id) {
538
+ this.id = id;
539
+ }
540
+ static jsonSchema = Type.Object({
541
+ id: Type.Integer(),
542
+ });
543
+ toJSON() {
544
+ return {
545
+ id: this.id,
546
+ };
547
+ }
548
+ static fromJSON(json) {
549
+ return new this(json.id);
550
+ }
551
+ }
552
+ export class RoleMappingListRequest {
553
+ static plugin = "exp_groups";
554
+ static type = "request";
555
+ static src = ["control", "instance"];
556
+ static dst = "controller";
557
+ static permission = "exp_groups.role_mapping.list";
558
+ static Response = lib.jsonArray(RoleMappingRecord);
559
+ constructor() { }
560
+ }
561
+ //# sourceMappingURL=messages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"messages.js","sourceRoot":"","sources":["../../messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAU,MAAM,mBAAmB,CAAC;AAEjD;;EAEE;AAEF,MAAM,OAAO,gBAAgB;IAEd;IACA;IAFX,YACW,WAAoB,EACpB,WAAqB;QADrB,gBAAW,GAAX,WAAW,CAAS;QACpB,gBAAW,GAAX,WAAW,CAAU;IAC7B,CAAC;IAEJ,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,OAAO,EAAE;QAC5B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;KACzC,CAAC,CAAC;IAEH,MAAM;QACF,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,WAAW;YAC9B,WAAW,EAAE,IAAI,CAAC,WAAW;SAChC,CAAC;IACN,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,IAAoC;QAChD,OAAO,IAAI,IAAI,CACX,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,WAAW,CACnB,CAAC;IACN,CAAC;;AAGL,MAAM,OAAO,WAAW;IAET;IACA;IACA;IACA;IACA;IALX,YACW,EAAU,EACV,IAAY,EACZ,WAA6B,EAC7B,cAAsB,CAAC,EACvB,YAAqB,KAAK;QAJ1B,OAAE,GAAF,EAAE,CAAQ;QACV,SAAI,GAAJ,IAAI,CAAQ;QACZ,gBAAW,GAAX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AAO,sBAAsB;IAE/B,MAAM,CAAC,MAAM,GAAG,YAAqB,CAAC;IACtC,MAAM,CAAC,IAAI,GAAG,SAAkB,CAAC;IACjC,MAAM,CAAC,GAAG,GAAG,CAAC,SAAS,EAAE,UAAU,CAAU,CAAC;IAC9C,MAAM,CAAC,GAAG,GAAG,YAAqB,CAAC;IACnC,MAAM,CAAC,UAAU,GAAG,8BAAuC,CAAC;IAC5D,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IAEnD,gBAAe,CAAC"}
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@expcluster/permission-groups",
3
+ "version": "7.0.1",
4
+ "description": "Clusterio plugin providing syncing of permission groups",
5
+ "author": "Cooldude2606 <https://github.com/Cooldude2606>",
6
+ "license": "MIT",
7
+ "repository": "explosivegaming/ExpCluster",
8
+ "main": "dist/node/index.js",
9
+ "scripts": {
10
+ "prepare": "tsc --build && webpack-cli --env production"
11
+ },
12
+ "engines": {
13
+ "node": ">=18"
14
+ },
15
+ "peerDependencies": {
16
+ "@clusterio/controller": "workspace:^",
17
+ "@clusterio/host": "workspace:^",
18
+ "@clusterio/lib": "workspace:^",
19
+ "@clusterio/web_ui": "workspace:^"
20
+ },
21
+ "devDependencies": {
22
+ "@ant-design/icons": "^6.2.3",
23
+ "@clusterio/controller": "workspace:^",
24
+ "@clusterio/host": "workspace:^",
25
+ "@clusterio/lib": "workspace:^",
26
+ "@clusterio/web_ui": "workspace:^",
27
+ "@types/node": "catalog:",
28
+ "@types/react": "catalog:",
29
+ "antd": "catalog:",
30
+ "react": "catalog:",
31
+ "react-dom": "catalog:",
32
+ "react-router-dom": "catalog:",
33
+ "typescript": "catalog:",
34
+ "webpack": "catalog:",
35
+ "webpack-cli": "catalog:",
36
+ "webpack-merge": "catalog:"
37
+ },
38
+ "dependencies": {
39
+ "@sinclair/typebox": "catalog:"
40
+ },
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "keywords": [
45
+ "clusterio",
46
+ "clusterio-plugin",
47
+ "factorio"
48
+ ]
49
+ }