@bondsports/types 2.1.20 → 2.1.21
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
|
|
1
1
|
import { BondBaseEntity } from './BondBaseEntity';
|
2
|
+
import { ActivityTimes } from './ActivityTimes';
|
2
3
|
export declare class PackageV1 extends BondBaseEntity {
|
3
4
|
name?: string;
|
4
5
|
description?: string;
|
@@ -15,4 +16,5 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
15
16
|
addon: boolean;
|
16
17
|
isMandatory: boolean;
|
17
18
|
productId: number;
|
19
|
+
activityTimes?: ActivityTimes[];
|
18
20
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PackageV1.js","sourceRoot":"","sources":["../../../src/types/entity/PackageV1.ts"],"names":[],"mappings":";;;AACA,qDAAkD;
|
1
|
+
{"version":3,"file":"PackageV1.js","sourceRoot":"","sources":["../../../src/types/entity/PackageV1.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAGlD,MAAa,SAAU,SAAQ,+BAAc;CAgC5C;AAhCD,8BAgCC"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { OrderByEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
2
2
|
import { SimpleResourceDto } from '../../dto/resource.dto';
|
3
3
|
import { OrderByResourceEnum } from '../enums/resources.enums';
|
4
|
+
import { PackageV1 } from '../../../entity/PackageV1';
|
4
5
|
export interface ParentResources extends SimpleResourceDto {
|
5
6
|
parentId: number;
|
6
7
|
parentType?: ResourceNameTypeEnum;
|
@@ -16,3 +17,8 @@ export interface IGetResourceByIdsOptions {
|
|
16
17
|
order?: OrderByEnum;
|
17
18
|
orderBy?: OrderByResourceEnum;
|
18
19
|
}
|
20
|
+
export interface ResourceToPackageV1 {
|
21
|
+
resourceId: number;
|
22
|
+
packageId: number;
|
23
|
+
package?: PackageV1;
|
24
|
+
}
|