mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Merge branch 'Pax1601:release-candidate' into 681_newest_changes_skill
This commit is contained in:
25
client/@types/olympus/index.d.ts
vendored
25
client/@types/olympus/index.d.ts
vendored
@@ -105,6 +105,10 @@ declare module "constants/constants" {
|
||||
export const ROEs: string[];
|
||||
export const reactionsToThreat: string[];
|
||||
export const emissionsCountermeasures: string[];
|
||||
export const ERAS: {
|
||||
name: string;
|
||||
chronologicalOrder: number;
|
||||
}[];
|
||||
export const ROEDescriptions: string[];
|
||||
export const reactionsToThreatDescriptions: string[];
|
||||
export const emissionsCountermeasuresDescriptions: string[];
|
||||
@@ -837,6 +841,7 @@ declare module "other/utils" {
|
||||
}): UnitBlueprint | null;
|
||||
export function getMarkerCategoryByName(name: string): "aircraft" | "helicopter" | "groundunit-sam" | "navyunit" | "groundunit-other";
|
||||
export function getUnitDatabaseByCategory(category: string): import("unit/databases/aircraftdatabase").AircraftDatabase | import("unit/databases/helicopterdatabase").HelicopterDatabase | import("unit/databases/groundunitdatabase").GroundUnitDatabase | import("unit/databases/navyunitdatabase").NavyUnitDatabase | null;
|
||||
export function getCategoryBlueprintIconSVG(category: string, unitName: string): string | false;
|
||||
export function base64ToBytes(base64: string): ArrayBufferLike;
|
||||
export function enumToState(state: number): string;
|
||||
export function enumToROE(ROE: number): string;
|
||||
@@ -1602,6 +1607,7 @@ declare module "map/map" {
|
||||
import { CoalitionAreaContextMenu } from "contextmenus/coalitionareacontextmenu";
|
||||
import { AirbaseSpawnContextMenu } from "contextmenus/airbasespawnmenu";
|
||||
export type MapMarkerVisibilityControl = {
|
||||
"category"?: string;
|
||||
"image": string;
|
||||
"isProtected"?: boolean;
|
||||
"name": string;
|
||||
@@ -1999,6 +2005,25 @@ declare module "unit/importexport/unitdatafileexport" {
|
||||
showForm(units: Unit[]): void;
|
||||
}
|
||||
}
|
||||
declare module "schemas/schema" {
|
||||
import Ajv from "ajv";
|
||||
import { AnySchemaObject } from "ajv/dist/core";
|
||||
abstract class JSONSchemaValidator {
|
||||
#private;
|
||||
constructor(schema: AnySchemaObject);
|
||||
getAjv(): Ajv;
|
||||
getCompiledValidator(): any;
|
||||
getErrors(): any;
|
||||
getSchema(): AnySchemaObject;
|
||||
validate(data: any): any;
|
||||
}
|
||||
export class AirbasesJSONSchemaValidator extends JSONSchemaValidator {
|
||||
constructor();
|
||||
}
|
||||
export class ImportFileJSONSchemaValidator extends JSONSchemaValidator {
|
||||
constructor();
|
||||
}
|
||||
}
|
||||
declare module "unit/importexport/unitdatafileimport" {
|
||||
import { Dialog } from "dialog/dialog";
|
||||
import { UnitDataFile } from "unit/importexport/unitdatafile";
|
||||
|
||||
@@ -60,6 +60,11 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.leaflet-container img.leaflet-tile {
|
||||
/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
|
||||
mix-blend-mode: plus-lighter;
|
||||
}
|
||||
|
||||
.leaflet-container.leaflet-touch-zoom {
|
||||
-ms-touch-action: pan-x pan-y;
|
||||
touch-action: pan-x pan-y;
|
||||
@@ -646,7 +651,7 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
||||
}
|
||||
|
||||
/* Printing */
|
||||
|
||||
|
||||
@media print {
|
||||
/* Prevent printers from removing background-images of controls. */
|
||||
.leaflet-control {
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
<link rel="icon" href="/images/favicons/favicon.ico" />
|
||||
<link rel="apple-touch-icon" href="images/favicons/apple-touch-icon.png"/>
|
||||
<link rel="manifest" href="/images/favicons/site.webmanifest" />
|
||||
<meta name="robots" context="noindex" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user