@esb-market-contracts/admin-backend 1.2.8 → 1.2.10
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/api.d.ts +2 -2
- package/package.json +1 -1
- package/types.d.ts +11 -9
package/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const authRouter: import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
|
|
4
4
|
"/iam/authentication/session": {
|
|
5
5
|
$get: {
|
|
6
6
|
input: {};
|
|
@@ -49,6 +49,6 @@ declare const authenticationRouter: import("hono/hono-base").HonoBase<import("ho
|
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
}, "/iam/authentication", "/iam/authentication/logout">;
|
|
52
|
-
export type
|
|
52
|
+
export type AuthRouter = typeof authRouter;
|
|
53
53
|
|
|
54
54
|
export {};
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
import { SerializeDates } from '@kalutskii/foundation';
|
|
3
4
|
import { z } from 'zod';
|
|
4
5
|
|
|
5
|
-
declare const
|
|
6
|
+
declare const AuthLoginSchema: z.ZodObject<{
|
|
6
7
|
email: z.ZodEmail;
|
|
7
8
|
password: z.ZodString;
|
|
8
9
|
}, z.core.$strict>;
|
|
9
|
-
export type
|
|
10
|
-
declare const
|
|
10
|
+
export type AuthLogin = z.infer<typeof AuthLoginSchema>;
|
|
11
|
+
declare const AuthSessionSchema: z.ZodObject<{
|
|
11
12
|
expiresAt: z.ZodDate;
|
|
12
13
|
user: z.ZodObject<{
|
|
13
14
|
id: z.ZodInt;
|
|
@@ -28,11 +29,12 @@ declare const AuthenticationSessionSchema: z.ZodObject<{
|
|
|
28
29
|
out: {};
|
|
29
30
|
in: {};
|
|
30
31
|
}>;
|
|
31
|
-
export type
|
|
32
|
-
export type
|
|
33
|
-
export type
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
36
|
-
export type
|
|
32
|
+
export type AuthSession = z.infer<typeof AuthSessionSchema>;
|
|
33
|
+
export type AuthLoginRequest = AuthLogin;
|
|
34
|
+
export type AuthSessionRequest = Record<string, never>;
|
|
35
|
+
export type AuthSessionResponse = SerializeDates<AuthSession>;
|
|
36
|
+
export type AuthClientSession = AuthSession;
|
|
37
|
+
export type AuthLogoutRequest = Record<string, never>;
|
|
38
|
+
export type AuthLogoutResponse = Record<string, never>;
|
|
37
39
|
|
|
38
40
|
export {};
|