wdpapi
Version:
51WORLD WdpApi is a set of programming interfaces developed by JavaScript that is responsible for negotiating between web pages and cloud rendering platforms. Supported by 51Cloud rendering platform, it enables the users to create any HTML5 UI element on
26 lines (25 loc) • 669 B
TypeScript
import { CoordType } from '../data-type';
/**
* @interface IMoveLinearType
* @param {Array<Record<string, any>>} objects
* @param {CoordType} location
* @param {number} time (optional)
*/
export interface IMoveLinearType {
objects: Array<Record<string, any>>;
location: CoordType;
time?: number;
}
/**
* @type {IMoveLinear}
* @alias Array<IMoveLinearType>
*/
export type IMoveLinear = Array<IMoveLinearType>;
/**
* @interface IMoveLinearTypePar
* @extends Pick<IMoveLinearType,'location'|'time'>
* @param {Array<string>} eids
*/
export interface IMoveLinearTypePar extends Pick<IMoveLinearType, 'location' | 'time'> {
eids: Array<string>;
}