mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Frontend – correctly represent all platform string possibilities (#13193)
This commit is contained in:
parent
a7f1501054
commit
5b711cdc2e
1 changed files with 4 additions and 15 deletions
|
|
@ -20,21 +20,10 @@ export type SelectedPlatform = SupportedPlatform | "all";
|
|||
|
||||
export type SelectedPlatformString =
|
||||
| ""
|
||||
| "darwin"
|
||||
| "windows"
|
||||
| "linux"
|
||||
| "chrome"
|
||||
| "darwin,windows,linux,chrome"
|
||||
| "darwin,windows,linux"
|
||||
| "darwin,linux,chrome"
|
||||
| "darwin,windows,chrome"
|
||||
| "windows,linux,chrome"
|
||||
| "darwin,windows"
|
||||
| "darwin,linux"
|
||||
| "darwin,chrome"
|
||||
| "windows,linux"
|
||||
| "windows,chrome"
|
||||
| "linux,chrome";
|
||||
| SupportedPlatform
|
||||
| `${SupportedPlatform},${SupportedPlatform}`
|
||||
| `${SupportedPlatform},${SupportedPlatform},${SupportedPlatform}`
|
||||
| `${SupportedPlatform},${SupportedPlatform},${SupportedPlatform},${SupportedPlatform}`;
|
||||
|
||||
// TODO: revisit this approach pending resolution of https://github.com/fleetdm/fleet/issues/3555.
|
||||
export const MACADMINS_EXTENSION_TABLES: Record<string, OsqueryPlatform[]> = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue