sr-npm 1.7.553 → 1.7.554

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.
Files changed (2) hide show
  1. package/backend/data.js +4 -0
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -173,14 +173,17 @@ async function insertJobsReference(jobToCustomValues) {
173
173
  }
174
174
 
175
175
  async function populateCustomFieldsCollection(customFields) {
176
+ console.log("populating custom fields collection");
176
177
  for(const ID of Object.keys(customFields)){
177
178
  await wixData.save(COLLECTIONS.CUSTOM_FIELDS, {
178
179
  title: customFields[ID],
179
180
  _id: ID,
180
181
  });
181
182
  }
183
+ console.log("populated custom fields collection successfully");
182
184
  }
183
185
  async function populateCustomValuesCollection(customFieldsValues) {
186
+ console.log("populating custom values collection");
184
187
  for (const fieldId of Object.keys(customFieldsValues)) {
185
188
  const valuesMap = customFieldsValues[fieldId] || {};
186
189
  for (const valueId of Object.keys(valuesMap)) {
@@ -191,6 +194,7 @@ async function populateCustomValuesCollection(customFieldsValues) {
191
194
  });
192
195
  }
193
196
  }
197
+ console.log("populated custom values collection successfully");
194
198
  }
195
199
  async function saveJobsDescriptionsAndLocationApplyUrlToCMS() {
196
200
  console.log('🚀 Starting job descriptions update process for ALL jobs');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.553",
3
+ "version": "1.7.554",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {