@wordpress/editor
Version:
Enhanced block editor for WordPress posts.
44 lines • 1.16 kB
TypeScript
declare const _default: {
name: string;
getValues({ select, context, bindings, clientId }: {
select: any;
context: any;
bindings: any;
clientId: any;
}): {};
setValues({ dispatch, context, bindings, clientId, select }: {
dispatch: any;
context: any;
bindings: any;
clientId: any;
select: any;
}): false | undefined;
canUserEditValue({ select, context }: {
select: any;
context: any;
}): boolean;
getFieldsList({ context, select }: {
context: any;
select: any;
}): ({
label: import("@wordpress/i18n").TranslatableText<"Post Date">;
args: {
field: string;
};
type: string;
} | {
label: import("@wordpress/i18n").TranslatableText<"Post Modified Date">;
args: {
field: string;
};
type: string;
} | {
label: import("@wordpress/i18n").TranslatableText<"Post Link">;
args: {
field: string;
};
type: string;
})[];
};
export default _default;
//# sourceMappingURL=post-data.d.ts.map