@enable-tech/shared-types
Version:
This package represents the single source of truth of the Types being used in the codebase (front-end and back-end) of enable.tech, It is an organization-scoped package. So, all the development teams belonging to it can participate to enhance it.
27 lines • 658 B
TypeScript
import { I_Image } from 'src/common/backend/responses/schemas';
export interface I_LocalizedString {
en: string;
ar: string;
}
export interface I_Field {
label: I_LocalizedString;
value: I_LocalizedString;
}
interface I_QRCode {
message: string;
}
export interface I_GetEnablePassResponse {
loyaltyCardName: I_LocalizedString;
language: 'en' | 'ar';
backgroundColor: string;
textColor: string;
logo: I_Image;
icon: I_Image;
stripImage: I_Image;
headerFields: I_Field[];
primaryField: I_Field | null;
secondaryFields: I_Field[];
qrCode: I_QRCode;
}
export {};
//# sourceMappingURL=index.d.ts.map