umwd-components 0.1.804 → 0.1.806

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.
@@ -1,17 +1,4 @@
1
- interface MinioFileReference {
2
- documentId: string;
3
- fileName: string;
4
- fileSize: number;
5
- bucketName?: string;
6
- mimeType?: string;
7
- }
8
- interface MinioItemListProps {
9
- items?: MinioFileReference[];
10
- emptyMessage?: string;
11
- bucketName?: string;
12
- direction?: "row" | "column";
13
- revalidateCallback?: () => void;
14
- }
1
+ import { MinioItemListProps } from "../../../../types/common/media/types";
15
2
  /**
16
3
  * MinioItemList component to display a list of Minio file references
17
4
  * @param items - Array of MinioFileReference objects
@@ -21,4 +8,3 @@ interface MinioItemListProps {
21
8
  * @param revalidateCallback - Callback function to refresh data after actions
22
9
  */
23
10
  export declare const MinioItemList: ({ items, emptyMessage, bucketName, direction, revalidateCallback, }: MinioItemListProps) => import("react/jsx-runtime").JSX.Element;
24
- export {};
@@ -77,6 +77,20 @@ export interface MinioMediaFieldsProps extends MediaFieldsProps {
77
77
  fileName?: string;
78
78
  fileContent?: FileList;
79
79
  }
80
+ export interface MinioFileReference {
81
+ documentId: string;
82
+ fileName: string;
83
+ fileSize: number;
84
+ bucketName?: string;
85
+ mimeType?: string;
86
+ }
87
+ export interface MinioItemListProps {
88
+ items?: MinioFileReference[];
89
+ emptyMessage?: string;
90
+ bucketName?: string;
91
+ direction?: "row" | "column";
92
+ revalidateCallback?: () => void;
93
+ }
80
94
  export interface Base64MediaFieldsProps extends MediaFieldsProps {
81
95
  base64?: boolean;
82
96
  path?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.804",
3
+ "version": "0.1.806",
4
4
  "description": "UMWD Component library",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",