@hatsuboshi/types
    Preparing search index...

    Interface PItemListQuery

    Query parameter to list PItem.

    interface PItemListQuery {
        createdAfter?: Date;
        createdBefore?: Date;
        maxUnlockLevel?: number;
        minUnlockLevel?: number;
        missingLocale?: LocaleWithRomaji[];
        p?: number;
        plan?: (
            | "100-sense"
            | "110-logic"
            | "120-anomaly"
            | "000-free"
            | "-000-free"
            | "-100-sense"
            | "-110-logic"
            | "-120-anomaly"
        )[];
        pp?: number;
        q?: string;
        rarity?: (
            "200-r"
            | "300-sr"
            | "400-ssr"
            | "-200-r"
            | "-300-sr"
            | "-400-ssr"
        )[];
        sort?: (
            | "id"
            | "createdAt"
            | "updatedAt"
            | "name"
            | "-id"
            | "-createdAt"
            | "-updatedAt"
            | "-name"
            | "plan"
            | "rarity"
            | "source"
            | "unlockLevel"
            | "-plan"
            | "-rarity"
            | "-source"
            | "-unlockLevel"
        )[];
        source?: (
            | "010-support-card"
            | "100-other"
            | "-010-support-card"
            | "-100-other"
            | "000-p-idol"
            | "-000-p-idol"
        )[];
        updatedAfter?: Date;
        updatedBefore?: Date;
    }

    Hierarchy (View Summary)

    Index
    createdAfter?: Date

    Match objects created after this time, as an ISO 8601 timestamp.

    createdBefore?: Date

    Match objects created before this time, as an ISO 8601 timestamp.

    maxUnlockLevel?: number
    minUnlockLevel?: number
    missingLocale?: LocaleWithRomaji[]

    Match objects whose name is missing any of these locales. If missingLocale is set, q is ignored.

    p?: number

    The page number to retrieve. (1-indexed)

    1

    plan?: (
        | "100-sense"
        | "110-logic"
        | "120-anomaly"
        | "000-free"
        | "-000-free"
        | "-100-sense"
        | "-110-logic"
        | "-120-anomaly"
    )[]
    pp?: number

    The number of results to return per page.

    1

    100

    q?: string

    Match objects whose name (in any locale) contains this string (case-insensitive).

    200

    rarity?: ("200-r" | "300-sr" | "400-ssr" | "-200-r" | "-300-sr" | "-400-ssr")[]
    sort?: (
        | "id"
        | "createdAt"
        | "updatedAt"
        | "name"
        | "-id"
        | "-createdAt"
        | "-updatedAt"
        | "-name"
        | "plan"
        | "rarity"
        | "source"
        | "unlockLevel"
        | "-plan"
        | "-rarity"
        | "-source"
        | "-unlockLevel"
    )[]

    Fields to sort by, in order of priority. Prefix a field with - to sort descending, otherwise ascending.

    source?: (
        | "010-support-card"
        | "100-other"
        | "-010-support-card"
        | "-100-other"
        | "000-p-idol"
        | "-000-p-idol"
    )[]
    updatedAfter?: Date

    Match objects last updated after this time, as an ISO 8601 timestamp.

    updatedBefore?: Date

    Match objects last updated before this time, as an ISO 8601 timestamp.