@transreport/pauk-staff-api
    Preparing search index...

    Variable getGetJourneyLegsQueryOptionsConst

    getGetJourneyLegsQueryOptions: <
        TData = Awaited<ReturnType<typeof getJourneyLegs>>,
        TError = unknown,
    >(
        params?: GetJourneyLegsParams,
        options?: {
            query?: Partial<
                UseQueryOptions<
                    Awaited<ReturnType<typeof getJourneyLegs>>,
                    TError,
                    TData,
                >,
            >;
            request?: SecondParameter<typeof apiClientMutator>;
        },
    ) => UseQueryOptions<
        Awaited<ReturnType<typeof getJourneyLegs>>,
        TError,
        TData,
    > & { queryKey: DataTag<QueryKey, TData, TError> }

    Type Declaration

      • <TData = Awaited<ReturnType<typeof getJourneyLegs>>, TError = unknown>(
            params?: GetJourneyLegsParams,
            options?: {
                query?: Partial<
                    UseQueryOptions<
                        Awaited<ReturnType<typeof getJourneyLegs>>,
                        TError,
                        TData,
                    >,
                >;
                request?: SecondParameter<typeof apiClientMutator>;
            },
        ): UseQueryOptions<
            Awaited<ReturnType<typeof getJourneyLegs>>,
            TError,
            TData,
        > & { queryKey: DataTag<QueryKey, TData, TError> }
      • Type Parameters

        Parameters

        • Optionalparams: GetJourneyLegsParams
        • Optionaloptions: {
              query?: Partial<
                  UseQueryOptions<
                      Awaited<ReturnType<typeof getJourneyLegs>>,
                      TError,
                      TData,
                  >,
              >;
              request?: SecondParameter<typeof apiClientMutator>;
          }

        Returns UseQueryOptions<Awaited<ReturnType<typeof getJourneyLegs>>, TError, TData> & {
            queryKey: DataTag<QueryKey, TData, TError>;
        }