Sanity Library Reference Docs
    Preparing search index...

    Variable useApplicationsConst

    useApplications: <Include extends ApplicationInclude = never>(
        options: ApplicationsOptions<Include>,
    ) => FetcherHookResult<ApplicationsResponse<Include>> = ...

    Returns the applications matching the given options.

    The hook suspends until the first fetch succeeds, so data is always present. The include tokens you pass shape data.data: each requested token adds its field, and omitted ones are absent from the type.

    Type declaration