From 41b9c4b7e61a1975487a597620101b5a4905af9e Mon Sep 17 00:00:00 2001 From: Rostyk Date: Thu, 26 Sep 2024 18:14:42 +0300 Subject: [PATCH] fix: Location types in Multi-location inventory --- src/types/mli-locations.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/types/mli-locations.d.ts b/src/types/mli-locations.d.ts index 23f1987..dbe7dc5 100644 --- a/src/types/mli-locations.d.ts +++ b/src/types/mli-locations.d.ts @@ -11,10 +11,11 @@ export interface GeolocationDetails { } export interface LocationAttributes { name: string + slug: string external_ref?: string description?: string - address: string[] - geolocation: GeolocationDetails + address?: string[] + geolocation?: GeolocationDetails } export interface LocationMeta { timestamps: {