volleyballsimtypes 0.0.436 → 0.0.437

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.
@@ -2,6 +2,7 @@ import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
3
  import { Status } from '../common';
4
4
  import { CompetitionMatchId, CompetitionMatchModel, MatchRatingId, MatchRatingModel, MatchResultId, MatchResultModel, MatchSetAttributes, MatchSetId, MatchSetModel, VPERAttributes, VPERId, VPERModel, TeamId, TeamModel } from '.';
5
+ import { MatchRallyAggregates } from '../../service';
5
6
  export interface MatchAttributes {
6
7
  match_id: string;
7
8
  home_team: string;
@@ -11,6 +12,7 @@ export interface MatchAttributes {
11
12
  created_at?: Date;
12
13
  in_progress_at?: Date;
13
14
  complete_at?: Date;
15
+ rally_aggregates?: MatchRallyAggregates | null;
14
16
  MatchSets?: MatchSetAttributes[];
15
17
  VPERs?: VPERAttributes[];
16
18
  }
@@ -26,6 +28,7 @@ export declare class MatchModel extends Model<MatchAttributes, MatchCreationAttr
26
28
  created_at?: Date;
27
29
  in_progress_at?: Date;
28
30
  complete_at?: Date;
31
+ rally_aggregates?: MatchRallyAggregates | null;
29
32
  CompetitionMatch: CompetitionMatchModel;
30
33
  getCompetitionMatch: Sequelize.HasOneGetAssociationMixin<CompetitionMatchModel>;
31
34
  setCompetitionMatch: Sequelize.HasOneSetAssociationMixin<CompetitionMatchModel, CompetitionMatchId>;
@@ -47,6 +47,10 @@ class MatchModel extends sequelize_1.Model {
47
47
  complete_at: {
48
48
  type: sequelize_1.DataTypes.DATE,
49
49
  allowNull: true
50
+ },
51
+ rally_aggregates: {
52
+ type: sequelize_1.DataTypes.JSONB,
53
+ allowNull: true
50
54
  }
51
55
  }, {
52
56
  sequelize,
@@ -1,3 +1,8 @@
1
+ import { RallyMetrics } from './rally-metrics';
2
+ export interface MatchRallyAggregates {
3
+ rallyMetrics: RallyMetrics;
4
+ breakdown: PointBreakdown;
5
+ }
1
6
  export interface RallyEventLike {
2
7
  readonly eventType: number;
3
8
  readonly playerId: string;
@@ -2,6 +2,7 @@ import * as Sequelize from 'sequelize';
2
2
  import { Model } from 'sequelize';
3
3
  import { Status } from '../common';
4
4
  import { CompetitionMatchId, CompetitionMatchModel, MatchRatingId, MatchRatingModel, MatchResultId, MatchResultModel, MatchSetAttributes, MatchSetId, MatchSetModel, VPERAttributes, VPERId, VPERModel, TeamId, TeamModel } from '.';
5
+ import { MatchRallyAggregates } from '../../service';
5
6
  export interface MatchAttributes {
6
7
  match_id: string;
7
8
  home_team: string;
@@ -11,6 +12,7 @@ export interface MatchAttributes {
11
12
  created_at?: Date;
12
13
  in_progress_at?: Date;
13
14
  complete_at?: Date;
15
+ rally_aggregates?: MatchRallyAggregates | null;
14
16
  MatchSets?: MatchSetAttributes[];
15
17
  VPERs?: VPERAttributes[];
16
18
  }
@@ -26,6 +28,7 @@ export declare class MatchModel extends Model<MatchAttributes, MatchCreationAttr
26
28
  created_at?: Date;
27
29
  in_progress_at?: Date;
28
30
  complete_at?: Date;
31
+ rally_aggregates?: MatchRallyAggregates | null;
29
32
  CompetitionMatch: CompetitionMatchModel;
30
33
  getCompetitionMatch: Sequelize.HasOneGetAssociationMixin<CompetitionMatchModel>;
31
34
  setCompetitionMatch: Sequelize.HasOneSetAssociationMixin<CompetitionMatchModel, CompetitionMatchId>;
@@ -44,6 +44,10 @@ export class MatchModel extends Model {
44
44
  complete_at: {
45
45
  type: DataTypes.DATE,
46
46
  allowNull: true
47
+ },
48
+ rally_aggregates: {
49
+ type: DataTypes.JSONB,
50
+ allowNull: true
47
51
  }
48
52
  }, {
49
53
  sequelize,
@@ -1,3 +1,8 @@
1
+ import { RallyMetrics } from './rally-metrics';
2
+ export interface MatchRallyAggregates {
3
+ rallyMetrics: RallyMetrics;
4
+ breakdown: PointBreakdown;
5
+ }
1
6
  export interface RallyEventLike {
2
7
  readonly eventType: number;
3
8
  readonly playerId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volleyballsimtypes",
3
- "version": "0.0.436",
3
+ "version": "0.0.437",
4
4
  "description": "vbsim types",
5
5
  "main": "./dist/cjs/src/index.js",
6
6
  "module": "./dist/esm/src/index.js",