sr-npm 1.7.539 → 1.7.540

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.
@@ -26,7 +26,6 @@ const JOBS_COLLECTION_FIELDS = {
26
26
  BRAND: 'brand',
27
27
  BRAND_REF: 'brandRef',
28
28
  CUSTOM_VALUES: 'customValues',
29
-
30
29
  }
31
30
  const AMOUNT_OF_JOBS_PER_DEPARTMENT_COLLECTION_FIELDS = {
32
31
  TITLE: 'title',
@@ -74,7 +73,7 @@ const COLLECTIONS_FIELDS = {
74
73
  {key:'language', type: 'TEXT'},
75
74
  {key:'remote', type: 'BOOLEAN'},
76
75
  {key:'jobDescription', type: 'OBJECT'},
77
- {key:'customValues', type: 'MULTI_REFERENCE', typeMetadata: { reference: { referencedCollectionId: COLLECTIONS.CUSTOM_VALUES } } },
76
+ {key:'customValues', type: 'MULTI_REFERENCE', typeMetadata: { reference: { referencedCollectionId: COLLECTIONS.CUSTOM_VALUES,referencingFieldKey:'jobs',referencingDisplayName:'jobs' } } },
78
77
  {key:'cityText', type: 'TEXT'},
79
78
  {key:'applyLink', type: 'URL'},
80
79
  {key:'referFriendLink', type: 'URL'},
@@ -98,7 +97,7 @@ const COLLECTIONS_FIELDS = {
98
97
  CUSTOM_VALUES: [
99
98
  {key:'title', type: 'TEXT'},
100
99
  {key:'customField', type: 'REFERENCE', typeMetadata: { reference: { referencedCollectionId: COLLECTIONS.CUSTOM_FIELDS } } },
101
- {key:'jobs', type: 'MULTI_REFERENCE', typeMetadata: { reference: { referencedCollectionId: COLLECTIONS.JOBS } } },
100
+ {key:'jobs', type: 'MULTI_REFERENCE', typeMetadata: { reference: { referencedCollectionId: COLLECTIONS.JOBS,referencingFieldKey:'customValues',referencingDisplayName:'customValues' } } },
102
101
  ],
103
102
  CUSTOM_FIELDS: [
104
103
  {key:'title', type: 'TEXT'},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.539",
3
+ "version": "1.7.540",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {