0
mirror of https://github.com/valentineus/webos-service-types.git synced 2025-07-01 08:30:26 +03:00

Finished class "ActivityManager" structure

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
2020-02-20 16:15:14 +04:00
parent a56871131a
commit 4b7a00080c
2 changed files with 30 additions and 6 deletions

18
dist/types/index.d.ts vendored Normal file
View File

@ -0,0 +1,18 @@
export interface IActivitySpec {
readonly activity: IActivity;
readonly replace?: boolean;
readonly start?: boolean;
readonly subscribe?: boolean;
}
export interface IActivity {
readonly description: string;
readonly name: string;
readonly type?: IType;
}
export interface IType {
readonly explicit?: boolean;
readonly foreground?: boolean;
readonly persist?: boolean;
}