@esb-market-contracts/admin-backend 1.4.6 → 1.4.7
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/package.json +1 -1
- package/schemas.d.ts +5 -0
package/package.json
CHANGED
package/schemas.d.ts
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
|
+
declare const authorizeRequestSchema: z.ZodObject<{
|
|
6
|
+
email: z.ZodEmail;
|
|
7
|
+
password: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
5
9
|
/** Schema for the payload of an access token. */
|
|
6
10
|
export declare const accessTokenPayloadSchema: z.ZodObject<{
|
|
7
11
|
employee: z.ZodObject<{
|
|
@@ -18,6 +22,7 @@ export declare const accessTokenPayloadSchema: z.ZodObject<{
|
|
|
18
22
|
"employee.update": "employee.update";
|
|
19
23
|
}>>;
|
|
20
24
|
}, z.core.$strip>;
|
|
25
|
+
export type AuthorizeRequest = z.infer<typeof authorizeRequestSchema>;
|
|
21
26
|
export type AccessTokenPayload = z.infer<typeof accessTokenPayloadSchema>;
|
|
22
27
|
|
|
23
28
|
export {};
|