@timardex/cluemart-server-shared 1.0.39 → 1.0.41
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-4SS4T6XE.mjs → chunk-RD6GJIMM.mjs} +16 -10
- package/dist/chunk-RD6GJIMM.mjs.map +1 -0
- package/dist/index.cjs +15 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +14 -11
- package/dist/index.d.ts +14 -11
- package/dist/index.mjs +15 -9
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +15 -9
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +14 -11
- package/dist/mongoose/index.d.ts +14 -11
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +15 -9
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-4SS4T6XE.mjs.map +0 -1
|
@@ -183,17 +183,20 @@ declare const baseResourceFields: {
|
|
|
183
183
|
required: boolean;
|
|
184
184
|
type: StringConstructor;
|
|
185
185
|
};
|
|
186
|
-
owner:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
186
|
+
owner: {
|
|
187
|
+
required: boolean;
|
|
188
|
+
type: mongoose.Schema<SchemaOwnerType, mongoose.Model<SchemaOwnerType, any, any, any, mongoose.Document<unknown, any, SchemaOwnerType, any, {}> & Omit<OwnerType, "userId"> & {
|
|
189
|
+
userId: ObjectId;
|
|
190
|
+
} & {
|
|
191
|
+
_id: mongoose.Types.ObjectId;
|
|
192
|
+
} & {
|
|
193
|
+
__v: number;
|
|
194
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaOwnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaOwnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaOwnerType> & {
|
|
195
|
+
_id: mongoose.Types.ObjectId;
|
|
196
|
+
} & {
|
|
197
|
+
__v: number;
|
|
198
|
+
}>;
|
|
199
|
+
};
|
|
197
200
|
posterUsage: mongoose.Schema<PosterUsageType, mongoose.Model<PosterUsageType, any, any, any, mongoose.Document<unknown, any, PosterUsageType, any, {}> & PosterUsageType & {
|
|
198
201
|
_id: mongoose.Types.ObjectId;
|
|
199
202
|
} & {
|
package/dist/mongoose/index.d.ts
CHANGED
|
@@ -183,17 +183,20 @@ declare const baseResourceFields: {
|
|
|
183
183
|
required: boolean;
|
|
184
184
|
type: StringConstructor;
|
|
185
185
|
};
|
|
186
|
-
owner:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
186
|
+
owner: {
|
|
187
|
+
required: boolean;
|
|
188
|
+
type: mongoose.Schema<SchemaOwnerType, mongoose.Model<SchemaOwnerType, any, any, any, mongoose.Document<unknown, any, SchemaOwnerType, any, {}> & Omit<OwnerType, "userId"> & {
|
|
189
|
+
userId: ObjectId;
|
|
190
|
+
} & {
|
|
191
|
+
_id: mongoose.Types.ObjectId;
|
|
192
|
+
} & {
|
|
193
|
+
__v: number;
|
|
194
|
+
}, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, SchemaOwnerType, mongoose.Document<unknown, {}, mongoose.FlatRecord<SchemaOwnerType>, {}, mongoose.ResolveSchemaOptions<mongoose.DefaultSchemaOptions>> & mongoose.FlatRecord<SchemaOwnerType> & {
|
|
195
|
+
_id: mongoose.Types.ObjectId;
|
|
196
|
+
} & {
|
|
197
|
+
__v: number;
|
|
198
|
+
}>;
|
|
199
|
+
};
|
|
197
200
|
posterUsage: mongoose.Schema<PosterUsageType, mongoose.Model<PosterUsageType, any, any, any, mongoose.Document<unknown, any, PosterUsageType, any, {}> & PosterUsageType & {
|
|
198
201
|
_id: mongoose.Types.ObjectId;
|
|
199
202
|
} & {
|
package/dist/mongoose/index.mjs
CHANGED
package/dist/service/index.cjs
CHANGED
|
@@ -8307,13 +8307,23 @@ var CATEGORY_FIELDS_FRAGMENT = gql`
|
|
|
8307
8307
|
}
|
|
8308
8308
|
}
|
|
8309
8309
|
`;
|
|
8310
|
+
var LICENCE_FIELDS_FRAGMENT = gql`
|
|
8311
|
+
fragment LicenceFields on UserLicenceType {
|
|
8312
|
+
expiryDate
|
|
8313
|
+
issuedDate
|
|
8314
|
+
licenceType
|
|
8315
|
+
}
|
|
8316
|
+
`;
|
|
8310
8317
|
var ASSOCIATES_FIELDS_FRAGMENT = gql`
|
|
8311
8318
|
fragment AssociatesFields on AssociateType {
|
|
8312
8319
|
email
|
|
8313
8320
|
resourceId
|
|
8314
8321
|
resourceType
|
|
8315
|
-
licence
|
|
8322
|
+
licence {
|
|
8323
|
+
...LicenceFields
|
|
8324
|
+
}
|
|
8316
8325
|
}
|
|
8326
|
+
${LICENCE_FIELDS_FRAGMENT}
|
|
8317
8327
|
`;
|
|
8318
8328
|
var TERMS_AGREEMENT_FIELDS_FRAGMENT = gql`
|
|
8319
8329
|
fragment TermsAgreementFields on TermsAgreementType {
|
|
@@ -8331,13 +8341,6 @@ var TERMS_AGREEMENT_FIELDS_FRAGMENT = gql`
|
|
|
8331
8341
|
timestamp
|
|
8332
8342
|
}
|
|
8333
8343
|
`;
|
|
8334
|
-
var LICENCE_FIELDS_FRAGMENT = gql`
|
|
8335
|
-
fragment LicenceFields on UserLicenceType {
|
|
8336
|
-
expiryDate
|
|
8337
|
-
issuedDate
|
|
8338
|
-
licenceType
|
|
8339
|
-
}
|
|
8340
|
-
`;
|
|
8341
8344
|
var EVENT_DATETIME_FIELDS_FRAGMENT = gql`
|
|
8342
8345
|
fragment EventDateTimeFields on EventDateTimeType {
|
|
8343
8346
|
dateStatus
|
|
@@ -10933,7 +10936,10 @@ var baseResourceFields = {
|
|
|
10933
10936
|
images: [ResourceImageTypeSchema],
|
|
10934
10937
|
logo: ResourceImageTypeSchema,
|
|
10935
10938
|
name: { required: true, type: String },
|
|
10936
|
-
owner:
|
|
10939
|
+
owner: {
|
|
10940
|
+
required: false,
|
|
10941
|
+
type: OwnerTypeSchema
|
|
10942
|
+
},
|
|
10937
10943
|
posterUsage: PosterUsageTypeSchema,
|
|
10938
10944
|
promoCodes: { required: false, type: [String] },
|
|
10939
10945
|
region: { required: true, type: String },
|