@bondsports/types 2.5.22 → 2.5.23
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/family-account/dto/get-families.dto.d.ts +1 -1
- package/dist/types/family-account/types/consts/family-account.consts.d.ts +6 -0
- package/dist/types/family-account/types/consts/family-account.consts.js +22 -0
- package/dist/types/family-account/types/consts/family-account.consts.js.map +1 -0
- package/dist/types/family-account/types/consts/index.d.ts +1 -0
- package/dist/types/family-account/types/consts/index.js +18 -0
- package/dist/types/family-account/types/consts/index.js.map +1 -0
- package/dist/types/family-account/types/enums/{enums.js → family-account.enums.js} +1 -1
- package/dist/types/family-account/types/enums/family-account.enums.js.map +1 -0
- package/dist/types/family-account/types/enums/index.d.ts +1 -1
- package/dist/types/family-account/types/enums/index.js +1 -1
- package/dist/types/family-account/types/enums/index.js.map +1 -1
- package/dist/types/family-account/types/index.d.ts +1 -0
- package/dist/types/family-account/types/index.js +1 -0
- package/dist/types/family-account/types/index.js.map +1 -1
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.d.ts +0 -2
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.js +1 -3
- package/dist/types/leagues-scheduler/types/leagues-scheduler-consts.js.map +1 -1
- package/dist/types/utils/types/consts/date.consts.d.ts +5 -0
- package/dist/types/utils/types/consts/date.consts.js +9 -0
- package/dist/types/utils/types/consts/date.consts.js.map +1 -0
- package/dist/types/utils/types/consts/index.d.ts +1 -0
- package/dist/types/utils/types/consts/index.js +18 -0
- package/dist/types/utils/types/consts/index.js.map +1 -0
- package/dist/types/utils/types/index.d.ts +1 -0
- package/dist/types/utils/types/index.js +1 -0
- package/dist/types/utils/types/index.js.map +1 -1
- package/dist/types/utils/types/interfaces/date-util.interfaces.d.ts +6 -0
- package/package.json +1 -1
- package/dist/types/family-account/types/enums/enums.js.map +0 -1
- /package/dist/types/family-account/types/enums/{enums.d.ts → family-account.enums.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IdsQueryDto } from '../../dto/general.dto';
|
|
2
2
|
import { TUserInOrganization } from '../../user/entities/user.entity';
|
|
3
3
|
import { FamilyAccount } from '../entities/family-account.entity';
|
|
4
|
-
import { FamilyAccountExpandEnum } from '../types/enums/enums';
|
|
4
|
+
import { FamilyAccountExpandEnum } from '../types/enums/family-account.enums';
|
|
5
5
|
export declare class FamilyAccountExpandQueryDto extends IdsQueryDto {
|
|
6
6
|
expand?: FamilyAccountExpandEnum[];
|
|
7
7
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FamilyAccountExpandEnum } from '../enums/family-account.enums';
|
|
2
|
+
export declare const FAMILY_ACCOUNT_INVITE_TTL_MS: number;
|
|
3
|
+
export declare const FAMILY_ACCOUNT_INVITE_CONSUMER_PATH = "/user/profile";
|
|
4
|
+
export declare const FAMILY_ACCOUNT_INVITE_TOKEN_QUERY_PARAM = "familyInviteToken";
|
|
5
|
+
export declare const FAMILY_ACCOUNT_INVITE_KIND = "familyAccount";
|
|
6
|
+
export declare const ORGANIZATION_FAMILY_EXPANDS_MAPPING: Record<FamilyAccountExpandEnum, string[]>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ORGANIZATION_FAMILY_EXPANDS_MAPPING = exports.FAMILY_ACCOUNT_INVITE_KIND = exports.FAMILY_ACCOUNT_INVITE_TOKEN_QUERY_PARAM = exports.FAMILY_ACCOUNT_INVITE_CONSUMER_PATH = exports.FAMILY_ACCOUNT_INVITE_TTL_MS = void 0;
|
|
4
|
+
const date_consts_1 = require("../../../utils/types/consts/date.consts");
|
|
5
|
+
const family_account_enums_1 = require("../enums/family-account.enums");
|
|
6
|
+
const FAMILY_ACCOUNT_INVITE_TTL_DAYS = 7;
|
|
7
|
+
exports.FAMILY_ACCOUNT_INVITE_TTL_MS = FAMILY_ACCOUNT_INVITE_TTL_DAYS * date_consts_1.MILLISEC_IN_DAY;
|
|
8
|
+
exports.FAMILY_ACCOUNT_INVITE_CONSUMER_PATH = '/user/profile';
|
|
9
|
+
exports.FAMILY_ACCOUNT_INVITE_TOKEN_QUERY_PARAM = 'familyInviteToken';
|
|
10
|
+
exports.FAMILY_ACCOUNT_INVITE_KIND = 'familyAccount';
|
|
11
|
+
exports.ORGANIZATION_FAMILY_EXPANDS_MAPPING = {
|
|
12
|
+
[family_account_enums_1.FamilyAccountExpandEnum.MEMBERS]: [
|
|
13
|
+
'userInFamilyAccounts',
|
|
14
|
+
'userInFamilyAccounts.user',
|
|
15
|
+
'userInFamilyAccounts.user.customers',
|
|
16
|
+
],
|
|
17
|
+
[family_account_enums_1.FamilyAccountExpandEnum.MEMBERS_PROFILE_PIC]: [
|
|
18
|
+
'userInFamilyAccounts.user.customers.profilePicture',
|
|
19
|
+
'userInFamilyAccounts.user.profilePicture',
|
|
20
|
+
],
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=family-account.consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-account.consts.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/consts/family-account.consts.ts"],"names":[],"mappings":";;;AAAA,yEAA0E;AAC1E,wEAAwE;AAExE,MAAM,8BAA8B,GAAG,CAAC,CAAC;AAE5B,QAAA,4BAA4B,GAAG,8BAA8B,GAAG,6BAAe,CAAC;AAEhF,QAAA,mCAAmC,GAAG,eAAe,CAAC;AAEtD,QAAA,uCAAuC,GAAG,mBAAmB,CAAC;AAE9D,QAAA,0BAA0B,GAAG,eAAe,CAAC;AAE7C,QAAA,mCAAmC,GAA8C;IAC7F,CAAC,8CAAuB,CAAC,OAAO,CAAC,EAAE;QAClC,sBAAsB;QACtB,2BAA2B;QAC3B,qCAAqC;KACrC;IACD,CAAC,8CAAuB,CAAC,mBAAmB,CAAC,EAAE;QAC9C,oDAAoD;QACpD,0CAA0C;KAC1C;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './family-account.consts';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./family-account.consts"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -6,4 +6,4 @@ var FamilyAccountExpandEnum;
|
|
|
6
6
|
FamilyAccountExpandEnum["MEMBERS"] = "members";
|
|
7
7
|
FamilyAccountExpandEnum["MEMBERS_PROFILE_PIC"] = "members.profilePicture";
|
|
8
8
|
})(FamilyAccountExpandEnum = exports.FamilyAccountExpandEnum || (exports.FamilyAccountExpandEnum = {}));
|
|
9
|
-
//# sourceMappingURL=enums.js.map
|
|
9
|
+
//# sourceMappingURL=family-account.enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"family-account.enums.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/family-account.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,8CAAmB,CAAA;IACnB,yEAA8C,CAAA;AAC/C,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './enums';
|
|
1
|
+
export * from './family-account.enums';
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./enums"), exports);
|
|
17
|
+
__exportStar(require("./family-account.enums"), exports);
|
|
18
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./consts"), exports);
|
|
17
18
|
__exportStar(require("./enums"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/family-account/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/family-account/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DAYS_IN_WEEK = exports.HOURS_IN_HALF_DAY =
|
|
4
|
-
exports.MINUTES_IN_HOUR = 60;
|
|
5
|
-
exports.HOURS_IN_DAY = 24;
|
|
3
|
+
exports.DAYS_IN_WEEK = exports.HOURS_IN_HALF_DAY = void 0;
|
|
6
4
|
exports.HOURS_IN_HALF_DAY = 12;
|
|
7
5
|
exports.DAYS_IN_WEEK = 7;
|
|
8
6
|
//# sourceMappingURL=leagues-scheduler-consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leagues-scheduler-consts.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/leagues-scheduler-consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,
|
|
1
|
+
{"version":3,"file":"leagues-scheduler-consts.js","sourceRoot":"","sources":["../../../../src/types/leagues-scheduler/types/leagues-scheduler-consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAEvB,QAAA,YAAY,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MILLISEC_IN_DAY = exports.MILLISECS_IN_SECOND = exports.SECONDS_IN_MINUTE = exports.MINUTES_IN_HOUR = exports.HOURS_IN_DAY = void 0;
|
|
4
|
+
exports.HOURS_IN_DAY = 24;
|
|
5
|
+
exports.MINUTES_IN_HOUR = 60;
|
|
6
|
+
exports.SECONDS_IN_MINUTE = 60;
|
|
7
|
+
exports.MILLISECS_IN_SECOND = 1000;
|
|
8
|
+
exports.MILLISEC_IN_DAY = exports.HOURS_IN_DAY * exports.MINUTES_IN_HOUR * exports.SECONDS_IN_MINUTE * exports.MILLISECS_IN_SECOND;
|
|
9
|
+
//# sourceMappingURL=date.consts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date.consts.js","sourceRoot":"","sources":["../../../../../src/types/utils/types/consts/date.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,EAAE,CAAC;AAClB,QAAA,eAAe,GAAG,EAAE,CAAC;AACrB,QAAA,iBAAiB,GAAG,EAAE,CAAC;AACvB,QAAA,mBAAmB,GAAG,IAAI,CAAC;AAC3B,QAAA,eAAe,GAAW,oBAAY,GAAG,uBAAe,GAAG,yBAAiB,GAAG,2BAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './date.consts';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./date.consts"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/utils/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./consts"), exports);
|
|
17
18
|
__exportStar(require("./enums"), exports);
|
|
18
19
|
__exportStar(require("./general.types"), exports);
|
|
19
20
|
__exportStar(require("./interfaces"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/utils/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,kDAAgC;AAChC,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/utils/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,kDAAgC;AAChC,+CAA6B"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../../src/types/family-account/types/enums/enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAClC,8CAAmB,CAAA;IACnB,yEAA8C,CAAA;AAC/C,CAAC,EAHW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAGlC"}
|
|
File without changes
|