@esb-market-contracts/admin-backend 1.7.0 → 1.7.1
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 +5 -6
- package/package.json +1 -1
- package/types.d.ts +3 -3
package/api.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
91
91
|
};
|
|
92
92
|
};
|
|
93
93
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
94
|
-
|
|
94
|
+
employee: {
|
|
95
95
|
id: number;
|
|
96
96
|
email: string;
|
|
97
97
|
fullName: string;
|
|
@@ -110,15 +110,14 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
110
110
|
$get: {
|
|
111
111
|
input: {};
|
|
112
112
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<{
|
|
113
|
-
employees:
|
|
113
|
+
employees: {
|
|
114
114
|
id: number;
|
|
115
115
|
email: string;
|
|
116
116
|
fullName: string;
|
|
117
|
-
passwordDigest: string;
|
|
118
117
|
status: "active" | "suspended";
|
|
119
118
|
updatedAt: string | null;
|
|
120
119
|
createdAt: string;
|
|
121
|
-
}
|
|
120
|
+
}[];
|
|
122
121
|
}>;
|
|
123
122
|
outputFormat: "json";
|
|
124
123
|
status: 200;
|
|
@@ -147,7 +146,7 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
147
146
|
$post: {
|
|
148
147
|
input: {
|
|
149
148
|
json: {
|
|
150
|
-
id:
|
|
149
|
+
id: unknown;
|
|
151
150
|
} | {
|
|
152
151
|
email: string;
|
|
153
152
|
};
|
|
@@ -164,7 +163,7 @@ declare const managementRouter: import("hono/hono-base").HonoBase<{
|
|
|
164
163
|
$post: {
|
|
165
164
|
input: {
|
|
166
165
|
json: {
|
|
167
|
-
id:
|
|
166
|
+
id: unknown;
|
|
168
167
|
} | {
|
|
169
168
|
email: string;
|
|
170
169
|
};
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -33,11 +33,11 @@ export type SigninRequest = z.infer<typeof signinRequestSchema>;
|
|
|
33
33
|
export type SessionPayload = z.infer<typeof sessionPayloadSchema>;
|
|
34
34
|
declare const employeeSelectRequestSchema: z.ZodUnion<readonly [
|
|
35
35
|
z.ZodObject<{
|
|
36
|
-
id: z.
|
|
37
|
-
}, z.core.$
|
|
36
|
+
id: z.ZodCoercedNumber<unknown>;
|
|
37
|
+
}, z.core.$strip>,
|
|
38
38
|
z.ZodObject<{
|
|
39
39
|
email: z.ZodString;
|
|
40
|
-
}, z.core.$
|
|
40
|
+
}, z.core.$strip>
|
|
41
41
|
]>;
|
|
42
42
|
declare const employeeInsertRequestSchema: z.ZodObject<{
|
|
43
43
|
email: z.ZodString;
|