@bondsports/types 2.2.282 → 2.2.284-a-1

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.
Files changed (49) hide show
  1. package/README.md +71 -71
  2. package/dist/tsconfig.build.tsbuildinfo +1 -1
  3. package/dist/types/employees/dto/employee.dto.d.ts +1 -0
  4. package/dist/types/employees/dto/employee.dto.js.map +1 -1
  5. package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +1 -0
  6. package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
  7. package/dist/types/product-pricing/dto/product.dto.d.ts +2 -0
  8. package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
  9. package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +1 -0
  10. package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +25 -18
  11. package/dist/types/programs-seasons/dto/program-seasons.dto.js +11 -8
  12. package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
  13. package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +4 -2
  14. package/dist/types/programs-seasons/entities/ProgramSeason.js.map +1 -1
  15. package/dist/types/programs-seasons/types/classes/index.d.ts +1 -0
  16. package/dist/types/programs-seasons/types/classes/index.js +18 -0
  17. package/dist/types/programs-seasons/types/classes/index.js.map +1 -0
  18. package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +6 -0
  19. package/dist/types/programs-seasons/types/classes/program-season.classes.js +7 -0
  20. package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +1 -0
  21. package/dist/types/programs-seasons/types/enums/index.d.ts +1 -0
  22. package/dist/types/programs-seasons/types/enums/index.js +18 -0
  23. package/dist/types/programs-seasons/types/enums/index.js.map +1 -0
  24. package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +9 -0
  25. package/dist/types/programs-seasons/types/enums/program-season.enums.js +15 -0
  26. package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -0
  27. package/dist/types/programs-seasons/types/index.d.ts +2 -0
  28. package/dist/types/programs-seasons/types/index.js +2 -0
  29. package/dist/types/programs-seasons/types/index.js.map +1 -1
  30. package/dist/types/reservations/dto/addon.dto.d.ts +4 -3
  31. package/dist/types/reservations/dto/addon.dto.js +6 -2
  32. package/dist/types/reservations/dto/addon.dto.js.map +1 -1
  33. package/dist/types/reservations/dto/reservation.dto.d.ts +11 -3
  34. package/dist/types/reservations/dto/reservation.dto.js +4 -1
  35. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  36. package/dist/types/reservations/dto/slot.dto.d.ts +48 -13
  37. package/dist/types/reservations/dto/slot.dto.js +8 -5
  38. package/dist/types/reservations/dto/slot.dto.js.map +1 -1
  39. package/dist/types/reservations/types/classes/addon.classes.d.ts +1 -0
  40. package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
  41. package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -0
  42. package/dist/types/reservations/types/consts/reservation.consts.js +8 -1
  43. package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
  44. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +20 -1
  45. package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +4 -0
  46. package/dist/types/resources/dto/space.dto.d.ts +1 -0
  47. package/dist/types/resources/dto/space.dto.js.map +1 -1
  48. package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +1 -0
  49. package/package.json +54 -54
@@ -1,16 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CardSlotDto = exports.ProblematicSlotDto = exports.DraftTimeSlotDto = exports.TimeSlotConflictsDto = exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.DraftSlotDto = exports.UpdateDraftSlotDto = exports.BaseDraftSlotDto = exports.SlotDto = exports.BaseSlotDto = exports.DateTimeAndResourcesDto = exports.SlotProductPricesMetadataDto = exports.SlotProductMetadataDto = void 0;
3
+ exports.CardSlotDto = exports.ProblematicSlotDto = exports.DraftTimeSlotDto = exports.TimeSlotConflictsDto = exports.UpdateSlotsColorsDto = exports.SlotsIdsDto = exports.TimeSlotsDto = exports.TimeSlotDto = exports.DraftSlotDto = exports.DraftSlotsDto = exports.UpdateDraftSlotDto = exports.BaseDraftSlotDto = exports.SlotDto = exports.BaseSlotDto = exports.BaseSlotFieldsDto = exports.SlotProductPricesMetadataDto = exports.SlotProductMetadataDto = void 0;
4
4
  class SlotProductMetadataDto {
5
5
  }
