@orfeas126/box-ui-elements
Version:
Box UI Elements
15 lines (14 loc) • 637 B
TypeScript
import type { PaginationQueryInput } from '@box/metadata-editor';
export declare const metadataTaxonomyFetcher: (api: API, fileId: string, scope: string, templateKey: string, fieldKey: string, level: number, options: PaginationQueryInput) => Promise<{
options: any;
marker: string;
}>;
type HydratedMetadataTaxonomyLevel = {
level: number;
levelName: string;
description: string;
levelValue: string;
id: string;
};
export declare const metadataTaxonomyNodeAncestorsFetcher: (api: API, fileID: string, scope: string, taxonomyKey: string, nodeID: string) => Promise<HydratedMetadataTaxonomyLevel[]>;
export {};