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"; 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() export const isCharacterTexture = new tg.IsInterface()
.withProperties({ .withProperties({
id: tg.isNumber, id: tg.isNumber,

View file

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

View file

@ -1,5 +1,10 @@
import * as tg from "generic-type-guard"; 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() export const isRoomRedirect = new tg.IsInterface()
.withProperties({ .withProperties({
redirectUrl: tg.isString, redirectUrl: tg.isString,