11// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
2+ import type { Classification } from "./Classification" ;
3+ import type { ClassifierSettings } from "./ClassifierSettings" ;
4+ import type { CrawlerSettings } from "./CrawlerSettings" ;
5+ import type { EntityName } from "./EntityName" ;
6+ import type { ExtractedEntity } from "./ExtractedEntity" ;
27import type { Link } from "./Link" ;
3- import { WebMetadata } from "./WebMetadata" ;
4- import type { TableRow } from "./TableRow" ;
58import type { ProjectSettings } from "./ProjectSettings" ;
6- import type { CrawlerSettings } from "./CrawlerSettings " ;
7- import type { ClassifierSettings } from "./ClassifierSettings " ;
9+ import type { TableRow } from "./TableRow " ;
10+ import type { WebMetadata } from "./WebMetadata " ;
811
12+ /**
13+ * All nodes contain a data payload.
14+ * APIPayload is the schema for this payload and contains the type of payload and the data.
15+ */
916export type APIPayload =
1017 | { type : "Link" ; data : Link }
1118 | { type : "WebMetadata" ; data : WebMetadata }
@@ -14,4 +21,7 @@ export type APIPayload =
1421 | { type : "TableRow" ; data : TableRow }
1522 | { type : "ProjectSettings" ; data : ProjectSettings }
1623 | { type : "CrawlerSettings" ; data : CrawlerSettings }
17- | { type : "ClassifierSettings" ; data : ClassifierSettings } ;
24+ | { type : "ClassifierSettings" ; data : ClassifierSettings }
25+ | { type : "Classification" ; data : Classification }
26+ | { type : "NamedEntitiesToExtract" ; data : Array < EntityName > }
27+ | { type : "ExtractedNamedEntities" ; data : Array < ExtractedEntity > } ;
0 commit comments