Interface Props<TQuerySchema, TResponseSchema>

Props for the useSourceQuery hook.

interface Props<TQuerySchema, TResponseSchema> {
    store: Store<TQuerySchema>;
    withSourceQuery: IWithSourceQuery<TQuerySchema, TResponseSchema>;
}

Type Parameters

  • TQuerySchema extends QuerySchema<FilterSchema, OrderBySchema>

    Query schema.

  • TResponseSchema extends WithIdentitySchema

    Response schema.

Hierarchy

Properties

store: Store<TQuerySchema>

Query store used by this hook

withSourceQuery: IWithSourceQuery<TQuerySchema, TResponseSchema>

Query used to fetch data.