1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-24 19:00:13 +01:00

Remove all exceptions from supervisor localize keys (#13402)

This commit is contained in:
Steve Repsher
2022-08-20 13:37:57 -04:00
committed by GitHub
parent 24509425ca
commit 52a1594969
7 changed files with 21 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
import { atLeastVersion } from "../../common/config/version";
import type { HaFormSchema } from "../../components/ha-form/types";
import { HomeAssistant } from "../../types";
import { HomeAssistant, TranslationDict } from "../../types";
import { supervisorApiCall } from "../supervisor/common";
import { StoreAddonDetails } from "../supervisor/store";
import { Supervisor, SupervisorArch } from "../supervisor/supervisor";
@@ -10,6 +10,10 @@ import {
HassioResponse,
} from "./common";
export type AddonCapability = Exclude<
keyof TranslationDict["supervisor"]["addon"]["dashboard"]["capability"],
"label" | "role" | "stages"
>;
export type AddonStage = "stable" | "experimental" | "deprecated";
export type AddonAppArmour = "disable" | "default" | "profile";
export type AddonRole = "default" | "homeassistant" | "manager" | "admin";