the-moby-effect
Version:
Moby/Docker API client built using effect-ts
16 lines (14 loc) • 575 B
text/typescript
import * as Schema from "effect/Schema";
export class PluginPrivilege extends Schema.Class<PluginPrivilege>("PluginPrivilege")(
{
name: Schema.optional(Schema.String),
description: Schema.optional(Schema.String),
value: Schema.optionalWith(Schema.Array(Schema.String), { nullable: true }),
},
{
identifier: "PluginPrivilege",
title: "runtime.PluginPrivilege",
documentation:
"https://github.com/moby/moby/blob/7d861e889cd2214b38c8f1f3f997bf003c77739d/api/types/plugin_responses.go#L48-L54",
}
) {}