Fixing prettier setup on messages

This commit is contained in:
David Négrier 2021-12-16 16:46:22 +01:00
parent 1ed10b0cdd
commit 36f5d42668
5 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,4 @@
{
"printWidth": 120,
"tabWidth": 4,
"plugins": ["prettier-plugin-svelte"]
"tabWidth": 4
}

View File

@ -1,5 +1,5 @@
import * as tg from "generic-type-guard";
import { isCharacterTexture} from "./CharacterTexture";
import { isCharacterTexture } from "./CharacterTexture";
/*
* WARNING! The original file is in /messages/JsonMessages.

View File

@ -1,5 +1,5 @@
import * as tg from "generic-type-guard";
import { isCharacterTexture} from "./CharacterTexture";
import { isCharacterTexture } from "./CharacterTexture";
/*
* WARNING! The original file is in /messages/JsonMessages.
@ -15,7 +15,6 @@ export const isRegisterData = new tg.IsInterface()
userUuid: tg.isString,
textures: tg.isArray(isCharacterTexture),
authToken: tg.isString,
})
.withOptionalProperties({
messages: tg.isArray(tg.isUnknown),

View File

@ -6,7 +6,7 @@ import { AuthTokenData, jwtTokenManager } from "../Services/JWTTokenManager";
import { parse } from "query-string";
import { openIDClient } from "../Services/OpenIDClient";
import { DISABLE_ANONYMOUS, FRONT_URL } from "../Enum/EnvironmentVariable";
import { RegisterData } from "../../../messages/JsonMessages/RegisterData";
import { RegisterData } from "../Messages/JsonMessages/RegisterData";
export interface TokenInterface {
userUuid: string;

View File

@ -11,7 +11,7 @@ import {
import { WebSocket } from "uWebSockets.js";
import { ClientDuplexStream } from "grpc";
import { Zone } from "_Model/Zone";
import { CharacterTexture} from "../../Messages/JsonMessages/CharacterTexture";
import { CharacterTexture } from "../../Messages/JsonMessages/CharacterTexture";
export type BackConnection = ClientDuplexStream<PusherToBackMessage, ServerToClientMessage>;