Add map community reactions, comments, and moderation
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m22s
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 3m22s
This commit is contained in:
@@ -62,6 +62,42 @@ export type Database = {
|
||||
};
|
||||
public: {
|
||||
Tables: {
|
||||
map_reactions: {
|
||||
Row: {
|
||||
dataset_id: string;
|
||||
user_id: string;
|
||||
value: number;
|
||||
created_at: string;
|
||||
};
|
||||
Insert: {
|
||||
dataset_id: string;
|
||||
user_id: string;
|
||||
value: number;
|
||||
created_at?: string;
|
||||
};
|
||||
Update: { value?: number };
|
||||
Relationships: [];
|
||||
};
|
||||
map_comments: {
|
||||
Row: import("./community").MapCommentRecord;
|
||||
Insert: Partial<import("./community").MapCommentRecord> &
|
||||
Pick<
|
||||
import("./community").MapCommentRecord,
|
||||
"dataset_id" | "author_id" | "body"
|
||||
>;
|
||||
Update: Partial<import("./community").MapCommentRecord>;
|
||||
Relationships: [];
|
||||
};
|
||||
community_reports: {
|
||||
Row: import("./community").CommunityReportRecord;
|
||||
Insert: Partial<import("./community").CommunityReportRecord> &
|
||||
Pick<
|
||||
import("./community").CommunityReportRecord,
|
||||
"reporter_id" | "target" | "category" | "reason"
|
||||
>;
|
||||
Update: Partial<import("./community").CommunityReportRecord>;
|
||||
Relationships: [];
|
||||
};
|
||||
account_appeals: {
|
||||
Row: AccountAppealRecord;
|
||||
Insert: Partial<AccountAppealRecord> &
|
||||
@@ -782,6 +818,10 @@ export type Database = {
|
||||
[_ in never]: never;
|
||||
};
|
||||
Functions: {
|
||||
map_reaction_summary: {
|
||||
Args: { p_dataset: string };
|
||||
Returns: { likes: number; dislikes: number }[];
|
||||
};
|
||||
admin_account_action: {
|
||||
Args: {
|
||||
p_reviewer: string;
|
||||
|
||||
Reference in New Issue
Block a user