Metakit / @doeixd/metakit/artifact

PortableSlot

const · packages/metakit/src/bundle.ts:49

const PortableSlot: Schema.Struct<{
  readonly path: Schema.$Array<Schema.String>
  readonly kind: Schema.Literals<readonly ['int', 'bool', 'text']>
  readonly nullable: Schema.Boolean
  readonly literals: Schema.optionalKey<Schema.$Array<Schema.String>>
}>

Its type

type PortableSlot = typeof PortableSlot.Type

One path a bundle reads: the host supplies one value of it per call.