CyberPodConfig
Defined in: packages/core/src/types/index.ts:18
SDK Configuration options
Properties
accessToken?
optionalaccessToken:string
Defined in: packages/core/src/types/index.ts:24
Optional access token for user authentication
apiKey?
optionalapiKey:string
Defined in: packages/core/src/types/index.ts:22
Optional API key for service-to-service authentication
baseUrl
baseUrl:
string
Defined in: packages/core/src/types/index.ts:20
Base URL of the CyberPod API
customPathMappings?
optionalcustomPathMappings:PathMapping[]
Defined in: packages/core/src/types/index.ts:41
Custom path mappings (optional) Overrides default mappings
enablePathAdapter?
optionalenablePathAdapter:boolean
Defined in: packages/core/src/types/index.ts:36
Enable automatic path standardization When true, SDK paths starting with /v1 are transformed to actual backend paths
Default
true
httpsOnly?
optionalhttpsOnly:boolean
Defined in: packages/core/src/types/index.ts:30
Require HTTPS in production (default: true in production)
retry?
optionalretry:false|RetryOptions
Defined in: packages/core/src/types/index.ts:28
Retry configuration. Set to false to disable retries.
timeout?
optionaltimeout:number
Defined in: packages/core/src/types/index.ts:26
Request timeout in milliseconds (default: 30000)