mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
3.4 KiB
3.4 KiB
Activity
Example Usage
import { Activity } from "@lukehagar/plexjs/models/operations";
let value: Activity = {};
Fields
| Field | Type | Required | Description |
|---|---|---|---|
cancellable |
boolean | ➖ | Indicates whether this activity can be cancelled |
context |
Record<string, any> | ➖ | An object with additional values |
progress |
number | ➖ | A progress percentage. A value of -1 means the progress is indeterminate |
response |
Record<string, any> | ➖ | An object with the response to the async opperation |
subtitle |
string | ➖ | A user-friendly sub-title for this activity |
title |
string | ➖ | A user-friendly title for this activity |
type |
string | ➖ | The type of activity |
userID |
number | ➖ | The user this activity belongs to |
uuid |
string | ➖ | The ID of the activity |