@chase-shao/vue-component-lib 1.2.44 → 1.2.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,6 +16,7 @@ export type WidgetConfig = {
16
16
  remote?: string;
17
17
  uploadURL?: string;
18
18
  files?: FileItem[];
19
+ removeFile?: (attachmentId: string) => Promise<void>;
19
20
  [key: string]: unknown;
20
21
  };
21
22
  export type ValidationConfig = {
@@ -131,3 +132,4 @@ export declare function getProcess(className: string, workflowId: string): Promi
131
132
  export declare function getFiles(className: string, workflowId: string): Promise<{
132
133
  [key: string]: any[];
133
134
  }>;
135
+ export declare function removeFile(className: string, attachmentId: string): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chase-shao/vue-component-lib",
3
- "version": "1.2.44",
3
+ "version": "1.2.45",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",