@esb-market-contracts/backend 1.0.6 → 1.0.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/api.d.ts +9 -9
- package/package.json +1 -1
- package/types.d.ts +3 -3
package/api.d.ts
CHANGED
|
@@ -141,10 +141,10 @@ declare const countriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
141
141
|
"/catalog/countries/create": {
|
|
142
142
|
$post: {
|
|
143
143
|
input: {
|
|
144
|
-
|
|
145
|
-
code:
|
|
146
|
-
name:
|
|
147
|
-
|
|
144
|
+
form: {
|
|
145
|
+
code: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
146
|
+
name: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
147
|
+
flagImage: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
150
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<Record<string, never>>;
|
|
@@ -186,11 +186,11 @@ declare const countriesRouter: import("hono/hono-base").HonoBase<{
|
|
|
186
186
|
"/catalog/countries/update-metadata": {
|
|
187
187
|
$post: {
|
|
188
188
|
input: {
|
|
189
|
-
|
|
190
|
-
code:
|
|
191
|
-
name:
|
|
192
|
-
|
|
193
|
-
|
|
189
|
+
form: {
|
|
190
|
+
code: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
191
|
+
name: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
192
|
+
countryId: import("hono/types").ParsedFormValue | import("hono/types").ParsedFormValue[];
|
|
193
|
+
flagImage?: import("zod/v4/core").File | undefined;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
output: import("@kalutskii/foundation").APIError | import("@kalutskii/foundation").APISuccess<Record<string, never>>;
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ declare const countryCreatePayloadSchema: z.ZodObject<{
|
|
|
127
127
|
en: "en";
|
|
128
128
|
ru: "ru";
|
|
129
129
|
}> & z.core.$partial, z.ZodString>;
|
|
130
|
-
|
|
130
|
+
flagImage: z.ZodFile;
|
|
131
131
|
}, z.core.$strict>;
|
|
132
132
|
declare const countryUpdatePayloadSchema: z.ZodObject<{
|
|
133
133
|
code: z.ZodString;
|
|
@@ -136,8 +136,8 @@ declare const countryUpdatePayloadSchema: z.ZodObject<{
|
|
|
136
136
|
en: "en";
|
|
137
137
|
ru: "ru";
|
|
138
138
|
}> & z.core.$partial, z.ZodString>;
|
|
139
|
-
|
|
140
|
-
countryId: z.ZodInt
|
|
139
|
+
flagImage: z.ZodOptional<z.ZodFile>;
|
|
140
|
+
countryId: z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>;
|
|
141
141
|
}, z.core.$strict>;
|
|
142
142
|
export type CountrySearchOptions = z.infer<typeof countrySearchOptionsSchema>;
|
|
143
143
|
export type CountrySearchResult = {
|