mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Split client code from server
This commit is contained in:
@@ -15,11 +15,12 @@ import { LiveCollection } from './liveCollection';
|
||||
import { socketOptions, token } from '../../client/data';
|
||||
import { getUrl } from '../../client/rev';
|
||||
import {
|
||||
formatChat, formatEventDesc, getId, banMessage, parsePonies
|
||||
getId, banMessage, parsePonies
|
||||
} from '../../common/adminUtils';
|
||||
import { StorageService } from './storageService';
|
||||
import { decompressPonyString } from '../../common/compressPony';
|
||||
import { ModelSubscriber } from './modelSubscriber';
|
||||
import { formatChat, formatEventDesc } from '../../client/adminHtmlUtils';
|
||||
|
||||
interface FindPoniesResult {
|
||||
items: string[];
|
||||
|
||||
@@ -16,10 +16,10 @@ import {
|
||||
} from '../../common/errors';
|
||||
import { version, host } from '../../client/data';
|
||||
import {
|
||||
toSocialSiteInfo, cleanName, validatePonyName, isStandalone, attachDebugMethod
|
||||
toSocialSiteInfo, isStandalone, attachDebugMethod
|
||||
} from '../../client/clientUtils';
|
||||
import { ErrorReporter } from './errorReporter';
|
||||
import { randomString } from '../../common/stringUtils';
|
||||
import { cleanName, randomString, validatePonyName } from '../../common/stringUtils';
|
||||
import { StorageService } from './storageService';
|
||||
import { decompressPonyString, compressPonyString, decodePonyInfo } from '../../common/compressPony';
|
||||
import { SECOND, PLAYER_DESC_MAX_LENGTH, NEW_ACCOUNT_PONY_NAME } from '../../common/constants';
|
||||
|
||||
Reference in New Issue
Block a user