Options
All
  • Public
  • Public/Protected
  • All
Menu

S3에서 중첩 배열 형태 데이터 로더

example

const bucket = 'bucket-id'
const key = 'key/path'

const loader = new S3LocaleLoader(bucket, key)

loader.getLocales()

Hierarchy

Implements

Index

Constructors

constructor

  • new S3LocaleLoader(bucket: string, key: string, region?: string, http?: AxiosInstance): S3LocaleLoader

Properties

bucket

bucket: string

http

http: AxiosInstance

key

key: string

region

region: string

Methods

Private filePath

  • filePath(version: number): string

getLocale

getLocales

  • getLocales(version?: number): Promise<Locales>

mergeLocale

mergeLocales

Private requestLocales

  • requestLocales(version: number): Promise<LocalesData>

Generated using TypeDoc