Adding warning messages regarding files copying

This commit is contained in:
David Négrier 2021-12-14 19:05:14 +01:00
parent 10b7fee502
commit 4385d5aff9
3 changed files with 14 additions and 4 deletions

View File

@ -1,5 +1,10 @@
import * as tg from "generic-type-guard";
/*
* WARNING! The original file is in /messages/JsonMessages.
* All other files are automatically copied from this file on container startup / build
*/
export const isCharacterTexture = new tg.IsInterface()
.withProperties({
id: tg.isNumber,

View File

@ -2,10 +2,10 @@ import * as tg from "generic-type-guard";
import { isCharacterTexture } from "./CharacterTexture";
import { isNumber } from "generic-type-guard";
/*const isNumericEnum =
<T extends { [n: number]: string }>(vs: T) =>
(v: any): v is T =>
typeof v === "number" && v in vs;*/
/*
* WARNING! The original file is in /messages/JsonMessages.
* All other files are automatically copied from this file on container startup / build
*/
export const isMapDetailsData = new tg.IsInterface()
.withProperties({

View File

@ -1,5 +1,10 @@
import * as tg from "generic-type-guard";
/*
* WARNING! The original file is in /messages/JsonMessages.
* All other files are automatically copied from this file on container startup / build
*/
export const isRoomRedirect = new tg.IsInterface()
.withProperties({
redirectUrl: tg.isString,