@compass-framework/plugin 1.0.6 → 1.0.8
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/@types/Identifier.d.ts +4 -6
- package/@types/Plugin.d.ts +2 -2
- package/@types/Specification.ts +5 -0
- package/package.json +1 -1
package/@types/Identifier.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import {Specification} from "./Specification";
|
|
2
|
+
|
|
3
|
+
export declare class Identifier<API> {
|
|
2
4
|
groupId: string;
|
|
3
5
|
name: string;
|
|
4
6
|
artifactId: string;
|
|
5
7
|
|
|
6
|
-
public constructor({groupId, name, artifactId,}:
|
|
7
|
-
groupId: string
|
|
8
|
-
name: string
|
|
9
|
-
artifactId: string
|
|
10
|
-
});
|
|
8
|
+
public constructor({groupId, name, artifactId,}: Specification);
|
|
11
9
|
}
|
package/@types/Plugin.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ import {Environment} from "./Environment";
|
|
|
2
2
|
import {Identifier} from "./Identifier";
|
|
3
3
|
|
|
4
4
|
export declare abstract class Plugin {
|
|
5
|
-
public abstract onInstall<
|
|
5
|
+
public abstract onInstall<Property>(env: Environment<Property>): void;
|
|
6
6
|
|
|
7
7
|
public abstract onUninstall(): void;
|
|
8
8
|
|
|
9
|
-
public abstract getIdentifier(): Identifier
|
|
9
|
+
public abstract getIdentifier(): Identifier<void>;
|
|
10
10
|
}
|