@famgia/omnify-react-sso 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/README.md ADDED
@@ -0,0 +1,76 @@
1
+ # @famgia/omnify-react-sso
2
+
3
+ SSO (Single Sign-On) schemas, types, and utilities for Omnify.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @famgia/omnify-react-sso
9
+ # or
10
+ pnpm add @famgia/omnify-react-sso
11
+ ```
12
+
13
+ ## Features
14
+
15
+ - **User Management**: User schema with Zod validation and i18n support
16
+ - **Role-Based Access Control (RBAC)**: Role, Permission, and RolePermission schemas
17
+ - **Team Management**: Team and TeamPermission schemas
18
+ - **Multi-locale Support**: Japanese and English labels/messages
19
+
20
+ ## Usage
21
+
22
+ ```typescript
23
+ import {
24
+ // User
25
+ userSchemas,
26
+ userCreateSchema,
27
+ userI18n,
28
+ type User,
29
+ type UserCreate,
30
+
31
+ // Role
32
+ roleSchemas,
33
+ roleCreateSchema,
34
+ roleI18n,
35
+ type Role,
36
+
37
+ // Permission
38
+ permissionSchemas,
39
+ permissionI18n,
40
+ type Permission,
41
+
42
+ // Team
43
+ teamSchemas,
44
+ teamI18n,
45
+ type Team,
46
+ } from '@famgia/omnify-react-sso';
47
+ ```
48
+
49
+ ## Schemas
50
+
51
+ | Schema | Description |
52
+ | -------------- | --------------------------------------- |
53
+ | User | User account with authentication fields |
54
+ | Role | User roles for RBAC |
55
+ | Permission | Individual permissions |
56
+ | RolePermission | Role-Permission mapping (pivot) |
57
+ | Team | Team/Organization grouping |
58
+ | TeamPermission | Team-Permission mapping |
59
+
60
+ ## i18n Support
61
+
62
+ Each schema includes internationalization support:
63
+
64
+ ```typescript
65
+ import { userI18n, getUserLabel, getUserFieldLabel } from '@famgia/omnify-react-sso';
66
+
67
+ // Get model label
68
+ const label = getUserLabel('ja'); // 'ユーザー'
69
+
70
+ // Get field label
71
+ const emailLabel = getUserFieldLabel('email', 'ja'); // 'メールアドレス'
72
+ ```
73
+
74
+ ## License
75
+
76
+ MIT
package/dist/index.cjs ADDED
@@ -0,0 +1,503 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var src_exports = {};
22
+ __export(src_exports, {
23
+ defaultLocale: () => defaultLocale,
24
+ fallbackLocale: () => fallbackLocale,
25
+ getMessage: () => getMessage,
26
+ getMessages: () => getMessages,
27
+ getPermissionFieldLabel: () => getPermissionFieldLabel,
28
+ getPermissionFieldPlaceholder: () => getPermissionFieldPlaceholder,
29
+ getPermissionLabel: () => getPermissionLabel,
30
+ getRoleFieldLabel: () => getRoleFieldLabel,
31
+ getRoleFieldPlaceholder: () => getRoleFieldPlaceholder,
32
+ getRoleLabel: () => getRoleLabel,
33
+ getRolePermissionFieldLabel: () => getRolePermissionFieldLabel,
34
+ getRolePermissionFieldPlaceholder: () => getRolePermissionFieldPlaceholder,
35
+ getRolePermissionLabel: () => getRolePermissionLabel,
36
+ getTeamFieldLabel: () => getTeamFieldLabel,
37
+ getTeamFieldPlaceholder: () => getTeamFieldPlaceholder,
38
+ getTeamLabel: () => getTeamLabel,
39
+ getTeamPermissionFieldLabel: () => getTeamPermissionFieldLabel,
40
+ getTeamPermissionFieldPlaceholder: () => getTeamPermissionFieldPlaceholder,
41
+ getTeamPermissionLabel: () => getTeamPermissionLabel,
42
+ getUserFieldLabel: () => getUserFieldLabel,
43
+ getUserFieldPlaceholder: () => getUserFieldPlaceholder,
44
+ getUserLabel: () => getUserLabel,
45
+ permissionCreateSchema: () => permissionCreateSchema,
46
+ permissionI18n: () => permissionI18n,
47
+ permissionSchemas: () => permissionSchemas,
48
+ permissionUpdateSchema: () => permissionUpdateSchema,
49
+ roleCreateSchema: () => roleCreateSchema,
50
+ roleI18n: () => roleI18n,
51
+ rolePermissionCreateSchema: () => rolePermissionCreateSchema,
52
+ rolePermissionI18n: () => rolePermissionI18n,
53
+ rolePermissionSchemas: () => rolePermissionSchemas,
54
+ rolePermissionUpdateSchema: () => rolePermissionUpdateSchema,
55
+ roleSchemas: () => roleSchemas,
56
+ roleUpdateSchema: () => roleUpdateSchema,
57
+ supportedLocales: () => supportedLocales,
58
+ teamCreateSchema: () => teamCreateSchema,
59
+ teamI18n: () => teamI18n,
60
+ teamPermissionCreateSchema: () => teamPermissionCreateSchema,
61
+ teamPermissionI18n: () => teamPermissionI18n,
62
+ teamPermissionSchemas: () => teamPermissionSchemas,
63
+ teamPermissionUpdateSchema: () => teamPermissionUpdateSchema,
64
+ teamSchemas: () => teamSchemas,
65
+ teamUpdateSchema: () => teamUpdateSchema,
66
+ userCreateSchema: () => userCreateSchema,
67
+ userI18n: () => userI18n,
68
+ userSchemas: () => userSchemas,
69
+ userUpdateSchema: () => userUpdateSchema,
70
+ validationMessages: () => validationMessages
71
+ });
72
+ module.exports = __toCommonJS(src_exports);
73
+
74
+ // src/schemas/i18n.ts
75
+ var defaultLocale = "ja";
76
+ var fallbackLocale = "en";
77
+ var supportedLocales = ["ja", "en"];
78
+ var validationMessages = {
79
+ "required": {
80
+ "ja": "${displayName}\u306F\u5FC5\u9808\u3067\u3059",
81
+ "en": "${displayName} is required"
82
+ },
83
+ "minLength": {
84
+ "ja": "${displayName}\u306F${min}\u6587\u5B57\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
85
+ "en": "${displayName} must be at least ${min} characters"
86
+ },
87
+ "maxLength": {
88
+ "ja": "${displayName}\u306F${max}\u6587\u5B57\u4EE5\u5185\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
89
+ "en": "${displayName} must be at most ${max} characters"
90
+ },
91
+ "min": {
92
+ "ja": "${displayName}\u306F${min}\u4EE5\u4E0A\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
93
+ "en": "${displayName} must be at least ${min}"
94
+ },
95
+ "max": {
96
+ "ja": "${displayName}\u306F${max}\u4EE5\u4E0B\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
97
+ "en": "${displayName} must be at most ${max}"
98
+ },
99
+ "email": {
100
+ "ja": "\u6709\u52B9\u306A\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
101
+ "en": "Please enter a valid email address"
102
+ },
103
+ "url": {
104
+ "ja": "\u6709\u52B9\u306AURL\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
105
+ "en": "Please enter a valid URL"
106
+ },
107
+ "pattern": {
108
+ "ja": "${displayName}\u306E\u5F62\u5F0F\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093",
109
+ "en": "${displayName} format is invalid"
110
+ }
111
+ };
112
+ function getMessage(key, locale, params = {}) {
113
+ const messages = validationMessages[key];
114
+ if (!messages) return key;
115
+ let message = messages[locale] ?? messages[fallbackLocale] ?? messages[defaultLocale] ?? key;
116
+ for (const [param, value] of Object.entries(params)) {
117
+ message = message.replace(new RegExp(`\\\${${param}}`, "g"), String(value));
118
+ }
119
+ return message;
120
+ }
121
+ function getMessages(locale) {
122
+ const result = {};
123
+ for (const [key, messages] of Object.entries(validationMessages)) {
124
+ result[key] = messages[locale] ?? messages[fallbackLocale] ?? messages[defaultLocale] ?? key;
125
+ }
126
+ return result;
127
+ }
128
+
129
+ // src/schemas/base/User.ts
130
+ var import_zod = require("zod");
131
+ var userI18n = {
132
+ /** Model display name */
133
+ label: { "en": "User" },
134
+ /** Field labels and placeholders */
135
+ fields: {
136
+ name: {
137
+ label: { "en": "Name" }
138
+ },
139
+ email: {
140
+ label: { "en": "Email" }
141
+ },
142
+ email_verified_at: {
143
+ label: { "en": "Email Verified At" }
144
+ },
145
+ password: {
146
+ label: { "en": "Password" }
147
+ },
148
+ remember_token: {
149
+ label: { "en": "Remember Token" }
150
+ },
151
+ console_user_id: {
152
+ label: { "en": "Console User ID" }
153
+ },
154
+ console_access_token: {
155
+ label: { "en": "Console Access Token" }
156
+ },
157
+ console_refresh_token: {
158
+ label: { "en": "Console Refresh Token" }
159
+ },
160
+ console_token_expires_at: {
161
+ label: { "en": "Console Token Expiry" }
162
+ },
163
+ role: {
164
+ label: { "en": "Role" }
165
+ }
166
+ }
167
+ };
168
+ var baseUserSchemas = {
169
+ name: import_zod.z.string().min(1),
170
+ email: import_zod.z.string().min(1),
171
+ email_verified_at: import_zod.z.string().datetime({ offset: true }).optional().nullable(),
172
+ password: import_zod.z.string().min(1),
173
+ remember_token: import_zod.z.string().max(100).optional().nullable(),
174
+ console_user_id: import_zod.z.number().int().optional().nullable(),
175
+ console_access_token: import_zod.z.string().optional().nullable(),
176
+ console_refresh_token: import_zod.z.string().optional().nullable(),
177
+ console_token_expires_at: import_zod.z.string().datetime({ offset: true }).optional().nullable()
178
+ };
179
+ var baseUserCreateSchema = import_zod.z.object({
180
+ name: baseUserSchemas.name,
181
+ email: baseUserSchemas.email,
182
+ password: baseUserSchemas.password,
183
+ remember_token: baseUserSchemas.remember_token,
184
+ console_user_id: baseUserSchemas.console_user_id,
185
+ console_access_token: baseUserSchemas.console_access_token,
186
+ console_refresh_token: baseUserSchemas.console_refresh_token,
187
+ console_token_expires_at: baseUserSchemas.console_token_expires_at
188
+ });
189
+ var baseUserUpdateSchema = baseUserCreateSchema.partial();
190
+ function getUserLabel(locale) {
191
+ return userI18n.label[locale] ?? userI18n.label["en"] ?? "User";
192
+ }
193
+ function getUserFieldLabel(field, locale) {
194
+ const fieldI18n = userI18n.fields[field];
195
+ if (!fieldI18n) return field;
196
+ return fieldI18n.label[locale] ?? fieldI18n.label["en"] ?? field;
197
+ }
198
+ function getUserFieldPlaceholder(field, locale) {
199
+ const fieldI18n = userI18n.fields[field];
200
+ if (!fieldI18n || !("placeholder" in fieldI18n)) return "";
201
+ const placeholder = fieldI18n.placeholder;
202
+ return placeholder[locale] ?? placeholder["en"] ?? "";
203
+ }
204
+
205
+ // src/schemas/User.ts
206
+ var userSchemas = { ...baseUserSchemas };
207
+ var userCreateSchema = baseUserCreateSchema;
208
+ var userUpdateSchema = baseUserUpdateSchema;
209
+
210
+ // src/schemas/base/Permission.ts
211
+ var import_zod2 = require("zod");
212
+ var permissionI18n = {
213
+ /** Model display name */
214
+ label: { "en": "Permission" },
215
+ /** Field labels and placeholders */
216
+ fields: {
217
+ name: {
218
+ label: { "en": "Permission Name" }
219
+ },
220
+ slug: {
221
+ label: { "en": "Slug" }
222
+ },
223
+ group: {
224
+ label: { "en": "Group" }
225
+ },
226
+ roles: {
227
+ label: { "en": "Roles" }
228
+ }
229
+ }
230
+ };
231
+ var basePermissionSchemas = {
232
+ name: import_zod2.z.string().min(1).max(100),
233
+ slug: import_zod2.z.string().min(1).max(100),
234
+ group: import_zod2.z.string().max(50).optional().nullable()
235
+ };
236
+ var basePermissionCreateSchema = import_zod2.z.object({
237
+ name: basePermissionSchemas.name,
238
+ slug: basePermissionSchemas.slug,
239
+ group: basePermissionSchemas.group
240
+ });
241
+ var basePermissionUpdateSchema = basePermissionCreateSchema.partial();
242
+ function getPermissionLabel(locale) {
243
+ return permissionI18n.label[locale] ?? permissionI18n.label["en"] ?? "Permission";
244
+ }
245
+ function getPermissionFieldLabel(field, locale) {
246
+ const fieldI18n = permissionI18n.fields[field];
247
+ if (!fieldI18n) return field;
248
+ return fieldI18n.label[locale] ?? fieldI18n.label["en"] ?? field;
249
+ }
250
+ function getPermissionFieldPlaceholder(field, locale) {
251
+ const fieldI18n = permissionI18n.fields[field];
252
+ if (!fieldI18n || !("placeholder" in fieldI18n)) return "";
253
+ const placeholder = fieldI18n.placeholder;
254
+ return placeholder[locale] ?? placeholder["en"] ?? "";
255
+ }
256
+
257
+ // src/schemas/Permission.ts
258
+ var permissionSchemas = { ...basePermissionSchemas };
259
+ var permissionCreateSchema = basePermissionCreateSchema;
260
+ var permissionUpdateSchema = basePermissionUpdateSchema;
261
+
262
+ // src/schemas/base/Role.ts
263
+ var import_zod3 = require("zod");
264
+ var roleI18n = {
265
+ /** Model display name */
266
+ label: { "en": "Role" },
267
+ /** Field labels and placeholders */
268
+ fields: {
269
+ name: {
270
+ label: { "en": "Role Name" }
271
+ },
272
+ slug: {
273
+ label: { "en": "Slug" }
274
+ },
275
+ description: {
276
+ label: { "en": "Description" }
277
+ },
278
+ level: {
279
+ label: { "en": "Level" }
280
+ },
281
+ permissions: {
282
+ label: { "en": "Permissions" }
283
+ }
284
+ }
285
+ };
286
+ var baseRoleSchemas = {
287
+ name: import_zod3.z.string().min(1).max(100),
288
+ slug: import_zod3.z.string().min(1).max(100),
289
+ description: import_zod3.z.string().optional().nullable(),
290
+ level: import_zod3.z.number().int()
291
+ };
292
+ var baseRoleCreateSchema = import_zod3.z.object({
293
+ name: baseRoleSchemas.name,
294
+ slug: baseRoleSchemas.slug,
295
+ description: baseRoleSchemas.description,
296
+ level: baseRoleSchemas.level
297
+ });
298
+ var baseRoleUpdateSchema = baseRoleCreateSchema.partial();
299
+ function getRoleLabel(locale) {
300
+ return roleI18n.label[locale] ?? roleI18n.label["en"] ?? "Role";
301
+ }
302
+ function getRoleFieldLabel(field, locale) {
303
+ const fieldI18n = roleI18n.fields[field];
304
+ if (!fieldI18n) return field;
305
+ return fieldI18n.label[locale] ?? fieldI18n.label["en"] ?? field;
306
+ }
307
+ function getRoleFieldPlaceholder(field, locale) {
308
+ const fieldI18n = roleI18n.fields[field];
309
+ if (!fieldI18n || !("placeholder" in fieldI18n)) return "";
310
+ const placeholder = fieldI18n.placeholder;
311
+ return placeholder[locale] ?? placeholder["en"] ?? "";
312
+ }
313
+
314
+ // src/schemas/Role.ts
315
+ var roleSchemas = { ...baseRoleSchemas };
316
+ var roleCreateSchema = baseRoleCreateSchema;
317
+ var roleUpdateSchema = baseRoleUpdateSchema;
318
+
319
+ // src/schemas/base/RolePermission.ts
320
+ var import_zod4 = require("zod");
321
+ var rolePermissionI18n = {
322
+ /** Model display name */
323
+ label: { "en": "Role Permission" },
324
+ /** Field labels and placeholders */
325
+ fields: {
326
+ role: {
327
+ label: { "en": "Role" }
328
+ },
329
+ permission: {
330
+ label: { "en": "Permission" }
331
+ }
332
+ }
333
+ };
334
+ var baseRolePermissionSchemas = {};
335
+ var baseRolePermissionCreateSchema = import_zod4.z.object({});
336
+ var baseRolePermissionUpdateSchema = baseRolePermissionCreateSchema.partial();
337
+ function getRolePermissionLabel(locale) {
338
+ return rolePermissionI18n.label[locale] ?? rolePermissionI18n.label["en"] ?? "RolePermission";
339
+ }
340
+ function getRolePermissionFieldLabel(field, locale) {
341
+ const fieldI18n = rolePermissionI18n.fields[field];
342
+ if (!fieldI18n) return field;
343
+ return fieldI18n.label[locale] ?? fieldI18n.label["en"] ?? field;
344
+ }
345
+ function getRolePermissionFieldPlaceholder(field, locale) {
346
+ const fieldI18n = rolePermissionI18n.fields[field];
347
+ if (!fieldI18n || !("placeholder" in fieldI18n)) return "";
348
+ const placeholder = fieldI18n.placeholder;
349
+ return placeholder[locale] ?? placeholder["en"] ?? "";
350
+ }
351
+
352
+ // src/schemas/RolePermission.ts
353
+ var rolePermissionSchemas = { ...baseRolePermissionSchemas };
354
+ var rolePermissionCreateSchema = baseRolePermissionCreateSchema;
355
+ var rolePermissionUpdateSchema = baseRolePermissionUpdateSchema;
356
+
357
+ // src/schemas/base/Team.ts
358
+ var import_zod5 = require("zod");
359
+ var teamI18n = {
360
+ /** Model display name */
361
+ label: { "en": "Team" },
362
+ /** Field labels and placeholders */
363
+ fields: {
364
+ console_team_id: {
365
+ label: { "en": "Console Team ID" }
366
+ },
367
+ console_org_id: {
368
+ label: { "en": "Console Organization ID" }
369
+ },
370
+ name: {
371
+ label: { "en": "Team Name" }
372
+ }
373
+ }
374
+ };
375
+ var baseTeamSchemas = {
376
+ console_team_id: import_zod5.z.number().int(),
377
+ console_org_id: import_zod5.z.number().int(),
378
+ name: import_zod5.z.string().min(1).max(100)
379
+ };
380
+ var baseTeamCreateSchema = import_zod5.z.object({
381
+ console_team_id: baseTeamSchemas.console_team_id,
382
+ console_org_id: baseTeamSchemas.console_org_id,
383
+ name: baseTeamSchemas.name
384
+ });
385
+ var baseTeamUpdateSchema = baseTeamCreateSchema.partial();
386
+ function getTeamLabel(locale) {
387
+ return teamI18n.label[locale] ?? teamI18n.label["en"] ?? "Team";
388
+ }
389
+ function getTeamFieldLabel(field, locale) {
390
+ const fieldI18n = teamI18n.fields[field];
391
+ if (!fieldI18n) return field;
392
+ return fieldI18n.label[locale] ?? fieldI18n.label["en"] ?? field;
393
+ }
394
+ function getTeamFieldPlaceholder(field, locale) {
395
+ const fieldI18n = teamI18n.fields[field];
396
+ if (!fieldI18n || !("placeholder" in fieldI18n)) return "";
397
+ const placeholder = fieldI18n.placeholder;
398
+ return placeholder[locale] ?? placeholder["en"] ?? "";
399
+ }
400
+
401
+ // src/schemas/Team.ts
402
+ var teamSchemas = { ...baseTeamSchemas };
403
+ var teamCreateSchema = baseTeamCreateSchema;
404
+ var teamUpdateSchema = baseTeamUpdateSchema;
405
+
406
+ // src/schemas/base/TeamPermission.ts
407
+ var import_zod6 = require("zod");
408
+ var teamPermissionI18n = {
409
+ /** Model display name */
410
+ label: { "en": "Team Permission" },
411
+ /** Field labels and placeholders */
412
+ fields: {
413
+ console_org_id: {
414
+ label: { "en": "Console Organization ID" }
415
+ },
416
+ console_team_id: {
417
+ label: { "en": "Console Team ID" }
418
+ },
419
+ permission: {
420
+ label: { "en": "Permission" }
421
+ }
422
+ }
423
+ };
424
+ var baseTeamPermissionSchemas = {
425
+ console_org_id: import_zod6.z.number().int(),
426
+ console_team_id: import_zod6.z.number().int()
427
+ };
428
+ var baseTeamPermissionCreateSchema = import_zod6.z.object({
429
+ console_org_id: baseTeamPermissionSchemas.console_org_id,
430
+ console_team_id: baseTeamPermissionSchemas.console_team_id
431
+ });
432
+ var baseTeamPermissionUpdateSchema = baseTeamPermissionCreateSchema.partial();
433
+ function getTeamPermissionLabel(locale) {
434
+ return teamPermissionI18n.label[locale] ?? teamPermissionI18n.label["en"] ?? "TeamPermission";
435
+ }
436
+ function getTeamPermissionFieldLabel(field, locale) {
437
+ const fieldI18n = teamPermissionI18n.fields[field];
438
+ if (!fieldI18n) return field;
439
+ return fieldI18n.label[locale] ?? fieldI18n.label["en"] ?? field;
440
+ }
441
+ function getTeamPermissionFieldPlaceholder(field, locale) {
442
+ const fieldI18n = teamPermissionI18n.fields[field];
443
+ if (!fieldI18n || !("placeholder" in fieldI18n)) return "";
444
+ const placeholder = fieldI18n.placeholder;
445
+ return placeholder[locale] ?? placeholder["en"] ?? "";
446
+ }
447
+
448
+ // src/schemas/TeamPermission.ts
449
+ var teamPermissionSchemas = { ...baseTeamPermissionSchemas };
450
+ var teamPermissionCreateSchema = baseTeamPermissionCreateSchema;
451
+ var teamPermissionUpdateSchema = baseTeamPermissionUpdateSchema;
452
+ // Annotate the CommonJS export names for ESM import in node:
453
+ 0 && (module.exports = {
454
+ defaultLocale,
455
+ fallbackLocale,
456
+ getMessage,
457
+ getMessages,
458
+ getPermissionFieldLabel,
459
+ getPermissionFieldPlaceholder,
460
+ getPermissionLabel,
461
+ getRoleFieldLabel,
462
+ getRoleFieldPlaceholder,
463
+ getRoleLabel,
464
+ getRolePermissionFieldLabel,
465
+ getRolePermissionFieldPlaceholder,
466
+ getRolePermissionLabel,
467
+ getTeamFieldLabel,
468
+ getTeamFieldPlaceholder,
469
+ getTeamLabel,
470
+ getTeamPermissionFieldLabel,
471
+ getTeamPermissionFieldPlaceholder,
472
+ getTeamPermissionLabel,
473
+ getUserFieldLabel,
474
+ getUserFieldPlaceholder,
475
+ getUserLabel,
476
+ permissionCreateSchema,
477
+ permissionI18n,
478
+ permissionSchemas,
479
+ permissionUpdateSchema,
480
+ roleCreateSchema,
481
+ roleI18n,
482
+ rolePermissionCreateSchema,
483
+ rolePermissionI18n,
484
+ rolePermissionSchemas,
485
+ rolePermissionUpdateSchema,
486
+ roleSchemas,
487
+ roleUpdateSchema,
488
+ supportedLocales,
489
+ teamCreateSchema,
490
+ teamI18n,
491
+ teamPermissionCreateSchema,
492
+ teamPermissionI18n,
493
+ teamPermissionSchemas,
494
+ teamPermissionUpdateSchema,
495
+ teamSchemas,
496
+ teamUpdateSchema,
497
+ userCreateSchema,
498
+ userI18n,
499
+ userSchemas,
500
+ userUpdateSchema,
501
+ validationMessages
502
+ });
503
+ //# sourceMappingURL=index.cjs.map