File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2141,13 +2141,15 @@ export type UpsertFolderResponseType = z.infer<
2141
2141
typeof UpsertFolderResponseSchema
2142
2142
> ;
2143
2143
2144
+ const ProviderVisibilitySchema = FlexibleEnumSchema < "public" | "private" > ( ) ;
2145
+
2144
2146
export const UpsertDataSourceFolderRequestSchema = z . object ( {
2145
2147
timestamp : z . number ( ) ,
2146
2148
parents : z . array ( z . string ( ) ) . nullable ( ) . optional ( ) ,
2147
2149
parent_id : z . string ( ) . nullable ( ) . optional ( ) ,
2148
2150
title : z . string ( ) ,
2149
2151
mime_type : z . string ( ) ,
2150
- provider_visibility : z . string ( ) . nullable ( ) . optional ( ) ,
2152
+ provider_visibility : ProviderVisibilitySchema . nullable ( ) . optional ( ) ,
2151
2153
} ) ;
2152
2154
export type UpsertDataSourceFolderRequestType = z . infer <
2153
2155
typeof UpsertDataSourceFolderRequestSchema
You can’t perform that action at this time.
0 commit comments