@medusajs/core-flows
Version:
Set of workflow definitions for Medusa
17 lines • 608 B
TypeScript
/**
* The IDs of the files to delete.
*/
export type DeleteFilesStepInput = string[];
export declare const deleteFilesStepId = "delete-files";
/**
* This step deletes one or more files using the installed
* [File Module Provider](https://docs.medusajs.com/resources/infrastructure-modules/file). The files
* will be removed from the database and the storage.
*
* @example
* const data = deleteFilesStep([
* "id_123"
* ])
*/
export declare const deleteFilesStep: import("@medusajs/framework/workflows-sdk").StepFunction<DeleteFilesStepInput, undefined>;
//# sourceMappingURL=delete-files.d.ts.map