@esb-market-contracts/admin-backend 1.2.9 → 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.
Files changed (3) hide show
  1. package/api.d.ts +2 -2
  2. package/package.json +1 -1
  3. package/types.d.ts +10 -10
package/api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
- declare const authenticationRouter: import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
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 AuthenticationRouter = typeof authenticationRouter;
52
+ export type AuthRouter = typeof authRouter;
53
53
 
54
54
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@esb-market-contracts/admin-backend",
3
3
  "description": "Shared TypeScript contract definitions for admin-backend.",
4
- "version": "1.2.9",
4
+ "version": "1.2.10",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -3,12 +3,12 @@
3
3
  import { SerializeDates } from '@kalutskii/foundation';
4
4
  import { z } from 'zod';
5
5
 
6
- declare const AuthenticationLoginSchema: z.ZodObject<{
6
+ declare const AuthLoginSchema: z.ZodObject<{
7
7
  email: z.ZodEmail;
8
8
  password: z.ZodString;
9
9
  }, z.core.$strict>;
10
- export type AuthenticationLogin = z.infer<typeof AuthenticationLoginSchema>;
11
- declare const AuthenticationSessionSchema: z.ZodObject<{
10
+ export type AuthLogin = z.infer<typeof AuthLoginSchema>;
11
+ declare const AuthSessionSchema: z.ZodObject<{
12
12
  expiresAt: z.ZodDate;
13
13
  user: z.ZodObject<{
14
14
  id: z.ZodInt;
@@ -29,12 +29,12 @@ declare const AuthenticationSessionSchema: z.ZodObject<{
29
29
  out: {};
30
30
  in: {};
31
31
  }>;
32
- export type AuthenticationSession = z.infer<typeof AuthenticationSessionSchema>;
33
- export type AuthenticationLoginRequest = AuthenticationLogin;
34
- export type AuthenticationSessionRequest = Record<string, never>;
35
- export type AuthenticationSessionResponse = SerializeDates<AuthenticationSession>;
36
- export type AuthenticationClientSession = AuthenticationSession;
37
- export type AuthenticationLogoutRequest = Record<string, never>;
38
- export type AuthenticationLogoutResponse = Record<string, never>;
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>;
39
39
 
40
40
  export {};