Upload folder using huggingface_hub
Browse files- 6.2.0/utils/package.json +1 -1
- 6.2.0/utils/src/index.ts +1 -0
- 6.2.0/utils/src/types.ts +7 -0
6.2.0/utils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "@gradio/utils",
|
| 3 |
-
"version": "0.
|
| 4 |
"description": "Gradio UI packages",
|
| 5 |
"type": "module",
|
| 6 |
"main": "./src/index.ts",
|
|
|
|
| 1 |
{
|
| 2 |
"name": "@gradio/utils",
|
| 3 |
+
"version": "0.11.0",
|
| 4 |
"description": "Gradio UI packages",
|
| 5 |
"type": "module",
|
| 6 |
"main": "./src/index.ts",
|
6.2.0/utils/src/index.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
| 1 |
export * from "./color.js";
|
| 2 |
export * from "./utils.svelte.js";
|
|
|
|
|
|
| 1 |
export * from "./color.js";
|
| 2 |
export * from "./utils.svelte.js";
|
| 3 |
+
export * from "./types.js";
|
6.2.0/utils/src/types.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FileData } from "@gradio/client";
|
| 2 |
+
|
| 3 |
+
export interface CustomButton {
|
| 4 |
+
id: number;
|
| 5 |
+
value: string | null;
|
| 6 |
+
icon: FileData | null;
|
| 7 |
+
}
|