diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index 41b0ef9e..6324a9e4 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -69,10 +69,28 @@ export interface Attributes { additional: { fieldName: string | null; type: AdditionalType | null; + ability?: Record; }[]; } +export interface Ability { + string?: { + phoneNumber: { + length: number; + }; + }; + number?: { + comma?: boolean; + decimal?: { + point: number; + }; + }; + date?: string | null; + array?: string[] | null; +} + export type AdditionalType = 'string' | 'number' | 'date' | 'array'; + // Product export interface ServiceById {