Sources#

Get source#

Query function#

Use the getSourceQuery function to get the query for fetching the source for a given path and field.

Hook#

Use the useGetSource hook to get the source for a given path and field.

Parameters#

  • path: string

    • Required: Yes

  • field: string

    • Required: Yes