@mac777/project-pinecone-models 1.0.11 → 1.1.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/Event.d.ts CHANGED
@@ -98,6 +98,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
98
98
  legalPermissionAccepted: boolean;
99
99
  platformTermsAccepted: boolean;
100
100
  visibility: "public" | "private" | "unlisted";
101
+ scheduleModified: boolean;
101
102
  history: mongoose.Types.DocumentArray<{
102
103
  timestamp: NativeDate;
103
104
  action?: string | null | undefined;
@@ -176,7 +177,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
176
177
  verification?: {
177
178
  status: "pending" | "rejected" | "unverified" | "verified" | "needs_info";
178
179
  documents: mongoose.Types.DocumentArray<{
179
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
180
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
180
181
  url?: string | null | undefined;
181
182
  filename?: string | null | undefined;
182
183
  objectKey?: string | null | undefined;
@@ -184,7 +185,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
184
185
  rejectionReason?: string | null | undefined;
185
186
  status?: "pending" | "approved" | "rejected" | null | undefined;
186
187
  }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
187
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
188
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
188
189
  url?: string | null | undefined;
189
190
  filename?: string | null | undefined;
190
191
  objectKey?: string | null | undefined;
@@ -192,7 +193,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
192
193
  rejectionReason?: string | null | undefined;
193
194
  status?: "pending" | "approved" | "rejected" | null | undefined;
194
195
  }> & {
195
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
196
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
196
197
  url?: string | null | undefined;
197
198
  filename?: string | null | undefined;
198
199
  objectKey?: string | null | undefined;
@@ -382,6 +383,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
382
383
  legalPermissionAccepted: boolean;
383
384
  platformTermsAccepted: boolean;
384
385
  visibility: "public" | "private" | "unlisted";
386
+ scheduleModified: boolean;
385
387
  history: mongoose.Types.DocumentArray<{
386
388
  timestamp: NativeDate;
387
389
  action?: string | null | undefined;
@@ -460,7 +462,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
460
462
  verification?: {
461
463
  status: "pending" | "rejected" | "unverified" | "verified" | "needs_info";
462
464
  documents: mongoose.Types.DocumentArray<{
463
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
465
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
464
466
  url?: string | null | undefined;
465
467
  filename?: string | null | undefined;
466
468
  objectKey?: string | null | undefined;
@@ -468,7 +470,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
468
470
  rejectionReason?: string | null | undefined;
469
471
  status?: "pending" | "approved" | "rejected" | null | undefined;
470
472
  }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
471
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
473
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
472
474
  url?: string | null | undefined;
473
475
  filename?: string | null | undefined;
474
476
  objectKey?: string | null | undefined;
@@ -476,7 +478,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
476
478
  rejectionReason?: string | null | undefined;
477
479
  status?: "pending" | "approved" | "rejected" | null | undefined;
478
480
  }> & {
479
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
481
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
480
482
  url?: string | null | undefined;
481
483
  filename?: string | null | undefined;
482
484
  objectKey?: string | null | undefined;
@@ -666,6 +668,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
666
668
  legalPermissionAccepted: boolean;
667
669
  platformTermsAccepted: boolean;
668
670
  visibility: "public" | "private" | "unlisted";
671
+ scheduleModified: boolean;
669
672
  history: mongoose.Types.DocumentArray<{
670
673
  timestamp: NativeDate;
671
674
  action?: string | null | undefined;
@@ -744,7 +747,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
744
747
  verification?: {
745
748
  status: "pending" | "rejected" | "unverified" | "verified" | "needs_info";
746
749
  documents: mongoose.Types.DocumentArray<{
747
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
750
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
748
751
  url?: string | null | undefined;
749
752
  filename?: string | null | undefined;
750
753
  objectKey?: string | null | undefined;
@@ -752,7 +755,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
752
755
  rejectionReason?: string | null | undefined;
753
756
  status?: "pending" | "approved" | "rejected" | null | undefined;
754
757
  }, mongoose.Types.Subdocument<mongoose.mongo.BSON.ObjectId, any, {
755
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
758
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
756
759
  url?: string | null | undefined;
757
760
  filename?: string | null | undefined;
758
761
  objectKey?: string | null | undefined;
@@ -760,7 +763,7 @@ declare const eventSchema: mongoose.Schema<any, mongoose.Model<any, any, any, an
760
763
  rejectionReason?: string | null | undefined;
761
764
  status?: "pending" | "approved" | "rejected" | null | undefined;
762
765
  }> & {
763
- type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "other" | null | undefined;
766
+ type?: "venue_booking" | "permit" | "insurance" | "license" | "portfolio" | "additional_docs" | "other" | null | undefined;
764
767
  url?: string | null | undefined;
765
768
  filename?: string | null | undefined;
766
769
  objectKey?: string | null | undefined;
package/dist/Event.js CHANGED
@@ -54,7 +54,7 @@ const organizerSchema = new mongoose_1.default.Schema({
54
54
  contactPerson: contactPersonSchema,
55
55
  }, { _id: false });
56
56
  const documentSchema = new mongoose_1.default.Schema({
57
- type: { type: String, enum: ['venue_booking', 'permit', 'insurance', 'license', 'portfolio', 'other'] },
57
+ type: { type: String, enum: ['venue_booking', 'permit', 'insurance', 'license', 'portfolio', 'additional_docs', 'other'] },
58
58
  url: String,
59
59
  filename: String,
60
60
  objectKey: String,
@@ -213,6 +213,7 @@ const eventSchema = new mongoose_1.default.Schema({
213
213
  rejectionReason: String,
214
214
  visibility: { type: String, enum: ['public', 'private', 'unlisted'], default: 'public' },
215
215
  publishedAt: Date,
216
+ scheduleModified: { type: Boolean, default: false },
216
217
  // METRICS
217
218
  metrics: metricsSchema,
218
219
  // BUSINESS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mac777/project-pinecone-models",
3
- "version": "1.0.11",
3
+ "version": "1.1.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
package/src/Event.ts CHANGED
@@ -55,7 +55,7 @@ const organizerSchema = new mongoose.Schema({
55
55
  }, { _id: false });
56
56
 
57
57
  const documentSchema = new mongoose.Schema({
58
- type: { type: String, enum: ['venue_booking', 'permit', 'insurance', 'license', 'portfolio', 'other'] },
58
+ type: { type: String, enum: ['venue_booking', 'permit', 'insurance', 'license', 'portfolio', 'additional_docs', 'other'] },
59
59
  url: String,
60
60
  filename: String,
61
61
  objectKey: String,
@@ -239,6 +239,7 @@ const eventSchema = new mongoose.Schema({
239
239
  rejectionReason: String,
240
240
  visibility: { type: String, enum: ['public', 'private', 'unlisted'], default: 'public' },
241
241
  publishedAt: Date,
242
+ scheduleModified: { type: Boolean, default: false },
242
243
 
243
244
  // METRICS
244
245
  metrics: metricsSchema,