the-moby-effect
Version:
Moby/Docker API client built using effect-ts
31 lines • 1.11 kB
TypeScript
import * as Schema from "effect/Schema";
import * as MobySchemas from "../schemas/index.js";
declare const Port_base: Schema.Class<Port, {
IP: Schema.optional<MobySchemas.AddressSchemas.$Address>;
PrivatePort: MobySchemas.PortSchemas.$Port;
PublicPort: Schema.optional<MobySchemas.PortSchemas.$Port>;
Type: typeof Schema.String;
}, Schema.Struct.Encoded<{
IP: Schema.optional<MobySchemas.AddressSchemas.$Address>;
PrivatePort: MobySchemas.PortSchemas.$Port;
PublicPort: Schema.optional<MobySchemas.PortSchemas.$Port>;
Type: typeof Schema.String;
}>, never, {
readonly Type: string;
} & {
readonly IP?: {
readonly family: "ipv4";
readonly ip: MobySchemas.IPv4Schemas.IPv4Brand;
} | {
readonly family: "ipv6";
readonly ip: MobySchemas.IPv6Schemas.IPv6Brand;
} | undefined;
} & {
readonly PrivatePort: MobySchemas.PortSchemas.PortBrand;
} & {
readonly PublicPort?: MobySchemas.PortSchemas.PortBrand | undefined;
}, {}, {}>;
export declare class Port extends Port_base {
}
export {};
//# sourceMappingURL=Port.generated.d.ts.map