sr-npm 1.7.456 → 1.7.457

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 +2 -1
  2. package/package.json +1 -1
package/backend/data.js CHANGED
@@ -4,7 +4,7 @@ const { createCollectionIfMissing } = require('@hisense-staging/velo-npm/backend
4
4
  const { COLLECTIONS, COLLECTIONS_FIELDS,JOBS_COLLECTION_FIELDS } = require('./collectionConsts');
5
5
  const { chunkedBulkOperation, countJobsPerGivenField, fillCityLocationAndLocationAddress ,prepareToSaveArray,normalizeCityName} = require('./utils');
6
6
  const { getAllPositions } = require('./queries');
7
- const{TEMPLATE_TYPE,TOKEN_NAME} = require('./consts');
7
+ const{TEMPLATE_TYPE,TOKEN_NAME,TASK_TYPE} = require('./consts');
8
8
  const { getCompanyId, getSmartToken } = require('./secretsData');
9
9
 
10
10
  function validatePosition(position) {
@@ -348,6 +348,7 @@ async function clearCollections() {
348
348
 
349
349
  async function markTemplateAsExternal() {
350
350
  console.log("TEMPLATE_TYPE$#@#$$@#@#$",TEMPLATE_TYPE);
351
+ console.log("TASK_TYPE$#@#$$@#@#$",TASK_TYPE);
351
352
  await createCollectionIfMissing(COLLECTIONS.TEMPLATE_TYPE, COLLECTIONS_FIELDS.TEMPLATE_TYPE,null,'singleItem');
352
353
  await wixData.save(COLLECTIONS.TEMPLATE_TYPE, {
353
354
  templateType: TEMPLATE_TYPE.EXTERNAL
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.456",
3
+ "version": "1.7.457",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {