@timardex/cluemart-server-shared 1.0.50 → 1.0.51
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-V2G6VPS2.mjs → chunk-GDJ5IVDI.mjs} +68 -25
- package/dist/chunk-GDJ5IVDI.mjs.map +1 -0
- package/dist/index.cjs +67 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +67 -24
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +67 -24
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +67 -24
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-V2G6VPS2.mjs.map +0 -1
|
@@ -8606,6 +8606,7 @@ var TESTER_EVENT_FIELDS_FRAGMENT = gql`
|
|
|
8606
8606
|
organizerExpectations
|
|
8607
8607
|
completeMarketProfileFirstWeek
|
|
8608
8608
|
spaceForClueMart
|
|
8609
|
+
uploadStallList
|
|
8609
8610
|
}
|
|
8610
8611
|
}
|
|
8611
8612
|
`;
|
|
@@ -10253,7 +10254,8 @@ var testerEventSchema = create$3().shape({
|
|
|
10253
10254
|
inviteStallholders: create$7().required("Required field"),
|
|
10254
10255
|
manageApplicationsAndCommunication: create$7().required("Required field"),
|
|
10255
10256
|
organizerExpectations: create$6().trim().optional(),
|
|
10256
|
-
spaceForClueMart: create$7().required("Required field")
|
|
10257
|
+
spaceForClueMart: create$7().required("Required field"),
|
|
10258
|
+
uploadStallList: create$7().required("Required field")
|
|
10257
10259
|
})
|
|
10258
10260
|
});
|
|
10259
10261
|
var testerSchema = create$3().shape({
|
|
@@ -11089,6 +11091,33 @@ var ResourceActivityModel = mongoose8.models.ResourceActivity || mongoose8.model
|
|
|
11089
11091
|
// src/mongoose/Tester.ts
|
|
11090
11092
|
import mongoose9 from "mongoose";
|
|
11091
11093
|
var MongooseSchema9 = mongoose9.Schema;
|
|
11094
|
+
var TesterVendorQuestionarySchema = new MongooseSchema9(
|
|
11095
|
+
{
|
|
11096
|
+
appearInVideoIntroduction: {
|
|
11097
|
+
default: false,
|
|
11098
|
+
required: false,
|
|
11099
|
+
type: Boolean
|
|
11100
|
+
},
|
|
11101
|
+
applyToAtLeastOneMarket: { default: true, required: true, type: Boolean },
|
|
11102
|
+
completeFeedbackQuestionnaire: {
|
|
11103
|
+
default: true,
|
|
11104
|
+
required: true,
|
|
11105
|
+
type: Boolean
|
|
11106
|
+
},
|
|
11107
|
+
excitementAboutApp: { required: false, type: String },
|
|
11108
|
+
sendPhotoForSocialMedia: { default: false, required: false, type: Boolean },
|
|
11109
|
+
socialMediaFeatureReason: { required: false, type: String },
|
|
11110
|
+
testingPeriodConcerns: { required: false, type: String },
|
|
11111
|
+
tryVisitorFeatures: { default: true, required: true, type: Boolean },
|
|
11112
|
+
uploadStallProfileFirstWeek: {
|
|
11113
|
+
default: true,
|
|
11114
|
+
required: true,
|
|
11115
|
+
type: Boolean
|
|
11116
|
+
},
|
|
11117
|
+
usefulnessExpectations: { required: false, type: String }
|
|
11118
|
+
},
|
|
11119
|
+
{ _id: false }
|
|
11120
|
+
);
|
|
11092
11121
|
var TesterVendorSchema = new MongooseSchema9(
|
|
11093
11122
|
{
|
|
11094
11123
|
categories: { required: true, type: [CategorySchema] },
|
|
@@ -11104,18 +11133,7 @@ var TesterVendorSchema = new MongooseSchema9(
|
|
|
11104
11133
|
productsOrServices: { required: true, type: String },
|
|
11105
11134
|
questionary: {
|
|
11106
11135
|
required: true,
|
|
11107
|
-
type:
|
|
11108
|
-
appearInVideoIntroduction: { required: false, type: Boolean },
|
|
11109
|
-
applyToAtLeastOneMarket: { required: true, type: Boolean },
|
|
11110
|
-
completeFeedbackQuestionnaire: { required: true, type: Boolean },
|
|
11111
|
-
excitementAboutApp: { required: false, type: String },
|
|
11112
|
-
sendPhotoForSocialMedia: { required: false, type: Boolean },
|
|
11113
|
-
socialMediaFeatureReason: { required: false, type: String },
|
|
11114
|
-
testingPeriodConcerns: { required: false, type: String },
|
|
11115
|
-
tryVisitorFeatures: { required: true, type: Boolean },
|
|
11116
|
-
uploadStallProfileFirstWeek: { required: true, type: Boolean },
|
|
11117
|
-
usefulnessExpectations: { required: false, type: String }
|
|
11118
|
-
}
|
|
11136
|
+
type: TesterVendorQuestionarySchema
|
|
11119
11137
|
},
|
|
11120
11138
|
sellingFrequency: {
|
|
11121
11139
|
enum: Object.values(VendorSellingFrequency),
|
|
@@ -11126,6 +11144,41 @@ var TesterVendorSchema = new MongooseSchema9(
|
|
|
11126
11144
|
},
|
|
11127
11145
|
{ _id: false }
|
|
11128
11146
|
);
|
|
11147
|
+
var TesterEventQuestionarySchema = new MongooseSchema9(
|
|
11148
|
+
{
|
|
11149
|
+
allowMarketingAppearance: {
|
|
11150
|
+
default: false,
|
|
11151
|
+
required: false,
|
|
11152
|
+
type: Boolean
|
|
11153
|
+
},
|
|
11154
|
+
completeFinalQuestionnaire: {
|
|
11155
|
+
default: true,
|
|
11156
|
+
required: true,
|
|
11157
|
+
type: Boolean
|
|
11158
|
+
},
|
|
11159
|
+
completeMarketProfileFirstWeek: {
|
|
11160
|
+
default: true,
|
|
11161
|
+
required: true,
|
|
11162
|
+
type: Boolean
|
|
11163
|
+
},
|
|
11164
|
+
dailyCoordinationNeeds: { required: false, type: String },
|
|
11165
|
+
interestedInCharityInitiative: {
|
|
11166
|
+
default: false,
|
|
11167
|
+
required: false,
|
|
11168
|
+
type: Boolean
|
|
11169
|
+
},
|
|
11170
|
+
inviteStallholders: { default: true, required: true, type: Boolean },
|
|
11171
|
+
manageApplicationsAndCommunication: {
|
|
11172
|
+
default: true,
|
|
11173
|
+
required: true,
|
|
11174
|
+
type: Boolean
|
|
11175
|
+
},
|
|
11176
|
+
organizerExpectations: { required: false, type: String },
|
|
11177
|
+
spaceForClueMart: { default: true, required: true, type: Boolean },
|
|
11178
|
+
uploadStallList: { default: true, required: true, type: Boolean }
|
|
11179
|
+
},
|
|
11180
|
+
{ _id: false }
|
|
11181
|
+
);
|
|
11129
11182
|
var TesterEventsSchema = new MongooseSchema9(
|
|
11130
11183
|
{
|
|
11131
11184
|
markets: {
|
|
@@ -11150,17 +11203,7 @@ var TesterEventsSchema = new MongooseSchema9(
|
|
|
11150
11203
|
},
|
|
11151
11204
|
questionary: {
|
|
11152
11205
|
required: true,
|
|
11153
|
-
type:
|
|
11154
|
-
allowMarketingAppearance: { required: false, type: Boolean },
|
|
11155
|
-
completeFinalQuestionnaire: { required: true, type: Boolean },
|
|
11156
|
-
completeMarketProfileFirstWeek: { required: true, type: Boolean },
|
|
11157
|
-
dailyCoordinationNeeds: { required: false, type: String },
|
|
11158
|
-
interestedInCharityInitiative: { required: false, type: Boolean },
|
|
11159
|
-
inviteStallholders: { required: true, type: Boolean },
|
|
11160
|
-
manageApplicationsAndCommunication: { required: true, type: Boolean },
|
|
11161
|
-
organizerExpectations: { required: false, type: String },
|
|
11162
|
-
spaceForClueMart: { required: true, type: Boolean }
|
|
11163
|
-
}
|
|
11206
|
+
type: TesterEventQuestionarySchema
|
|
11164
11207
|
}
|
|
11165
11208
|
},
|
|
11166
11209
|
{ _id: false }
|
|
@@ -11683,4 +11726,4 @@ react/cjs/react.development.js:
|
|
|
11683
11726
|
* LICENSE file in the root directory of this source tree.
|
|
11684
11727
|
*)
|
|
11685
11728
|
*/
|
|
11686
|
-
//# sourceMappingURL=chunk-
|
|
11729
|
+
//# sourceMappingURL=chunk-GDJ5IVDI.mjs.map
|