colab/change Type Aliases

index

Change

change

Change : { action: "textInsert"; change: ChangeMap["textInsert"];  } | { action: "textDelete"; change: ChangeMap["textDelete"];  } | { action: "counterUpdate"; change: ChangeMap["counterUpdate"];  } | { action: "update"; change: ChangeMap["update"];  } | { action: "delete"; change: ChangeMap["delete"];  } | { action: "insert"; change: ChangeMap["insert"];  }

KeyPath

key path is an array of path , use number to index into existing arrays i.e ['tasks',0, 'id] is same as tasks[0].id

KeyPath : string | number[]