anvil/striker-ui/types/APIManifest.d.ts
2023-06-19 15:15:32 -04:00

42 lines
813 B
TypeScript

type APIManifestOverview = {
manifestName: string;
manifestUUID: string;
};
type APIManifestOverviewList = {
[manifestUUID: string]: APIManifestOverview;
};
type APIManifestDetail = ManifestAnId & {
hostConfig: ManifestHostConfig;
name: string;
networkConfig: ManifestNetworkConfig;
uuid?: string;
};
type APIManifestTemplateFence = {
fenceName: string;
fenceUUID: string;
};
type APIManifestTemplateUps = {
upsName: string;
upsUUID: string;
};
type APIManifestTemplateFenceList = {
[fenceUuid: string]: APIManifestTemplateFence;
};
type APIManifestTemplateUpsList = {
[upsUuid: string]: APIManifestTemplateUps;
};
type APIManifestTemplate = {
domain: string;
fences: APIManifestTemplateFenceList;
prefix: string;
sequence: number;
upses: APIManifestTemplateUpsList;
};