Files
hoppscotch/packages/hoppscotch-backend/src/team-collection/helper.ts
2024-03-05 18:05:58 +05:30

15 lines
353 B
TypeScript

// Type of data returned from the query to obtain all search results
export type SearchQueryReturnType = {
id: string;
title: string;
type: 'collection' | 'request';
method?: string;
};
// Type of data returned from the query to obtain all parents
export type ParentTreeQueryReturnType = {
id: string;
parentID: string;
title: string;
};