Skip to content

Commit

Permalink
feat(soffit-pwa): ProductType
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored and AliMD committed Feb 8, 2023
1 parent 397ef53 commit 875a4de
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions uniquely/soffit-pwa/src/type.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type {StringifyableRecord} from '@alwatr/type';
import type {IconBoxContent} from '@alwatr/ui-kit/card/icon-box.js';
import type {ImageBoxContent} from '@alwatr/ui-kit/src/card/image-box.js';
import type {TopAppBarContent} from '@alwatr/ui-kit/top-app-bar/top-app-bar.js';

export interface BoxType extends IconBoxContent {
Expand All @@ -8,6 +9,11 @@ export interface BoxType extends IconBoxContent {
small?: boolean;
}

export interface ProductType extends ImageBoxContent {
wide?: boolean;
slot?: string;
}

export interface PageHomeContent extends StringifyableRecord {
topAppBar: TopAppBarContent;
about: BoxType;
Expand All @@ -17,6 +23,11 @@ export interface PageHomeContent extends StringifyableRecord {
agencyList: Array<BoxType>;
}

export interface ProductPageContent extends StringifyableRecord {
topAppBar: TopAppBarContent;
product: Array<ProductType>;
}

export interface FormData extends StringifyableRecord {
formId: string;
data: Record<string, string | number | boolean | null>;
Expand Down

0 comments on commit 875a4de

Please sign in to comment.