Skip to content

Commit f20ae53

Browse files
committed
feat: 添加resource-service接口
1 parent 2d876cf commit f20ae53

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-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": "oflow-interface",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "Interface package for O FLOW. You can use this package to build your own plugin that can control anything.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/api/service/main/resource/resource-service-api.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ export default interface ResourceServiceApi {
2626

2727
generatePreviewFile(img: HTMLImageElement | HTMLVideoElement, name: string): Promise<File>
2828

29+
generateId(): string
30+
2931
}

0 commit comments

Comments
 (0)