Export DataFetchMap
This commit is contained in:
parent
2159b9f93e
commit
7d9debd319
|
@ -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,
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue