Files
supabase/studio/stores/pgmeta/ForeignTableStore.ts
T

22 lines
583 B
TypeScript

import type { PostgresTable } from '@supabase/postgres-meta'
import PostgresMetaInterface from '../common/PostgresMetaInterface'
import { IRootStore } from '../RootStore'
export default class ForeignTableStore extends PostgresMetaInterface<Partial<PostgresTable>> {
constructor(
rootStore: IRootStore,
dataUrl: string,
headers?: {
[prop: string]: any
},
options?: { identifier: string }
) {
super(rootStore, dataUrl, headers, options)
}
// loadBySchema is not supported in this store
async loadBySchema(schema: string) {
return []
}
}