PromucFlow_constructor/app/client/src/constants/collectionsConstants.ts
Hetu Nandu af3b5d212f fix: ui fixes and type defination fixes
- avoid using any or undefined types in the code
- fix ui issues for api home screen
- update naming convensions
- remove unwanted code
- use color variables
2020-04-14 12:34:14 +00:00

22 lines
421 B
TypeScript

import { ApiResponse } from "api/ApiResponses";
export type TemplateList = {
id: string;
delete: boolean;
name: string;
providerId: string;
publisher: string;
packageName: string;
versionId: string;
};
export type CollectionDataArray = {
id: string;
deleted: boolean;
apiTemplateList: Array<TemplateList>;
};
export type ImportedCollections = ApiResponse & {
data: Array<CollectionDataArray>;
};