@push.rocks/websetup
Version:
setup basic page properties
22 lines (21 loc) • 936 B
TypeScript
import { Tag } from './websetup.classes.tag.js';
import { TagManager } from './websetup.classes.tagmanager.js';
import * as plugins from './websetup.plugins.js';
export type TBaseLevelType = 'global' | 'base' | 'subpage';
export type TLevelState = 'enabled' | 'disabled';
export declare class TagLevel {
tagManagerRef: TagManager;
private titleStore;
set title(titleArg: string);
get title(): string;
type: TBaseLevelType;
tags: Tag[];
state: TLevelState;
constructor(tagManagerRefArg: TagManager, levelType: TBaseLevelType);
addTag(tagArg: Tag | Tag[]): void;
addCompanyInfo(companyDataArg: plugins.tsclass.business.ICompany): Promise<void>;
addNewsArticleInfo(articleArg: plugins.tsclass.content.IArticle): void;
addProductInfo(productArg: plugins.tsclass.saas.IProduct, companyArg: plugins.tsclass.business.ICompany): void;
enable(): Promise<void>;
disable(): Promise<void>;
}