@famgia/omnify-react-sso 2.2.3 → 2.2.5
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/dist/ant/index.cjs +3235 -0
- package/dist/ant/index.cjs.map +1 -0
- package/dist/ant/index.d.cts +685 -0
- package/dist/ant/index.d.ts +685 -0
- package/dist/ant/index.js +3268 -0
- package/dist/ant/index.js.map +1 -0
- package/dist/core/index.cjs +2432 -0
- package/dist/core/index.cjs.map +1 -0
- package/dist/core/index.d.cts +112 -0
- package/dist/core/index.d.ts +112 -0
- package/dist/core/index.js +2360 -0
- package/dist/core/index.js.map +1 -0
- package/dist/{testing → core/testing}/index.cjs +1 -1
- package/dist/core/testing/index.cjs.map +1 -0
- package/dist/{testing → core/testing}/index.d.cts +1 -1
- package/dist/{testing → core/testing}/index.d.ts +1 -1
- package/dist/{testing → core/testing}/index.js +1 -1
- package/dist/core/testing/index.js.map +1 -0
- package/dist/index-CHuDTvHg.d.ts +2250 -0
- package/dist/index-DVssHZFD.d.cts +2250 -0
- package/dist/index.cjs +2464 -784
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1822
- package/dist/index.d.ts +10 -1822
- package/dist/index.js +2528 -771
- package/dist/index.js.map +1 -1
- package/dist/{types-bD5deLxs.d.cts → types-BxClyvTX.d.cts} +2 -3
- package/dist/{types-bD5deLxs.d.ts → types-BxClyvTX.d.ts} +2 -3
- package/dist/userService-DH9-vPSg.d.cts +269 -0
- package/dist/userService-DH9-vPSg.d.ts +269 -0
- package/package.json +32 -53
- package/dist/@omnify-base/package.json +0 -16
- package/dist/@omnify-base/schemas/Branch.ts +0 -131
- package/dist/@omnify-base/schemas/BranchCache.ts +0 -131
- package/dist/@omnify-base/schemas/OrganizationCache.ts +0 -117
- package/dist/@omnify-base/schemas/Permission.ts +0 -114
- package/dist/@omnify-base/schemas/Role.ts +0 -128
- package/dist/@omnify-base/schemas/RolePermission.ts +0 -97
- package/dist/@omnify-base/schemas/Team.ts +0 -110
- package/dist/@omnify-base/schemas/TeamCache.ts +0 -110
- package/dist/@omnify-base/schemas/TeamPermission.ts +0 -109
- package/dist/@omnify-base/schemas/User.ts +0 -135
- package/dist/@omnify-base/schemas/UserCache.ts +0 -142
- package/dist/@omnify-base/schemas/common.ts +0 -47
- package/dist/@omnify-base/schemas/i18n.ts +0 -118
- package/dist/schemas/index.cjs +0 -645
- package/dist/schemas/index.cjs.map +0 -1
- package/dist/schemas/index.d.cts +0 -260
- package/dist/schemas/index.d.ts +0 -260
- package/dist/schemas/index.js +0 -557
- package/dist/schemas/index.js.map +0 -1
- package/dist/testing/index.cjs.map +0 -1
- package/dist/testing/index.js.map +0 -1
- package/scripts/build-schemas.ts +0 -191
- package/scripts/postinstall.cjs +0 -43
package/dist/schemas/index.d.ts
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
export { DateString, DateTimeString, Locale, LocaleMap, ValidationRule } from '@omnify-base/schemas/common';
|
|
2
|
-
export { defaultLocale, fallbackLocale, getMessage, getMessages, supportedLocales, validationMessages } from '@omnify-base/schemas/i18n';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
import { BranchCache as BranchCache$1 } from '@omnify-base/schemas/BranchCache';
|
|
5
|
-
export { branchCacheI18n, getBranchCacheFieldLabel, getBranchCacheFieldPlaceholder, getBranchCacheLabel } from '@omnify-base/schemas/BranchCache';
|
|
6
|
-
import { OrganizationCache as OrganizationCache$1 } from '@omnify-base/schemas/OrganizationCache';
|
|
7
|
-
export { getOrganizationCacheFieldLabel, getOrganizationCacheFieldPlaceholder, getOrganizationCacheLabel, organizationCacheI18n } from '@omnify-base/schemas/OrganizationCache';
|
|
8
|
-
import { Permission as Permission$1 } from '@omnify-base/schemas/Permission';
|
|
9
|
-
export { getPermissionFieldLabel, getPermissionFieldPlaceholder, getPermissionLabel, permissionI18n } from '@omnify-base/schemas/Permission';
|
|
10
|
-
import { Role as Role$1 } from '@omnify-base/schemas/Role';
|
|
11
|
-
export { getRoleFieldLabel, getRoleFieldPlaceholder, getRoleLabel, roleI18n } from '@omnify-base/schemas/Role';
|
|
12
|
-
import { RolePermission as RolePermission$1 } from '@omnify-base/schemas/RolePermission';
|
|
13
|
-
export { getRolePermissionFieldLabel, getRolePermissionFieldPlaceholder, getRolePermissionLabel, rolePermissionI18n } from '@omnify-base/schemas/RolePermission';
|
|
14
|
-
import { TeamCache as TeamCache$1 } from '@omnify-base/schemas/TeamCache';
|
|
15
|
-
export { getTeamCacheFieldLabel, getTeamCacheFieldPlaceholder, getTeamCacheLabel, teamCacheI18n } from '@omnify-base/schemas/TeamCache';
|
|
16
|
-
import { TeamPermission as TeamPermission$1 } from '@omnify-base/schemas/TeamPermission';
|
|
17
|
-
export { getTeamPermissionFieldLabel, getTeamPermissionFieldPlaceholder, getTeamPermissionLabel, teamPermissionI18n } from '@omnify-base/schemas/TeamPermission';
|
|
18
|
-
import { UserCache as UserCache$1 } from '@omnify-base/schemas/UserCache';
|
|
19
|
-
export { getUserCacheFieldLabel, getUserCacheFieldPlaceholder, getUserCacheLabel, userCacheI18n } from '@omnify-base/schemas/UserCache';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* BranchCache Model
|
|
23
|
-
*
|
|
24
|
-
* This file extends the auto-generated base interface.
|
|
25
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
26
|
-
* This file will NOT be overwritten by the generator.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
interface BranchCache extends BranchCache$1 {
|
|
30
|
-
}
|
|
31
|
-
declare const branchCacheSchemas: {
|
|
32
|
-
console_branch_id: z.ZodString;
|
|
33
|
-
console_org_id: z.ZodString;
|
|
34
|
-
code: z.ZodString;
|
|
35
|
-
name: z.ZodString;
|
|
36
|
-
is_headquarters: z.ZodBoolean;
|
|
37
|
-
is_active: z.ZodBoolean;
|
|
38
|
-
};
|
|
39
|
-
declare const branchCacheCreateSchema: z.ZodObject<{
|
|
40
|
-
console_branch_id: z.ZodString;
|
|
41
|
-
console_org_id: z.ZodString;
|
|
42
|
-
code: z.ZodString;
|
|
43
|
-
name: z.ZodString;
|
|
44
|
-
is_headquarters: z.ZodBoolean;
|
|
45
|
-
is_active: z.ZodBoolean;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
declare const branchCacheUpdateSchema: z.ZodObject<{
|
|
48
|
-
console_branch_id: z.ZodOptional<z.ZodString>;
|
|
49
|
-
console_org_id: z.ZodOptional<z.ZodString>;
|
|
50
|
-
code: z.ZodOptional<z.ZodString>;
|
|
51
|
-
name: z.ZodOptional<z.ZodString>;
|
|
52
|
-
is_headquarters: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
-
}, z.core.$strip>;
|
|
55
|
-
type BranchCacheCreate = z.infer<typeof branchCacheCreateSchema>;
|
|
56
|
-
type BranchCacheUpdate = z.infer<typeof branchCacheUpdateSchema>;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* OrganizationCache Model
|
|
60
|
-
*
|
|
61
|
-
* This file extends the auto-generated base interface.
|
|
62
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
63
|
-
* This file will NOT be overwritten by the generator.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
interface OrganizationCache extends OrganizationCache$1 {
|
|
67
|
-
}
|
|
68
|
-
declare const organizationCacheSchemas: {
|
|
69
|
-
console_org_id: z.ZodString;
|
|
70
|
-
name: z.ZodString;
|
|
71
|
-
code: z.ZodString;
|
|
72
|
-
is_active: z.ZodBoolean;
|
|
73
|
-
};
|
|
74
|
-
declare const organizationCacheCreateSchema: z.ZodObject<{
|
|
75
|
-
console_org_id: z.ZodString;
|
|
76
|
-
name: z.ZodString;
|
|
77
|
-
code: z.ZodString;
|
|
78
|
-
is_active: z.ZodBoolean;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
declare const organizationCacheUpdateSchema: z.ZodObject<{
|
|
81
|
-
console_org_id: z.ZodOptional<z.ZodString>;
|
|
82
|
-
name: z.ZodOptional<z.ZodString>;
|
|
83
|
-
code: z.ZodOptional<z.ZodString>;
|
|
84
|
-
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
}, z.core.$strip>;
|
|
86
|
-
type OrganizationCacheCreate = z.infer<typeof organizationCacheCreateSchema>;
|
|
87
|
-
type OrganizationCacheUpdate = z.infer<typeof organizationCacheUpdateSchema>;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Permission Model
|
|
91
|
-
*
|
|
92
|
-
* This file extends the auto-generated base interface.
|
|
93
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
94
|
-
* This file will NOT be overwritten by the generator.
|
|
95
|
-
*/
|
|
96
|
-
|
|
97
|
-
interface Permission extends Permission$1 {
|
|
98
|
-
}
|
|
99
|
-
declare const permissionSchemas: {
|
|
100
|
-
name: z.ZodString;
|
|
101
|
-
slug: z.ZodString;
|
|
102
|
-
group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
103
|
-
};
|
|
104
|
-
declare const permissionCreateSchema: z.ZodObject<{
|
|
105
|
-
name: z.ZodString;
|
|
106
|
-
slug: z.ZodString;
|
|
107
|
-
group: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
108
|
-
}, z.core.$strip>;
|
|
109
|
-
declare const permissionUpdateSchema: z.ZodObject<{
|
|
110
|
-
name: z.ZodOptional<z.ZodString>;
|
|
111
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
112
|
-
group: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
113
|
-
}, z.core.$strip>;
|
|
114
|
-
type PermissionCreate = z.infer<typeof permissionCreateSchema>;
|
|
115
|
-
type PermissionUpdate = z.infer<typeof permissionUpdateSchema>;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Role Model
|
|
119
|
-
*
|
|
120
|
-
* This file extends the auto-generated base interface.
|
|
121
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
122
|
-
* This file will NOT be overwritten by the generator.
|
|
123
|
-
*/
|
|
124
|
-
|
|
125
|
-
interface Role extends Role$1 {
|
|
126
|
-
}
|
|
127
|
-
declare const roleSchemas: {
|
|
128
|
-
console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
129
|
-
name: z.ZodString;
|
|
130
|
-
slug: z.ZodString;
|
|
131
|
-
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
132
|
-
level: z.ZodNumber;
|
|
133
|
-
};
|
|
134
|
-
declare const roleCreateSchema: z.ZodObject<{
|
|
135
|
-
console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
136
|
-
name: z.ZodString;
|
|
137
|
-
slug: z.ZodString;
|
|
138
|
-
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
139
|
-
level: z.ZodNumber;
|
|
140
|
-
}, z.core.$strip>;
|
|
141
|
-
declare const roleUpdateSchema: z.ZodObject<{
|
|
142
|
-
console_org_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
143
|
-
name: z.ZodOptional<z.ZodString>;
|
|
144
|
-
slug: z.ZodOptional<z.ZodString>;
|
|
145
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
146
|
-
level: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
}, z.core.$strip>;
|
|
148
|
-
type RoleCreate = z.infer<typeof roleCreateSchema>;
|
|
149
|
-
type RoleUpdate = z.infer<typeof roleUpdateSchema>;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* RolePermission Model
|
|
153
|
-
*
|
|
154
|
-
* This file extends the auto-generated base interface.
|
|
155
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
156
|
-
* This file will NOT be overwritten by the generator.
|
|
157
|
-
*/
|
|
158
|
-
|
|
159
|
-
interface RolePermission extends RolePermission$1 {
|
|
160
|
-
}
|
|
161
|
-
declare const rolePermissionSchemas: {};
|
|
162
|
-
declare const rolePermissionCreateSchema: z.ZodObject<{}, z.core.$strip>;
|
|
163
|
-
declare const rolePermissionUpdateSchema: z.ZodObject<{}, z.core.$strip>;
|
|
164
|
-
type RolePermissionCreate = z.infer<typeof rolePermissionCreateSchema>;
|
|
165
|
-
type RolePermissionUpdate = z.infer<typeof rolePermissionUpdateSchema>;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* TeamCache Model
|
|
169
|
-
*
|
|
170
|
-
* This file extends the auto-generated base interface.
|
|
171
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
172
|
-
* This file will NOT be overwritten by the generator.
|
|
173
|
-
*/
|
|
174
|
-
|
|
175
|
-
interface TeamCache extends TeamCache$1 {
|
|
176
|
-
}
|
|
177
|
-
declare const teamCacheSchemas: {
|
|
178
|
-
console_team_id: z.ZodString;
|
|
179
|
-
console_org_id: z.ZodString;
|
|
180
|
-
name: z.ZodString;
|
|
181
|
-
};
|
|
182
|
-
declare const teamCacheCreateSchema: z.ZodObject<{
|
|
183
|
-
console_team_id: z.ZodString;
|
|
184
|
-
console_org_id: z.ZodString;
|
|
185
|
-
name: z.ZodString;
|
|
186
|
-
}, z.core.$strip>;
|
|
187
|
-
declare const teamCacheUpdateSchema: z.ZodObject<{
|
|
188
|
-
console_team_id: z.ZodOptional<z.ZodString>;
|
|
189
|
-
console_org_id: z.ZodOptional<z.ZodString>;
|
|
190
|
-
name: z.ZodOptional<z.ZodString>;
|
|
191
|
-
}, z.core.$strip>;
|
|
192
|
-
type TeamCacheCreate = z.infer<typeof teamCacheCreateSchema>;
|
|
193
|
-
type TeamCacheUpdate = z.infer<typeof teamCacheUpdateSchema>;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* TeamPermission Model
|
|
197
|
-
*
|
|
198
|
-
* This file extends the auto-generated base interface.
|
|
199
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
200
|
-
* This file will NOT be overwritten by the generator.
|
|
201
|
-
*/
|
|
202
|
-
|
|
203
|
-
interface TeamPermission extends TeamPermission$1 {
|
|
204
|
-
}
|
|
205
|
-
declare const teamPermissionSchemas: {
|
|
206
|
-
console_org_id: z.ZodString;
|
|
207
|
-
console_team_id: z.ZodString;
|
|
208
|
-
};
|
|
209
|
-
declare const teamPermissionCreateSchema: z.ZodObject<{
|
|
210
|
-
console_org_id: z.ZodString;
|
|
211
|
-
console_team_id: z.ZodString;
|
|
212
|
-
}, z.core.$strip>;
|
|
213
|
-
declare const teamPermissionUpdateSchema: z.ZodObject<{
|
|
214
|
-
console_org_id: z.ZodOptional<z.ZodString>;
|
|
215
|
-
console_team_id: z.ZodOptional<z.ZodString>;
|
|
216
|
-
}, z.core.$strip>;
|
|
217
|
-
type TeamPermissionCreate = z.infer<typeof teamPermissionCreateSchema>;
|
|
218
|
-
type TeamPermissionUpdate = z.infer<typeof teamPermissionUpdateSchema>;
|
|
219
|
-
|
|
220
|
-
/**
|
|
221
|
-
* UserCache Model
|
|
222
|
-
*
|
|
223
|
-
* This file extends the auto-generated base interface.
|
|
224
|
-
* You can add custom methods, computed properties, or override types/schemas here.
|
|
225
|
-
* This file will NOT be overwritten by the generator.
|
|
226
|
-
*/
|
|
227
|
-
|
|
228
|
-
interface UserCache extends UserCache$1 {
|
|
229
|
-
}
|
|
230
|
-
declare const userCacheSchemas: {
|
|
231
|
-
name: z.ZodString;
|
|
232
|
-
email: z.ZodString;
|
|
233
|
-
console_user_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
234
|
-
console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
235
|
-
console_access_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
236
|
-
console_refresh_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
237
|
-
console_token_expires_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
238
|
-
};
|
|
239
|
-
declare const userCacheCreateSchema: z.ZodObject<{
|
|
240
|
-
name: z.ZodString;
|
|
241
|
-
email: z.ZodString;
|
|
242
|
-
console_user_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
243
|
-
console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
244
|
-
console_access_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
245
|
-
console_refresh_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
246
|
-
console_token_expires_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
247
|
-
}, z.core.$strip>;
|
|
248
|
-
declare const userCacheUpdateSchema: z.ZodObject<{
|
|
249
|
-
name: z.ZodOptional<z.ZodString>;
|
|
250
|
-
email: z.ZodOptional<z.ZodString>;
|
|
251
|
-
console_user_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
252
|
-
console_org_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
253
|
-
console_access_token: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
254
|
-
console_refresh_token: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
255
|
-
console_token_expires_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
256
|
-
}, z.core.$strip>;
|
|
257
|
-
type UserCacheCreate = z.infer<typeof userCacheCreateSchema>;
|
|
258
|
-
type UserCacheUpdate = z.infer<typeof userCacheUpdateSchema>;
|
|
259
|
-
|
|
260
|
-
export { type BranchCache, type BranchCacheCreate, type BranchCacheUpdate, type OrganizationCache, type OrganizationCacheCreate, type OrganizationCacheUpdate, type Permission, type PermissionCreate, type PermissionUpdate, type Role, type RoleCreate, type RolePermission, type RolePermissionCreate, type RolePermissionUpdate, type RoleUpdate, type TeamCache, type TeamCacheCreate, type TeamCacheUpdate, type TeamPermission, type TeamPermissionCreate, type TeamPermissionUpdate, type UserCache, type UserCacheCreate, type UserCacheUpdate, branchCacheCreateSchema, branchCacheSchemas, branchCacheUpdateSchema, organizationCacheCreateSchema, organizationCacheSchemas, organizationCacheUpdateSchema, permissionCreateSchema, permissionSchemas, permissionUpdateSchema, roleCreateSchema, rolePermissionCreateSchema, rolePermissionSchemas, rolePermissionUpdateSchema, roleSchemas, roleUpdateSchema, teamCacheCreateSchema, teamCacheSchemas, teamCacheUpdateSchema, teamPermissionCreateSchema, teamPermissionSchemas, teamPermissionUpdateSchema, userCacheCreateSchema, userCacheSchemas, userCacheUpdateSchema };
|