UNPKG

@goteborgco/open-api-js-client

Version:

Official JavaScript client for the Göteborg & Co GraphQL API

19 lines (18 loc) 473 B
/** * Represents a taxonomy type in the system */ export declare class Taxonomy { readonly name: string; readonly description: string; readonly value: string; readonly types: string[]; constructor(data: any); /** * Get the list of content types this taxonomy is available for */ getTypes(): string[]; /** * Check if this taxonomy is available for a specific content type */ isAvailableFor(type: string): boolean; }