Functions
Const uploadRelatedFiles
-
Parameters
-
-
resource: string
-
params: object
-
primaryKeyField: string
-
Returns Promise<any>
Const uploadRelatedFilesForMultipleObjects
- uploadRelatedFilesForMultipleObjects(app: IFeathersClient, resource: string, params: object, primaryKeyField: string, uploadsConfig: IUploadsConfig): Promise<any>
-
Parameters
-
-
resource: string
-
params: object
-
primaryKeyField: string
-
Returns Promise<any>
Uploads any related files and updates the params.data uploadable field with the identifiers of the uploaded files. Identifiers can be urls, ids, etc