1 | export interface PluginResult {
|
2 | plugin: PluginMetadata;
|
3 | package: DepTree;
|
4 | }
|
5 | export interface DepDict {
|
6 | [name: string]: DepTree;
|
7 | }
|
8 | export interface DepRoot {
|
9 | depTree: DepTree;
|
10 | meta?: any;
|
11 | }
|
12 | export interface DepTree {
|
13 | name: string;
|
14 | version: string;
|
15 | dependencies?: DepDict;
|
16 | packageFormatVersion?: string;
|
17 | multiBuild?: boolean;
|
18 | }
|
19 | export interface PluginMetadata {
|
20 | name: string;
|
21 | runtime: string;
|
22 | meta?: {
|
23 | versionBuildInfo?: {
|
24 | metaBuildVersion?: {
|
25 | sbtVersion?: string;
|
26 | };
|
27 | };
|
28 | };
|
29 | }
|
30 | interface Module {
|
31 | version: string;
|
32 | configurations: string[];
|
33 | }
|
34 | export interface SbtModulesGraph {
|
35 | modules: Record<string, Module>;
|
36 | dependencies: {
|
37 | string: string[];
|
38 | };
|
39 | }
|
40 | export {};
|