project table

This commit is contained in:
2026-04-28 17:52:51 +07:00
parent 043ef08b87
commit d65a71ba1d
9 changed files with 706 additions and 19 deletions
+29
View File
@@ -0,0 +1,29 @@
export interface CommonResponse<T = any> {
status: boolean;
message: string;
data: T;
errors?: any; // Or a more specific error type
}
export interface PaginatedResponse<T> {
status: boolean;
message: string;
data: T[];
pagination: {
current_page: number;
page_size: number;
total_records: number;
total_pages: number;
};
errors?: any;
}
export interface CursorPaginatedResponse<T> {
status: boolean;
message: string;
data: {
items: T[];
next_cursor_id?: string;
};
errors?: any;
}
+9
View File
@@ -0,0 +1,9 @@
export interface Project {
id: string;
title: string;
description: string;
project_status: "PRIVATE" | "PUBLIC" | "ARCHIVE";
created_at: string;
updated_at: string;
// You can add other fields like 'members' if they are part of the response
}