@bondsports/types 2.3.31-a-0 → 2.3.31-a-2
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/cart/dto/cart.dto.d.ts +2 -0
- package/dist/types/cart/dto/cart.dto.js.map +1 -1
- package/dist/types/cart/entities/cart.entity.d.ts +2 -0
- package/dist/types/cart/entities/cart.entity.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +1 -0
- package/dist/types/pricing/dto/price.dto.d.ts +7 -5
- package/dist/types/pricing/dto/price.dto.js +5 -2
- package/dist/types/pricing/dto/price.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +3 -3
- package/dist/types/product-pricing/dto/public-product.dto.d.ts +12 -9
- package/dist/types/product-pricing/dto/public-product.dto.js +5 -1
- package/dist/types/product-pricing/dto/public-product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/product.entity.d.ts +1 -0
- package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +6 -0
- package/dist/types/product-pricing/types/interfaces/product-resource.interfaces.d.ts +5 -0
- package/dist/types/programs/dto/session-public.dto.d.ts +4 -0
- package/dist/types/programs/dto/session-public.dto.js +4 -1
- package/dist/types/programs/dto/session-public.dto.js.map +1 -1
- package/dist/types/programs/entities/Program.d.ts +1 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.d.ts +3 -0
- package/dist/types/programs-seasons/dto/program-seasons.dto.js +4 -1
- package/dist/types/programs-seasons/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/programs-seasons/entities/ProgramSeason.d.ts +12 -10
- package/dist/types/programs-seasons/entities/ProgramSeason.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/resource-settings/entities/resource-setting.entity.d.ts +1 -1
- package/dist/types/util/models/types/orm.types.d.ts +9 -0
- package/dist/types/util/models/types/orm.types.js.map +1 -1
- package/package.json +54 -54
- package/dist/types/programs-seasons/types/consts/index.d.ts +0 -1
- package/dist/types/programs-seasons/types/consts/index.js +0 -18
- package/dist/types/programs-seasons/types/consts/index.js.map +0 -1
- package/dist/types/programs-seasons/types/consts/program-season.consts.d.ts +0 -1
- package/dist/types/programs-seasons/types/consts/program-season.consts.js +0 -5
- package/dist/types/programs-seasons/types/consts/program-season.consts.js.map +0 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
1
2
|
import { ScheduleDto } from '../../dto/activityTimes.dto';
|
2
3
|
import { UserAnswersDto } from '../../dto/application.dto';
|
3
4
|
import { PaginationQuery } from '../../dto/general.dto';
|
@@ -20,6 +21,7 @@ export declare class CartDto extends SimpleCartDto {
|
|
20
21
|
state: CartStateEnum;
|
21
22
|
creatorId: number;
|
22
23
|
owner: SimpleUserDto;
|
24
|
+
customer?: SimpleCustomerDto;
|
23
25
|
currency: CurrencyEnum;
|
24
26
|
shiftId?: number;
|
25
27
|
platform: PlatformsEnum;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"cart.dto.js","sourceRoot":"","sources":["../../../../src/types/cart/dto/cart.dto.ts"],"names":[],"mappings":";;;AAIA,uDAAwD;AACxD,8EAAyG;AASzG,sDAAkF;AAWlF,MAAa,aAAc,SAAQ,4CAAyB;CAQ3D;AARD,sCAQC;AAED,MAAa,OAAQ,SAAQ,aAAa;CAoCzC;AApCD,0BAoCC;AAED,MAAa,aAAa;CAOzB;AAPD,sCAOC;AAED,MAAa,aAAc,SAAQ,aAAa;CAM/C;AAND,sCAMC;AAED,MAAa,YAAY;CAIxB;AAJD,oCAIC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,aAAc,SAAQ,mCAAwB;CAE1D;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,sCAAmB;CAE7D;AAFD,sDAEC;AAED,MAAa,kBAAmB,SAAQ,6BAAe;CAQtD;AARD,gDAQC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,qBAAqB;CA+BjC;AA/BD,sDA+BC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,mBAAmB;CAQ/B;AARD,kDAQC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { UserAnswersDto } from '../../dto/application.dto';
|
2
|
+
import { Customer } from '../../entity/Customer';
|
2
3
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
3
4
|
import { CurrencyEnum, PlatformsEnum } from '../../services/enums.service';
|
4
5
|
import { User } from '../../user/entities/User';
|
@@ -15,6 +16,7 @@ export declare class Cart extends OrganizationConnectionBaseEntity {
|
|
15
16
|
creatorId: number;
|
16
17
|
ownerId: number;
|
17
18
|
owner: User;
|
19
|
+
customer?: Customer;
|
18
20
|
platform?: PlatformsEnum;
|
19
21
|
currency: CurrencyEnum;
|
20
22
|
shiftId?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"cart.entity.js","sourceRoot":"","sources":["../../../../src/types/cart/entities/cart.entity.ts"],"names":[],"mappings":";;;AAIA,oGAAiG;AASjG,MAAa,IAAK,SAAQ,mEAAgC;CAkDzD;AAlDD,oBAkDC"}
|
@@ -1,16 +1,18 @@
|
|
1
1
|
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
2
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
3
3
|
import { CurrencyEnum, DiscountMethodsEnum } from '../../services/enums.service';
|
4
|
-
export declare class
|
5
|
-
createdAt: Date;
|
6
|
-
updatedAt: Date;
|
4
|
+
export declare class SimplePriceDto extends OrganizationBaseEntityDto {
|
7
5
|
productId?: number;
|
8
6
|
packageId?: number;
|
9
7
|
name?: string;
|
10
8
|
price: number;
|
11
9
|
currency: CurrencyEnum;
|
12
|
-
startDate?:
|
13
|
-
endDate?:
|
10
|
+
startDate?: string;
|
11
|
+
endDate?: string;
|
12
|
+
}
|
13
|
+
export declare class PriceDto extends SimplePriceDto {
|
14
|
+
createdAt: Date;
|
15
|
+
updatedAt: Date;
|
14
16
|
maxQuantity?: number;
|
15
17
|
minQuantity?: number;
|
16
18
|
taxIncludedPrice?: number;
|
@@ -1,8 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PriceDto = void 0;
|
3
|
+
exports.PriceDto = exports.SimplePriceDto = void 0;
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
5
|
-
class
|
5
|
+
class SimplePriceDto extends organization_dto_1.OrganizationBaseEntityDto {
|
6
|
+
}
|
7
|
+
exports.SimplePriceDto = SimplePriceDto;
|
8
|
+
class PriceDto extends SimplePriceDto {
|
6
9
|
}
|
7
10
|
exports.PriceDto = PriceDto;
|
8
11
|
//# sourceMappingURL=price.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAGpF,MAAa,
|
1
|
+
{"version":3,"file":"price.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/price.dto.ts"],"names":[],"mappings":";;;AAEA,8EAAoF;AAGpF,MAAa,cAAe,SAAQ,4CAAyB;CAc5D;AAdD,wCAcC;AAED,MAAa,QAAS,SAAQ,cAAc;CAkB3C;AAlBD,4BAkBC"}
|
@@ -2,11 +2,11 @@ import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
|
|
2
2
|
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
3
3
|
import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
4
4
|
import { IdAndNameDto, PaginationQuery } from '../../dto/general.dto';
|
5
|
-
import { SimpleMembershipDto } from '../../membership/dto/membership.dto';
|
6
5
|
import { VariantDto, VariantTitleDto } from '../../dto/product-variants.dto';
|
7
6
|
import { GroupItemsPricing } from '../../entity/GroupItemsPricing';
|
8
7
|
import { ProductPackage } from '../../entity/ProductPackage';
|
9
8
|
import { ResourceGlDto } from '../../gl-codes/dto/resource-to-gl.dto';
|
9
|
+
import { SimpleMembershipDto } from '../../membership/dto/membership.dto';
|
10
10
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
11
11
|
import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
|
12
12
|
import { PaymentPlanDto } from '../../payment/dto/payment-plan.dto';
|
@@ -15,7 +15,7 @@ import { PunchPassDto } from '../../punch-pass/dto/punch-pass.dto';
|
|
15
15
|
import { ResourceSettingDto } from '../../resource-settings/dto/resource-setting.dto';
|
16
16
|
import { ActivityEnum, AddonTimePeriodEnum, PlatformsEnum, ProductPackageLevelEnum, ProductSubTypesEnum, ProductTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
17
17
|
import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
|
18
|
-
import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
18
|
+
import { IGetResourcesProductsOptions, IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
|
19
19
|
import { ProductResourceDto } from './product-resource.dto';
|
20
20
|
export declare class FindByProductIdDto {
|
21
21
|
productId: number;
|
@@ -100,7 +100,7 @@ export declare class ProductFieldsDto {
|
|
100
100
|
forms?: number[];
|
101
101
|
isForAllCustomers?: boolean;
|
102
102
|
}
|
103
|
-
export declare class GetExtraProductDataDto {
|
103
|
+
export declare class GetExtraProductDataDto implements IGetResourcesProductsOptions {
|
104
104
|
isPublic?: boolean;
|
105
105
|
isGetEntitlePricing?: boolean;
|
106
106
|
isGetAddOns?: boolean;
|
@@ -1,26 +1,29 @@
|
|
1
|
-
import {
|
1
|
+
import { PaginationResultDto } from '../../dto/general.dto';
|
2
2
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
3
3
|
import { EntitlementDiscountDto } from '../../payment/dto/discount.dto';
|
4
|
-
import {
|
4
|
+
import { SimplePriceDto } from '../../pricing/dto/price.dto';
|
5
|
+
import { SimpleProductDto } from './product.dto';
|
5
6
|
export declare class TaxDto {
|
6
7
|
name?: string;
|
7
|
-
|
8
|
-
|
8
|
+
rate: number;
|
9
|
+
isInclusive: boolean;
|
9
10
|
}
|
10
11
|
export declare class BasicProductDto extends OrganizationBaseEntityDto {
|
11
12
|
name: string;
|
12
13
|
quantity: number;
|
13
14
|
description?: string;
|
14
15
|
downpayment?: number;
|
15
|
-
startDate?:
|
16
|
-
endDate?:
|
17
|
-
prices:
|
16
|
+
startDate?: string;
|
17
|
+
endDate?: string;
|
18
|
+
prices: SimplePriceDto[];
|
18
19
|
isAll: boolean;
|
19
20
|
isPunchPass: boolean;
|
20
|
-
|
21
|
+
requiredProducts?: SimpleProductDto[];
|
21
22
|
isProRated: boolean;
|
22
23
|
taxes?: TaxDto[];
|
23
24
|
entitlementDiscounts?: EntitlementDiscountDto[];
|
24
|
-
reservedForMemberships?: SimpleMembershipDto[];
|
25
25
|
timezone?: string;
|
26
26
|
}
|
27
|
+
export declare class PaginatedProductsDto extends PaginationResultDto<BasicProductDto> {
|
28
|
+
data: BasicProductDto[];
|
29
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.BasicProductDto = exports.TaxDto = void 0;
|
3
|
+
exports.PaginatedProductsDto = exports.BasicProductDto = exports.TaxDto = void 0;
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
4
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
5
6
|
class TaxDto {
|
6
7
|
}
|
@@ -8,4 +9,7 @@ exports.TaxDto = TaxDto;
|
|
8
9
|
class BasicProductDto extends organization_dto_1.OrganizationBaseEntityDto {
|
9
10
|
}
|
10
11
|
exports.BasicProductDto = BasicProductDto;
|
12
|
+
class PaginatedProductsDto extends general_dto_1.PaginationResultDto {
|
13
|
+
}
|
14
|
+
exports.PaginatedProductsDto = PaginatedProductsDto;
|
11
15
|
//# sourceMappingURL=public-product.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/public-product.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"public-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/public-product.dto.ts"],"names":[],"mappings":";;;AACA,uDAA4D;AAC5D,8EAAoF;AAMpF,MAAa,MAAM;CAMlB;AAND,wBAMC;AAED,MAAa,eAAgB,SAAQ,4CAAyB;CA4B7D;AA5BD,0CA4BC;AAED,MAAa,oBAAqB,SAAQ,iCAAoC;CAE7E;AAFD,oDAEC"}
|
@@ -41,6 +41,7 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
41
41
|
productSubType?: ProductSubTypesEnum;
|
42
42
|
punchCard: boolean;
|
43
43
|
requiredProductIds?: number[];
|
44
|
+
requiredProducts?: Product[];
|
44
45
|
resources: IResourcesAvailability[];
|
45
46
|
resource: ProductResourceDto;
|
46
47
|
variantParentId?: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product.entity.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAsBjG,MAAa,OAAQ,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"product.entity.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/product.entity.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAsBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAoI5D;AApID,0BAoIC"}
|
@@ -3,6 +3,7 @@ import { BasicFacilityDto } from '../../dto/facilities.dto';
|
|
3
3
|
import { PaginationQuery, PaginationResultDto } from '../../dto/general.dto';
|
4
4
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
5
5
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
6
|
+
import { BasicProductDto } from '../../product-pricing/dto/public-product.dto';
|
6
7
|
import { AvailabilityStatusEnum, GenderEnum, GenderNameEnum } from '../../services/enums.service';
|
7
8
|
import { LevelOfPlayEnum, LevelOfPlayNameEnum } from '../types/enums/program.enums';
|
8
9
|
import { ISessionsFilters } from '../types/interfaces/program.interfaces';
|
@@ -15,6 +16,8 @@ export declare class GetSessionsFiltersDto extends PaginationQuery implements IS
|
|
15
16
|
endDate?: string;
|
16
17
|
searchByProgram?: boolean;
|
17
18
|
}
|
19
|
+
export declare class GetSessionProductsFiltersDto extends PaginationQuery {
|
20
|
+
}
|
18
21
|
export declare class SessionDto extends OrganizationBaseEntityDto {
|
19
22
|
programId: number;
|
20
23
|
name: string;
|
@@ -42,6 +45,7 @@ export declare class SessionDto extends OrganizationBaseEntityDto {
|
|
42
45
|
maxMaleParticipants?: number;
|
43
46
|
maxFemaleParticipants?: number;
|
44
47
|
isWaitlistEnabled?: boolean;
|
48
|
+
products?: PaginationResultDto<BasicProductDto>;
|
45
49
|
}
|
46
50
|
export declare class PaginatedSessionsDto extends PaginationResultDto<SessionDto> {
|
47
51
|
data: SessionDto[];
|
@@ -1,11 +1,14 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PaginatedSessionsDto = exports.SessionDto = exports.GetSessionsFiltersDto = void 0;
|
3
|
+
exports.PaginatedSessionsDto = exports.SessionDto = exports.GetSessionProductsFiltersDto = exports.GetSessionsFiltersDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class GetSessionsFiltersDto extends general_dto_1.PaginationQuery {
|
7
7
|
}
|
8
8
|
exports.GetSessionsFiltersDto = GetSessionsFiltersDto;
|
9
|
+
class GetSessionProductsFiltersDto extends general_dto_1.PaginationQuery {
|
10
|
+
}
|
11
|
+
exports.GetSessionProductsFiltersDto = GetSessionProductsFiltersDto;
|
9
12
|
class SessionDto extends organization_dto_1.OrganizationBaseEntityDto {
|
10
13
|
}
|
11
14
|
exports.SessionDto = SessionDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"session-public.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/session-public.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA6E;AAC7E,8EAAoF;
|
1
|
+
{"version":3,"file":"session-public.dto.js","sourceRoot":"","sources":["../../../../src/types/programs/dto/session-public.dto.ts"],"names":[],"mappings":";;;AAGA,uDAA6E;AAC7E,8EAAoF;AAQpF,MAAa,qBAAsB,SAAQ,6BAAe;CAczD;AAdD,sDAcC;AAED,MAAa,4BAA6B,SAAQ,6BAAe;CAAI;AAArE,oEAAqE;AAErE,MAAa,UAAW,SAAQ,4CAAyB;CAsDxD;AAtDD,gCAsDC;AAED,MAAa,oBAAqB,SAAQ,iCAA+B;CAExE;AAFD,oDAEC"}
|
@@ -24,7 +24,6 @@ export declare class Program extends OrganizationConnectionBaseEntity {
|
|
24
24
|
mainMediaId?: number;
|
25
25
|
mainMedia?: Media;
|
26
26
|
userCreatorId: number;
|
27
|
-
linkSEO: string;
|
28
27
|
longDescription?: string;
|
29
28
|
requiredProductIds: number[] | null;
|
30
29
|
ageCalcDate?: Date;
|
@@ -33,6 +32,7 @@ export declare class Program extends OrganizationConnectionBaseEntity {
|
|
33
32
|
programHighlights: ProgramHighlights[];
|
34
33
|
programSeason: ProgramSeason[];
|
35
34
|
purchasedResources: PurchasedResource[];
|
35
|
+
linkSEO: string;
|
36
36
|
sessions?: ProgramSeason[];
|
37
37
|
sessionsNumber?: number;
|
38
38
|
paginationType?: PaginationTypeEnum;
|
@@ -25,6 +25,9 @@ export declare class FindSessionsFiltersDto {
|
|
25
25
|
export declare class BySeasonDto extends ByProgramDto {
|
26
26
|
seasonId: number;
|
27
27
|
}
|
28
|
+
export declare class BySessionDto extends ByProgramDto {
|
29
|
+
sessionId: number;
|
30
|
+
}
|
28
31
|
export declare class DeleteEventAttendeesDto {
|
29
32
|
eventAttendeeIds: string;
|
30
33
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SeasonRegistrationValidationOptionsDto = exports.UnregisterFromEventsDto = exports.UnregisterFromSegmentsDto = exports.UnregisterDto = exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSegmentsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.DuplicateProductOfSeasonByIdDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
3
|
+
exports.SeasonRegistrationValidationOptionsDto = exports.UnregisterFromEventsDto = exports.UnregisterFromSegmentsDto = exports.UnregisterDto = exports.SeasonWithProduct = exports.GetPaginatedEventsQueryDto = exports.GetPaginatedSegmentsQueryDto = exports.GetPaginatedSessionQueryDto = exports.GetRelatedProgramSessionsDto = exports.RelatedSessionsDto = exports.GetOrganizationProgramSessionsDto = exports.NotifySessionAttendeesDto = exports.NotifyEventAttendeesDto = exports.EventsAndConflictsDto = exports.UpdateProgramSeasonOptionsDto = exports.UpdateProgramSeasonColorsDto = exports.MoveParticipantDto = exports.UpdateSeasonRegistrationDatesDto = exports.MoveAttendeeDto = exports.UpdateSeasonDatesDto = exports.SpaceAllocationsByTimesDto = exports.SingleSpaceAllocationByTimesDto = exports.BulkSpaceResourceAllocationDto = exports.SpaceResourcePairDto = exports.SimpleSessionDto = exports.ShallowUpdateSubSeasonDto = exports.ShallowUpdateProgramSeasonDto = exports.UpdateProgramSeasonStatusDto = exports.UpdateProgramSeasonDto = exports.CreateProgramSeasonDto = exports.SubSeasonBasicInfo = exports.CreateSessionScheduleDto = exports.BaseProgramSeasonDto = exports.RegistrationSettingsDto = exports.RegistrationDatesDto = exports.BlockedDatesDto = exports.FindRegisteredUsersOptionsDto = exports.FindRegisteredUserDto = exports.DeleteProductDto = exports.FindSessionEventByIdDto = exports.ByOrganizationIdAndProgramSeasonIdDto = exports.FindSeasonEventsQueryDto = exports.SegmentsBySessionQueryDto = exports.DuplicateProductOfSeasonByIdDto = exports.FindProgramSeasonByIdDto = exports.FindProgramSeasonByIdQueryDto = exports.DeleteEventAttendeesDto = exports.BySessionDto = exports.BySeasonDto = exports.FindSessionsFiltersDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const backoffice_notify_dto_1 = require("../../notifications/dto/backoffice.notify.dto");
|
6
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
@@ -11,6 +11,9 @@ exports.FindSessionsFiltersDto = FindSessionsFiltersDto;
|
|
11
11
|
class BySeasonDto extends program_dto_1.ByProgramDto {
|
12
12
|
}
|
13
13
|
exports.BySeasonDto = BySeasonDto;
|
14
|
+
class BySessionDto extends program_dto_1.ByProgramDto {
|
15
|
+
}
|
16
|
+
exports.BySessionDto = BySessionDto;
|
14
17
|
class DeleteEventAttendeesDto {
|
15
18
|
}
|
16
19
|
exports.DeleteEventAttendeesDto = DeleteEventAttendeesDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":"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"}
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAIA,uDAA4G;AAG5G,yFAAoF;AACpF,8EAAyG;AAEzG,gEAAuF;AA0BvF,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,WAAY,SAAQ,0BAAY;CAE5C;AAFD,kCAEC;AAED,MAAa,YAAa,SAAQ,0BAAY;CAE7C;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,+BAAgC,SAAQ,wBAAwB;CAE5E;AAFD,0EAEC;AAED,MAAa,yBAAyB;CAUrC;AAVD,8DAUC;AACD,MAAa,wBAAyB,SAAQ,6BAAe;CAU5D;AAVD,4DAUC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAchE;AAdD,0DAcC;AAED,MAAa,oBAAqB,SAAQ,uBAAuB;CA8EhE;AA9ED,oDA8EC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,kBAAkB;CAQ9B;AARD,gDAQC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAI/D;AAJD,wDAIC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,6BAA6B;CAwDzC;AAxDD,sEAwDC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAcjD;AAdD,4CAcC;AAED,MAAa,oBAAoB;CAYhC;AAZD,oDAYC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAQ3B;AARD,0CAQC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC;AAED,MAAa,6BAA8B,SAAQ,qCAAuB;CAAG;AAA7E,sEAA6E;AAE7E,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED;;GAEG;AACH,MAAa,uBAAwB,SAAQ,2CAAmB;CAY/D;AAZD,0DAYC;AAED;;GAEG;AACH,MAAa,yBAA0B,SAAQ,2CAAmB;CAajE;AAbD,8DAaC;AAED,MAAa,iCAAkC,SAAQ,6BAAe;CAMrE;AAND,8EAMC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,4BAA4B;CAMxC;AAND,oEAMC;AAED,MAAa,2BACZ,SAAQ,6BAAe;CAWvB;AAZD,kEAYC;AAED,MAAa,4BAA6B,SAAQ,2BAA0C;CAI3F;AAJD,oEAIC;AAED,MAAa,0BAA2B,SAAQ,2BAAkC;CAIjF;AAJD,gEAIC;AACD,MAAa,iBAAiB;CAI7B;AAJD,8CAIC;AAED,MAAa,aAAc,SAAQ,sCAAmB;CAIrD;AAJD,sCAIC;AAED,MAAa,yBAA0B,SAAQ,aAAa;CAE3D;AAFD,8DAEC;AAED,MAAa,uBAAwB,SAAQ,aAAa;CAEzD;AAFD,0DAEC;AAED,MAAa,sCAAsC;CAElD;AAFD,wFAEC"}
|
@@ -18,7 +18,7 @@ import { LevelOfPlayEnum, ProgramSeasonTypesEnum, ProgramTypesEnum, PublishingSt
|
|
18
18
|
import { IUserCount } from '../../purchase/types/interfaces/purchase.interfaces';
|
19
19
|
import { ResourceSetting } from '../../resource-settings/entities/resource-setting.entity';
|
20
20
|
import { ISettings } from '../../resource-settings/types/resource-settings.interfaces';
|
21
|
-
import { AvailabilityStatusEnum, GenderEnum } from '../../services/enums.service';
|
21
|
+
import { AvailabilityStatusEnum, GenderEnum, PaginationTypeEnum } from '../../services/enums.service';
|
22
22
|
import { EventAsSeasonSegment, IBasicSpaceAndSlotCreator, SeasonAsSeasonSegment } from '../../services/interfaces.service';
|
23
23
|
import { SegmentsMetadata } from '../types/classes/program-season.classes';
|
24
24
|
export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
@@ -26,7 +26,6 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
26
26
|
name: string;
|
27
27
|
description: string | null;
|
28
28
|
GL?: string | null;
|
29
|
-
glCodes?: ResourceGlDto[];
|
30
29
|
status: PublishingStatusEnum;
|
31
30
|
startDate: Date;
|
32
31
|
endDate: Date;
|
@@ -43,31 +42,25 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
43
42
|
maxFemaleWaitlist: number | null;
|
44
43
|
facilityId: number | null;
|
45
44
|
addressId: number | null;
|
45
|
+
address?: Address;
|
46
46
|
sport: SportsEnum;
|
47
47
|
minAge: string;
|
48
48
|
maxAge: string;
|
49
49
|
gender: GenderEnum;
|
50
50
|
level: LevelOfPlayEnum[] | null;
|
51
|
-
blockedDated: BlockedDate[];
|
52
|
-
products: Product[];
|
53
|
-
linkSEO: string;
|
54
|
-
address: Address;
|
55
51
|
defaultProductId?: number;
|
56
52
|
longDescription?: string;
|
57
53
|
isPunchCard?: boolean;
|
58
54
|
deletedAt?: Date;
|
59
|
-
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
60
55
|
program: Program;
|
61
56
|
spaces?: IBasicSpaceAndSlotCreator[];
|
62
57
|
resources?: SimpleResourceDto[];
|
63
|
-
reservationId?: number;
|
64
58
|
earlyRegistrationStartDate?: Date;
|
65
59
|
earlyRegistrationEndDate?: Date;
|
66
60
|
lateRegistrationStartDate?: Date;
|
67
61
|
lateRegistrationEndDate?: Date;
|
68
62
|
requiredProductIds?: number[];
|
69
63
|
requiredProducts?: Product[];
|
70
|
-
registrationConstraints?: RegistrationConstraint;
|
71
64
|
parentSession: ProgramSeason;
|
72
65
|
facility: Facility;
|
73
66
|
ageCalcDate: string;
|
@@ -82,17 +75,26 @@ export declare class ProgramSeason extends OrganizationConnectionBaseEntity {
|
|
82
75
|
* from startDate from the same record
|
83
76
|
*/
|
84
77
|
resourceSettings?: ResourceSetting[];
|
85
|
-
settings?: ISettings;
|
86
78
|
sessionSegments: ProgramSeason[];
|
87
79
|
sessionEvents: Event[];
|
88
80
|
activityTimes: ActivityTimes[];
|
89
81
|
productResources: ProductResource[];
|
90
82
|
seasonAttendees: SeasonAttendee[];
|
91
83
|
purchasedResources: PurchasedResource[];
|
84
|
+
glCodes?: ResourceGlDto[];
|
85
|
+
segments?: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
86
|
+
reservationId?: number;
|
87
|
+
registrationConstraints?: RegistrationConstraint;
|
88
|
+
blockedDated: BlockedDate[];
|
89
|
+
products?: Product[];
|
90
|
+
linkSEO: string;
|
92
91
|
facilityName?: string;
|
93
92
|
facilityTimezone?: string;
|
93
|
+
settings?: ISettings;
|
94
94
|
eventsCount?: number;
|
95
95
|
availabilityStatus?: AvailabilityStatusEnum;
|
96
96
|
attendeesCounts?: IUserCount;
|
97
97
|
relatedAttendeesIds?: number[];
|
98
|
+
productsNumber?: number;
|
99
|
+
paginationType?: PaginationTypeEnum;
|
98
100
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAqBA,oGAAiG;AA0BjG,MAAa,aAAc,SAAQ,mEAAgC;
|
1
|
+
{"version":3,"file":"ProgramSeason.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/entities/ProgramSeason.ts"],"names":[],"mappings":";;;AAqBA,oGAAiG;AA0BjG,MAAa,aAAc,SAAQ,mEAAgC;CAoJlE;AApJD,sCAoJC"}
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./classes"), exports);
|
18
|
-
__exportStar(require("./consts"), exports);
|
19
18
|
__exportStar(require("./enums"), exports);
|
20
19
|
__exportStar(require("./interfaces"), exports);
|
21
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/programs-seasons/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,0CAAwB;AACxB,+CAA6B"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { OrderByEnum } from '../../../services/enums.service';
|
1
2
|
export declare enum LockModeEnum {
|
2
3
|
EXCLUSIVE = "pessimistic_write",
|
3
4
|
SHARED = "pessimistic_read"
|
@@ -8,3 +9,11 @@ export interface IGetQueryGeneratorOptions {
|
|
8
9
|
raw?: boolean;
|
9
10
|
signal?: AbortSignal;
|
10
11
|
}
|
12
|
+
export interface IOrderBy {
|
13
|
+
orderBy: string;
|
14
|
+
order?: OrderByEnum;
|
15
|
+
}
|
16
|
+
export interface ISelectByGroupResult<T> {
|
17
|
+
data: T[];
|
18
|
+
counts: Map<number, number>;
|
19
|
+
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"orm.types.js","sourceRoot":"","sources":["../../../../../src/types/util/models/types/orm.types.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"orm.types.js","sourceRoot":"","sources":["../../../../../src/types/util/models/types/orm.types.ts"],"names":[],"mappings":";;;AAEA,IAAY,YAGX;AAHD,WAAY,YAAY;IACvB,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;AAC5B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
|
package/package.json
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
-
{
|
2
|
-
"name": "@bondsports/types",
|
3
|
-
"version": "2.3.31-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
|
-
"@bondsports/date-time": "^2.4.48",
|
37
|
-
"@bondsports/notifications-sdk": "latest",
|
38
|
-
"moment": "^2.29.1",
|
39
|
-
"rimraf": "^3.0.2",
|
40
|
-
"stripe": "9.1.0",
|
41
|
-
"typeorm": "^0.2.32"
|
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": "
|
54
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@bondsports/types",
|
3
|
+
"version": "2.3.31-a-2",
|
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
|
+
"@bondsports/date-time": "^2.4.48",
|
37
|
+
"@bondsports/notifications-sdk": "latest",
|
38
|
+
"moment": "^2.29.1",
|
39
|
+
"rimraf": "^3.0.2",
|
40
|
+
"stripe": "9.1.0",
|
41
|
+
"typeorm": "^0.2.32"
|
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": "c5c220db0c832579aa6822ebae89b90ca05c4a96"
|
54
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './program-season.consts';
|
@@ -1,18 +0,0 @@
|
|
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("./program-season.consts"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const DEFAULT_SESSIONS_PER_PROGRAM = 10;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"program-season.consts.js","sourceRoot":"","sources":["../../../../../src/types/programs-seasons/types/consts/program-season.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,4BAA4B,GAAG,EAAE,CAAC"}
|