mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
6.0 KiB
6.0 KiB
GetRecentlyAddedSort
Example Usage
import { GetRecentlyAddedSort } from "@lukehagar/plexjs/sdk/models/operations";
let value: GetRecentlyAddedSort = {
default: "asc",
active: false,
descKey: "titleSort:desc",
firstCharacterKey: "/library/sections/2/firstCharacter",
key: "titleSort",
title: "Title",
};
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
default |
string | ➖ | N/A | asc |
active |
boolean | ➖ | N/A | false |
activeDirection |
operations.GetRecentlyAddedActiveDirection | ➖ | The direction of the sort. Can be either asc or desc. |
asc |
defaultDirection |
operations.GetRecentlyAddedDefaultDirection | ➖ | The direction of the sort. Can be either asc or desc. |
asc |
descKey |
string | ➖ | N/A | titleSort:desc |
firstCharacterKey |
string | ➖ | N/A | /library/sections/2/firstCharacter |
key |
string | ✔️ | N/A | titleSort |
title |
string | ✔️ | N/A | Title |