Skip to content

Interface: Dataset

Read access to compiled data. The in-memory builder dataset, the SQLite offline client and the remote shard client all implement this, and all share the engine below, which is what keeps their results identical.

aliasGrams(bucket): Promise<Record<string, string[]>>

One bucket of the trigram set for fuzzy matching ({} when empty).

number

Promise<Record<string, string[]>>


aliasShard(prefix): Promise<AliasEntry[]>

One prefix shard of the alias index ([] when there is none), as shardAliasIndex splits it.

string

Promise<AliasEntry[]>


findWorkIds(provider, providerId): Promise<string[]>

Work ids carrying this provider ID, sorted ascending.

"anidb" | "anilist" | "mal" | "kitsu" | "tvdb_show" | "tmdb_show" | "tmdb_movie" | "imdb"

string

Promise<string[]>


getSequence(id): Promise<SequenceRecord | undefined>

string

Promise<SequenceRecord | undefined>


getWork(id): Promise<WorkRecord | undefined>

string

Promise<WorkRecord | undefined>


groups(): Promise<GroupRecord[]>

Every release group, sorted by id.

Promise<GroupRecord[]>


meta(): Promise<Meta>

Promise<Meta>

This product uses the TMDB API but is not endorsed or certified by TMDB.