You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
380 B
TypeScript
25 lines
380 B
TypeScript
import { PostgrestError } from '@supabase/postgrest-js'
|
|
|
|
export {}
|
|
|
|
declare global {
|
|
interface Note {
|
|
title: string
|
|
description: string
|
|
}
|
|
|
|
interface NoteQuery {
|
|
id: number | string | string[]
|
|
}
|
|
|
|
interface ApiResponse {
|
|
status: number
|
|
message: string
|
|
error: PostgrestError | null
|
|
}
|
|
|
|
interface DeleteResponse extends ApiResponse {
|
|
data: undefined[] | null
|
|
}
|
|
}
|