OOPSIE DOODLE (and fix it crying)
This commit is contained in:
parent
3b7b3b7e50
commit
8ec865d985
@ -1,4 +1,4 @@
|
|||||||
import { getModelForClass, prop, ReturnModelType } from "@typegoose/typegoose";
|
import { getModelForClass, modelOptions, prop, ReturnModelType, Severity } from "@typegoose/typegoose";
|
||||||
import { Document } from "mongoose";
|
import { Document } from "mongoose";
|
||||||
import { PlayerHistory } from "@ssr/common/types/player/player-history";
|
import { PlayerHistory } from "@ssr/common/types/player/player-history";
|
||||||
import { formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate } from "@ssr/common/utils/time-utils";
|
import { formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate } from "@ssr/common/utils/time-utils";
|
||||||
@ -6,6 +6,7 @@ import { formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate } from "@ssr/
|
|||||||
/**
|
/**
|
||||||
* The model for a player.
|
* The model for a player.
|
||||||
*/
|
*/
|
||||||
|
@modelOptions({ options: { allowMixed: Severity.ALLOW } })
|
||||||
export class Player {
|
export class Player {
|
||||||
/**
|
/**
|
||||||
* The id of the player.
|
* The id of the player.
|
||||||
|
@ -35,4 +35,4 @@ EXPOSE 3000
|
|||||||
ENV HOSTNAME="0.0.0.0"
|
ENV HOSTNAME="0.0.0.0"
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
|
|
||||||
CMD ["bun", "run", "--filter", "backend", "start"]
|
CMD ["bun", "run", "--filter", "website", "start"]
|
||||||
|
Reference in New Issue
Block a user