the-moby-effect
Version:
Moby/Docker API client built using effect-ts
20 lines (18 loc) • 549 B
text/typescript
import * as Schema from "effect/Schema";
export class EventActor extends Schema.Class<EventActor>("EventActor")(
{
ID: Schema.String,
Attributes: Schema.NullOr(
Schema.Record({
key: Schema.String,
value: Schema.String,
})
),
},
{
identifier: "EventActor",
title: "events.Actor",
documentation:
"https://github.com/moby/moby/blob/a21b1a2d12e2c01542cb191eb526d7bfad0641e3/api/types/events/events.go#L102-L110",
}
) {}