next-flow-interface 0.27.17 → 0.27.18

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.
Files changed (2) hide show
  1. package/index.d.ts +8 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6078,9 +6078,16 @@ export declare class RvResourceService {
6078
6078
  */
6079
6079
  getAllMetadataByFileId(fileId: string): Resource[];
6080
6080
  /**
6081
- * 通过 fileId 获取所有对应的 resourceId 列表
6081
+ * 通过 fileId 获取所有对应的 resourceId 列表(包含后端缓存中的所有资源)
6082
6082
  */
6083
6083
  getResourceIdsByFileId(fileId: string): string[];
6084
+ /**
6085
+ * 通过 fileId 获取协同数据中已添加的对应 resourceId 列表
6086
+ *
6087
+ * 与 getResourceIdsByFileId 不同,此方法仅返回已存在于协同数据 resources 中的资源,
6088
+ * 排除仅在后端缓存但未添加到协同数据的资源。
6089
+ */
6090
+ getAddedResourceIdsByFileId(fileId: string): string[];
6084
6091
  /**
6085
6092
  * 设置资源元数据缓存
6086
6093
  */
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "valtio": "2.1.7",
37
37
  "rhine-var": "2.4.3"
38
38
  },
39
- "version": "0.27.17",
39
+ "version": "0.27.18",
40
40
  "author": "NextFlow",
41
41
  "license": "Apache-2.0",
42
42
  "keywords": [