@butr/vortexextensionnative 1.0.45 → 1.0.46
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.
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleInfoExtendedWithPath } from "./BannerlordModuleManager";
|
|
1
|
+
import { ModuleInfoExtended, ModuleInfoExtendedWithPath } from "./BannerlordModuleManager";
|
|
2
2
|
export interface INativeExtension {
|
|
3
3
|
LauncherManager: new () => LauncherManager;
|
|
4
4
|
}
|
|
@@ -33,13 +33,12 @@ export interface SaveMetadata {
|
|
|
33
33
|
}
|
|
34
34
|
export type NotificationType = 'hint' | 'info';
|
|
35
35
|
export type DialogType = 'warning' | 'fileOpen' | 'fileSave';
|
|
36
|
-
export type InstructionType = 'Copy' | '
|
|
36
|
+
export type InstructionType = 'Copy' | 'ModuleInfo';
|
|
37
37
|
export interface InstallInstruction {
|
|
38
38
|
type: InstructionType;
|
|
39
|
+
moduleInfo?: ModuleInfoExtended;
|
|
39
40
|
source?: string;
|
|
40
41
|
destination?: string;
|
|
41
|
-
key?: string;
|
|
42
|
-
value?: any;
|
|
43
42
|
}
|
|
44
43
|
export interface InstallResult {
|
|
45
44
|
instructions: InstallInstruction[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ModuleInfoExtendedWithPath } from "./BannerlordModuleManager";
|
|
1
|
+
import { ModuleInfoExtended, ModuleInfoExtendedWithPath } from "./BannerlordModuleManager";
|
|
2
2
|
export interface INativeExtension {
|
|
3
3
|
LauncherManager: new () => LauncherManager;
|
|
4
4
|
}
|
|
@@ -33,13 +33,12 @@ export interface SaveMetadata {
|
|
|
33
33
|
}
|
|
34
34
|
export type NotificationType = 'hint' | 'info';
|
|
35
35
|
export type DialogType = 'warning' | 'fileOpen' | 'fileSave';
|
|
36
|
-
export type InstructionType = 'Copy' | '
|
|
36
|
+
export type InstructionType = 'Copy' | 'ModuleInfo';
|
|
37
37
|
export interface InstallInstruction {
|
|
38
38
|
type: InstructionType;
|
|
39
|
+
moduleInfo?: ModuleInfoExtended;
|
|
39
40
|
source?: string;
|
|
40
41
|
destination?: string;
|
|
41
|
-
key?: string;
|
|
42
|
-
value?: any;
|
|
43
42
|
}
|
|
44
43
|
export interface InstallResult {
|
|
45
44
|
instructions: InstallInstruction[];
|
package/package.json
CHANGED