Primitives / foldkit-primitives/observers

Mutated

const · packages/primitives/src/observers/mutation.ts:4

const Mutated: Schema.TaggedStruct<
  'Mutated',
  {
    readonly type: Schema.Literals<
      readonly ['childList', 'attributes', 'characterData']
    >
    readonly added: Schema.$Array<Schema.String>
    readonly removed: Schema.$Array<Schema.String>
    readonly attribute: Schema.NullOr<Schema.String>
  }
>

Its type

type Mutated = typeof Mutated.Type