-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.ts
More file actions
26 lines (22 loc) · 1.02 KB
/
global.ts
File metadata and controls
26 lines (22 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import type { ApplicationInterface } from "./src/types/ApplicationInterface";
import type { FileInputInterface } from "./src/types/FileInputInterface";
import type { FileInterface } from "./src/types/FileInterface";
import type { FileOutputInterface } from "./src/types/FileOutputInterface";
import type { IntentInterface } from "./src/types/IntentInterface";
import type { ModuleInterface } from "./src/types/ModuleInterface";
export {};
export type ModuleInterfaceToken = `$${string}`;
export type FileInterfaceToken = `$${string}File`;
export type FileInputInterfaceToken = `$${string}FileInputStream`;
export type FileOutputInterfaceToken = `$${string}FileOutputStream`;
export type MimeType = `${string}/${string}`;
declare global {
interface Window {
webui: ApplicationInterface;
[`$intent`]: IntentInterface;
[key: ModuleInterfaceToken]: ModuleInterface;
[key: FileInterfaceToken]: FileInterface;
[key: FileInputInterfaceToken]: FileInputInterface;
[key: FileOutputInterfaceToken]: FileOutputInterface;
}
}