Function: deleteEntityThread()

deleteEntityThread(args: { entity: LixEntityCanonical | LixEntity; lix: Pick<Lix, "db">; thread: { id: string; }; versionId?: string; }): Promise<void>

Deletes a mapping between an entity and a thread.

Example

await deleteEntityThread({
  lix,
  entity: {
    entity_id: "para_123",
    schema_key: "markdown_paragraph",
    file_id: "README.md"
  },
  thread: { id: "thread_001" }
});

Parameters

ParameterType
args{ entity: LixEntityCanonical | LixEntity; lix: Pick<Lix, "db">; thread: { id: string; }; versionId?: string; }
args.entityLixEntityCanonical | LixEntity
args.lixPick<Lix, "db">
args.thread{ id: string; }
args.thread.idstring
args.versionId?string

Returns

Promise<void>