- 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
22 lines
421 B
TypeScript
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>;
|
|
};
|