Skip to content

Commit d5e134e

Browse files
committed
feat: 初步支持模型下载
1 parent d950678 commit d5e134e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-flow-interface",
3-
"version": "0.16.9",
3+
"version": "0.16.10",
44
"description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
55
"type": "module",
66
"module": "dist/index.js",

src/api/service/main/file/local/accept-mime.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export const MKV = 'video/x-matroska'
5151

5252
export const JSON = 'application/json'
5353

54+
export const NF = 'nextflow/sync'
55+
5456
export const TXT = 'text/plain'
5557
export const MARKDOWN = 'text/markdown'
5658

@@ -68,6 +70,8 @@ export const SUPPORT_TEXT_LIST = [TXT]
6870

6971
export const SUPPORT_JSON_LIST = [JSON]
7072

73+
export const SUPPORT_NEXTFLOW_LIST = [NF]
74+
7175
export const SUPPORT_ALL_LIST = [
7276
...SUPPORT_IMAGE_LIST,
7377
...SUPPORT_MODEL_LIST,

0 commit comments

Comments
 (0)