@timardex/cluemart-server-shared 1.0.90 → 1.0.92
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/{chunk-5PNTTWNZ.mjs → chunk-S5SB52ZU.mjs} +75 -499
- package/dist/chunk-S5SB52ZU.mjs.map +1 -0
- package/dist/index.cjs +79 -504
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -31
- package/dist/index.d.ts +4 -31
- package/dist/index.mjs +78 -502
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +75 -500
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +4 -31
- package/dist/mongoose/index.d.ts +4 -31
- package/dist/mongoose/index.mjs +1 -3
- package/dist/service/index.cjs +75 -498
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-5PNTTWNZ.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, ReportChatUser, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType,
|
|
2
|
+
import { AdType, ReportChatUser, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../Chat-DjrJ0LKo.mjs';
|
|
5
5
|
export { C as ChatModel, N as NotificationModel, P as ParticipantSchema, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-DjrJ0LKo.mjs';
|
|
@@ -360,12 +360,6 @@ declare const ResourceActivityModel: mongoose.Model<ResourceActivityType, {}, {}
|
|
|
360
360
|
__v: number;
|
|
361
361
|
}, any>;
|
|
362
362
|
|
|
363
|
-
declare const TesterModel: mongoose.Model<TesterType, {}, {}, {}, mongoose.Document<unknown, {}, TesterType, {}, {}> & TesterType & Required<{
|
|
364
|
-
_id: string;
|
|
365
|
-
}> & {
|
|
366
|
-
__v: number;
|
|
367
|
-
}, any>;
|
|
368
|
-
|
|
369
363
|
type SchemaUserActivityEvent = Omit<UserActivityEvent, "resourceId"> & {
|
|
370
364
|
resourceId: ObjectId;
|
|
371
365
|
};
|
|
@@ -479,32 +473,11 @@ declare const StallTypeSchema: mongoose.Schema<StallType, mongoose.Model<StallTy
|
|
|
479
473
|
} & {
|
|
480
474
|
__v: number;
|
|
481
475
|
}>;
|
|
482
|
-
declare const refundPolicySchema: mongoose.Schema<{
|
|
483
|
-
cancelledByOrganiser: string[];
|
|
484
|
-
cancelledByVendor: string[];
|
|
485
|
-
}, mongoose.Model<{
|
|
486
|
-
cancelledByOrganiser: string[];
|
|
487
|
-
cancelledByVendor: string[];
|
|
488
|
-
}, any, any, any, mongoose.Document<unknown, any, {
|
|
489
|
-
cancelledByOrganiser: string[];
|
|
490
|
-
cancelledByVendor: string[];
|
|
491
|
-
}, any, {}> & {
|
|
492
|
-
cancelledByOrganiser: string[];
|
|
493
|
-
cancelledByVendor: string[];
|
|
494
|
-
} & {
|
|
476
|
+
declare const refundPolicySchema: mongoose.Schema<RefundPolicy, mongoose.Model<RefundPolicy, any, any, any, mongoose.Document<unknown, any, RefundPolicy, any, {}> & RefundPolicy & {
|
|
495
477
|
_id: mongoose.Types.ObjectId;
|
|
496
478
|
} & {
|
|
497
479
|
__v: number;
|
|
498
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
499
|
-
cancelledByOrganiser: string[];
|
|
500
|
-
cancelledByVendor: string[];
|
|
501
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
502
|
-
cancelledByOrganiser: string[];
|
|
503
|
-
cancelledByVendor: string[];
|
|
504
|
-
}>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
|
|
505
|
-
cancelledByOrganiser: string[];
|
|
506
|
-
cancelledByVendor: string[];
|
|
507
|
-
}> & {
|
|
480
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RefundPolicy, mongoose.Document<unknown, {}, mongoose.FlatRecord<RefundPolicy>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RefundPolicy> & {
|
|
508
481
|
_id: mongoose.Types.ObjectId;
|
|
509
482
|
} & {
|
|
510
483
|
__v: number;
|
|
@@ -558,4 +531,4 @@ declare const AppSettingModel: mongoose.Model<AppSettingsType, {}, {}, {}, mongo
|
|
|
558
531
|
__v: number;
|
|
559
532
|
}, any>;
|
|
560
533
|
|
|
561
|
-
export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema,
|
|
534
|
+
export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, refundPolicySchema, relationDatesSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
|
|
2
|
-
import { AdType, ReportChatUser, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType,
|
|
2
|
+
import { AdType, ReportChatUser, OwnerType, SocialMediaType, ResourceImageType, Category, UserLicenceType, AssociateType, TermsAgreement, RelationDate, DateTimeType, LocationGeoType, LocationType, ResourceContactDetailsType, PosterUsageType, GoogleImportedMarket, RelationType, ResourceActivityType, UserActivityEvent, UserType, VendorType, VendorInfoType, EventType, StallType, RefundPolicy, EventInfoType, PartnerType, PostType, PostContentType, AppSettingsType } from '@timardex/cluemart-shared';
|
|
3
3
|
import mongoose from 'mongoose';
|
|
4
4
|
import { O as ObjectId } from '../Chat-DjrJ0LKo.js';
|
|
5
5
|
export { C as ChatModel, N as NotificationModel, P as ParticipantSchema, a as SchemaChatMessageReactionType, S as SchemaChatMessageReplyPreviewType, b as SchemaChatMessageSeenType, c as SchemaChatMessageType, e as SchemaChatType, f as SchemaCreateBulkNotificationInput, g as SchemaNotificationType, d as SchemaParticipantType } from '../Chat-DjrJ0LKo.js';
|
|
@@ -360,12 +360,6 @@ declare const ResourceActivityModel: mongoose.Model<ResourceActivityType, {}, {}
|
|
|
360
360
|
__v: number;
|
|
361
361
|
}, any>;
|
|
362
362
|
|
|
363
|
-
declare const TesterModel: mongoose.Model<TesterType, {}, {}, {}, mongoose.Document<unknown, {}, TesterType, {}, {}> & TesterType & Required<{
|
|
364
|
-
_id: string;
|
|
365
|
-
}> & {
|
|
366
|
-
__v: number;
|
|
367
|
-
}, any>;
|
|
368
|
-
|
|
369
363
|
type SchemaUserActivityEvent = Omit<UserActivityEvent, "resourceId"> & {
|
|
370
364
|
resourceId: ObjectId;
|
|
371
365
|
};
|
|
@@ -479,32 +473,11 @@ declare const StallTypeSchema: mongoose.Schema<StallType, mongoose.Model<StallTy
|
|
|
479
473
|
} & {
|
|
480
474
|
__v: number;
|
|
481
475
|
}>;
|
|
482
|
-
declare const refundPolicySchema: mongoose.Schema<{
|
|
483
|
-
cancelledByOrganiser: string[];
|
|
484
|
-
cancelledByVendor: string[];
|
|
485
|
-
}, mongoose.Model<{
|
|
486
|
-
cancelledByOrganiser: string[];
|
|
487
|
-
cancelledByVendor: string[];
|
|
488
|
-
}, any, any, any, mongoose.Document<unknown, any, {
|
|
489
|
-
cancelledByOrganiser: string[];
|
|
490
|
-
cancelledByVendor: string[];
|
|
491
|
-
}, any, {}> & {
|
|
492
|
-
cancelledByOrganiser: string[];
|
|
493
|
-
cancelledByVendor: string[];
|
|
494
|
-
} & {
|
|
476
|
+
declare const refundPolicySchema: mongoose.Schema<RefundPolicy, mongoose.Model<RefundPolicy, any, any, any, mongoose.Document<unknown, any, RefundPolicy, any, {}> & RefundPolicy & {
|
|
495
477
|
_id: mongoose.Types.ObjectId;
|
|
496
478
|
} & {
|
|
497
479
|
__v: number;
|
|
498
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
|
|
499
|
-
cancelledByOrganiser: string[];
|
|
500
|
-
cancelledByVendor: string[];
|
|
501
|
-
}, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
|
|
502
|
-
cancelledByOrganiser: string[];
|
|
503
|
-
cancelledByVendor: string[];
|
|
504
|
-
}>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<{
|
|
505
|
-
cancelledByOrganiser: string[];
|
|
506
|
-
cancelledByVendor: string[];
|
|
507
|
-
}> & {
|
|
480
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RefundPolicy, mongoose.Document<unknown, {}, mongoose.FlatRecord<RefundPolicy>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RefundPolicy> & {
|
|
508
481
|
_id: mongoose.Types.ObjectId;
|
|
509
482
|
} & {
|
|
510
483
|
__v: number;
|
|
@@ -558,4 +531,4 @@ declare const AppSettingModel: mongoose.Model<AppSettingsType, {}, {}, {}, mongo
|
|
|
558
531
|
__v: number;
|
|
559
532
|
}, any>;
|
|
560
533
|
|
|
561
|
-
export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema,
|
|
534
|
+
export { APP_SETTINGS_ID, AdModel, AppSettingModel, CategorySchema, ChatReportModel, EventInfoModel, EventModel, GoogleImportedMarketModel, PartnerModel, PostModel, PushTokenModel, RelationModel, RelationTypeSchema, ResourceActivityModel, ResourceImageTypeSchema, type SchemaChatReportType, type SchemaEventInfoType, type SchemaEventType, type SchemaGoogleImportedMarket, type SchemaOwnerType, type SchemaPartnerType, type SchemaPostType, type SchemaPushTokenType, type SchemaRelationType, type SchemaUserActivityEvent, type SchemaUserType, type SchemaVendorInfoType, type SchemaVendorType, SocialMediaTypeSchema, StallTypeSchema, UserModel, VendorInfoModel, VendorModel, VerificationTokenModel, type VerificationTokenType, associatesSchema, baseResourceFields, dateTimeSchema, locationGeoSchema, locationsSchema, refundPolicySchema, relationDatesSchema, resourceRelationsSchema, termsAgreementSchema, userLicenseSchema };
|
package/dist/mongoose/index.mjs
CHANGED
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
ResourceImageTypeSchema,
|
|
20
20
|
SocialMediaTypeSchema,
|
|
21
21
|
StallTypeSchema,
|
|
22
|
-
TesterModel,
|
|
23
22
|
UserModel,
|
|
24
23
|
VendorInfoModel,
|
|
25
24
|
VendorModel,
|
|
@@ -34,7 +33,7 @@ import {
|
|
|
34
33
|
resourceRelationsSchema,
|
|
35
34
|
termsAgreementSchema,
|
|
36
35
|
userLicenseSchema
|
|
37
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-S5SB52ZU.mjs";
|
|
38
37
|
import "../chunk-3QS3WKRC.mjs";
|
|
39
38
|
export {
|
|
40
39
|
APP_SETTINGS_ID,
|
|
@@ -57,7 +56,6 @@ export {
|
|
|
57
56
|
ResourceImageTypeSchema,
|
|
58
57
|
SocialMediaTypeSchema,
|
|
59
58
|
StallTypeSchema,
|
|
60
|
-
TesterModel,
|
|
61
59
|
UserModel,
|
|
62
60
|
VendorInfoModel,
|
|
63
61
|
VendorModel,
|