feat(expo): add tasks and tasks_with_assignee database types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4189a5b140
commit
3d0a2f7cc0
1 changed files with 69 additions and 0 deletions
|
|
@ -309,6 +309,54 @@ export type Database = {
|
|||
};
|
||||
Relationships: [];
|
||||
};
|
||||
tasks: {
|
||||
Row: {
|
||||
assignee_id: string | null;
|
||||
created_at: string;
|
||||
deleted_at: string | null;
|
||||
description: string | null;
|
||||
due_date: string | null;
|
||||
id: string;
|
||||
is_parent: boolean;
|
||||
parent_task_id: string | null;
|
||||
position: number;
|
||||
status: Database["public"]["Enums"]["task_status"];
|
||||
tablo_id: string;
|
||||
title: string;
|
||||
updated_at: string;
|
||||
};
|
||||
Insert: {
|
||||
assignee_id?: string | null;
|
||||
created_at?: string;
|
||||
deleted_at?: string | null;
|
||||
description?: string | null;
|
||||
due_date?: string | null;
|
||||
id?: string;
|
||||
is_parent?: boolean;
|
||||
parent_task_id?: string | null;
|
||||
position?: number;
|
||||
status?: Database["public"]["Enums"]["task_status"];
|
||||
tablo_id: string;
|
||||
title: string;
|
||||
updated_at?: string;
|
||||
};
|
||||
Update: {
|
||||
assignee_id?: string | null;
|
||||
created_at?: string;
|
||||
deleted_at?: string | null;
|
||||
description?: string | null;
|
||||
due_date?: string | null;
|
||||
id?: string;
|
||||
is_parent?: boolean;
|
||||
parent_task_id?: string | null;
|
||||
position?: number;
|
||||
status?: Database["public"]["Enums"]["task_status"];
|
||||
tablo_id?: string;
|
||||
title?: string;
|
||||
updated_at?: string;
|
||||
};
|
||||
Relationships: [];
|
||||
};
|
||||
};
|
||||
Views: {
|
||||
events_and_tablos: {
|
||||
|
|
@ -350,6 +398,25 @@ export type Database = {
|
|||
},
|
||||
];
|
||||
};
|
||||
tasks_with_assignee: {
|
||||
Row: {
|
||||
assignee_avatar: string | null;
|
||||
assignee_id: string | null;
|
||||
assignee_name: string | null;
|
||||
created_at: string | null;
|
||||
description: string | null;
|
||||
due_date: string | null;
|
||||
id: string | null;
|
||||
is_parent: boolean | null;
|
||||
parent_task_id: string | null;
|
||||
position: number | null;
|
||||
status: Database["public"]["Enums"]["task_status"] | null;
|
||||
tablo_id: string | null;
|
||||
title: string | null;
|
||||
updated_at: string | null;
|
||||
};
|
||||
Relationships: [];
|
||||
};
|
||||
};
|
||||
Functions: {
|
||||
generate_random_string: {
|
||||
|
|
@ -359,6 +426,7 @@ export type Database = {
|
|||
};
|
||||
Enums: {
|
||||
devis_status: "draft" | "sent" | "accepted" | "rejected" | "expired";
|
||||
task_status: "todo" | "in_progress" | "in_review" | "done";
|
||||
};
|
||||
CompositeTypes: {
|
||||
[_ in never]: never;
|
||||
|
|
@ -485,6 +553,7 @@ export const Constants = {
|
|||
public: {
|
||||
Enums: {
|
||||
devis_status: ["draft", "sent", "accepted", "rejected", "expired"],
|
||||
task_status: ["todo", "in_progress", "in_review", "done"],
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue