mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
21 lines
579 B
TypeScript
21 lines
579 B
TypeScript
// @ts-expect-error
|
|
import specStorageV0 from '~/../../spec/storage_v0_config.yaml' assert { type: 'yml' }
|
|
// @ts-expect-error
|
|
import specRealtimeV0 from '~/../../spec/realtime_v0_config.yaml' assert { type: 'yml' }
|
|
// @ts-expect-error
|
|
import specAuthV1 from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' }
|
|
|
|
function getStorageConfigV0() {
|
|
return { ...specStorageV0 }
|
|
}
|
|
|
|
function getRealtimeConfigV0() {
|
|
return { ...specRealtimeV0 }
|
|
}
|
|
|
|
function getAuthConfigV1() {
|
|
return { ...specAuthV1 }
|
|
}
|
|
|
|
export { getStorageConfigV0, getRealtimeConfigV0, getAuthConfigV1 }
|