@timardex/cluemart-server-shared 1.0.134 → 1.0.135
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-AMB6NVKD.mjs → chunk-WNT6FOX6.mjs} +4 -2
- package/dist/chunk-WNT6FOX6.mjs.map +1 -0
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/mongoose/index.cjs +3 -1
- package/dist/mongoose/index.cjs.map +1 -1
- package/dist/mongoose/index.d.mts +1 -0
- package/dist/mongoose/index.d.ts +1 -0
- package/dist/mongoose/index.mjs +1 -1
- package/dist/service/index.cjs +3 -1
- package/dist/service/index.cjs.map +1 -1
- package/dist/service/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-AMB6NVKD.mjs.map +0 -1
package/dist/mongoose/index.cjs
CHANGED
|
@@ -10202,6 +10202,7 @@ var SCHOOL = gql`
|
|
|
10202
10202
|
overallPoints
|
|
10203
10203
|
region
|
|
10204
10204
|
studentCount
|
|
10205
|
+
schoolCode
|
|
10205
10206
|
socialMedia {
|
|
10206
10207
|
...SocialMediaFields
|
|
10207
10208
|
}
|
|
@@ -12243,8 +12244,9 @@ var schema15 = new MongooseSchema20(
|
|
|
12243
12244
|
type: OwnerTypeSchema
|
|
12244
12245
|
},
|
|
12245
12246
|
region: { required: true, type: String },
|
|
12247
|
+
schoolCode: { required: true, type: String },
|
|
12246
12248
|
socialMedia: { required: false, type: [SocialMediaTypeSchema] },
|
|
12247
|
-
studentCount: { required: true, type: Number },
|
|
12249
|
+
studentCount: { default: 0, required: true, type: Number },
|
|
12248
12250
|
termsAgreement: { required: true, type: termsAgreementSchema }
|
|
12249
12251
|
},
|
|
12250
12252
|
{ timestamps: true }
|