Fix declarations

This commit is contained in:
Adria Navarro 2025-01-08 14:29:28 +01:00
parent 10fca945d2
commit 95d3238d1e
2 changed files with 20 additions and 16 deletions

View File

@ -1 +1,3 @@
declare module "./helpers" {
export const cloneDeep: <T>(obj: T) => T
}

View File

@ -2,6 +2,7 @@ import { JsonFieldMetadata, QuerySchema } from "@budibase/types"
type Schema = Record<string, QuerySchema | string>
declare module "./json" {
export const getJSONArrayDatasourceSchema: (
tableSchema: Schema,
datasource: any
@ -19,3 +20,4 @@ export const convertJSONSchemaToTableSchema: (
prefixKeys?: string
}
) => Record<string, { type: string; name: string; prefixKeys: string }>
}