Files
speckle-server/packages/dui3/lib/bridge/definitions/index.ts
T
2023-07-23 18:48:36 +01:00

10 lines
303 B
TypeScript

/**
* Defines the expected contract of the host application bound object.
*/
export type IRawBridge = {
GetBindingsMethodNames: () => Promise<string[]>
RunMethod: (methodName: string, args: string) => Promise<string>
ShowDevTools: () => Promise<void>
OpenUrl: (url: string) => Promise<void>
}