@datalayer/core
Version:
**Datalayer Core**
26 lines (25 loc) • 571 B
TypeScript
export declare class Inbound implements IInbound {
id: string;
subType: string;
handle: string;
payloadJson: string;
creationDate?: Date;
lastUpdateDate?: Date;
constructor(u: any);
}
/**
* Convert the raw user object to {@link IInbound}.
*
* @param u Raw user object from DB
* @returns Inbound
*/
export declare function asInbound(u: any): IInbound;
export type IInbound = {
id: string;
subType: string;
handle: string;
payloadJson: string;
creationDate?: Date;
lastUpdateDate?: Date;
};
export default IInbound;