@sparkelf/dsh-dataops-managed 0.3.32 → 0.3.33
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.
- package/lib/client.js +307 -186
- package/lib/client.js.map +1 -1
- package/lib/types/client/ResourceCatalogSidebar.d.ts +8 -6
- package/package.json +1 -1
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The tab's own data-catalog tree (168px)
|
|
2
|
+
* The tab's own data-catalog tree (168px).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* 全部 / 收藏 / 置顶 stay as they were. The catalog section mirrors the portal's folder tree:
|
|
5
|
+
* multi-root (数据中台 / 交投), expandable folders, counts and a recursive filter. Data comes
|
|
6
|
+
* from GET /resources/folder-tree through the Host bridge; the right-hand portal iframe only
|
|
7
|
+
* receives the resulting resource ids, so the portal page itself never renders its own sidebar
|
|
8
|
+
* in embed mode.
|
|
7
9
|
*
|
|
8
10
|
* @module client/ResourceCatalogSidebar
|
|
9
11
|
*/
|
|
10
12
|
export interface ResourceFilter {
|
|
11
|
-
scope: 'all' | 'favorites' | 'pinned' | '
|
|
12
|
-
|
|
13
|
+
scope: 'all' | 'favorites' | 'pinned' | 'catalogNode';
|
|
14
|
+
nodeId?: number;
|
|
13
15
|
ids?: number[];
|
|
14
16
|
}
|
|
15
17
|
export declare function ResourceCatalogSidebar({ onFilter }: {
|
package/package.json
CHANGED