@esb-market-contracts/admin-backend 1.8.41 → 1.8.43

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +5 -0
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.41",
4
+ "version": "1.8.43",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -158,6 +158,10 @@ declare const assetUpdatePayloadSchema: z.ZodObject<{
158
158
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
159
  assetId: z.ZodInt;
160
160
  }, z.core.$strict>;
161
+ declare const assetUpdateImagePayloadSchema: z.ZodObject<{
162
+ assetId: z.ZodPipe<z.ZodCoercedNumber<unknown>, z.ZodInt>;
163
+ image: z.ZodFile;
164
+ }, z.core.$strict>;
161
165
  declare const assetWriteOffPayloadSchema: z.ZodObject<{
162
166
  assetId: z.ZodInt;
163
167
  }, z.core.$strict>;
@@ -219,6 +223,7 @@ export type AssetSearchResult = {
219
223
  };
220
224
  export type AssetCreatePayload = z.infer<typeof assetCreatePayloadSchema>;
221
225
  export type AssetUpdatePayload = z.infer<typeof assetUpdatePayloadSchema>;
226
+ export type AssetUpdateImagePayload = z.infer<typeof assetUpdateImagePayloadSchema>;
222
227
  export type AssetWriteOffPayload = z.infer<typeof assetWriteOffPayloadSchema>;
223
228
  export type AssetBulkWriteOffPayload = z.infer<typeof assetBulkWriteOffPayloadSchema>;
224
229
  export type AssetBulkBarcodeSheetPayload = z.infer<typeof assetBulkBarcodeSheetPayloadSchema>;