@timardex/cluemart-server-shared 1.1.39 → 2.0.0
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/{Affiliate-CBp0M850.d.ts → Affiliate-CMJdECzs.d.mts} +28 -28
- package/dist/{Affiliate-BLh0EcNI.d.mts → Affiliate-VLZdlt5K.d.ts} +28 -28
- package/dist/chunk-3QS3WKRC.mjs +31 -0
- package/dist/chunk-3QS3WKRC.mjs.map +1 -0
- package/dist/{chunk-6RUQHYTK.mjs → chunk-EGUFWI7R.mjs} +1682 -112
- package/dist/chunk-EGUFWI7R.mjs.map +1 -0
- package/dist/{index-zC8a3adw.d.mts → index-Bq-lT7a2.d.mts} +2 -2
- package/dist/{index-zC8a3adw.d.ts → index-Bq-lT7a2.d.ts} +2 -2
- package/dist/index.cjs +1681 -113
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +49 -29
- package/dist/index.d.ts +49 -29
- package/dist/index.mjs +1704 -113
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +1679 -111
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +28 -8
- package/dist/mongoose/index.d.ts +28 -8
- package/dist/mongoose/index.mjs +2 -1
- package/dist/service/index.cjs +1681 -113
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +2 -2
- package/dist/service/index.d.ts +2 -2
- package/dist/service/index.mjs +4 -3
- package/dist/service/index.mjs.map +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.mjs +1 -0
- package/package.json +2 -2
- package/dist/chunk-6RUQHYTK.mjs.map +0 -1
package/dist/service/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
2
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
3
3
|
import { PromoCodeType, EnumAffiliateRewardType, DateTimeType, EventListItemType, DateTimeWithPriceType, EnumUserLicence as EnumUserLicence$1, UserLicenceType, EnumNotificationResourceType, EnumNotificationType, EnumResourceType } from '@timardex/cluemart-shared';
|
|
4
|
-
import {
|
|
5
|
-
import { O as ObjectId, G as GraphQLContext,
|
|
4
|
+
import { d as SchemaAffiliateResourceType, S as SchemaOwnerType, g as SchemaRelationType, j as SchemaUserType } from '../Affiliate-CMJdECzs.mjs';
|
|
5
|
+
import { O as ObjectId, G as GraphQLContext, e as SchemaCreateBulkNotificationInput } from '../index-Bq-lT7a2.mjs';
|
|
6
6
|
import dayjs, { Dayjs } from 'dayjs';
|
|
7
7
|
import { DateTimeType as DateTimeType$1 } from '@timardex/cluemart-shared/types';
|
|
8
8
|
import { EnumUserLicence } from '@timardex/cluemart-shared/enums';
|
package/dist/service/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
2
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
3
3
|
import { PromoCodeType, EnumAffiliateRewardType, DateTimeType, EventListItemType, DateTimeWithPriceType, EnumUserLicence as EnumUserLicence$1, UserLicenceType, EnumNotificationResourceType, EnumNotificationType, EnumResourceType } from '@timardex/cluemart-shared';
|
|
4
|
-
import {
|
|
5
|
-
import { O as ObjectId, G as GraphQLContext,
|
|
4
|
+
import { d as SchemaAffiliateResourceType, S as SchemaOwnerType, g as SchemaRelationType, j as SchemaUserType } from '../Affiliate-VLZdlt5K.js';
|
|
5
|
+
import { O as ObjectId, G as GraphQLContext, e as SchemaCreateBulkNotificationInput } from '../index-Bq-lT7a2.js';
|
|
6
6
|
import dayjs, { Dayjs } from 'dayjs';
|
|
7
7
|
import { DateTimeType as DateTimeType$1 } from '@timardex/cluemart-shared/types';
|
|
8
8
|
import { EnumUserLicence } from '@timardex/cluemart-shared/enums';
|
package/dist/service/index.mjs
CHANGED
|
@@ -27,8 +27,9 @@ import {
|
|
|
27
27
|
isNonVisitorResourceType,
|
|
28
28
|
licenseNiceNames,
|
|
29
29
|
timeFormat
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-EGUFWI7R.mjs";
|
|
31
31
|
import "../chunk-6PNG5BI5.mjs";
|
|
32
|
+
import "../chunk-3QS3WKRC.mjs";
|
|
32
33
|
|
|
33
34
|
// src/service/promoCode/constants.ts
|
|
34
35
|
var ACTIVE_NOT_DELETED_FILTER = {
|
|
@@ -118,7 +119,7 @@ var SHARE_RESOURCE_LABEL = {
|
|
|
118
119
|
school: "School"
|
|
119
120
|
};
|
|
120
121
|
|
|
121
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
122
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-JJQL6LZE.mjs
|
|
122
123
|
var PROMO_CODE_PREFIX = "CM-";
|
|
123
124
|
var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
|
|
124
125
|
var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
|
|
@@ -230,7 +231,7 @@ var gameScreenIdentifierList = [
|
|
|
230
231
|
}
|
|
231
232
|
];
|
|
232
233
|
|
|
233
|
-
// node_modules/@timardex/cluemart-shared/dist/chunk-
|
|
234
|
+
// node_modules/@timardex/cluemart-shared/dist/chunk-L3SNS6OJ.mjs
|
|
234
235
|
import dayjs2 from "dayjs";
|
|
235
236
|
var statusOptions = [
|
|
236
237
|
...Object.values(EnumInviteStatus2).map((status) => ({
|