@wshcmx/types
Version:
<h1 align="center">WT Types</h1> <div align="center"> Typescript типы для WebSoft HCM.
40 lines (37 loc) • 1.15 kB
TypeScript
interface RemoteApplicationDocumentCredential {
id: XmlElem<number | null, CredentialCatalogDocumentTopElem>;
}
type RemoteApplicationDocumentTopElem = XmlTopElem & {
Doc: RemoteApplicationDocument;
/** ID */
id: XmlElem<number | null>;
/** Код */
code: XmlElem<string | null>;
/** Название */
name: XmlElem<string | null>;
/** APP ID */
app_id: XmlElem<string | null>;
credentials: XmlMultiElem<RemoteApplicationDocumentCredential | null>;
access: XmlElem<AccessBase | null>;
/** Категория */
category_id: XmlMultiElemObject<string | null, CategoryCatalogDocumentTopElem>;
/**
* Является системным
* @default false
*/
is_std: XmlElem<boolean>;
/**
* Измененный
* @default false
*/
changed: XmlElem<boolean>;
/** Комментарий */
comment: XmlElem<string | null>;
/** Информация об объекте */
doc_info: XmlElem<DocInfoBase | null>;
};
type RemoteApplicationDocument = XmlDocument & {
TopElem: RemoteApplicationDocumentTopElem;
remote_application: RemoteApplicationDocumentTopElem;
DocDesc(): string;
};