@meerkapp/wms-contracts 0.2.0-beta.14 → 0.2.0-beta.15
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/index.cjs +10 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -21501,7 +21501,7 @@ interface Paginated<T> {
|
|
|
21501
21501
|
pages: number;
|
|
21502
21502
|
}
|
|
21503
21503
|
|
|
21504
|
-
declare const ALL_PERMISSIONS: readonly ["organization:create", "organization:update", "warehouse:create", "warehouse:update", "locality:create", "employee:
|
|
21504
|
+
declare const ALL_PERMISSIONS: readonly ["organization:create", "organization:update", "warehouse:create", "warehouse:update", "locality:create", "employee:create", "employee:update:info", "employee:update:warehouse", "employee:update:roles", "employee:update:email", "employee:update:password", "employee:toggle:active", "employee:update:own:info", "employee:update:own:email", "employee:update:own:password", "employee:update:own:avatar", "role:create", "role:update"];
|
|
21505
21505
|
type Permission = (typeof ALL_PERMISSIONS)[number];
|
|
21506
21506
|
declare const LoginSchema: z$1.ZodObject<{
|
|
21507
21507
|
email: z$1.ZodString;
|
package/dist/index.d.ts
CHANGED
|
@@ -21501,7 +21501,7 @@ interface Paginated<T> {
|
|
|
21501
21501
|
pages: number;
|
|
21502
21502
|
}
|
|
21503
21503
|
|
|
21504
|
-
declare const ALL_PERMISSIONS: readonly ["organization:create", "organization:update", "warehouse:create", "warehouse:update", "locality:create", "employee:
|
|
21504
|
+
declare const ALL_PERMISSIONS: readonly ["organization:create", "organization:update", "warehouse:create", "warehouse:update", "locality:create", "employee:create", "employee:update:info", "employee:update:warehouse", "employee:update:roles", "employee:update:email", "employee:update:password", "employee:toggle:active", "employee:update:own:info", "employee:update:own:email", "employee:update:own:password", "employee:update:own:avatar", "role:create", "role:update"];
|
|
21505
21505
|
type Permission = (typeof ALL_PERMISSIONS)[number];
|
|
21506
21506
|
declare const LoginSchema: z$1.ZodObject<{
|
|
21507
21507
|
email: z$1.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -10285,17 +10285,20 @@ var ALL_PERMISSIONS = [
|
|
|
10285
10285
|
"warehouse:create",
|
|
10286
10286
|
"warehouse:update",
|
|
10287
10287
|
"locality:create",
|
|
10288
|
-
|
|
10288
|
+
// employee management
|
|
10289
10289
|
"employee:create",
|
|
10290
|
-
"employee:update",
|
|
10291
|
-
"employee:
|
|
10292
|
-
"employee:
|
|
10293
|
-
"employee:
|
|
10294
|
-
"employee:
|
|
10290
|
+
"employee:update:info",
|
|
10291
|
+
"employee:update:warehouse",
|
|
10292
|
+
"employee:update:roles",
|
|
10293
|
+
"employee:update:email",
|
|
10294
|
+
"employee:update:password",
|
|
10295
|
+
"employee:toggle:active",
|
|
10296
|
+
// own profile
|
|
10297
|
+
"employee:update:own:info",
|
|
10295
10298
|
"employee:update:own:email",
|
|
10296
10299
|
"employee:update:own:password",
|
|
10297
10300
|
"employee:update:own:avatar",
|
|
10298
|
-
|
|
10301
|
+
// role management
|
|
10299
10302
|
"role:create",
|
|
10300
10303
|
"role:update"
|
|
10301
10304
|
];
|