/**
 * 共享库不支持export * as
 */

export { Contants } from './shared-lib/Contants'
export * from './shared-lib/Date'
export * from './shared-lib/Errors'
export * from './shared-lib/Utils'
export { CryptoUtils } from './shared-lib/CryptoUtils'
export * from './shared-lib/Promise'
export * from './shared-lib/Retry'
export * from './shared-lib/Cron'

import * as Entity from './shared-lib/Entity'
export { AppService } from './shared-lib/AppService'

//配置
export * from './shared-lib/Config'
export * from './shared-lib/ConfigCenter'

export * from './shared-lib/AliOss'
export { redisClient } from './shared-lib/Redis'
export { generateMySqlKnexInstance, knexInstance as parkImageKnexInstance } from './shared-lib/ParkImage'

//非标接口
import * as NonStandardApi from './shared-lib/NonStandardApi'

//统一接口
export { ApiResponse, throwIfResCodeNoSuccess, axiosInstance } from './shared-lib/TyApiCommon'
import * as TyApi from './shared-lib/TyApiCommon'
import * as TyExternalApi from './shared-lib/TyExternalApi'
import * as TyInternalApi from './shared-lib/TyInternalApi'
import * as StcInvoiceApi from './shared-lib/StcInvoiceApi'
export * from './shared-lib/TySqlApiClient'
export { TyExternalApiClient } from './shared-lib/TyExternalApi'
export { TyInternalApiClient } from './shared-lib/TyInternalApi'
export { StcInvoiceApiClient } from './shared-lib/StcInvoiceApi'
export { TyGlobalApiClient } from './shared-lib/TyGlobalApi'

//国际化
import * as TyGlobalApi from './shared-lib/TyGlobalApi'
export { t, $t, translate, $translate, GlobalService } from './shared-lib/Global'

export {
    Entity,
    NonStandardApi,
    TyApi,
    TyExternalApi,
    TyInternalApi,
    StcInvoiceApi,
    TyGlobalApi
}