@esb-market-contracts/backend 1.0.6 → 1.0.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.
- package/api.d.ts +9 -9
- package/package.json +1 -1
- package/types.d.ts +7 -7
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
|
@@ -122,22 +122,22 @@ declare const countrySelectOneQuerySchema: z.ZodObject<{
|
|
|
122
122
|
}, z.core.$strict>;
|
|
123
123
|
declare const countryCreatePayloadSchema: z.ZodObject<{
|
|
124
124
|
code: z.ZodString;
|
|
125
|
-
name: z.ZodRecord<z.ZodEnum<{
|
|
125
|
+
name: z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
126
126
|
ka: "ka";
|
|
127
127
|
en: "en";
|
|
128
128
|
ru: "ru";
|
|
129
|
-
}> & z.core.$partial, z.ZodString
|
|
130
|
-
|
|
129
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
130
|
+
flagImage: z.ZodFile;
|
|
131
131
|
}, z.core.$strict>;
|
|
132
132
|
declare const countryUpdatePayloadSchema: z.ZodObject<{
|
|
133
133
|
code: z.ZodString;
|
|
134
|
-
name: z.ZodRecord<z.ZodEnum<{
|
|
134
|
+
name: z.ZodPreprocess<z.ZodRecord<z.ZodEnum<{
|
|
135
135
|
ka: "ka";
|
|
136
136
|
en: "en";
|
|
137
137
|
ru: "ru";
|
|
138
|
-
}> & z.core.$partial, z.ZodString
|
|
139
|
-
|
|
140
|
-
countryId: z.ZodInt
|
|
138
|
+
}> & z.core.$partial, z.ZodString>>;
|
|
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 = {
|