@rnaga/wp-node
Version:
👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**
23 lines • 737 B
TypeScript
import { z } from "zod";
import { Config } from "../config";
import * as val from "../validators";
import { Components } from "./components";
import type * as types from "../types";
import { Logger } from "./logger";
type Props = z.infer<typeof val.config.config>["taxonomy"]["settings"][string] & {
default_term: number;
};
export declare class Taxonomy {
#private;
private config;
private components;
private key;
constructor(config: Config, components: Components, logger: Logger, key: string);
get isDefault(): boolean;
get name(): types.TaxonomyName;
get props(): Props | undefined;
withProps(props: Partial<Props>): this;
private init;
}
export {};
//# sourceMappingURL=taxonomy.d.ts.map