idea-toolbox
Version:
IDEA's utility functions
35 lines (34 loc) • 888 B
TypeScript
import { Resource } from './resource.model';
import { epochDateTime } from './epoch';
/**
* A Resource Center's resource attached to other Objects.
*/
export declare class RCAttachedResource extends Resource {
/**
* The id of the resource.
*/
resourceId: string;
/**
* The folder of the resource.
*/
folderId: string;
/**
* The name of the resource. This can be changed when attaching to the entity.
*/
name: string;
/**
* The original name of the file.
*/
originalName: string;
/**
* The format of the resource. (e.g. 'jpg', 'pdf').
*/
format: string;
/**
* Timestamp of the latest version of the resource at the time it was attached to the entity.
*/
version: epochDateTime;
load(x: any): void;
safeLoad(newData: any, safeData: any): void;
validate(): string[];
}