@timardex/cluemart-server-shared 1.0.281 → 1.0.284
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-C_g6TdeG.d.ts +396 -0
- package/dist/Affiliate-CmS0A1gU.d.mts +396 -0
- package/dist/{Chat-DYkhie3G.d.mts → Chat-Bnqec74U.d.mts} +4 -4
- package/dist/{Chat-DYkhie3G.d.ts → Chat-Bnqec74U.d.ts} +4 -4
- package/dist/{chunk-6IK6D2KS.mjs → chunk-4FWW5CDC.mjs} +4 -1
- package/dist/chunk-4FWW5CDC.mjs.map +1 -0
- package/dist/index.cjs +97 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +235 -149
- package/dist/index.d.ts +235 -149
- package/dist/index.mjs +82 -0
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +2 -0
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +40 -387
- package/dist/mongoose/index.d.ts +40 -387
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +461 -374
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.d.mts +91 -5
- package/dist/service/index.d.ts +91 -5
- package/dist/service/index.mjs +83 -1
- 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/package.json +2 -2
- package/dist/Relation-6t3Gn4pM.d.ts +0 -47
- package/dist/Relation-BjYghDE9.d.mts +0 -47
- package/dist/chunk-6IK6D2KS.mjs.map +0 -1
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { RelationDate, RelationType } from '@timardex/cluemart-shared';
|
|
2
|
-
import mongoose from 'mongoose';
|
|
3
|
-
import { O as ObjectId } from './Chat-DYkhie3G.mjs';
|
|
4
|
-
|
|
5
|
-
declare const relationDatesSchema: mongoose.Schema<RelationDate, mongoose.Model<RelationDate, any, any, any, mongoose.Document<unknown, any, RelationDate, any, {}> & RelationDate & {
|
|
6
|
-
_id: mongoose.Types.ObjectId;
|
|
7
|
-
} & {
|
|
8
|
-
__v: number;
|
|
9
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, RelationDate, mongoose.Document<unknown, {}, mongoose.FlatRecord<RelationDate>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<RelationDate> & {
|
|
10
|
-
_id: mongoose.Types.ObjectId;
|
|
11
|
-
} & {
|
|
12
|
-
__v: number;
|
|
13
|
-
}>;
|
|
14
|
-
type SchemaRelationType = Omit<RelationType, "eventId" | "vendorId" | "chatId"> & {
|
|
15
|
-
eventId: ObjectId;
|
|
16
|
-
vendorId: ObjectId;
|
|
17
|
-
chatId: ObjectId;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* This is the schema for the relation type.
|
|
21
|
-
* It is used to define the structure of the relation type in the database.
|
|
22
|
-
* The schema is used by Mongoose to create a model for the relation type.
|
|
23
|
-
*/
|
|
24
|
-
declare const RelationTypeSchema: mongoose.Schema<SchemaRelationType, mongoose.Model<SchemaRelationType, any, any, any, mongoose.Document<unknown, any, SchemaRelationType, any, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
25
|
-
eventId: ObjectId;
|
|
26
|
-
vendorId: ObjectId;
|
|
27
|
-
chatId: ObjectId;
|
|
28
|
-
} & Required<{
|
|
29
|
-
_id: string;
|
|
30
|
-
}> & {
|
|
31
|
-
__v: number;
|
|
32
|
-
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaRelationType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaRelationType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaRelationType> & Required<{
|
|
33
|
-
_id: string;
|
|
34
|
-
}> & {
|
|
35
|
-
__v: number;
|
|
36
|
-
}>;
|
|
37
|
-
declare const RelationModel: mongoose.Model<SchemaRelationType, {}, {}, {}, mongoose.Document<unknown, {}, SchemaRelationType, {}, {}> & Omit<RelationType, "chatId" | "eventId" | "vendorId"> & {
|
|
38
|
-
eventId: ObjectId;
|
|
39
|
-
vendorId: ObjectId;
|
|
40
|
-
chatId: ObjectId;
|
|
41
|
-
} & Required<{
|
|
42
|
-
_id: string;
|
|
43
|
-
}> & {
|
|
44
|
-
__v: number;
|
|
45
|
-
}, any>;
|
|
46
|
-
|
|
47
|
-
export { RelationTypeSchema as R, type SchemaRelationType as S, RelationModel as a, relationDatesSchema as r };
|