UNPKG

@jd-data-limited/easy-fm

Version:

easy-fm is a Node.js module that allows you to interact with a [FileMaker database stored](https://www.claris.com/filemaker/) on a [FileMaker server](https://www.claris.com/filemaker/server/). This module interacts with your server using the [FileMaker

17 lines (16 loc) 690 B
import { type HostBase } from './HostBase.js'; import { type ApiResults } from '../models/apiResults.js'; import { type RequestInfo, type RequestInit, type Response } from 'node-fetch'; export interface DatabaseBase { host: HostBase; readonly name: string; endpoint: string; token: string; _apiRequestJSON: <T = unknown>(url: URL | RequestInfo, options?: RequestInit & { headers?: Record<string, string>; } | undefined, autoRelogin?: boolean) => Promise<ApiResults<T>>; _apiRequestRaw: (url: URL | RequestInfo, options?: RequestInit & { headers?: Record<string, string>; useCookieJar?: boolean; } | undefined) => Promise<Response>; }