Fix imports

This commit is contained in:
Adria Navarro 2025-01-02 16:27:43 +01:00
parent b420fda524
commit 2b863cca61
11 changed files with 13 additions and 13 deletions

View File

@ -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"
/** /**

View File

@ -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

View File

@ -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) {

View File

@ -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 {

View File

@ -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) {

View File

@ -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"

View File

@ -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() {

View File

@ -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> {

View File

@ -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"

View File

@ -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 }

View File

@ -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"