UNPKG

@63pokupki/nodejs-common

Version:
40 lines (39 loc) 808 B
import { P63Context } from "../System/P63Context"; /** * Open Graph */ export interface Og { type: string; site_name: string; title: string; description: string; url: string; image: string; imageType: string; } /** * Конфиг */ export interface SeoConfigI { defaultTitle: string; defaultDescription: string; defaultKeywords: string; defaultOg: Og; } /** * Вывод сео заголовков и прочего */ export declare class SeoBase { protected url: string; protected ctx: P63Context; title: string; description: string; keywords: string; og: Og; conf: SeoConfigI; constructor(ctx: P63Context, conf: SeoConfigI); /** * Перезагрузить на дефолтные */ reload(): void; }