-
-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip: simplify types. move legacy check to a file inside modules
- Loading branch information
Showing
24 changed files
with
111 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
import type { ModuleDisplayInfo } from '@companion-app/shared/Model/ModuleInfo.js' | ||
import type { ModuleManifest } from '@companion-module/base' | ||
|
||
export interface SomeModuleVersionInfo { | ||
export interface ModuleVersionInfo { | ||
versionId: string // 'dev' or a semver version | ||
basePath: string | ||
helpPath: string | null | ||
display: ModuleDisplayInfo | ||
manifest: ModuleManifest | ||
isPackaged: boolean | ||
isBeta: boolean | ||
isLegacy: boolean | ||
} | ||
|
||
// export interface ReleaseModuleVersionInfo extends ModuleVersionInfoBase { | ||
// type: 'release' | ||
// versionId: string | ||
// isBeta: boolean | ||
// isPackaged: true | ||
// } | ||
// export interface DevModuleVersionInfo extends ModuleVersionInfoBase { | ||
// type: 'dev' | ||
// isPackaged: boolean | ||
// isBeta: false | ||
// } | ||
// export type SomeModuleVersionInfo = ReleaseModuleVersionInfo | DevModuleVersionInfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.