@bondsports/types 2.2.284-a-7 → 2.2.284-a-8
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.
- package/README.md +71 -71
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/application.dto.d.ts +8 -0
- package/dist/types/dto/application.dto.js +4 -1
- package/dist/types/dto/application.dto.js.map +1 -1
- package/dist/types/dto/events.dto.d.ts +2 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +0 -2
- package/dist/types/dto/general.dto.js +1 -4
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/package.dto.d.ts +2 -56
- package/dist/types/dto/package.dto.js +1 -7
- package/dist/types/dto/package.dto.js.map +1 -1
- package/dist/types/employees/dto/employee.dto.d.ts +0 -1
- package/dist/types/employees/dto/employee.dto.js.map +1 -1
- package/dist/types/entity/Events.js.map +1 -1
- package/dist/types/folders/dto/folder.dto.d.ts +58 -0
- package/dist/types/folders/dto/folder.dto.js +34 -0
- package/dist/types/folders/dto/folder.dto.js.map +1 -0
- package/dist/types/folders/dto/index.d.ts +1 -0
- package/dist/types/{programs-seasons/types/classes → folders/dto}/index.js +1 -1
- package/dist/types/folders/dto/index.js.map +1 -0
- package/dist/types/folders/entities/folder-content.entity.d.ts +12 -0
- package/dist/types/folders/entities/folder-content.entity.js +14 -0
- package/dist/types/folders/entities/folder-content.entity.js.map +1 -0
- package/dist/types/folders/entities/folder-invite.entity.d.ts +8 -0
- package/dist/types/folders/entities/folder-invite.entity.js +8 -0
- package/dist/types/folders/entities/folder-invite.entity.js.map +1 -0
- package/dist/types/folders/entities/folder.entity.d.ts +21 -0
- package/dist/types/folders/entities/folder.entity.js +12 -0
- package/dist/types/folders/entities/folder.entity.js.map +1 -0
- package/dist/types/folders/entities/index.d.ts +3 -0
- package/dist/types/folders/entities/index.js +20 -0
- package/dist/types/folders/entities/index.js.map +1 -0
- package/dist/types/folders/index.d.ts +2 -0
- package/dist/types/folders/index.js +19 -0
- package/dist/types/folders/index.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +1 -1
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +2 -3
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +52 -3
- package/dist/types/product-pricing/dto/product.dto.js +7 -1
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +0 -10
- package/dist/types/programs/dto/program.dto.d.ts +2 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/programs-seasons/dto/index.d.ts +1 -0
- package/dist/types/programs-seasons/dto/index.js +1 -0
- package/dist/types/programs-seasons/dto/index.js.map +1 -1
- package/dist/types/programs-seasons/dto/program-season-participant.dto.d.ts +8 -0
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js +7 -0
- package/dist/types/programs-seasons/dto/program-season-participant.dto.js.map +1 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +37 -23
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +16 -10
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +6 -5
- package/dist/types/programs-seasons/types/enums/program-season.enums.d.ts +6 -7
- package/dist/types/programs-seasons/types/enums/program-season.enums.js +11 -12
- package/dist/types/programs-seasons/types/enums/program-season.enums.js.map +1 -1
- package/dist/types/programs-seasons/types/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/index.js +0 -1
- package/dist/types/programs-seasons/types/index.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-season.interfaces.d.ts +18 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +4 -3
- package/dist/types/punch-pass/dto/punch-pass.dto.js +1 -1
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -1
- package/dist/types/reservations/dto/addon.dto.d.ts +3 -4
- package/dist/types/reservations/dto/addon.dto.js +2 -6
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/index.d.ts +0 -1
- package/dist/types/reservations/dto/index.js +0 -1
- package/dist/types/reservations/dto/index.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +59 -17
- package/dist/types/reservations/dto/reservation.dto.js +41 -5
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +15 -50
- package/dist/types/reservations/dto/slot.dto.js +5 -8
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/reservations/entities/segment.entity.d.ts +1 -2
- package/dist/types/reservations/entities/segment.entity.js.map +1 -1
- package/dist/types/reservations/entities/slot.entity.d.ts +0 -1
- package/dist/types/reservations/entities/slot.entity.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +0 -1
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
- package/dist/types/reservations/types/consts/reservation.consts.d.ts +1 -3
- package/dist/types/reservations/types/consts/reservation.consts.js +1 -12
- package/dist/types/reservations/types/consts/reservation.consts.js.map +1 -1
- package/dist/types/reservations/types/enums/reservation.enums.d.ts +0 -1
- package/dist/types/reservations/types/enums/reservation.enums.js +4 -8
- package/dist/types/reservations/types/enums/reservation.enums.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +21 -32
- package/dist/types/reservations/types/interfaces/slot.interfaces.d.ts +1 -5
- package/dist/types/resources/dto/instructor.dto.d.ts +0 -1
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +2 -11
- package/dist/types/resources/dto/resource.dto.js +3 -6
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/dto/space.dto.d.ts +0 -1
- package/dist/types/resources/dto/space.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +0 -2
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/dist/types/resources/types/interfaces/resource.interfaces.d.ts +10 -9
- package/dist/types/services/enums.service.d.ts +4 -0
- package/dist/types/services/enums.service.js +6 -1
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +6 -0
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/session-participants/dto/get.session.participant.dto.d.ts +22 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js +18 -0
- package/dist/types/session-participants/dto/get.session.participant.dto.js.map +1 -0
- package/dist/types/session-participants/dto/index.d.ts +2 -0
- package/dist/types/session-participants/dto/index.js +19 -0
- package/dist/types/session-participants/dto/index.js.map +1 -0
- package/dist/types/session-participants/dto/session.participant.dto.d.ts +45 -0
- package/dist/types/session-participants/dto/session.participant.dto.js +10 -0
- package/dist/types/session-participants/dto/session.participant.dto.js.map +1 -0
- package/dist/types/session-participants/index.d.ts +2 -0
- package/dist/types/session-participants/index.js +19 -0
- package/dist/types/session-participants/index.js.map +1 -0
- package/dist/types/session-participants/types/consts.d.ts +3 -0
- package/dist/types/session-participants/types/consts.js +7 -0
- package/dist/types/session-participants/types/consts.js.map +1 -0
- package/dist/types/session-participants/types/enums.d.ts +17 -0
- package/dist/types/session-participants/types/enums.js +24 -0
- package/dist/types/session-participants/types/enums.js.map +1 -0
- package/dist/types/session-participants/types/index.d.ts +3 -0
- package/dist/types/session-participants/types/index.js +20 -0
- package/dist/types/session-participants/types/index.js.map +1 -0
- package/dist/types/session-participants/types/interfaces.d.ts +46 -0
- package/dist/types/session-participants/types/interfaces.js +3 -0
- package/dist/types/session-participants/types/interfaces.js.map +1 -0
- package/dist/types/user/dto/userPass.dto.d.ts +7 -6
- package/dist/types/user/dto/userPass.dto.js.map +1 -1
- package/package.json +54 -54
- package/dist/types/programs-seasons/types/classes/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/classes/index.js.map +0 -1
- package/dist/types/programs-seasons/types/classes/program-season.classes.d.ts +0 -6
- package/dist/types/programs-seasons/types/classes/program-season.classes.js +0 -7
- package/dist/types/programs-seasons/types/classes/program-season.classes.js.map +0 -1
- package/dist/types/reservations/dto/calendar-slot.dto.d.ts +0 -44
- package/dist/types/reservations/dto/calendar-slot.dto.js +0 -13
- package/dist/types/reservations/dto/calendar-slot.dto.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/consts.ts"],"names":[],"mappings":";;;AAAA,2EAA4E;AAE/D,QAAA,qBAAqB,GAAG,CAAC,iCAAiB,CAAC,UAAU,EAAE,iCAAiB,CAAC,QAAQ,EAAE,iCAAiB,CAAC,IAAI,CAAC,CAAC;AAC3G,QAAA,gCAAgC,GAAG,GAAG,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare enum SessionParticipantsSortByEnum {
|
2
|
+
NAME = "name",
|
3
|
+
BIRTH_DATE = "birthDate",
|
4
|
+
GENDER = "gender",
|
5
|
+
PAYMENT_STATUS = "paymentStatus",
|
6
|
+
REGISTRATION_DATE = "registrationDate",
|
7
|
+
WAIVER_SIGNED_DATE = "waiverSignedDate"
|
8
|
+
}
|
9
|
+
export declare enum SessionParticipantsPaymentStatusEnum {
|
10
|
+
PAID = "paid",
|
11
|
+
UNPAID = "unpaid",
|
12
|
+
PARTIALLY_PAID = "partially_paid"
|
13
|
+
}
|
14
|
+
export declare enum SessionParticipantsSearchFieldEnum {
|
15
|
+
NAME_OR_EMAIL = "nameOrEmail",
|
16
|
+
PRODUCT_NAME = "productName"
|
17
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SessionParticipantsSearchFieldEnum = exports.SessionParticipantsPaymentStatusEnum = exports.SessionParticipantsSortByEnum = void 0;
|
4
|
+
var SessionParticipantsSortByEnum;
|
5
|
+
(function (SessionParticipantsSortByEnum) {
|
6
|
+
SessionParticipantsSortByEnum["NAME"] = "name";
|
7
|
+
SessionParticipantsSortByEnum["BIRTH_DATE"] = "birthDate";
|
8
|
+
SessionParticipantsSortByEnum["GENDER"] = "gender";
|
9
|
+
SessionParticipantsSortByEnum["PAYMENT_STATUS"] = "paymentStatus";
|
10
|
+
SessionParticipantsSortByEnum["REGISTRATION_DATE"] = "registrationDate";
|
11
|
+
SessionParticipantsSortByEnum["WAIVER_SIGNED_DATE"] = "waiverSignedDate"; // THIS IS CALCULATED MIGHT NOT BE IMPLEMENTED
|
12
|
+
})(SessionParticipantsSortByEnum = exports.SessionParticipantsSortByEnum || (exports.SessionParticipantsSortByEnum = {}));
|
13
|
+
var SessionParticipantsPaymentStatusEnum;
|
14
|
+
(function (SessionParticipantsPaymentStatusEnum) {
|
15
|
+
SessionParticipantsPaymentStatusEnum["PAID"] = "paid";
|
16
|
+
SessionParticipantsPaymentStatusEnum["UNPAID"] = "unpaid";
|
17
|
+
SessionParticipantsPaymentStatusEnum["PARTIALLY_PAID"] = "partially_paid";
|
18
|
+
})(SessionParticipantsPaymentStatusEnum = exports.SessionParticipantsPaymentStatusEnum || (exports.SessionParticipantsPaymentStatusEnum = {}));
|
19
|
+
var SessionParticipantsSearchFieldEnum;
|
20
|
+
(function (SessionParticipantsSearchFieldEnum) {
|
21
|
+
SessionParticipantsSearchFieldEnum["NAME_OR_EMAIL"] = "nameOrEmail";
|
22
|
+
SessionParticipantsSearchFieldEnum["PRODUCT_NAME"] = "productName";
|
23
|
+
})(SessionParticipantsSearchFieldEnum = exports.SessionParticipantsSearchFieldEnum || (exports.SessionParticipantsSearchFieldEnum = {}));
|
24
|
+
//# sourceMappingURL=enums.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/enums.ts"],"names":[],"mappings":";;;AACA,IAAY,6BAOX;AAPD,WAAY,6BAA6B;IACrC,8CAAa,CAAA;IACb,yDAAwB,CAAA;IACxB,kDAAiB,CAAA;IACjB,iEAAgC,CAAA;IAChC,uEAAsC,CAAA;IACtC,wEAAuC,CAAA,CAAC,8CAA8C;AAC1F,CAAC,EAPW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAOxC;AAED,IAAY,oCAIX;AAJD,WAAY,oCAAoC;IAC5C,qDAAa,CAAA;IACb,yDAAiB,CAAA;IACjB,yEAAiC,CAAA;AACrC,CAAC,EAJW,oCAAoC,GAApC,4CAAoC,KAApC,4CAAoC,QAI/C;AAED,IAAY,kCAGX;AAHD,WAAY,kCAAkC;IAC1C,mEAA6B,CAAA;IAC7B,kEAA4B,CAAA;AAChC,CAAC,EAHW,kCAAkC,GAAlC,0CAAkC,KAAlC,0CAAkC,QAG7C"}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./consts"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
20
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
2
|
+
import { ProductsUsers } from '../../entity/ProductsUsers';
|
3
|
+
import { CurrencyEnum, GenderEnum } from '../../services/enums.service';
|
4
|
+
import { SessionParticipantsPaymentStatusEnum } from './enums';
|
5
|
+
export interface ISessionParticipant {
|
6
|
+
sessionId: number;
|
7
|
+
folderName?: string;
|
8
|
+
name?: string;
|
9
|
+
userId: number;
|
10
|
+
age?: number;
|
11
|
+
gender: GenderEnum;
|
12
|
+
customerId: number;
|
13
|
+
email: string;
|
14
|
+
fullPrice?: number;
|
15
|
+
punchCard?: boolean;
|
16
|
+
currentPaidAmount?: number;
|
17
|
+
paymentStatus?: SessionParticipantsPaymentStatusEnum;
|
18
|
+
waiverSigned?: boolean;
|
19
|
+
registrationDate?: string;
|
20
|
+
pictureUrl: string;
|
21
|
+
productId?: number;
|
22
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
23
|
+
productNames?: string[];
|
24
|
+
}
|
25
|
+
export interface IRawSessionParticipant {
|
26
|
+
sessionId: number;
|
27
|
+
folderName?: string;
|
28
|
+
name: string;
|
29
|
+
userId: number;
|
30
|
+
gender: GenderEnum;
|
31
|
+
profilePictureId?: number;
|
32
|
+
customerId: number;
|
33
|
+
customerEmail: string;
|
34
|
+
fullPrice?: number;
|
35
|
+
punchCard?: boolean;
|
36
|
+
currentPaidAmount?: number;
|
37
|
+
paymentStatuses?: PaymentStatusEnum[];
|
38
|
+
waiverSignedDate?: string;
|
39
|
+
registrationDate?: string;
|
40
|
+
productId?: number;
|
41
|
+
currentPaidCurrencies?: CurrencyEnum[];
|
42
|
+
productNames?: string[];
|
43
|
+
}
|
44
|
+
export interface ICreateSessionParticipant {
|
45
|
+
productUser?: ProductsUsers;
|
46
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/types/session-participants/types/interfaces.ts"],"names":[],"mappings":""}
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { SimpleEventDto } from '../../dto/events.dto';
|
2
|
-
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
|
-
import { PaginationResultDto, SimpleResourceDto } from '../../dto/general.dto';
|
4
|
-
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
5
|
-
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
6
|
-
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
7
1
|
import { SimpleUserDto } from './user.dto';
|
2
|
+
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
3
|
+
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
4
|
+
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
5
|
+
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
6
|
+
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
7
|
+
import { SimpleEventDto } from '../../dto/events.dto';
|
8
|
+
import { PaginationResultDto } from '../../dto/general.dto';
|
8
9
|
export declare class UserPassDto {
|
9
10
|
id: number;
|
10
11
|
organizationId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"userPass.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/userPass.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"userPass.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/userPass.dto.ts"],"names":[],"mappings":";;;AAOA,uDAA4D;AAE5D,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|
package/package.json
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
-
{
|
2
|
-
"name": "@bondsports/types",
|
3
|
-
"version": "2.2.284-a-
|
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-8",
|
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 +0,0 @@
|
|
1
|
-
export * from './program-season.classes';
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/classes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"program-season.classes.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/classes/program-season.classes.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;CAM5B;AAND,4CAMC"}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
import { SimpleResourceDto } from '../../dto/general.dto';
|
2
|
-
import { Event } from '../../entity/Events';
|
3
|
-
import { ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
4
|
-
import { Reservation } from '../entities/reservation.entity';
|
5
|
-
import { Series } from '../entities/series.entity';
|
6
|
-
import { MaintenanceTimingEnum, ReservationPaymentStatusEnum, ReservationStatusEnum, SlotTypeEnum } from '../types/enums/reservation.enums';
|
7
|
-
export declare class CalendarSlotDto {
|
8
|
-
id: number;
|
9
|
-
reservationId: number;
|
10
|
-
parentSlotId?: number;
|
11
|
-
eventId: number;
|
12
|
-
title: string;
|
13
|
-
slotType: SlotTypeEnum;
|
14
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
15
|
-
approvalStatus: ReservationStatusEnum;
|
16
|
-
startDate: string;
|
17
|
-
startTime: string;
|
18
|
-
endDate: string;
|
19
|
-
endTime: string;
|
20
|
-
timezone: string;
|
21
|
-
spaceId: number;
|
22
|
-
instructorsIds?: number[];
|
23
|
-
sportId: SportsEnum;
|
24
|
-
colorCodeId?: number;
|
25
|
-
children?: CalendarMaintenanceSlotDto[];
|
26
|
-
conflictsCount?: number;
|
27
|
-
sportIds: SportsEnum[];
|
28
|
-
event: Event;
|
29
|
-
reservation: Reservation;
|
30
|
-
series?: Series;
|
31
|
-
}
|
32
|
-
export declare class CalendarMaintenanceSlotDto extends CalendarSlotDto {
|
33
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
34
|
-
}
|
35
|
-
export declare class CalendarFiltersOptionsDto {
|
36
|
-
resourcesTypes: ResourceTypeEnum[];
|
37
|
-
spaces: SimpleResourceDto[];
|
38
|
-
instructors: SimpleResourceDto[];
|
39
|
-
spaceSubTypes: ResourceSubTypeEnum[];
|
40
|
-
sports: SportsEnum[];
|
41
|
-
slotTypes: SlotTypeEnum[];
|
42
|
-
paymentStatuses: ReservationPaymentStatusEnum[];
|
43
|
-
approvalStatuses: ReservationStatusEnum[];
|
44
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CalendarFiltersOptionsDto = exports.CalendarMaintenanceSlotDto = exports.CalendarSlotDto = void 0;
|
4
|
-
class CalendarSlotDto {
|
5
|
-
}
|
6
|
-
exports.CalendarSlotDto = CalendarSlotDto;
|
7
|
-
class CalendarMaintenanceSlotDto extends CalendarSlotDto {
|
8
|
-
}
|
9
|
-
exports.CalendarMaintenanceSlotDto = CalendarMaintenanceSlotDto;
|
10
|
-
class CalendarFiltersOptionsDto {
|
11
|
-
}
|
12
|
-
exports.CalendarFiltersOptionsDto = CalendarFiltersOptionsDto;
|
13
|
-
//# sourceMappingURL=calendar-slot.dto.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"calendar-slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/calendar-slot.dto.ts"],"names":[],"mappings":";;;AAaA,MAAa,eAAe;CA8C3B;AA9CD,0CA8CC;AAED,MAAa,0BAA2B,SAAQ,eAAe;CAE9D;AAFD,gEAEC;AAED,MAAa,yBAAyB;CAgBrC;AAhBD,8DAgBC"}
|