Remote / foldkit-remote

ShownBy

const · packages/remote/src/why.ts:18

const ShownBy: TaggedUnion<{
  readonly Write: {
    readonly requestId: Schema.String
    readonly mutation: Schema.OptionFromNullOr<Schema.String>
  }
  readonly Overlay: { readonly id: Schema.String }
  readonly Live: { readonly cursor: Schema.String }
}>

Its type

type ShownBy = typeof ShownBy.Type

What shows something the server has not said: a write, an overlay, or a live event.

In the guides