@@ -240,6 +240,10 @@ export const mediaBackendPlugin = (config: MediaBackendConfig) =>
240240 listAssets : ( params ?: Parameters < typeof listAssets > [ 1 ] ) =>
241241 listAssets ( adapter , params ) ,
242242 getAssetById : ( id : string ) => getAssetById ( adapter , id ) ,
243+ createAsset : ( input : Parameters < typeof createAsset > [ 1 ] ) =>
244+ createAsset ( adapter , input ) ,
245+ updateAsset : ( id : string , input : Parameters < typeof updateAsset > [ 2 ] ) =>
246+ updateAsset ( adapter , id , input ) ,
243247 listFolders : ( params ?: Parameters < typeof listFolders > [ 1 ] ) =>
244248 listFolders ( adapter , params ) ,
245249 getFolderById : ( id : string ) => getFolderById ( adapter , id ) ,
@@ -248,6 +252,8 @@ export const mediaBackendPlugin = (config: MediaBackendConfig) =>
248252 parentId ?: string | null ,
249253 tenantId ?: string ,
250254 ) => getFolderByName ( adapter , name , parentId , tenantId ) ,
255+ createFolder : ( input : Parameters < typeof createFolder > [ 1 ] ) =>
256+ createFolder ( adapter , input ) ,
251257 } ) ,
252258
253259 routes : ( adapter : Adapter ) => {
0 commit comments