Export DataFetchMap

This commit is contained in:
Adria Navarro 2025-01-09 14:49:07 +01:00
parent 2159b9f93e
commit 7d9debd319
2 changed files with 8 additions and 8 deletions

View File

@ -1,18 +1,18 @@
import TableFetch from "./TableFetch.js" import TableFetch from "./TableFetch"
import ViewFetch from "./ViewFetch.js" import ViewFetch from "./ViewFetch"
import ViewV2Fetch from "./ViewV2Fetch.js" import ViewV2Fetch from "./ViewV2Fetch"
import QueryFetch from "./QueryFetch" import QueryFetch from "./QueryFetch"
import RelationshipFetch from "./RelationshipFetch" import RelationshipFetch from "./RelationshipFetch"
import NestedProviderFetch from "./NestedProviderFetch" import NestedProviderFetch from "./NestedProviderFetch"
import FieldFetch from "./FieldFetch" import FieldFetch from "./FieldFetch"
import JSONArrayFetch from "./JSONArrayFetch" import JSONArrayFetch from "./JSONArrayFetch"
import UserFetch from "./UserFetch.js" import UserFetch from "./UserFetch"
import GroupUserFetch from "./GroupUserFetch" import GroupUserFetch from "./GroupUserFetch"
import CustomFetch from "./CustomFetch" import CustomFetch from "./CustomFetch"
import QueryArrayFetch from "./QueryArrayFetch.js" import QueryArrayFetch from "./QueryArrayFetch"
import { APIClient } from "../api/types.js" import { APIClient } from "../api/types"
const DataFetchMap = { export const DataFetchMap = {
table: TableFetch, table: TableFetch,
view: ViewFetch, view: ViewFetch,
viewV2: ViewV2Fetch, viewV2: ViewV2Fetch,

View File

@ -1,5 +1,5 @@
export { createAPIClient } from "./api" export { createAPIClient } from "./api"
export { fetchData } from "./fetch" export { fetchData, DataFetchMap } from "./fetch"
export * as Constants from "./constants" export * as Constants from "./constants"
export * from "./stores" export * from "./stores"
export * from "./utils" export * from "./utils"