UNPKG

the-moby-effect

Version:
19 lines 1.13 kB
import * as Schema from "effect/Schema"; import * as SwarmClusterInfo from "./SwarmClusterInfo.generated.ts"; import * as SwarmPeer from "./SwarmPeer.generated.ts"; declare const SwarmInfo_base: Schema.Class<SwarmInfo, Schema.Struct<{ readonly NodeID: Schema.brand<Schema.String, "NodeId">; readonly NodeAddr: Schema.String; readonly LocalNodeState: Schema.Literals<readonly ["inactive", "pending", "active", "error", "locked"]>; readonly ControlAvailable: Schema.Boolean; readonly Error: Schema.String; readonly RemoteManagers: Schema.NullOr<Schema.$Array<Schema.NullOr<typeof SwarmPeer.SwarmPeer>>>; readonly Nodes: Schema.optional<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>; readonly Managers: Schema.optional<Schema.decodeTo<Schema.BigInt, Schema.String, never, never>>; readonly Cluster: Schema.optional<Schema.NullOr<typeof SwarmClusterInfo.SwarmClusterInfo>>; readonly Warnings: Schema.optional<Schema.NullOr<Schema.$Array<Schema.String>>>; }>, {}>; export declare class SwarmInfo extends SwarmInfo_base { } export {}; //# sourceMappingURL=SwarmInfo.generated.d.ts.map