* Script prepared for injection
| 364 | * Script prepared for injection |
| 365 | */ |
| 366 | interface Script { |
| 367 | displayName: string; |
| 368 | /** -1 ID_BAD_REALM if the desired realm is PAGE which is not injectable */ |
| 369 | code: string | -1; |
| 370 | /** Omitted props are added in makeGmApiWrapper */ |
| 371 | gmi: Omit<VMScriptGMInfoObject, 'injectInto' | 'resources' | 'script' | 'scriptMetaStr'>; |
| 372 | id: number; |
| 373 | injectInto: VMScriptInjectInto; |
| 374 | key: { data: string, win: string }; |
| 375 | /** `resources` is still an object, converted later in makeGmApiWrapper */ |
| 376 | meta: VMScript['meta'] | VMScriptGMInfoScriptMeta; |
| 377 | metaStr: (string|number)[]; |
| 378 | pathMap: StringMap; |
| 379 | runAt?: RunAt; |
| 380 | values?: StringMap; |
| 381 | } |
| 382 | } |
| 383 | |
| 384 | declare interface VMRealmData { |
nothing calls this directly
no outgoing calls
no test coverage detected