Fix imports
This commit is contained in:
parent
b420fda524
commit
2b863cca61
|
@ -1,12 +1,12 @@
|
||||||
import { API } from "api"
|
import { API } from "api"
|
||||||
import TableFetch from "@budibase/frontend-core/src/fetch/TableFetch.js"
|
import TableFetch from "@budibase/frontend-core/src/fetch/TableFetch"
|
||||||
import ViewFetch from "@budibase/frontend-core/src/fetch/ViewFetch.js"
|
import ViewFetch from "@budibase/frontend-core/src/fetch/ViewFetch"
|
||||||
import QueryFetch from "@budibase/frontend-core/src/fetch/QueryFetch.js"
|
import QueryFetch from "@budibase/frontend-core/src/fetch/QueryFetch.js"
|
||||||
import RelationshipFetch from "@budibase/frontend-core/src/fetch/RelationshipFetch.js"
|
import RelationshipFetch from "@budibase/frontend-core/src/fetch/RelationshipFetch.js"
|
||||||
import NestedProviderFetch from "@budibase/frontend-core/src/fetch/NestedProviderFetch.js"
|
import NestedProviderFetch from "@budibase/frontend-core/src/fetch/NestedProviderFetch.js"
|
||||||
import FieldFetch from "@budibase/frontend-core/src/fetch/FieldFetch.js"
|
import FieldFetch from "@budibase/frontend-core/src/fetch/FieldFetch.js"
|
||||||
import JSONArrayFetch from "@budibase/frontend-core/src/fetch/JSONArrayFetch.js"
|
import JSONArrayFetch from "@budibase/frontend-core/src/fetch/JSONArrayFetch.js"
|
||||||
import ViewV2Fetch from "@budibase/frontend-core/src/fetch/ViewV2Fetch.js"
|
import ViewV2Fetch from "@budibase/frontend-core/src/fetch/ViewV2Fetch"
|
||||||
import QueryArrayFetch from "@budibase/frontend-core/src/fetch/QueryArrayFetch"
|
import QueryArrayFetch from "@budibase/frontend-core/src/fetch/QueryArrayFetch"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
|
|
||||||
export default class CustomFetch extends DataFetch {
|
export default class CustomFetch extends DataFetch {
|
||||||
// Gets the correct Budibase type for a JS value
|
// Gets the correct Budibase type for a JS value
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
|
|
||||||
export default class FieldFetch extends DataFetch {
|
export default class FieldFetch extends DataFetch {
|
||||||
async getDefinition(datasource) {
|
async getDefinition(datasource) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
import { TableNames } from "../constants"
|
import { TableNames } from "../constants"
|
||||||
|
|
||||||
export default class GroupUserFetch extends DataFetch {
|
export default class GroupUserFetch extends DataFetch {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
|
|
||||||
export default class NestedProviderFetch extends DataFetch {
|
export default class NestedProviderFetch extends DataFetch {
|
||||||
async getDefinition(datasource) {
|
async getDefinition(datasource) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
import { Helpers } from "@budibase/bbui"
|
import { Helpers } from "@budibase/bbui"
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
|
|
||||||
export default class RelationshipFetch extends DataFetch {
|
export default class RelationshipFetch extends DataFetch {
|
||||||
async getData() {
|
async getData() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
import { SortOrder, Table, UITable } from "@budibase/types"
|
import { SortOrder, Table, UITable } from "@budibase/types"
|
||||||
|
|
||||||
export default class TableFetch extends DataFetch<UITable, Table> {
|
export default class TableFetch extends DataFetch<UITable, Table> {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
import { TableNames } from "../constants"
|
import { TableNames } from "../constants"
|
||||||
import { utils } from "@budibase/shared-core"
|
import { utils } from "@budibase/shared-core"
|
||||||
import { BasicOperator, Table } from "@budibase/types"
|
import { BasicOperator, Table } from "@budibase/types"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { Table, View } from "@budibase/types"
|
import { Table, View } from "@budibase/types"
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
|
|
||||||
type ViewV1 = View & { name: string }
|
type ViewV1 = View & { name: string }
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { SortOrder, UIView, ViewV2, ViewV2Type } from "@budibase/types"
|
import { SortOrder, UIView, ViewV2, ViewV2Type } from "@budibase/types"
|
||||||
import DataFetch from "./DataFetch.js"
|
import DataFetch from "./DataFetch"
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
import { helpers } from "@budibase/shared-core"
|
import { helpers } from "@budibase/shared-core"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue