@wshcmx/types
Version:
<h1 align="center">WT Types</h1> <div align="center"> Typescript типы для WebSoft HCM.
49 lines (46 loc) • 1.38 kB
TypeScript
interface BannerDocumentView extends DescBase {
web_img_name: XmlElem<string | null>;
temp_url: XmlElem<string | null>;
}
type BannerDocumentTopElem = XmlTopElem &
AdminAccessBase & {
Doc: BannerDocument;
/** Код */
code: XmlElem<string | null>;
/** Название */
name: XmlElem<string | null>;
/**
* Тип
* @default img
*/
type: XmlElem<string>;
/** Зона */
zone: XmlElem<string | null>;
/** Адрес картинки */
img_url: XmlElem<string | null>;
/** Адрес перехода */
url: XmlElem<string | null>;
/** HTML текст */
html_text: XmlElem<string | null>;
/** Дата начала показа */
start_date: XmlElem<Date | null>;
/** Дата окончания показа */
finish_date: XmlElem<Date | null>;
/** Rich текст */
desc: XmlElem<string | null>;
/** Комментарий */
comment: XmlElem<string | null>;
/** Информация об объекте */
doc_info: XmlElem<DocInfoBase | null>;
/** Доступ */
access: XmlElem<AccessDocBase | null>;
/** @temp */
view: XmlElem<BannerDocumentView | null>;
/** Категория */
role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
};
type BannerDocument = XmlDocument & {
TopElem: BannerDocumentTopElem;
banner: BannerDocumentTopElem;
DocDesc(): string;
};