Function isPackageManifestPayload
- isPackageManifestPayload(
x?: unknown,
): x is DeepRestrictToStringKeys<
{
description?: string;
modules?: {
[key: string]: {
config: {
accountPath?: string;
features?: string[];
labels?: { [key: string]: undefined
| string };
language?: string;
name: string;
os?: string;
schema: string;
};
description?: string;
lazyStart?: boolean;
status?: {
address: Lowercase<string>;
children?: { [key: Lowercase<string>]: null | string };
};
};
};
nodes: {
config: {
accountPath?: string;
features?: string[];
labels?: { [key: string]: undefined
| string };
language?: string;
name: string;
os?: string;
schema: string;
};
description?: string;
lazyStart?: boolean;
modules?: {
private?: (
| string
| {
config: {
accountPath?: ...;
features?: ...;
labels?: ...;
language?: ...;
name: ...;
os?: ...;
schema: ...;
};
description?: (...)
| (...);
lazyStart?: (...) | (...) | (...);
status?: (...) | (...);
}
)[];
public?: (
| string
| {
config: {
accountPath?: ...;
features?: ...;
labels?: ...;
language?: ...;
name: ...;
os?: ...;
schema: ...;
};
description?: (...)
| (...);
lazyStart?: (...) | (...) | (...);
status?: (...) | (...);
}
)[];
};
status?: {
address: Lowercase<string>;
children?: { [key: Lowercase<string>]: null | string };
};
}[];
schema: "network.xyo.manifest.package";
},
> Returns x is DeepRestrictToStringKeys<
{
description?: string;
modules?: {
[key: string]: {
config: {
accountPath?: string;
features?: string[];
labels?: { [key: string]: undefined
| string };
language?: string;
name: string;
os?: string;
schema: string;
};
description?: string;
lazyStart?: boolean;
status?: {
address: Lowercase<string>;
children?: { [key: Lowercase<string>]: null | string };
};
};
};
nodes: {
config: {
accountPath?: string;
features?: string[];
labels?: { [key: string]: undefined
| string };
language?: string;
name: string;
os?: string;
schema: string;
};
description?: string;
lazyStart?: boolean;
modules?: {
private?: (
| string
| {
config: {
accountPath?: ...;
features?: ...;
labels?: ...;
language?: ...;
name: ...;
os?: ...;
schema: ...;
};
description?: (...)
| (...);
lazyStart?: (...) | (...) | (...);
status?: (...) | (...);
}
)[];
public?: (
| string
| {
config: {
accountPath?: ...;
features?: ...;
labels?: ...;
language?: ...;
name: ...;
os?: ...;
schema: ...;
};
description?: (...)
| (...);
lazyStart?: (...) | (...) | (...);
status?: (...) | (...);
}
)[];
};
status?: {
address: Lowercase<string>;
children?: { [key: Lowercase<string>]: null | string };
};
}[];
schema: "network.xyo.manifest.package";
},
>