@bondsports/types 2.4.22 → 2.4.24

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.
@@ -58,5 +58,5 @@ export * from './user-identification';
58
58
  export * from './util';
59
59
  export * from './utility';
60
60
  export * from './waitlist';
61
- export * from './webflow';
62
61
  export * from './webhooks';
62
+ export * from './webflow';
@@ -74,6 +74,6 @@ __exportStar(require("./user-identification"), exports);
74
74
  __exportStar(require("./util"), exports);
75
75
  __exportStar(require("./utility"), exports);
76
76
  __exportStar(require("./waitlist"), exports);
77
- __exportStar(require("./webflow"), exports);
78
77
  __exportStar(require("./webhooks"), exports);
78
+ __exportStar(require("./webflow"), exports);
79
79
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,oDAAkC;AAClC,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,iDAA+B;AAC/B,gDAA8B;AAC9B,4CAA0B;AAC1B,4CAA0B;AAC1B,2CAAyB;AACzB,qDAAmC;AACnC,sDAAoC;AACpC,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,0DAAwC;AACxC,0CAAwB;AACxB,0CAAwB;AACxB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B;AAC3B,6CAA2B;AAC3B,4CAA0B"}
@@ -284,7 +284,22 @@ export interface ICreateEventsParams {
284
284
  export interface IScheduleTeam {
285
285
  id: number;
286
286
  name: string;
287
- ancestors: number[];
287
+ ancestors?: number[];
288
+ }
289
+ export interface ITeamPairing {
290
+ homeTeam: IScheduleTeam;
291
+ awayTeam: IScheduleTeam;
292
+ }
293
+ export interface ISchedulingMode {
294
+ effectiveGamesPerTeam: number;
295
+ effectiveGamesPerWeek: number;
296
+ isPackingMode: boolean;
297
+ }
298
+ export interface IRoundRobinStats {
299
+ totalRounds: number;
300
+ gamesPerRound: number;
301
+ totalGames: number;
302
+ gamesPerTeam: number;
288
303
  }
289
304
  export interface IScheduleCacheInvalidator {
290
305
  invalidateOne: (id: number) => Promise<void>;
@@ -152,4 +152,5 @@ export interface IUpdatePendingPaymentStatusResult {
152
152
  invoiceId?: number;
153
153
  isUpdated: boolean;
154
154
  payment: Payment;
155
+ paymentIntent?: Stripe.PaymentIntent;
155
156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.22",
3
+ "version": "2.4.24",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {