add image to export adn fix gloabal for filemaker api
Some checks failed
CI / test-and-build (push) Has been cancelled

This commit is contained in:
2026-03-24 11:10:36 +01:00
parent c3bc34f36c
commit a06cc64589
5 changed files with 20 additions and 86 deletions

View File

@@ -1,3 +1,18 @@
// ---------------------------------------------------------------------------
// FileMaker global API
// ---------------------------------------------------------------------------
/** The FileMaker object injected by the runtime into web viewers. */
export interface FileMakerAPI {
PerformScript(script: string, parameter?: string): void
PerformScriptWithOption(script: string, parameter?: string, option?: ScriptOption): void
}
declare global {
/** Available only inside a FileMaker web viewer. Always guard with `typeof FileMaker !== 'undefined'`. */
const FileMaker: FileMakerAPI | undefined
}
// ---------------------------------------------------------------------------
// Script execution options
// ---------------------------------------------------------------------------