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>;
keyFile: ZodOptional<ZodString>;
redirectURI: ZodOptional<ZodString>;
refreshToken: ZodOptional<ZodString>;
rootFolderID: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
clientID?: string;
clientSecret?: string;
credentialsJSON?: string;
keyFile?: string;
redirectURI?: string;
refreshToken?: string;
rootFolderID?: string;
}, {
clientID?: string;
clientSecret?: string;
credentialsJSON?: 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;
}>>;
}>>
The provider configuration or undefined if not configured
Gets configuration for a specific storage provider