@overlayed/app 1.3.11 → 1.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +9 -12
- package/dist/index.mjs +14 -8
- package/dist/siege.d.ts +258 -186
- package/dist/universal.d.ts +6 -9
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import * as _$arktype from "arktype";
|
|
2
1
|
import { Module, Type } from "arktype";
|
|
3
2
|
import EventEmitter$1 from "events";
|
|
4
3
|
import JSZip from "jszip";
|
|
5
|
-
import * as _$electron from "electron";
|
|
6
4
|
import { BrowserWindow, BrowserWindowConstructorOptions } from "electron";
|
|
7
5
|
import { CancellationToken, ProgressInfo, ProgressInfo as ProgressInfo$1, UpdateCheckResult, UpdateCheckResult as UpdateCheckResult$1, UpdateDownloadedEvent, UpdateInfo } from "electron-updater";
|
|
8
|
-
import * as _$arktype_internal_variants_object_ts0 from "arktype/internal/variants/object.ts";
|
|
9
6
|
import { KeyboardKeyEvent, MouseButtonEvent, RenderInterface, RenderInterface as RenderInterface$1, RenderWindow, RenderWindow as RenderWindow$1, RenderWindowConstructorOptions, RenderWindowConstructorOptions as RenderWindowConstructorOptions$1, VirtualKey, VirtualKey as VirtualKey$1, WindowEvent } from "@overlayed-gg/render-interface";
|
|
10
7
|
|
|
11
8
|
//#region ../utils/dist/index.d.ts
|
|
@@ -209,10 +206,10 @@ type KeybindCallbacks = {
|
|
|
209
206
|
down: KeybindDownCallback[];
|
|
210
207
|
up: KeybindUpCallback[];
|
|
211
208
|
};
|
|
212
|
-
declare const KeybindSchema:
|
|
209
|
+
declare const KeybindSchema: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
213
210
|
[x: string]: {
|
|
214
211
|
keys: string[];
|
|
215
|
-
mode: (In: "hold" | "toggle") =>
|
|
212
|
+
mode: (In: "hold" | "toggle") => import("arktype").Out<"hold" | "toggle">;
|
|
216
213
|
};
|
|
217
214
|
}, {}>;
|
|
218
215
|
type KeybindSchemaEntry = (typeof KeybindSchema.infer)[string];
|
|
@@ -397,21 +394,21 @@ declare class OverridesManager extends Manager {
|
|
|
397
394
|
//#region src/module.d.ts
|
|
398
395
|
declare function module(): {
|
|
399
396
|
readonly key: "universal";
|
|
400
|
-
readonly events:
|
|
397
|
+
readonly events: import("arktype").Module<{
|
|
401
398
|
event: {
|
|
402
399
|
game: "siege" | "tft";
|
|
403
|
-
type: "
|
|
400
|
+
type: "module_loaded";
|
|
404
401
|
creation_time: number;
|
|
405
402
|
content: {
|
|
406
|
-
|
|
403
|
+
game_version: string;
|
|
404
|
+
process_hash: string;
|
|
407
405
|
};
|
|
408
406
|
} | {
|
|
409
407
|
game: "siege" | "tft";
|
|
410
|
-
type: "
|
|
408
|
+
type: "logged_in";
|
|
411
409
|
creation_time: number;
|
|
412
410
|
content: {
|
|
413
|
-
|
|
414
|
-
process_hash: string;
|
|
411
|
+
account_id: string;
|
|
415
412
|
};
|
|
416
413
|
} | {
|
|
417
414
|
game: "siege" | "tft";
|
|
@@ -1098,7 +1095,7 @@ interface OverlayedOptions<TModule extends GameModule, TKeybind extends string,
|
|
|
1098
1095
|
* const electron = require("electron");
|
|
1099
1096
|
* ```
|
|
1100
1097
|
*/
|
|
1101
|
-
electron: typeof
|
|
1098
|
+
electron: typeof import("electron");
|
|
1102
1099
|
/**
|
|
1103
1100
|
* The application id, this can be found in the [Overlayed Dashboard](https://overlay.dev/settings/applications).
|
|
1104
1101
|
*/
|