Adding warning messages regarding files copying
This commit is contained in:
parent
10b7fee502
commit
4385d5aff9
3 changed files with 14 additions and 4 deletions
|
@ -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,
|
||||||
|
|
|
@ -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({
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue