@esb-market-contracts/admin-backend 1.8.7 → 1.8.8

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 +1 -1
  2. package/package.json +1 -1
  3. package/types.d.ts +3 -3
package/api.d.ts CHANGED
@@ -75,7 +75,7 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
75
75
  input: {
76
76
  query: {
77
77
  status?: "active" | "suspended" | undefined;
78
- };
78
+ } | undefined;
79
79
  };
80
80
  output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
81
81
  employees: {
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.8.7",
4
+ "version": "1.8.8",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -48,13 +48,13 @@ declare const employeeSafeSchema: z.ZodObject<{
48
48
  out: {};
49
49
  in: {};
50
50
  }>;
51
- declare const employeeListQuerySchema: z.ZodObject<{
51
+ declare const employeeFindManyQuerySchema: z.ZodOptional<z.ZodObject<{
52
52
  status: z.ZodOptional<z.ZodEnum<{
53
53
  active: "active";
54
54
  suspended: "suspended";
55
55
  }>>;
56
- }, z.core.$strict>;
56
+ }, z.core.$strict>>;
57
57
  export type EmployeeSafe = z.infer<typeof employeeSafeSchema>;
58
- export type EmployeeListQuery = z.infer<typeof employeeListQuerySchema>;
58
+ export type EmployeeFindManyQuery = z.infer<typeof employeeFindManyQuerySchema>;
59
59
 
60
60
  export {};