Metakit / @doeixd/metakit/artifact

PortableOpRef

const · packages/metakit/src/artifactSchema.ts:109

const PortableOpRef: Schema.Union<
  readonly [
    Schema.TaggedStruct<'Core', { readonly id: Schema.String }>,
    Schema.TaggedStruct<
      'Foreign',
      { readonly id: Schema.String; readonly version: Schema.Int }
    >,
  ]
>

Its type

type PortableOpRef = Schema.Schema.Type<typeof PortableOpRef>