mirror of
https://github.com/valentineus/webos-service-types.git
synced 2025-04-28 00:41:24 +03:00
Finished class "Message" structure
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
c74e8da089
commit
a56871131a
35
dist/message.d.ts
vendored
Normal file
35
dist/message.d.ts
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
import { ActivityManager } from "./activity-manager";
|
||||
import { Service } from "./service";
|
||||
|
||||
export declare class Message {
|
||||
// @todo Need to "palmbus"
|
||||
public constructor(message: any, handle: any, activityManager: ActivityManager, service: Service);
|
||||
|
||||
public readonly activityManager: ActivityManager;
|
||||
|
||||
public readonly category: string;
|
||||
|
||||
// @todo Need to "palmbus"
|
||||
public readonly handle: any;
|
||||
|
||||
public readonly isSubscription: boolean;
|
||||
|
||||
public readonly ls2Message: any;
|
||||
|
||||
// @todo Need to "palmbus"
|
||||
public readonly method: string;
|
||||
|
||||
public readonly payload: Record<string, any>;
|
||||
|
||||
public readonly sender: string;
|
||||
|
||||
public readonly service: Service;
|
||||
|
||||
public readonly token: string;
|
||||
|
||||
public readonly uniqueToken: string;
|
||||
|
||||
public cancel(response: Record<string, any>): void;
|
||||
|
||||
public respond(response: Record<string, any>): boolean;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user