repluggable-core 0.0.0-pr348.62 → 0.0.0-pr348.63

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "repluggable-core",
3
- "version": "0.0.0-pr348.62",
3
+ "version": "0.0.0-pr348.63",
4
4
  "license": "MIT",
5
5
  "description": "Allows composition of a React-with-Redux application entirely from a list of pluggable packages",
6
6
  "main": "dist/src/index.js",
@@ -18,9 +18,9 @@ export interface RepluggableAppDebugInfo {
18
18
  hmr: RepluggableHMR
19
19
  }
20
20
 
21
- export type DependencyTree = {
21
+ export interface DependencyTree {
22
22
  entryPoint: string
23
- deps: Array<{ api: string; subtree: DependencyTree | null }>
23
+ deps: { api: string; subtree: DependencyTree | null }[]
24
24
  }
25
25
 
26
26
  export interface RepluggableDebugUtils {
@@ -29,6 +29,10 @@ export interface RepluggableDebugUtils {
29
29
  getRootUnreadyAPI(): SlotKey<any>
30
30
  whyEntryPointUnready(name: string): void
31
31
  findAPI(name: string): APIDebugInfo[]
32
+ getAPIOrEntryPointsDependencies(
33
+ apisOrEntryPointsNames: string[],
34
+ entryPoints?: EntryPoint[]
35
+ ): { entryPoints: EntryPoint[]; apis: AnySlotKey[] }
32
36
  traceAPIDependency(entryPointName: string, apiName: string): DependencyTree | null
33
37
  visualizeDependencyTree(tree: DependencyTree | null): string
34
38
  }