Created
May 7, 2017 18:55
-
-
Save Dok11/e6d24b5e199028ffc3f782b6bd1c2e62 to your computer and use it in GitHub Desktop.
TypeScript class for Bitrix image from \CFile::GetFileArray();
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Интерфейс картинок из бекенда битрикса. | |
* Требует доработки на бекенде, т.к. по умолчанию битрикс всё возвращает | |
* строками | |
*/ | |
export class BxImage { | |
ID: number; | |
TIMESTAMP_X: string; | |
MODULE_ID: string; | |
HEIGHT: number; | |
WIDTH: number; | |
FILE_SIZE: number; | |
CONTENT_TYPE: string; | |
SUBDIR: string; | |
FILE_NAME: string; | |
ORIGINAL_NAME: string; | |
DESCRIPTION: string; | |
HANDLER_ID: string; | |
EXTERNAL_ID: string; | |
SRC: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment