|
17 | 17 | */
|
18 | 18 |
|
19 | 19 | import { RootContext } from "./RootContext";
|
| 20 | +import { Export } from "./target/export/Export"; |
| 21 | +import { Element } from "./type/discovery/element/Element"; |
| 22 | +import { DiscoveredObjectType } from "./type/discovery/object/DiscoveredType"; |
| 23 | +import { Relation } from "./type/discovery/relation/Relation"; |
20 | 24 |
|
21 | 25 | export type Events = {
|
22 | 26 | exportExtractionStart: (rootContext: RootContext, filepath: string) => void;
|
23 | 27 | exportExtractionComplete: (
|
24 | 28 | rootContext: RootContext,
|
25 |
| - filepath: string |
| 29 | + filepath: string, |
| 30 | + exports_: Export[] |
26 | 31 | ) => void;
|
27 | 32 | elementExtractionStart: (rootContext: RootContext, filepath: string) => void;
|
28 | 33 | elementExtractionComplete: (
|
29 | 34 | rootContext: RootContext,
|
30 |
| - filepath: string |
| 35 | + filepath: string, |
| 36 | + elements: Map<string, Element> |
31 | 37 | ) => void;
|
32 | 38 | relationExtractionStart: (rootContext: RootContext, filepath: string) => void;
|
33 | 39 | relationExtractionComplete: (
|
34 | 40 | rootContext: RootContext,
|
35 |
| - filepath: string |
| 41 | + filepath: string, |
| 42 | + relations: Map<string, Relation> |
36 | 43 | ) => void;
|
37 | 44 | objectTypeExtractionStart: (
|
38 | 45 | rootContext: RootContext,
|
39 | 46 | filepath: string
|
40 | 47 | ) => void;
|
41 | 48 | objectTypeExtractionComplete: (
|
42 | 49 | rootContext: RootContext,
|
43 |
| - filepath: string |
| 50 | + filepath: string, |
| 51 | + objects: Map<string, DiscoveredObjectType> |
44 | 52 | ) => void;
|
45 | 53 |
|
46 | 54 | typeResolvingStart: (rootContext: RootContext) => void;
|
|
0 commit comments