c2-climbing-x 1.0.44 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,8 @@ export interface IQualifiedsSlots {
28
28
  _id: Types.ObjectId;
29
29
  label: string;
30
30
  team: Types.ObjectId | ITeam;
31
+ position: number;
32
+ rule: Types.ObjectId | IQualifiedRule;
31
33
  }
32
34
  export interface IMatchRules {
33
35
  mode: GroupMatchMode;
@@ -8,6 +8,8 @@ exports.QualifiedsSlotsSchema = new mongoose_1.Schema({
8
8
  _id: { type: mongoose_1.Schema.Types.ObjectId, default: () => new mongoose_1.Types.ObjectId() },
9
9
  label: { type: String, required: true },
10
10
  team: { type: mongoose_1.Schema.Types.ObjectId, ref: "team" },
11
+ position: { type: Number, required: true },
12
+ rule: { type: mongoose_1.Schema.Types.ObjectId },
11
13
  });
12
14
  exports.GroupSchema = new mongoose_1.Schema({
13
15
  name: { type: String, required: true },
@@ -5,3 +5,4 @@ export { Modality } from "./Modality";
5
5
  export { GroupMatchMode } from "./GroupMatchMode";
6
6
  export { QualificationMode } from "./QualificationMode";
7
7
  export { ChallengeStatus } from "./ChallengeStatus";
8
+ export { ChallengeRoundStatus } from "./ChallengeRoundStatus";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChallengeStatus = exports.QualificationMode = exports.GroupMatchMode = exports.Modality = exports.MatchStatus = exports.RoundStatus = exports.PhaseType = void 0;
3
+ exports.ChallengeRoundStatus = exports.ChallengeStatus = exports.QualificationMode = exports.GroupMatchMode = exports.Modality = exports.MatchStatus = exports.RoundStatus = exports.PhaseType = void 0;
4
4
  var PhaseType_1 = require("./PhaseType");
5
5
  Object.defineProperty(exports, "PhaseType", { enumerable: true, get: function () { return PhaseType_1.PhaseType; } });
6
6
  var RoundStatus_1 = require("./RoundStatus");
@@ -15,3 +15,5 @@ var QualificationMode_1 = require("./QualificationMode");
15
15
  Object.defineProperty(exports, "QualificationMode", { enumerable: true, get: function () { return QualificationMode_1.QualificationMode; } });
16
16
  var ChallengeStatus_1 = require("./ChallengeStatus");
17
17
  Object.defineProperty(exports, "ChallengeStatus", { enumerable: true, get: function () { return ChallengeStatus_1.ChallengeStatus; } });
18
+ var ChallengeRoundStatus_1 = require("./ChallengeRoundStatus");
19
+ Object.defineProperty(exports, "ChallengeRoundStatus", { enumerable: true, get: function () { return ChallengeRoundStatus_1.ChallengeRoundStatus; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-climbing-x",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "Modelagem TypeScript/Mongoose para o jogo Escalada X (times, campeonatos, fases, rodadas, confrontos, desafios)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",