mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
IssueResponse definition and implementation
This commit is contained in:
@@ -20,3 +20,8 @@ export {
|
||||
IssueSelectSchema,
|
||||
IssueInsertSchema,
|
||||
} from "./schema";
|
||||
|
||||
// Responses
|
||||
export {
|
||||
IssueResponse,
|
||||
} from "./schema"
|
||||
@@ -58,3 +58,10 @@ export type ProjectInsert = z.infer<typeof ProjectInsertSchema>;
|
||||
|
||||
export type IssueRecord = z.infer<typeof IssueSelectSchema>;
|
||||
export type IssueInsert = z.infer<typeof IssueInsertSchema>;
|
||||
|
||||
// Responses
|
||||
|
||||
export type IssueResponse = {
|
||||
Issue: IssueRecord;
|
||||
User?: UserRecord;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user