the-moby-effect
Version:
Moby/Docker API client built using effect-ts
15 lines (13 loc) • 557 B
text/typescript
import * as Schema from "effect/Schema";
export class SwarmServiceCreateResponse extends Schema.Class<SwarmServiceCreateResponse>("SwarmServiceCreateResponse")(
{
ID: Schema.optional(Schema.String),
Warnings: Schema.NullOr(Schema.Array(Schema.String)),
},
{
identifier: "SwarmServiceCreateResponse",
title: "swarm.ServiceCreateResponse",
documentation:
"https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/swarm/service_create_response.go#L6-L20",
}
) {}