@rnaga/wp-node
Version:
👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**
20 lines • 642 B
TypeScript
import { QueryUtil } from "./utils/query.util";
import type * as types from "../types";
export declare class Meta {
private queryUtil;
private table;
private id;
private _props;
constructor(queryUtil: QueryUtil, table: types.MetaTable, id: number, _props: Record<string, any>);
set(table: types.MetaTable, id: number): this;
setProps(props: Record<string, any>): void;
get<T = any>(key: string): Promise<T | undefined>;
private post;
private comment;
private site;
private blog;
private term;
private user;
props(): Promise<Record<string, any>>;
}
//# sourceMappingURL=meta.d.ts.map