Member Junction
Preparing search index...
@memberjunction/storage
getProviderConfig
Function getProviderConfig
getProviderConfig
<
T
extends
optionalKeys
<
baseObjectOutputType
<
{
aws
:
ZodOptional
<
ZodObject
<
{
accessKeyID
:
ZodOptional
<
ZodString
>
;
defaultBucket
:
ZodOptional
<
ZodString
>
;
keyPrefix
:
ZodOptional
<
ZodString
>
;
region
:
ZodOptional
<
ZodString
>
;
secretAccessKey
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accessKeyID
?:
string
;
defaultBucket
?:
string
;
keyPrefix
?:
string
;
region
?:
string
;
secretAccessKey
?:
string
;
}
,
{
accessKeyID
?:
string
;
defaultBucket
?:
string
;
keyPrefix
?:
string
;
region
?:
string
;
secretAccessKey
?:
string
;
}
,
>
,
>
;
azure
:
ZodOptional
<
ZodObject
<
{
accountKey
:
ZodOptional
<
ZodString
>
;
accountName
:
ZodOptional
<
ZodString
>
;
connectionString
:
ZodOptional
<
ZodString
>
;
defaultContainer
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accountKey
?:
string
;
accountName
?:
string
;
connectionString
?:
string
;
defaultContainer
?:
string
;
}
,
{
accountKey
?:
string
;
accountName
?:
string
;
connectionString
?:
string
;
defaultContainer
?:
string
;
}
,
>
,
>
;
box
:
ZodOptional
<
ZodObject
<
{
accessToken
:
ZodOptional
<
ZodString
>
;
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
enterpriseID
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
rootFolderID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
enterpriseID
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
enterpriseID
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
>
,
>
;
dropbox
:
ZodOptional
<
ZodObject
<
{
accessToken
:
ZodOptional
<
ZodString
>
;
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
rootPath
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
refreshToken
?:
string
;
rootPath
?:
string
;
}
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
refreshToken
?:
string
;
rootPath
?:
string
;
}
,
>
,
>
;
googleCloud
:
ZodOptional
<
ZodObject
<
{
defaultBucket
:
ZodOptional
<
ZodString
>
;
keyFilename
:
ZodOptional
<
ZodString
>
;
keyJSON
:
ZodOptional
<
ZodString
>
;
projectID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
defaultBucket
?:
string
;
keyFilename
?:
string
;
keyJSON
?:
string
;
projectID
?:
string
;
}
,
{
defaultBucket
?:
string
;
keyFilename
?:
string
;
keyJSON
?:
string
;
projectID
?:
string
;
}
,
>
,
>
;
googleDrive
:
ZodOptional
<
ZodObject
<
{
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
credentialsJSON
:
ZodOptional
<
ZodString
>
;
driveID
:
ZodOptional
<
ZodString
>
;
keyFile
:
ZodOptional
<
ZodString
>
;
redirectURI
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
rootFolderID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
clientID
?:
string
;
clientSecret
?:
string
;
credentialsJSON
?:
string
;
driveID
?:
string
;
keyFile
?:
string
;
redirectURI
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
{
clientID
?:
string
;
clientSecret
?:
string
;
credentialsJSON
?:
string
;
driveID
?:
string
;
keyFile
?:
string
;
redirectURI
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
>
,
>
;
sharePoint
:
ZodOptional
<
ZodObject
<
{
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
driveID
:
ZodOptional
<
ZodString
>
;
rootFolderID
:
ZodOptional
<
ZodString
>
;
siteID
:
ZodOptional
<
ZodString
>
;
tenantID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
clientID
?:
string
;
clientSecret
?:
string
;
driveID
?:
string
;
rootFolderID
?:
string
;
siteID
?:
string
;
tenantID
?:
string
;
}
,
{
clientID
?:
string
;
clientSecret
?:
string
;
driveID
?:
string
;
rootFolderID
?:
string
;
siteID
?:
string
;
tenantID
?:
string
;
}
,
>
,
>
;
}
,
>
,
>
,
>
(
provider
:
T
,
)
:
{
aws
?:
{
accessKeyID
?:
string
;
defaultBucket
?:
string
;
keyPrefix
?:
string
;
region
?:
string
;
secretAccessKey
?:
string
;
}
;
azure
?:
{
accountKey
?:
string
;
accountName
?:
string
;
connectionString
?:
string
;
defaultContainer
?:
string
;
}
;
box
?:
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
enterpriseID
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
;
dropbox
?:
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
refreshToken
?:
string
;
rootPath
?:
string
;
}
;
googleCloud
?:
{
defaultBucket
?:
string
;
keyFilename
?:
string
;
keyJSON
?:
string
;
projectID
?:
string
;
}
;
googleDrive
?:
{
clientID
?:
string
;
clientSecret
?:
string
;
credentialsJSON
?:
string
;
driveID
?:
string
;
keyFile
?:
string
;
redirectURI
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
;
sharePoint
?:
{
clientID
?:
string
;
clientSecret
?:
string
;
driveID
?:
string
;
rootFolderID
?:
string
;
siteID
?:
string
;
tenantID
?:
string
;
}
;
}
[
T
]
Type Parameters
T
extends
optionalKeys
<
baseObjectOutputType
<
{
aws
:
ZodOptional
<
ZodObject
<
{
accessKeyID
:
ZodOptional
<
ZodString
>
;
defaultBucket
:
ZodOptional
<
ZodString
>
;
keyPrefix
:
ZodOptional
<
ZodString
>
;
region
:
ZodOptional
<
ZodString
>
;
secretAccessKey
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accessKeyID
?:
string
;
defaultBucket
?:
string
;
keyPrefix
?:
string
;
region
?:
string
;
secretAccessKey
?:
string
;
}
,
{
accessKeyID
?:
string
;
defaultBucket
?:
string
;
keyPrefix
?:
string
;
region
?:
string
;
secretAccessKey
?:
string
;
}
,
>
,
>
;
azure
:
ZodOptional
<
ZodObject
<
{
accountKey
:
ZodOptional
<
ZodString
>
;
accountName
:
ZodOptional
<
ZodString
>
;
connectionString
:
ZodOptional
<
ZodString
>
;
defaultContainer
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accountKey
?:
string
;
accountName
?:
string
;
connectionString
?:
string
;
defaultContainer
?:
string
;
}
,
{
accountKey
?:
string
;
accountName
?:
string
;
connectionString
?:
string
;
defaultContainer
?:
string
;
}
,
>
,
>
;
box
:
ZodOptional
<
ZodObject
<
{
accessToken
:
ZodOptional
<
ZodString
>
;
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
enterpriseID
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
rootFolderID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
enterpriseID
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
enterpriseID
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
>
,
>
;
dropbox
:
ZodOptional
<
ZodObject
<
{
accessToken
:
ZodOptional
<
ZodString
>
;
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
rootPath
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
refreshToken
?:
string
;
rootPath
?:
string
;
}
,
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
refreshToken
?:
string
;
rootPath
?:
string
;
}
,
>
,
>
;
googleCloud
:
ZodOptional
<
ZodObject
<
{
defaultBucket
:
ZodOptional
<
ZodString
>
;
keyFilename
:
ZodOptional
<
ZodString
>
;
keyJSON
:
ZodOptional
<
ZodString
>
;
projectID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
defaultBucket
?:
string
;
keyFilename
?:
string
;
keyJSON
?:
string
;
projectID
?:
string
;
}
,
{
defaultBucket
?:
string
;
keyFilename
?:
string
;
keyJSON
?:
string
;
projectID
?:
string
;
}
,
>
,
>
;
googleDrive
:
ZodOptional
<
ZodObject
<
{
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
credentialsJSON
:
ZodOptional
<
ZodString
>
;
driveID
:
ZodOptional
<
ZodString
>
;
keyFile
:
ZodOptional
<
ZodString
>
;
redirectURI
:
ZodOptional
<
ZodString
>
;
refreshToken
:
ZodOptional
<
ZodString
>
;
rootFolderID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
clientID
?:
string
;
clientSecret
?:
string
;
credentialsJSON
?:
string
;
driveID
?:
string
;
keyFile
?:
string
;
redirectURI
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
{
clientID
?:
string
;
clientSecret
?:
string
;
credentialsJSON
?:
string
;
driveID
?:
string
;
keyFile
?:
string
;
redirectURI
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
,
>
,
>
;
sharePoint
:
ZodOptional
<
ZodObject
<
{
clientID
:
ZodOptional
<
ZodString
>
;
clientSecret
:
ZodOptional
<
ZodString
>
;
driveID
:
ZodOptional
<
ZodString
>
;
rootFolderID
:
ZodOptional
<
ZodString
>
;
siteID
:
ZodOptional
<
ZodString
>
;
tenantID
:
ZodOptional
<
ZodString
>
;
}
,
"strip"
,
ZodTypeAny
,
{
clientID
?:
string
;
clientSecret
?:
string
;
driveID
?:
string
;
rootFolderID
?:
string
;
siteID
?:
string
;
tenantID
?:
string
;
}
,
{
clientID
?:
string
;
clientSecret
?:
string
;
driveID
?:
string
;
rootFolderID
?:
string
;
siteID
?:
string
;
tenantID
?:
string
;
}
,
>
,
>
;
}
,
>
,
>
Parameters
provider
:
T
Returns
{
aws
?:
{
accessKeyID
?:
string
;
defaultBucket
?:
string
;
keyPrefix
?:
string
;
region
?:
string
;
secretAccessKey
?:
string
;
}
;
azure
?:
{
accountKey
?:
string
;
accountName
?:
string
;
connectionString
?:
string
;
defaultContainer
?:
string
;
}
;
box
?:
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
enterpriseID
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
;
dropbox
?:
{
accessToken
?:
string
;
clientID
?:
string
;
clientSecret
?:
string
;
refreshToken
?:
string
;
rootPath
?:
string
;
}
;
googleCloud
?:
{
defaultBucket
?:
string
;
keyFilename
?:
string
;
keyJSON
?:
string
;
projectID
?:
string
;
}
;
googleDrive
?:
{
clientID
?:
string
;
clientSecret
?:
string
;
credentialsJSON
?:
string
;
driveID
?:
string
;
keyFile
?:
string
;
redirectURI
?:
string
;
refreshToken
?:
string
;
rootFolderID
?:
string
;
}
;
sharePoint
?:
{
clientID
?:
string
;
clientSecret
?:
string
;
driveID
?:
string
;
rootFolderID
?:
string
;
siteID
?:
string
;
tenantID
?:
string
;
}
;
}
[
T
]
Deprecated
Use
GetProviderConfig
.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Member Junction
Loading...
Deprecated
Use GetProviderConfig.