sr-npm 1.7.59 → 1.7.61

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.
@@ -32,7 +32,7 @@ const COLLECTIONS_FIELDS = {
32
32
  {key:'language', type: 'TEXT'},
33
33
  {key:'jobDescription', type: 'OBJECT'},
34
34
  {key:'cityText', type: 'TEXT'},
35
- {key:'departmentref', type: 'REFERENCE', typeMetadata: { reference: { referencedCollectionId: 'AmountOfJobsPerDepartment1' } } },
35
+ {key:'departmentRef', type: 'REFERENCE', typeMetadata: { reference: { referencedCollectionId: 'AmountOfJobsPerDepartment1' } } },
36
36
  {key:'city', type: 'REFERENCE', typeMetadata: { reference: { referencedCollectionId: 'cities1' } } },
37
37
  ],
38
38
  API_KEY: [
package/backend/data.js CHANGED
@@ -180,7 +180,7 @@ async function getJobsWithNoDescriptions() {
180
180
 
181
181
  /**
182
182
  * @param {Object} params
183
- * @param {"city"|"departmentref"} params.referenceField
183
+ * @param {"city"|"departmentRef"} params.referenceField
184
184
  * @param {"cities1"|"AmountOfJobsPerDepartment1"} params.sourceCollection
185
185
  * @param {"cityText"|"department"} params.jobField
186
186
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.59",
3
+ "version": "1.7.61",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {