Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions src/shared/types/database.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,44 +223,47 @@ export type Database = {
}
posts: {
Row: {
authoring_mode: string
bookmark_count: number
code: string | null
comment_count: number
content: string
created_at: string
deleted_at: string | null
description: string
id: number
is_review_enabled: boolean
language: string | null
like_count: number
updated_at: string | null
user_id: string
view_count: number
}
Insert: {
authoring_mode?: string
bookmark_count?: number
code?: string | null
comment_count?: number
content: string
created_at?: string
deleted_at?: string | null
description: string
id?: number
is_review_enabled?: boolean
language?: string | null
like_count?: number
updated_at?: string | null
user_id: string
view_count?: number
}
Update: {
authoring_mode?: string
bookmark_count?: number
code?: string | null
comment_count?: number
content?: string
created_at?: string
deleted_at?: string | null
description?: string
id?: number
is_review_enabled?: boolean
language?: string | null
like_count?: number
updated_at?: string | null
Expand Down Expand Up @@ -441,6 +444,10 @@ export type Database = {
Args: { p_post_id: number; post_data: Json; tags: string[] }
Returns: Json
}
upsert_post_tags: {
Args: { p_post_id: number; p_tags: string[] }
Returns: undefined
}
}
Enums: {
[_ in never]: never
Expand Down