foo-webview-sdk
    Preparing search index...

    Interface TitleformatEvalFieldsSuccess

    Successful response from titleformat.evalFields.

    interface TitleformatEvalFieldsSuccess {
        infoAvailable?: boolean;
        path: string;
        success: true;
        [key: string]: string | boolean | undefined;
    }

    Indexable

    • [key: string]: string | boolean | undefined

      One entry per key of fields, holding the formatted text. Keys named success, path or infoAvailable are dropped because the response fields of those names take precedence. Keys named error or code are kept, so check success to tell a failure.

    Index
    infoAvailable?: boolean

    false under the same conditions as in titleformat.eval, so tag-derived values are untrustworthy. One flag covers the whole request. Absent when fields is empty.

    path: string

    The path that was evaluated.

    success: true

    Always true here; a failed call resolves with ApiFailure instead.