6
6
  exports.SlotProductMetadataDto = SlotProductMetadataDto;
7
7
  class SlotProductPricesMetadataDto {
8
8
  }
9
9
  exports.SlotProductPricesMetadataDto = SlotProductPricesMetadataDto;
10
- class DateTimeAndResourcesDto {
10
+ class BaseSlotFieldsDto {
11
11
  }
12
- exports.DateTimeAndResourcesDto = DateTimeAndResourcesDto;
13
- class BaseSlotDto extends DateTimeAndResourcesDto {
12
+ exports.BaseSlotFieldsDto = BaseSlotFieldsDto;
13
+ class BaseSlotDto extends BaseSlotFieldsDto {
14
14
  }
15
15
  exports.BaseSlotDto = BaseSlotDto;
16
16
  class SlotDto extends BaseSlotDto {
@@ -19,9 +19,12 @@ exports.SlotDto = SlotDto;
19
19
  class BaseDraftSlotDto extends BaseSlotDto {
20
20
  }
21
21
  exports.BaseDraftSlotDto = BaseDraftSlotDto;
22
- class UpdateDraftSlotDto extends BaseDraftSlotDto {
22
+ class UpdateDraftSlotDto {
23
23
  }
24
24
  exports.UpdateDraftSlotDto = UpdateDraftSlotDto;
25
+ class DraftSlotsDto extends BaseSlotFieldsDto {
26
+ }
27
+ exports.DraftSlotsDto = DraftSlotsDto;
25
28
  class DraftSlotDto extends BaseDraftSlotDto {
26
29
  }
27
30
  exports.DraftSlotDto = DraftSlotDto;
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAgCA,MAAa,sBAAsB;CAUlC;AA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,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAoB9B;AApBD,gDAoBC;AAED,MAAa,WAAY,SAAQ,OAAO;CAcvC;AAdD,kCAcC"}
@@ -7,6 +7,7 @@ export declare class DraftAddon implements IDraftAddon {
7
7
  productId: number;
8
8
  product?: Product;
9
9
  quantity: number;
10
+ baseQuantity?: number;
10
11
  unitPrice?: number;
11
12
  totalPrice?: number;
12
13
  parentId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CA8BtB;AA9BD,gCA8BC"}
1
+ {"version":3,"file":"addon.classes.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/classes/addon.classes.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;CAgCtB;AAhCD,gCAgCC"}
@@ -7,6 +7,7 @@ export declare const RESOURCE_TOTAL_FIELD = PriceFieldEnum.TOTAL_PRICE;
7
7
  export declare const PUBLIC_NOTES_LIMIT = 500;
8
8
  export declare const PRIVATE_NOTES_LIMIT = 500;
9
9
  export declare const DEFAULT_PRICE_ID = 0;
10
+ export declare const MANDATORY_DRAFT_SLOTS_FIELDS: string[];
10
11
  export declare const reservationStatusMapper: {
11
12
  Planned: InvoiceStatusEnum;
12
13
  Approved: InvoiceStatusEnum;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reservationStatusToEventStatus = exports.reservationTypeMapper = exports.reservationStatusMapper = exports.DEFAULT_PRICE_ID = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = exports.KEY_TTL = exports.RESERVATION_CHUNCK_SIZE = exports.DRAFT_RESERVATION_REDIS_TOKEN = void 0;
3
+ exports.reservationStatusToEventStatus = exports.reservationTypeMapper = exports.reservationStatusMapper = exports.MANDATORY_DRAFT_SLOTS_FIELDS = exports.DEFAULT_PRICE_ID = exports.PRIVATE_NOTES_LIMIT = exports.PUBLIC_NOTES_LIMIT = exports.RESOURCE_TOTAL_FIELD = exports.KEY_TTL = exports.RESERVATION_CHUNCK_SIZE = exports.DRAFT_RESERVATION_REDIS_TOKEN = void 0;
4
4
  const enums_service_1 = require("../../../services/enums.service");
5
5
  const reservation_enums_1 = require("../enums/reservation.enums");
6
6
  exports.DRAFT_RESERVATION_REDIS_TOKEN = 'DRAFT_RESERVATION_REDIS_CLIENT';
@@ -11,6 +11,13 @@ exports.RESOURCE_TOTAL_FIELD = enums_service_1.PriceFieldEnum.TOTAL_PRICE;
11
11
  exports.PUBLIC_NOTES_LIMIT = 500;
12
12
  exports.PRIVATE_NOTES_LIMIT = 500;
13
13
  exports.DEFAULT_PRICE_ID = 0;
14
+ exports.MANDATORY_DRAFT_SLOTS_FIELDS = [
15
+ 'organizationId',
16
+ 'reservationId',
17
+ 'facilitiesIds',
18
+ 'segmentsIds',
19
+ 'ids',
20
+ ];
14
21
  exports.reservationStatusMapper = {
15
22
  [reservation_enums_1.ReservationStatusEnum.PLANNED]: enums_service_1.InvoiceStatusEnum.DRAFT,
16
23
  [reservation_enums_1.ReservationStatusEnum.APPROVED]: enums_service_1.InvoiceStatusEnum.DRAFT,
@@ -1 +1 @@
1
- {"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAqG;AACrG,kEAAsG;AAEzF,QAAA,6BAA6B,GAAG,gCAAgC,CAAC;AAEjE,QAAA,uBAAuB,GAAG,GAAG,CAAC;A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AAC,KAAK;IAC7D,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,+BAAe,CAAC,KAAK;IAChE,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;IAC3D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;CAC3D,CAAC"}
1
+ {"version":3,"file":"reservation.consts.js","sourceRoot":"","sources":["../../../../../src/types/reservations/types/consts/reservation.consts.ts"],"names":[],"mappings":";;;AAAA,mEAAqG;AACrG,kEAAsG;AAEzF,QAAA,6BAA6B,GAAG,gCAAgC,CAAC;AAEjE,QAAA,uBAAuB,GAAG,GAAG,CAAC;AAE3C,oBAAoB;AACP,QAAA,OAAO,GAAG,MAAM,CAAC;AAEjB,QAAA,oBAAoB,GAAG,8BAAc,CAAC,WAAW,CAAC;AAClD,QAAA,kBAAkB,GAAG,GAAG,CAAC;AACzB,QAAA,mBAAmB,GAAG,GAAG,CAAC;AAE1B,QAAA,gBAAgB,GAAG,CAAC,CAAC;AAErB,QAAA,4BAA4B,GAAa;IACrD,gBAAgB;IAChB,eAAe;IACf,eAAe;IACf,aAAa;IACb,KAAK;CACL,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACtC,CAAC,yCAAqB,CAAC,OAAO,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACxD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,KAAK;IACzD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,iCAAiB,CAAC,aAAa;IACvE,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,iCAAiB,CAAC,cAAc;IAC3E,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;IAC5D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,iCAAiB,CAAC,QAAQ;CAC5D,CAAC;AAEW,QAAA,qBAAqB,GAAG;IACpC,CAAC,uCAAmB,CAAC,MAAM,CAAC,EAAE,gCAAY,CAAC,MAAM;IACjD,CAAC,uCAAmB,CAAC,WAAW,CAAC,EAAE,gCAAY,CAAC,WAAW;IAC3D,CAAC,uCAAmB,CAAC,OAAO,CAAC,EAAE,gCAAY,CAAC,QAAQ;IACpD,CAAC,uCAAmB,CAAC,QAAQ,CAAC,EAAE,gCAAY,CAAC,QAAQ;IACrD,CAAC,uCAAmB,CAAC,MAAM,CAAC,EAAE,gCAAY,CAAC,QAAQ;CACnD,CAAC;AAEW,QAAA,8BAA8B,GAAG;IAC7C,CAAC,yCAAqB,CAAC,OAAO,CAAC,EAAE,+BAAe,CAAC,KAAK;IACtD,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,IAAI;IACtD,CAAC,yCAAqB,CAAC,cAAc,CAAC,EAAE,+BAAe,CAAC,KAAK;IAC7D,CAAC,yCAAqB,CAAC,iBAAiB,CAAC,EAAE,+BAAe,CAAC,KAAK;IAChE,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;IAC3D,CAAC,yCAAqB,CAAC,QAAQ,CAAC,EAAE,+BAAe,CAAC,SAAS;CAC3D,CAAC"}
@@ -18,7 +18,7 @@ import { AddonDto } from '../../dto/addon.dto';
18
18
  import { ReservationDto } from '../../dto/reservation.dto';
19
19
  import { SegmentDto } from '../../dto/segment.dto';
20
20
  import { SeriesDto } from '../../dto/series.dto';
21
- import { SlotDto } from '../../dto/slot.dto';
21
+ import { SlotDto, UpdateDraftSlotDto } from '../../dto/slot.dto';
22
22
  import { Addon } from '../../entities/addon.entity';
23
23
  import { Reservation } from '../../entities/reservation.entity';
24
24
  import { Segment } from '../../entities/segment.entity';
@@ -342,6 +342,14 @@ export interface IGetDraftReservationOptions {
342
342
  includeConflicts?: boolean;
343
343
  reservation?: DraftReservation;
344
344
  }
345
+ export interface IDuplicateDraftReservation extends IGetDraftReservationOptions {
346
+ slotsIds?: number[];
347
+ excludeIds?: number[];
348
+ reservationAddonsIds?: number[];
349
+ isEdit?: boolean;
350
+ combineSlots?: boolean;
351
+ skipSave?: boolean;
352
+ }
345
353
  export interface IGetDraftReservationSlotsOptions extends IPagination, IExtendDraftSlotsOptions {
346
354
  segmentsIds?: string[];
347
355
  slotsIds?: string[];
@@ -439,4 +447,15 @@ export interface IGetReservationOptions {
439
447
  extraRelations?: string[];
440
448
  includeProducts?: boolean;
441
449
  }
450
+ export interface IDuplicateReservationItems {
451
+ slotsIds?: number[];
452
+ reservationAddonsIds?: number[];
453
+ excludeIds?: number[];
454
+ isEdit?: boolean;
455
+ combineSlots?: boolean;
456
+ }
457
+ export interface IUpdateDraftSlotsValidationResult {
458
+ slots: DraftSlot[];
459
+ updates: UpdateDraftSlotDto[];
460
+ }
442
461
  export {};
@@ -151,3 +151,7 @@ export interface IDraftSlot extends IBaseSlot {
151
151
  approvalStatus?: ReservationStatusEnum;
152
152
  paymentStatus?: ReservationPaymentStatusEnum;
153
153
  }
154
+ export interface IUpdateSlot extends IDraftSlot {
155
+ productsIds?: number[];
156
+ productId?: number;
157
+ }
@@ -71,6 +71,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
71
71
  includeActivityTimes?: boolean;
72
72
  includeFacilities?: boolean;
73
73
  searchByFacility?: boolean;
74
+ inclusion?: boolean;
74
75
  }
75
76
  export declare class UpdateSpaceDto extends UpdateResourceDto {
76
77
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAwB3D;AAxBD,0DAwBC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
1
+ {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CA0B3D;AA1BD,0DA0BC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -19,6 +19,7 @@ export interface IGetResourcesOptions {
19
19
  includeResourceMetadata?: boolean;
20
20
  includeFacilities?: boolean;
21
21
  searchByFacility?: boolean;
22
+ inclusion?: boolean;
22
23
  }
23
24
  export interface IGetResourceByIdsOptions {
24
25
  order?: OrderByEnum;
package/package.json CHANGED
@@ -1,54 +1,54 @@
1
- {
2
- "name": "@bondsports/types",
3
- "version": "2.2.282",
4
- "description": "backend types module for Bond-Sports",
5
- "main": "./dist/index.js",
6
- "scripts": {
7
- "format": "prettier --check .",
8
- "format:fix": "prettier --write .",
9
- "prelint:fix": "npm run format:fix",
10
- "prelint": "npm run format",
11
- "lint": "eslint .",
12
- "lint:fix": "eslint --fix .",
13
- "release": "standard-version",
14
- "import:types": "rimraf src/types && node ./import.js",
15
- "prebuild": "npm run clean",
16
- "build": "tsc --project tsconfig.build.json",
17
- "start": "npm run build && cd dist && node ./index.js",
18
- "clean": "rimraf dist",
19
- "prepublish": "npm run build",
20
- "version": "echo $npm_package_version"
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
- },
26
- "author": "Bond-Sports",
27
- "license": "ISC",
28
- "bugs": {
29
- "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
- },
31
- "files": [
32
- "dist/**/*"
33
- ],
34
- "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
- "dependencies": {
36
- "moment": "^2.29.1",
37
- "rimraf": "^3.0.2",
38
- "stripe": "9.1.0",
39
- "typeorm": "^0.2.32",
40
- "@bondsports/date-time": "latest",
41
- "@bondsports/notifications-sdk": "latest"
42
- },
43
- "devDependencies": {
44
- "@bondsports/eslint-config": "^1.0.2",
45
- "@bondsports/prettier-config": "0.0.1",
46
- "@types/node": "^13.9.1",
47
- "eslint": "^8.16.0",
48
- "prettier": "^2.6.2",
49
- "standard-version": "^9.5.0",
50
- "ts-node": "^10.8.0",
51
- "typescript": "^4.4.3"
52
- },
53
- "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
- }
1
+ {
2
+ "name": "@bondsports/types",
3
+ "version": "2.2.284-a-1",
4
+ "description": "backend types module for Bond-Sports",
5
+ "main": "./dist/index.js",
6
+ "scripts": {
7
+ "format": "prettier --check .",
8
+ "format:fix": "prettier --write .",
9
+ "prelint:fix": "npm run format:fix",
10
+ "prelint": "npm run format",
11
+ "lint": "eslint .",
12
+ "lint:fix": "eslint --fix .",
13
+ "release": "standard-version",
14
+ "import:types": "rimraf src/types && node ./import.js",
15
+ "prebuild": "npm run clean",
16
+ "build": "tsc --project tsconfig.build.json",
17
+ "start": "npm run build && cd dist && node ./index.js",
18
+ "clean": "rimraf dist",
19
+ "prepublish": "npm run build",
20
+ "version": "echo $npm_package_version"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/Bond-Sports/bondUtils/tree/main/packages/types.git"
25
+ },
26
+ "author": "Bond-Sports",
27
+ "license": "ISC",
28
+ "bugs": {
29
+ "url": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types/issues"
30
+ },
31
+ "files": [
32
+ "dist/**/*"
33
+ ],
34
+ "homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
35
+ "dependencies": {
36
+ "moment": "^2.29.1",
37
+ "rimraf": "^3.0.2",
38
+ "stripe": "9.1.0",
39
+ "typeorm": "^0.2.32",
40
+ "@bondsports/date-time": "latest",
41
+ "@bondsports/notifications-sdk": "latest"
42
+ },
43
+ "devDependencies": {
44
+ "@bondsports/eslint-config": "^1.0.2",
45
+ "@bondsports/prettier-config": "0.0.1",
46
+ "@types/node": "^13.9.1",
47
+ "eslint": "^8.16.0",
48
+ "prettier": "^2.6.2",
49
+ "standard-version": "^9.5.0",
50
+ "ts-node": "^10.8.0",
51
+ "typescript": "^4.4.3"
52
+ },
53
+ "gitHead": "178ca9dc5ea5e94b44d765b6663e7a4ad0d19d98"
54
+ }