omegga 1.0.8 → 1.0.9
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/plugin.d.ts +1 -1
- package/dist/util/index.d.ts +2 -2
- package/dist/util/time.d.ts +1 -1
- package/package.json +2 -2
- package/templates/safe-ts/omegga.d.ts +2 -2
package/dist/plugin.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare const _OMEGGA_UTILS_IMPORT: {
|
|
|
49
49
|
time: {
|
|
50
50
|
parseDuration: typeof import("./util/time").parseDuration;
|
|
51
51
|
parseBrickadiaTime: typeof import("./util/time").parseBrickadiaTime;
|
|
52
|
-
debounce: (<T_1 extends (...args: any) => any>(func: T_1, wait: number, options
|
|
52
|
+
debounce: (<T_1 extends (...args: any) => any>(func: T_1, wait: number, options?: import("./util/time").DebounceSettingsLeading) => import("./util/time").DebouncedFuncLeading<T_1>) | (<T_2 extends (...args: any) => any>(func: T_2, wait?: number, options?: import("./util/time").DebounceSettings) => import("./util/time").DebouncedFunc<T_2>);
|
|
53
53
|
};
|
|
54
54
|
map: {
|
|
55
55
|
DEFAULT_MAPS: {
|
package/dist/util/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ import { parseDuration, parseBrickadiaTime } from './time';
|
|
|
46
46
|
declare const time: {
|
|
47
47
|
parseDuration: typeof parseDuration;
|
|
48
48
|
parseBrickadiaTime: typeof parseBrickadiaTime;
|
|
49
|
-
debounce: (<T extends (...args: any) => any>(func: T, wait: number, options
|
|
49
|
+
debounce: (<T extends (...args: any) => any>(func: T, wait: number, options?: import("./time").DebounceSettingsLeading) => import("./time").DebouncedFuncLeading<T>) | (<T_1 extends (...args: any) => any>(func: T_1, wait?: number, options?: import("./time").DebounceSettings) => import("./time").DebouncedFunc<T_1>);
|
|
50
50
|
};
|
|
51
51
|
import { brn2n, n2brn } from './map';
|
|
52
52
|
declare const map: {
|
|
@@ -129,7 +129,7 @@ declare const _default: {
|
|
|
129
129
|
time: {
|
|
130
130
|
parseDuration: typeof parseDuration;
|
|
131
131
|
parseBrickadiaTime: typeof parseBrickadiaTime;
|
|
132
|
-
debounce: (<T_1 extends (...args: any) => any>(func: T_1, wait: number, options
|
|
132
|
+
debounce: (<T_1 extends (...args: any) => any>(func: T_1, wait: number, options?: import("./time").DebounceSettingsLeading) => import("./time").DebouncedFuncLeading<T_1>) | (<T_2 extends (...args: any) => any>(func: T_2, wait?: number, options?: import("./time").DebounceSettings) => import("./time").DebouncedFunc<T_2>);
|
|
133
133
|
};
|
|
134
134
|
map: {
|
|
135
135
|
DEFAULT_MAPS: {
|
package/dist/util/time.d.ts
CHANGED
|
@@ -34,6 +34,6 @@ export interface DebounceSettings {
|
|
|
34
34
|
export interface DebounceSettingsLeading extends DebounceSettings {
|
|
35
35
|
leading: true;
|
|
36
36
|
}
|
|
37
|
-
export declare const debounce: (<T extends (...args: any) => any>(func: T, wait: number | undefined, options
|
|
37
|
+
export declare const debounce: (<T extends (...args: any) => any>(func: T, wait: number | undefined, options?: DebounceSettingsLeading) => DebouncedFuncLeading<T>) | (<T extends (...args: any) => any>(func: T, wait?: number, options?: DebounceSettings) => DebouncedFunc<T>);
|
|
38
38
|
export declare function parseDuration(str: string): number;
|
|
39
39
|
export declare function parseBrickadiaTime(str: string): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omegga",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Brickadia server installer, manager, wrapper, configurator, and automator",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@swc/core": "^1.2.165",
|
|
11
11
|
"bcrypt": "^5.0.0",
|
|
12
12
|
"body-parser": "^1.19.0",
|
|
13
|
-
"brs-js": "^2.0.
|
|
13
|
+
"brs-js": "^2.0.11",
|
|
14
14
|
"child_process": "^1.0.2",
|
|
15
15
|
"chokidar": "^3.4.2",
|
|
16
16
|
"colors": "^1.4.0",
|
|
@@ -391,7 +391,7 @@ export interface Brick {
|
|
|
391
391
|
material_index?: number;
|
|
392
392
|
physical_index?: number;
|
|
393
393
|
material_intensity?: number;
|
|
394
|
-
color?: ColorRgb | number;
|
|
394
|
+
color?: ColorRgb | number | UnrealColor | number[];
|
|
395
395
|
owner_index?: number;
|
|
396
396
|
components?: Components<DefinedComponents>;
|
|
397
397
|
}
|
|
@@ -532,7 +532,7 @@ export declare const _OMEGGA_UTILS_IMPORT: {
|
|
|
532
532
|
time: {
|
|
533
533
|
parseDuration: typeof parseDuration;
|
|
534
534
|
parseBrickadiaTime: typeof parseBrickadiaTime;
|
|
535
|
-
debounce: (<T_1 extends (...args: any) => any>(func: T_1, wait: number, options
|
|
535
|
+
debounce: (<T_1 extends (...args: any) => any>(func: T_1, wait: number, options?: DebounceSettingsLeading) => DebouncedFuncLeading<T_1>) | (<T_2 extends (...args: any) => any>(func: T_2, wait?: number, options?: DebounceSettings) => DebouncedFunc<T_2>);
|
|
536
536
|
};
|
|
537
537
|
map: {
|
|
538
538
|
DEFAULT_MAPS: {
|