@wshcmx/types
Version:
<h1 align="center">WT Types</h1> <div align="center"> Typescript типы для WebSoft HCM.
61 lines (56 loc) • 1.98 kB
TypeScript
interface AdminConfigurationDocumentFuncBlockSectionApplication {
application_id: XmlElem<number | null, ApplicationCatalogDocumentTopElem>;
code: XmlElem<string | null>;
name: XmlElem<string | null>;
comment: XmlElem<string | null>;
resource_id: XmlElem<string | null, ResourceCatalogDocumentTopElem>;
color: XmlElem<string | null>;
}
interface AdminConfigurationDocumentFuncBlockSection {
id: XmlElem<string | null>;
name: XmlElem<string | null>;
color: XmlElem<string | null>;
applications: XmlMultiElem<AdminConfigurationDocumentFuncBlockSectionApplication | null>;
}
interface AdminConfigurationDocumentFuncBlock {
id: XmlElem<string | null>;
name: XmlElem<string | null>;
resource_id: XmlElem<string | null, ResourceCatalogDocumentTopElem>;
/** Комментарий */
comment: XmlElem<string | null>;
min_height: XmlElem<number | null>;
width: XmlElem<number | null>;
sections: XmlMultiElem<AdminConfigurationDocumentFuncBlockSection | null>;
}
type AdminConfigurationDocumentTopElem = XmlTopElem &
ObjectCodeNameBase & {
Doc: AdminConfigurationDocument;
func_blocks: XmlMultiElem<AdminConfigurationDocumentFuncBlock | null>;
/** Комментарий */
comment: XmlElem<string | null>;
/** Информация об объекте */
doc_info: XmlElem<DocInfoBase | null>;
/** Доступ */
access: XmlElem<AccessDocBase | null>;
/** Описание */
desc: XmlElem<string | null>;
/** @temp */
view: XmlElem<DescBase | null>;
/**
* Измененный
* @default false
*/
changed: XmlElem<boolean>;
/**
* Является системным
* @default false
*/
is_std: XmlElem<boolean>;
/** Категория */
role_id: XmlMultiElemObject<number | null, RoleCatalogDocumentTopElem>;
};
type AdminConfigurationDocument = XmlDocument & {
TopElem: AdminConfigurationDocumentTopElem;
admin_configuration: AdminConfigurationDocumentTopElem;
DocDesc(): string;
};