[WEB-5472] refactor: components of project creation flow (#8462)
This commit is contained in:
parent
866338289e
commit
9141a9377f
8 changed files with 70 additions and 48 deletions
|
|
@ -50,3 +50,4 @@ export * from "./workspace-draft-issues/base";
|
|||
export * from "./workspace-notifications";
|
||||
export * from "./workspace-views";
|
||||
export * from "./base-layouts";
|
||||
export * from "./pagination";
|
||||
|
|
|
|||
15
packages/types/src/pagination.ts
Normal file
15
packages/types/src/pagination.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Generic paginated response type for API responses
|
||||
export type TPaginatedResponse<T> = {
|
||||
results: T;
|
||||
grouped_by?: string | null;
|
||||
sub_grouped_by?: string | null;
|
||||
total_count?: number;
|
||||
next_cursor?: string;
|
||||
prev_cursor?: string;
|
||||
next_page_results?: boolean;
|
||||
prev_page_results?: boolean;
|
||||
count?: number;
|
||||
total_pages?: number;
|
||||
total_results?: number;
|
||||
extra_stats?: string | null;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue