pmcf
Version:
Poor mans configuration management
297 lines (296 loc) • 10.1 kB
text/typescript
export class Location extends Owner {
static get typeDefinition(): {
name: string;
owners: (string | {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writeable: boolean;
};
type: {
type: string;
collection: boolean;
writeable: boolean;
};
name: {
type: string;
collection: boolean;
identifier: boolean;
writeable: boolean;
};
description: {
type: string;
collection: boolean;
writeable: boolean;
};
priority: {
type: string;
collection: boolean;
writeable: boolean;
};
directory: {
type: string;
collection: boolean;
writeable: boolean;
};
packaging: {
type: string;
collection: boolean;
writeable: boolean;
};
tags: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
hosts: {
type: string;
collection: boolean;
writeable: boolean;
};
clusters: {
type: string;
collection: boolean;
writeable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
type: string;
collection: boolean;
writeable: boolean;
identifier: boolean;
};
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
prefixLength: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
collection: boolean;
writeable: boolean;
};
country: {
type: string;
collection: boolean;
writeable: boolean;
};
domain: {
type: string;
collection: boolean;
writeable: boolean;
};
domains: {
type: string;
collection: boolean;
writeable: boolean;
};
timezone: {
type: string;
collection: boolean;
writeable: boolean;
};
architectures: {
type: string;
collection: boolean;
writeable: boolean;
};
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
administratorEmail: {
type: string;
collection: boolean;
writeable: boolean;
};
};
})[];
priority: number;
extends: {
name: string;
owners: string[];
priority: number;
extends: {
name: string;
owners: any[];
properties: {
owner: {
type: string;
collection: boolean;
writeable: boolean;
};
type: {
type: string;
collection: boolean;
writeable: boolean;
};
name: {
type: string;
collection: boolean;
identifier: boolean;
writeable: boolean;
};
description: {
type: string;
collection: boolean;
writeable: boolean;
};
priority: {
type: string;
collection: boolean;
writeable: boolean;
};
directory: {
type: string;
collection: boolean;
writeable: boolean;
};
packaging: {
type: string;
collection: boolean;
writeable: boolean;
};
tags: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
hosts: {
type: string;
collection: boolean;
writeable: boolean;
};
clusters: {
type: string;
collection: boolean;
writeable: boolean;
};
subnets: {
type: {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
type: string;
collection: boolean;
writeable: boolean;
identifier: boolean;
};
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
prefixLength: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
collection: boolean;
writeable: boolean;
};
country: {
type: string;
collection: boolean;
writeable: boolean;
};
domain: {
type: string;
collection: boolean;
writeable: boolean;
};
domains: {
type: string;
collection: boolean;
writeable: boolean;
};
timezone: {
type: string;
collection: boolean;
writeable: boolean;
};
architectures: {
type: string;
collection: boolean;
writeable: boolean;
};
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
administratorEmail: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
properties: {
locales: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
get location(): this;
preparePackages(dir: any): AsyncGenerator<{
dir: any;
sources: FileContentProvider[];
outputs: Set<typeof import("npm-pkgbuild").ARCH | typeof import("npm-pkgbuild").DOCKER>;
properties: {
name: string;
description: string;
access: string;
dependencies: {
jq: string;
};
provides: string[];
replaces: string[];
hooks: any;
};
}, void, unknown>;
}
import { Owner } from "./owner.mjs";
import { FileContentProvider } from "npm-pkgbuild";