@vannizhang/living-atlas-content-validator 1.5.19-beta.13 → 1.5.19-beta.14

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/index.d.ts CHANGED
@@ -35,15 +35,17 @@ import { containsProfanity } from './lib/checkProfanities/checkProfanities';
35
35
  import { getLivingAtlasSupportedItemTypes, checkIsLivingAtlasSupportedItemType } from './lib/util/getLivingAtlasSupportedItemTypes';
36
36
  import { LivingAtlasSupportedItemType } from './lib/config';
37
37
  import { checkFeatureServiceFieldDescriptions } from './lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions';
38
- import { getPercentOfValidFieldDescriptions, isValidFieldDescription } from './lib/featureServiceFieldDescriptions/helpers';
39
38
  import { checkFeatureServiceFieldAliases } from './lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases';
40
- import { getPercentOfValidFieldAliases, isValidFieldAlias } from './lib/featureServiceFieldAliases/helpers';
41
39
  import { checkFeatureServiceFieldValueTypes } from './lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes';
40
+ export { configureSettings, validate, isValidTitle, isValidAccessInformation, isValidDescription, isValidLicenseInfo, isValidAccess, isValidSSL, isValidSummary, isValidTags, isValidThumbnail, isValidUserProfileDescription, isValidUserProfileName, isValidUserProfileThumbnail, isDeprecated, isDeleteProtectionEnabled, checkTitleAndSnippetSearchability, matchLocationInfo, matchDateTimeInfo, matchSourceInfo, matchTopicInfo, isRecognizedLocation, isRecognizedDateTimeInfo, isRecognizedSource, isRecognizedTopic, isRejectedLocationInfo, isRejectedDateTimeInfo, isRejectedSourceInfo, isRejectedTopicInfo, isEligibleForCheckingTitleAndSnippetSearchability, getLivingAtlasSupportedItemTypes, checkIsLivingAtlasSupportedItemType, sanitizeTags, getStringsConfig, getDefaultStringsConfig, checkFeatureServiceFieldAliases, checkFeatureServiceFieldDescriptions, checkFeatureServiceFieldValueTypes, };
41
+ export { fetchAdditonalPatterns4TitleAndSnippetSearchability, fetchProfanitiesData, getSubmittedCustomTerms, getMyCustomTerms, addCustomTerms2FeatureTable, updateStatusOfCustomTermsInFeatureTable, getPackagedReviewResults, getReviewedReviewResults, getUnarchivedReviewResults, getDeployedReviewResults, getReviewResultsByTermAndCategory, addReviewResults2FeatureTable, updateReviewResultsInFeatureTable, getCustomTermsFeatureTableItemInfo, getCustomTermsReviewResultsFeatureTableItemInfo, containsProfanity, };
42
+ export { isValidRegexPattern, escapeSpecialCharacters };
43
+ export type { ValidationMessage, ValidationInfo, ValidationResult, ValidationRulesStringJSON, ValidationResultStatus, MatchResult, CustomTermFeature, CustomTermCategory, CustomTermStatus, CustomTermsReviewResultLifecycle, CustomTermReviewResultFeature, AdditionalPatterns4TitleAndSnippetSearchability, AddFeaturesResponse, LivingAtlasSupportedItemType, FeatureLayerFieldRaw, FeatureLayerFieldFormatted, FeatureLayerJSON, FeatureLayerFieldValueType, FeatureServiceJSON, };
44
+ import { getFeatureServerRootURL } from './services/feature-service/getFeatureServerURL';
45
+ import { getPercentOfValidFieldDescriptions, isValidFieldDescription } from './lib/featureServiceFieldDescriptions/helpers';
46
+ import { getPercentOfValidFieldAliases, isValidFieldAlias } from './lib/featureServiceFieldAliases/helpers';
42
47
  import { getPercentFieldsWithValueType, isValidFieldValueType } from './lib/featureServiceFieldValueTypes/helpers';
43
48
  import { fetchFeatureServiceLayersAndTables } from './services/feature-service/fetchFeatureServiceLayersAndTables';
44
49
  import { getRelevantFeatureLayerFields } from './lib/util/getRelevantFeatureLayerFields';
45
50
  import { getFeatureLayerFieldValueTypes } from './lib/util/getFeatureLayerFieldValueTypes';
46
- export { configureSettings, validate, isValidTitle, isValidAccessInformation, isValidDescription, isValidLicenseInfo, isValidAccess, isValidSSL, isValidSummary, isValidTags, isValidThumbnail, isValidUserProfileDescription, isValidUserProfileName, isValidUserProfileThumbnail, isDeprecated, isDeleteProtectionEnabled, checkTitleAndSnippetSearchability, matchLocationInfo, matchDateTimeInfo, matchSourceInfo, matchTopicInfo, isRecognizedLocation, isRecognizedDateTimeInfo, isRecognizedSource, isRecognizedTopic, isRejectedLocationInfo, isRejectedDateTimeInfo, isRejectedSourceInfo, isRejectedTopicInfo, isEligibleForCheckingTitleAndSnippetSearchability, getLivingAtlasSupportedItemTypes, checkIsLivingAtlasSupportedItemType, sanitizeTags, getStringsConfig, getDefaultStringsConfig, checkFeatureServiceFieldAliases, checkFeatureServiceFieldDescriptions, checkFeatureServiceFieldValueTypes, fetchFeatureServiceLayersAndTables, getRelevantFeatureLayerFields, getFeatureLayerFieldValueTypes, getPercentOfValidFieldDescriptions, isValidFieldDescription, getPercentOfValidFieldAliases, isValidFieldAlias, getPercentFieldsWithValueType, isValidFieldValueType, };
47
- export { fetchAdditonalPatterns4TitleAndSnippetSearchability, fetchProfanitiesData, getSubmittedCustomTerms, getMyCustomTerms, addCustomTerms2FeatureTable, updateStatusOfCustomTermsInFeatureTable, getPackagedReviewResults, getReviewedReviewResults, getUnarchivedReviewResults, getDeployedReviewResults, getReviewResultsByTermAndCategory, addReviewResults2FeatureTable, updateReviewResultsInFeatureTable, getCustomTermsFeatureTableItemInfo, getCustomTermsReviewResultsFeatureTableItemInfo, containsProfanity, };
48
- export { isValidRegexPattern, escapeSpecialCharacters };
49
- export type { ValidationMessage, ValidationInfo, ValidationResult, ValidationRulesStringJSON, ValidationResultStatus, MatchResult, CustomTermFeature, CustomTermCategory, CustomTermStatus, CustomTermsReviewResultLifecycle, CustomTermReviewResultFeature, AdditionalPatterns4TitleAndSnippetSearchability, AddFeaturesResponse, LivingAtlasSupportedItemType, FeatureLayerFieldRaw, FeatureLayerFieldFormatted, FeatureLayerJSON, FeatureLayerFieldValueType, FeatureServiceJSON, };
51
+ export { getFeatureServerRootURL, fetchFeatureServiceLayersAndTables, getRelevantFeatureLayerFields, getFeatureLayerFieldValueTypes, getPercentOfValidFieldDescriptions, isValidFieldDescription, getPercentOfValidFieldAliases, isValidFieldAlias, getPercentFieldsWithValueType, isValidFieldValueType, };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getSubmittedCustomTerms = exports.fetchProfanitiesData = exports.fetchAdditonalPatterns4TitleAndSnippetSearchability = exports.isValidFieldValueType = exports.getPercentFieldsWithValueType = exports.isValidFieldAlias = exports.getPercentOfValidFieldAliases = exports.isValidFieldDescription = exports.getPercentOfValidFieldDescriptions = exports.getFeatureLayerFieldValueTypes = exports.getRelevantFeatureLayerFields = exports.fetchFeatureServiceLayersAndTables = exports.checkFeatureServiceFieldValueTypes = exports.checkFeatureServiceFieldDescriptions = exports.checkFeatureServiceFieldAliases = exports.getDefaultStringsConfig = exports.getStringsConfig = exports.sanitizeTags = exports.checkIsLivingAtlasSupportedItemType = exports.getLivingAtlasSupportedItemTypes = exports.isEligibleForCheckingTitleAndSnippetSearchability = exports.isRejectedTopicInfo = exports.isRejectedSourceInfo = exports.isRejectedDateTimeInfo = exports.isRejectedLocationInfo = exports.isRecognizedTopic = exports.isRecognizedSource = exports.isRecognizedDateTimeInfo = exports.isRecognizedLocation = exports.matchTopicInfo = exports.matchSourceInfo = exports.matchDateTimeInfo = exports.matchLocationInfo = exports.checkTitleAndSnippetSearchability = exports.isDeleteProtectionEnabled = exports.isDeprecated = exports.isValidUserProfileThumbnail = exports.isValidUserProfileName = exports.isValidUserProfileDescription = exports.isValidThumbnail = exports.isValidTags = exports.isValidSummary = exports.isValidSSL = exports.isValidAccess = exports.isValidLicenseInfo = exports.isValidDescription = exports.isValidAccessInformation = exports.isValidTitle = exports.validate = exports.configureSettings = void 0;
4
- exports.escapeSpecialCharacters = exports.isValidRegexPattern = exports.containsProfanity = exports.getCustomTermsReviewResultsFeatureTableItemInfo = exports.getCustomTermsFeatureTableItemInfo = exports.updateReviewResultsInFeatureTable = exports.addReviewResults2FeatureTable = exports.getReviewResultsByTermAndCategory = exports.getDeployedReviewResults = exports.getUnarchivedReviewResults = exports.getReviewedReviewResults = exports.getPackagedReviewResults = exports.updateStatusOfCustomTermsInFeatureTable = exports.addCustomTerms2FeatureTable = exports.getMyCustomTerms = void 0;
3
+ exports.addReviewResults2FeatureTable = exports.getReviewResultsByTermAndCategory = exports.getDeployedReviewResults = exports.getUnarchivedReviewResults = exports.getReviewedReviewResults = exports.getPackagedReviewResults = exports.updateStatusOfCustomTermsInFeatureTable = exports.addCustomTerms2FeatureTable = exports.getMyCustomTerms = exports.getSubmittedCustomTerms = exports.fetchProfanitiesData = exports.fetchAdditonalPatterns4TitleAndSnippetSearchability = exports.checkFeatureServiceFieldValueTypes = exports.checkFeatureServiceFieldDescriptions = exports.checkFeatureServiceFieldAliases = exports.getDefaultStringsConfig = exports.getStringsConfig = exports.sanitizeTags = exports.checkIsLivingAtlasSupportedItemType = exports.getLivingAtlasSupportedItemTypes = exports.isEligibleForCheckingTitleAndSnippetSearchability = exports.isRejectedTopicInfo = exports.isRejectedSourceInfo = exports.isRejectedDateTimeInfo = exports.isRejectedLocationInfo = exports.isRecognizedTopic = exports.isRecognizedSource = exports.isRecognizedDateTimeInfo = exports.isRecognizedLocation = exports.matchTopicInfo = exports.matchSourceInfo = exports.matchDateTimeInfo = exports.matchLocationInfo = exports.checkTitleAndSnippetSearchability = exports.isDeleteProtectionEnabled = exports.isDeprecated = exports.isValidUserProfileThumbnail = exports.isValidUserProfileName = exports.isValidUserProfileDescription = exports.isValidThumbnail = exports.isValidTags = exports.isValidSummary = exports.isValidSSL = exports.isValidAccess = exports.isValidLicenseInfo = exports.isValidDescription = exports.isValidAccessInformation = exports.isValidTitle = exports.validate = exports.configureSettings = void 0;
4
+ exports.isValidFieldValueType = exports.getPercentFieldsWithValueType = exports.isValidFieldAlias = exports.getPercentOfValidFieldAliases = exports.isValidFieldDescription = exports.getPercentOfValidFieldDescriptions = exports.getFeatureLayerFieldValueTypes = exports.getRelevantFeatureLayerFields = exports.fetchFeatureServiceLayersAndTables = exports.getFeatureServerRootURL = exports.escapeSpecialCharacters = exports.isValidRegexPattern = exports.containsProfanity = exports.getCustomTermsReviewResultsFeatureTableItemInfo = exports.getCustomTermsFeatureTableItemInfo = exports.updateReviewResultsInFeatureTable = void 0;
5
5
  const isValidTitle_1 = require("./lib/title/isValidTitle");
6
6
  Object.defineProperty(exports, "isValidTitle", { enumerable: true, get: function () { return isValidTitle_1.isValidTitle; } });
7
7
  const isValidAccessInformation_1 = require("./lib/accessInformation/isValidAccessInformation");
@@ -91,16 +91,18 @@ Object.defineProperty(exports, "getLivingAtlasSupportedItemTypes", { enumerable:
91
91
  Object.defineProperty(exports, "checkIsLivingAtlasSupportedItemType", { enumerable: true, get: function () { return getLivingAtlasSupportedItemTypes_1.checkIsLivingAtlasSupportedItemType; } });
92
92
  const checkFeatureServiceFieldDescriptions_1 = require("./lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions");
93
93
  Object.defineProperty(exports, "checkFeatureServiceFieldDescriptions", { enumerable: true, get: function () { return checkFeatureServiceFieldDescriptions_1.checkFeatureServiceFieldDescriptions; } });
94
+ const checkFeatureServiceFieldAliases_1 = require("./lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases");
95
+ Object.defineProperty(exports, "checkFeatureServiceFieldAliases", { enumerable: true, get: function () { return checkFeatureServiceFieldAliases_1.checkFeatureServiceFieldAliases; } });
96
+ const checkFeatureServiceFieldValueTypes_1 = require("./lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes");
97
+ Object.defineProperty(exports, "checkFeatureServiceFieldValueTypes", { enumerable: true, get: function () { return checkFeatureServiceFieldValueTypes_1.checkFeatureServiceFieldValueTypes; } });
98
+ const getFeatureServerURL_1 = require("./services/feature-service/getFeatureServerURL");
99
+ Object.defineProperty(exports, "getFeatureServerRootURL", { enumerable: true, get: function () { return getFeatureServerURL_1.getFeatureServerRootURL; } });
94
100
  const helpers_2 = require("./lib/featureServiceFieldDescriptions/helpers");
95
101
  Object.defineProperty(exports, "getPercentOfValidFieldDescriptions", { enumerable: true, get: function () { return helpers_2.getPercentOfValidFieldDescriptions; } });
96
102
  Object.defineProperty(exports, "isValidFieldDescription", { enumerable: true, get: function () { return helpers_2.isValidFieldDescription; } });
97
- const checkFeatureServiceFieldAliases_1 = require("./lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases");
98
- Object.defineProperty(exports, "checkFeatureServiceFieldAliases", { enumerable: true, get: function () { return checkFeatureServiceFieldAliases_1.checkFeatureServiceFieldAliases; } });
99
103
  const helpers_3 = require("./lib/featureServiceFieldAliases/helpers");
100
104
  Object.defineProperty(exports, "getPercentOfValidFieldAliases", { enumerable: true, get: function () { return helpers_3.getPercentOfValidFieldAliases; } });
101
105
  Object.defineProperty(exports, "isValidFieldAlias", { enumerable: true, get: function () { return helpers_3.isValidFieldAlias; } });
102
- const checkFeatureServiceFieldValueTypes_1 = require("./lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes");
103
- Object.defineProperty(exports, "checkFeatureServiceFieldValueTypes", { enumerable: true, get: function () { return checkFeatureServiceFieldValueTypes_1.checkFeatureServiceFieldValueTypes; } });
104
106
  const helpers_4 = require("./lib/featureServiceFieldValueTypes/helpers");
105
107
  Object.defineProperty(exports, "getPercentFieldsWithValueType", { enumerable: true, get: function () { return helpers_4.getPercentFieldsWithValueType; } });
106
108
  Object.defineProperty(exports, "isValidFieldValueType", { enumerable: true, get: function () { return helpers_4.isValidFieldValueType; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAiBA,2DAAwD;AA+HpD,6FA/HK,2BAAY,OA+HL;AA9HhB,+FAA4F;AA+HxF,yGA/HK,mDAAwB,OA+HL;AA9H5B,6EAA0E;AA+HtE,mGA/HK,uCAAkB,OA+HL;AA9HtB,yEAAyE;AACzE,6EAA0E;AA+HtE,mGA/HK,uCAAkB,OA+HL;AA9HtB,+DAA4D;AA+HxD,8FA/HK,6BAAa,OA+HL;AA9HjB,qDAAkD;AA+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HAA4H;AA0CxH,mHA1CK,uEAAkC,OA0CL;AA8CtC,wFAAyF;AAwBrF,wGAxBK,6CAAuB,OAwBL;AAtB3B,2EAGuD;AAuBnD,mHAzBA,4CAAkC,OAyBA;AAClC,wGAzBA,iCAAuB,OAyBA;AAtB3B,sEAGkD;AAoB9C,8GAtBA,uCAA6B,OAsBA;AAC7B,kGAtBA,2BAAiB,OAsBA;AAnBrB,yEAGqD;AAiBjD,8GAnBA,uCAA6B,OAmBA;AAC7B,sGAnBA,+BAAqB,OAmBA;AAhBzB,sHAAmH;AAQ/G,mHARK,uEAAkC,OAQL;AANtC,4FAAyF;AAOrF,8GAPK,6DAA6B,OAOL;AALjC,8FAA2F;AAMvF,+GANK,+DAA8B,OAML"}
@@ -70,22 +70,21 @@ const checkFeatureServiceFieldAliases = (item, featureLayers) => {
70
70
  // }).length;
71
71
  // const percentWithAlias = countOfFieldsWithAlias / relevantFields.length;
72
72
  const percentWithAlias = (0, helpers_1.getPercentOfValidFieldAliases)(relevantFields);
73
- // if percentWithAlias is 0, then there are no fields with aliases
74
- // it should receive a score of 0 and a message to add field aliases
75
- if (percentWithAlias === 0) {
76
- validationResult.messages.push({
77
- message: strings.featureLayerFieldAliases.ADD_FIELD_ALIAS,
78
- });
79
- return validationResult;
80
- }
73
+ // // if percentWithAlias is 0, then there are no fields with aliases
74
+ // // it should receive a score of 0 and a message to add field aliases
75
+ // if (percentWithAlias === 0) {
76
+ // validationResult.messages.push({
77
+ // message: strings.featureLayerFieldAliases.ADD_FIELD_ALIAS,
78
+ // });
79
+ // return validationResult;
80
+ // }
81
81
  // if percentWithAlias is less than 0.9, then there are some fields with aliases
82
82
  // it should receive half of score and a message to improve field aliases
83
83
  if (percentWithAlias < exports.FIELD_ALIASES_REQUIRED_PERCENT) {
84
84
  validationResult.messages.push({
85
85
  message: strings.featureLayerFieldAliases.IMPROVE_FIELD_ALIAS,
86
86
  });
87
- validationResult.scoringFactor =
88
- scoringFactors.CONTAINS_FIELD_ALIASES / 2;
87
+ validationResult.scoringFactor = 0;
89
88
  return validationResult;
90
89
  }
91
90
  // if percentWithAlias is greater than 0.8, then there are most fields with aliases
@@ -1 +1 @@
1
- {"version":3,"file":"checkFeatureServiceFieldAliases.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,uCAA0D;AAC1D,mDAAgD;AAEhD;;GAEG;AACU,QAAA,8BAA8B,GAAG,GAAG,CAAC;AAElD;;;;;;;;;;;;;;;;;;;GAmBG;AACI,MAAM,+BAA+B,GAAG,CAC3C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,+BAA+B;QACjD,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK;QAC7C,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK;QAC7C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,6BAAa,CAAC,MAAM;QAC5B,aAAa,EAAE,CAAC;QAChB,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,KAAK;KACvB,CAAC;IAEF,uGAAuG;IACvG,sCAAsC;IACtC,IAAI,CAAC,IAAA,mCAAgB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,uCACO,gBAAgB,KACnB,MAAM,EAAE,CAAC,IACX;IACN,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,MAAK,CAAC,EAAE,CAAC;QAC/D,gBAAgB,CAAC,QAAQ,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AA,+BAA+B,mCAiF1C"}
1
+ {"version":3,"file":"checkFeatureServiceFieldAliases.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,uCAA0D;AAC1D,mDAAgD;AAEhD;;GAEG;AACU,QAAA,8BAA8B,GAAG,GAAG,CAAC;AAElD;;;;;;;;;;;;;;;;;;;GAmBG;AACI,MAAM,+BAA+B,GAAG,CAC3C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,+BAA+B;QACjD,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK;QAC7C,KAAK,EAAE,OAAO,CAAC,wBAAwB,CAAC,KAAK;QAC7C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,6BAAa,CAAC,MAAM;QAC5B,aAAa,EAAE,CAAC;QAChB,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,KAAK;KACvB,CAAC;IAEF,uGAAuG;IACvG,sCAAsC;IACtC,IAAI,CAAC,IAAA,mCAAgB,EAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,uCACO,gBAAgB,KACnB,MAAM,EAAE,CAAC,IACX;IACN,CAAC;IAED,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,MAAK,CAAC,EAAE,CAAC;QAC/D,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC,gBAAgB;SAC7D,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,MAAM,cAAc,GAAG,IAAA,6DAA6B,EAAC,aAAa,IAAI,EAAE,CAAC,CAAC;IAE1E,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC9B,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,6BAA6B,CAAC,iBAAiB;SACnE,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,0CAA0C;IAC1C,oEAAoE;IACpE,yEAAyE;IACzE,0DAA0D;IAC1D,aAAa;IAEb,2EAA2E;IAE3E,MAAM,gBAAgB,GAAG,IAAA,uCAA6B,EAAC,cAAc,CAAC,CAAC;IAEvE,qEAAqE;IACrE,uEAAuE;IACvE,gCAAgC;IAChC,uCAAuC;IACvC,qEAAqE;IACrE,UAAU;IACV,+BAA+B;IAC/B,IAAI;IAEJ,gFAAgF;IAChF,yEAAyE;IACzE,IAAI,gBAAgB,GAAG,sCAA8B,EAAE,CAAC;QACpD,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC,mBAAmB;SAChE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;QACnC,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,mFAAmF;IACnF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAhFW,QAAA,+BAA+B,mCAgF1C"}
@@ -84,22 +84,22 @@ const checkFeatureServiceFieldDescriptions = (item, featureLayers) => {
84
84
  // const percentWithDescription =
85
85
  // countOfFieldsWithDescription / relevantFields.length;
86
86
  const percentWithDescription = (0, helpers_1.getPercentOfValidFieldDescriptions)(relevantFields);
87
- // if percentWithDescription is 0, then there are no fields with aliases
88
- // it should receive a score of 0 and a message to add field aliases
89
- if (percentWithDescription === 0) {
90
- validationResult.messages.push({
91
- message: strings.featureLayerFieldDescriptions.ADD_FIELD_DESCRIPTION,
92
- });
93
- return validationResult;
94
- }
87
+ // // if percentWithDescription is 0, then there are no fields with aliases
88
+ // // it should receive a score of 0 and a message to add field aliases
89
+ // if (percentWithDescription === 0) {
90
+ // validationResult.messages.push({
91
+ // message:
92
+ // strings.featureLayerFieldDescriptions.ADD_FIELD_DESCRIPTION,
93
+ // });
94
+ // return validationResult;
95
+ // }
95
96
  // if percentWithDescription is less than 0.9, then there are some fields with aliases
96
97
  // it should receive half of score and a message to improve field aliases
97
98
  if (percentWithDescription < exports.FIELD_DESCRIPTIONS_REQUIRED_PERCENT) {
98
99
  validationResult.messages.push({
99
100
  message: strings.featureLayerFieldDescriptions.IMRPOVE_FIELD_DESCRIPTION,
100
101
  });
101
- validationResult.scoringFactor =
102
- scoringFactors.CONTAINS_FIELD_DESCRIPTIONS / 2;
102
+ validationResult.scoringFactor = 0;
103
103
  return validationResult;
104
104
  }
105
105
  // if percentWithDescription is greater than 0.8, then there are most fields with aliases
@@ -1 +1 @@
1
- {"version":3,"file":"checkFeatureServiceFieldDescriptions.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,uCAA+D;AAC/D,mDAAgD;AAEhD;;GAEG;AACU,QAAA,mCAAmC,GAAG,GAAG,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAAM,oCAAoC,GAAG,CAChD,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,oCAAoC;QAC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AmC;IACnC,aAAa;IACb,iBAAiB;IAEjB,iCAAiC;IACjC,4DAA4D;IAE5D,MAAM,sBAAsB,GACxB,IAAA,4CAAkC,EAAC,cAAc,CAAC,CAAC;IAEvD,wEAAwE;IACxE,oEAAoE;IACpE,IAAI,sBAAsB,KAAK,CAAC,EAAE,CAAC;QAC/B,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,qBAAqB;SAClE,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,sFAAsF;IACtF,yEAAyE;IACzE,IAAI,sBAAsB,GAAG,2CAAmC,EAAE,CAAC;QAC/D,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,yBAAyB;SACtE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa;YAC1B,cAAc,CAAC,2BAA2B,GAAG,CAAC,CAAC;QACnD,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,yFAAyF;IACzF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AArGW,QAAA,oCAAoC,wCAqG/C"}
1
+ {"version":3,"file":"checkFeatureServiceFieldDescriptions.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,uCAA+D;AAC/D,mDAAgD;AAEhD;;GAEG;AACU,QAAA,mCAAmC,GAAG,GAAG,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAAM,oCAAoC,GAAG,CAChD,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GA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B;IAEpB,yCAAyC;IACzC,iDAAiD;IACjD,oBAAoB;IAEpB,mBAAmB;IACnB,uBAAuB;IACvB,oDAAoD;IACpD,mCAAmC;IACnC,aAAa;IACb,iBAAiB;IAEjB,iCAAiC;IACjC,4DAA4D;IAE5D,MAAM,sBAAsB,GACxB,IAAA,4CAAkC,EAAC,cAAc,CAAC,CAAC;IAEvD,2EAA2E;IAC3E,uEAAuE;IACvE,sCAAsC;IACtC,uCAAuC;IACvC,mBAAmB;IACnB,2EAA2E;IAC3E,UAAU;IACV,+BAA+B;IAC/B,IAAI;IAEJ,sFAAsF;IACtF,yEAAyE;IACzE,IAAI,sBAAsB,GAAG,2CAAmC,EAAE,CAAC;QAC/D,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EACH,OAAO,CAAC,6BAA6B,CAAC,yBAAyB;SACtE,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;QACnC,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,yFAAyF;IACzF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AApGW,QAAA,oCAAoC,wCAoG/C"}
@@ -66,22 +66,22 @@ const checkFeatureServiceFieldValueTypes = (item, featureLayers) => {
66
66
  // const percentWithValueType =
67
67
  // countOfFieldsWithValueType / relevantFields.length;
68
68
  const percentWithValueType = (0, helpers_1.getPercentFieldsWithValueType)(relevantFields);
69
- // if percentWithValueType is 0, then there are no fields with aliases
70
- // it should receive a score of 0 and a message to add field aliases
71
- if (percentWithValueType === 0) {
72
- validationResult.messages.push({
73
- message: strings.featureLayerFieldTypes.ADD_FIELD_TYPE,
74
- });
75
- return validationResult;
76
- }
69
+ // // if percentWithValueType is 0, then there are no fields with aliases
70
+ // // it should receive a score of 0 and a message to add field aliases
71
+ // if (percentWithValueType === 0) {
72
+ // validationResult.messages.push({
73
+ // message: strings.featureLayerFieldTypes.ADD_FIELD_TYPE,
74
+ // });
75
+ // return validationResult;
76
+ // }
77
77
  // if percentWithValueType is less than 0.9, then there are some fields with aliases
78
78
  // it should receive half of score and a message to improve field aliases
79
79
  if (percentWithValueType < exports.FIELD_VALUE_TYPES_REQUIRED_PERCENT) {
80
80
  validationResult.messages.push({
81
81
  message: strings.featureLayerFieldTypes.IMRPOVE_FIELD_TYPE,
82
82
  });
83
- validationResult.scoringFactor =
84
- scoringFactors.CONTAINS_FIELD_VALUE_TYPES / 2;
83
+ validationResult.scoringFactor = 0;
84
+ // scoringFactors.CONTAINS_FIELD_VALUE_TYPES / 2;
85
85
  return validationResult;
86
86
  }
87
87
  // if percentWithValueType is greater than 0.8, then there are most fields with aliases
@@ -1 +1 @@
1
- {"version":3,"file":"checkFeatureServiceFieldValueTypes.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,uCAA0D;AAC1D,mDAAgD;AAEhD;;GAEG;AACU,QAAA,kCAAkC,GAAG,GAAG,CAAC;AAEtD;;;;;;;;;;;;;;;GAeG;AACI,MAAM,kCAAkC,GAAG,CAC9C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,mCAAmC;QACrD,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,6BAAa,CAAC,MAAM;QAC5B,aAAa,EAAE,CAA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AC,QAAQ,CAAC,IAAI,CAAC;YAC3B,OAAO,EAAE,OAAO,CAAC,sBAAsB,CAAC,kBAAkB;SAC7D,CAAC,CAAC;QACH,gBAAgB,CAAC,aAAa;YAC1B,cAAc,CAAC,0BAA0B,GAAG,CAAC,CAAC;QAClD,OAAO,gBAAgB,CAAC;IAC5B,CAAC;IAED,uFAAuF;IACvF,+BAA+B;IAC/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAjFW,QAAA,kCAAkC,sCAiF7C"}
1
+ {"version":3,"file":"checkFeatureServiceFieldValueTypes.js","sourceRoot":"","sources":["../../../src/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AACtF,+DAA4D;AAC5D,yDAAyD;AACzD,uCAA0D;AAC1D,mDAAgD;AAEhD;;GAEG;AACU,QAAA,kCAAkC,GAAG,GAAG,CAAC;AAEtD;;;;;;;;;;;;;;;GAeG;AACI,MAAM,kCAAkC,GAAG,CAC9C,IAAW,EACX,aAAiC,EACnB,EAAE;IAChB,MAAM,OAAO,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEnC,MAAM,cAAc,GAAG,6BAAa,CAAC,cAAc,CAAC,OAAO,CAAC;IAE5D,MAAM,gBAAgB,GAAmB;QACrC,gBAAgB,EAAE,mCAAmC;QACrD,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,KAAK,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK;QAC3C,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,CAAC;QACR,QAAQ,EAAE,EAAE;QACZ,MAAM,EAAE,6BAAa,CAAC,MAAM;QAC5B,aAAa,EAAE,CAAC;QAChB,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,KAAK;KACvB,CAAC;IAEF,uGAAuG;IACvG,sCAAsC;IACtC,IAAI,CAAC,IAAA,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/B,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC;IAEnC,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAjFW,QAAA,kCAAkC,sCAiF7C"}
@@ -49,10 +49,10 @@ const isValidSSL = (item) => {
49
49
  isBinaryCheck: false,
50
50
  };
51
51
  }
52
- let isSSL = url ? (0, isSecureProtocol_1.isSecureProtocol)(url) || (0, isArcGISDomain_1.isArcGISDomain)(url) : true;
53
- if (!isSSL) {
54
- isSSL = (0, isHosted_1.isHosted)(item);
55
- }
52
+ const isSSL = (0, isSecureProtocol_1.isSecureProtocol)(url) || (0, isArcGISDomain_1.isArcGISDomain)(url) || (0, isHosted_1.isHosted)(item);
53
+ // if (!isSSL) {
54
+ // isSSL = isHosted(item);
55
+ // }
56
56
  // console.log(isSSL)
57
57
  if (!isSSL) {
58
58
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"isValidSSL.js","sourceRoot":"","sources":["../../../src/lib/ssl/isValidSSL.ts"],"names":[],"mappings":";;;AAGA,yDAAyD;AACzD,iDAAiD;AACjD,+CAA4C;AAC5C,+DAA4D;AAC5D,iEAAiE;AACjE,2DAAwD;AACxD,4DAA4D;AAC5D,mDAAgD;AAGhD;;;;;;;;;;;GAWG;AACI,MAAM,UAAU,GAAG,CAAC,IAAW,EAAkB,EAAE;IACtD,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IAErB,MAAM,aAAa,GAAG,IAAA,gCAAgB,GAAE,CAAC;IAEzC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAoC,CAAC;IAEvD,2EAA2E;IAC3E,IACI,IAAI,KAAK,sBAAsB;QAC/B,IAAI,KAAK,uBAAuB;QAChC,IAAI,KAAK,0BAA0B;QACnC,IAAI,KAAK,cAAc;QACvB,IAAI,KAAK,eAAe;QACxB,IAAI,KAAK,OAAO;QAChB,IAAI,KAAK,eAAe;QACxB,IAAI,KAAK,WAAW,EACtB,CAAC;QACC,OAAO;YACH,gBAAgB,EAA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,CAAC,OAAO,CAAC,qBAAqB;QAC9D,kBAAkB;QAClB,sEAAsE;QACtE,MAAM,EAAE,SAAS;QACjB,aAAa,EAAE,IAAI;KACtB,CAAC;AACN,CAAC,CAAC;AAhFW,QAAA,UAAU,cAgFrB"}
@@ -172,31 +172,28 @@
172
172
  "ADD_TOPIC_INFO": "Add topic to communicate what this item is about."
173
173
  },
174
174
  "featureLayerFieldAliases": {
175
- "GUIDANCE_DEFAULT": "Field aliases are the user-friendly, human-readable names of the fields in your feature service.",
176
- "SCORING_MSG_DEFAULT": "Points are awarded if 90% or more of the fields in each feature layer of the feature service have aliases defined.",
175
+ "GUIDANCE_DEFAULT": "<p>By default, most layers start out using the field <strong>Names</strong> as the field <strong>Aliases</strong>, making them identical. This puts the burden on each user to translate each Field Name to a useful Field Alias (sometimes shown as Display Name). If, as the the owner of this item, you provide Field Aliases now, it cumulatively saves hundreds or thousands of hours of work for others who find your layer and want to use it. By putting this additional metadata &quot;on board&quot; the layer, users do not have to go find that information in metadata documents since the information is already present. As a result, each user can learn what this field represents simply by reading the Field Alias in all the places where it appears: map legend, pop-up, data table, all interfaces where the user is asked to choose a field.</p><br/><p>From the item page, go to the <strong>Data</strong> tab, click on <strong>Fields</strong> button, and click on the first field under the column <strong>Display Name</strong>. To edit the <strong>Field Alias</strong> (also referred to as <strong>Display Name</strong>), click the pencil button and enter an easy to understand Field Alias / Display Name. Tip: copy/paste content from a data dictionary, an official metadata document or PDF that describes each field.</p><br/><p><strong>Examples:</strong> in the Field Alias text, change &quot;LASTEDITOR&quot; to &quot;Last Editor&quot;; change &quot;FEATURECODE&quot; to &quot;Facility Site Code&quot;; change &quot;NUMSTORIES&quot; to &quot;Number of Stories.&quot; Note how the Field Name remains unchanged.</p>",
176
+ "SCORING_MSG_DEFAULT": "Points are awarded if 90% of Field Aliases (Display Names) are edited such that they are no longer identical to the Field Names.",
177
177
  "LABEL": "Improve Field Aliases",
178
178
  "TITLE": "Check Field Aliases",
179
- "ADD_FIELD_ALIAS": "Add field aliases to your feature service.",
180
179
  "IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature service.",
181
180
  "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table.",
182
181
  "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate."
183
182
  },
184
183
  "featureLayerFieldTypes": {
185
- "GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
186
- "SCORING_MSG_DEFAULT": "Points are awarded if 90% or more of the fields in each feature layer of the feature service have value types defined.",
184
+ "GUIDANCE_DEFAULT": "<p>To help users and client apps identify how field values should be used or represented, define the types of values that are stored in each attribute field in a hosted feature layer. For example, if you define a text field as a phone number, client apps can format the text in the appropriate manner, such as (123) 456-7890. ArcGIS Online uses field value types to show you the most relevant options when drawing a layer in a map or configuring pop-ups. See the <a href=\"https://doc.arcgis.com/en/arcgis-online/manage-data/describe-fields.htm\" target=\"_blank\">Field Value Types listed here</a>.</p><br/><p>By default, a layer usually does not contain a <strong>Field Value Type</strong> on its attribute fields. This is a missed opportunity to share additional context about what type of value is stored in the field. This puts the burden on each user to go find a metadata document, if available, so that they can learn what exactly is stored in that field. If, as the the owner of this item, you provide Field Value Types now, it cumulatively saves hundreds or thousands of hours of work for others who find your layer and want to use it. By putting this additional metadata \"on board\" the layer, users do not have to go find that information in metadata documents since the information is already present. As a result, each user can learn a key detail about what this field represents simply by reading the Field Value Type in all the places where it appears, e.g. when the user clicks on a field information button. It also helps software developers to detect whether a field value will contain a count, percent, measurement etc.</p><br/><p>From the item page, go to the <strong>Data</strong> tab, click on <strong>Fields</strong> button, and click on the first field under the column <strong>Display Name</strong>. To edit the <strong>Field Value Type</strong>, click the pencil button and edit the Field Value Type so that it represents what kinds of values the field contains.</p>",
185
+ "SCORING_MSG_DEFAULT": "Points are awarded if 90% of Field Value Types are set to a value.",
187
186
  "LABEL": "Improve Field Value Types",
188
187
  "TITLE": "Check Field Value Types",
189
- "ADD_FIELD_TYPE": "Add field types to your feature service.",
190
- "IMRPOVE_FIELD_TYPE": "Improve field types in your feature service.",
188
+ "IMRPOVE_FIELD_TYPE": "Improve field value types in your feature service.",
191
189
  "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table.",
192
190
  "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate."
193
191
  },
194
192
  "featureLayerFieldDescriptions": {
195
- "GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature service.",
196
- "SCORING_MSG_DEFAULT": "Points are awarded if 90% or more of the fields in each feature layer of the feature service have description defined.",
193
+ "GUIDANCE_DEFAULT": "<p>By default, a layer usually does not contain a <strong>Field Description</strong> on its attribute fields. This puts the burden on each user to go find a metadata document, if available, so that they can learn what exactly is stored in that field. If, as the the owner of this item, you provide Field Descriptions now, it cumulatively saves hundreds or thousands of hours of work for others who find your layer and want to use it. By putting this additional metadata &quot;on board&quot; the layer, users do not have to go find that information in metadata documents since the information is already present. As a result, each user can learn the details about what this field represents simply by reading the Field Description in all the places where it appears, e.g. when the user clicks on a field information button.</p><br/><p>From the item page, go to the <strong>Data</strong> tab, click on <strong>Fields</strong> button, and click on the first field under the column <strong>Display Name</strong>. To edit the <strong>Field Description</strong>, click the pencil button and edit the description so that it explains what the field contains. Tip: copy/paste content from a data dictionary, an official metadata document or PDF that describes each field.</p>",
194
+ "SCORING_MSG_DEFAULT": "Points are awarded if 90% of Field Descriptions contain a sentence or more of information describing the attribute. The Field Description must be different than the field alias.",
197
195
  "LABEL": "Improve Field Descriptions",
198
196
  "TITLE": "Check Field Descriptions",
199
- "ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature service.",
200
197
  "IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature service.",
201
198
  "NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table.",
202
199
  "NO_RELEVANT_FIELD": "This feature service does not have any relevant fields (non-system generated) to validate."
@@ -1 +1 @@
1
- {"lastCompiledTime":1749163188846}
1
+ {"lastCompiledTime":1749668808831}
@@ -1,9 +1,2 @@
1
1
  import { FeatureLayerJSON, IItem } from '../../types';
2
- /**
3
- * Fetches the layers of a feature service from the ArcGIS REST API.
4
- * @param item - The item representing the feature service.
5
- * @param token - The token for authentication.
6
- * @returns A promise that resolves to an array of FeatureLayerJSON objects.
7
- * @throws An error if the item is not a feature service or if the URL is not found.
8
- */
9
2
  export declare const fetchFeatureServiceLayersAndTables: (item: IItem, token: string) => Promise<FeatureLayerJSON[]>;
@@ -12,6 +12,29 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.fetchFeatureServiceLayersAndTables = void 0;
13
13
  const isFeatureService_1 = require("../../lib/util/isFeatureService");
14
14
  const getFeatureServerURL_1 = require("./getFeatureServerURL");
15
+ const fetchFeatureServiceLayersAndTables = (item, token) => __awaiter(void 0, void 0, void 0, function* () {
16
+ try {
17
+ return yield fetchFeatureServiceLayersAndTablesHelper(item, token);
18
+ }
19
+ catch (error) {
20
+ // Check for 'Invalid token' error and retry without token
21
+ if (error instanceof Error &&
22
+ error.message &&
23
+ error.message.toLowerCase().includes('invalid token')) {
24
+ try {
25
+ console.warn('Invalid token error detected while fetching feature service layers. Retrying without token...');
26
+ return yield fetchFeatureServiceLayersAndTablesHelper(item, undefined);
27
+ }
28
+ catch (retryError) {
29
+ console.error('Error fetching feature service layers and tables after retry:', retryError);
30
+ throw retryError;
31
+ }
32
+ }
33
+ console.error('Error fetching feature service layers and tables:', error);
34
+ throw error; // rethrow the error for the caller to handle
35
+ }
36
+ });
37
+ exports.fetchFeatureServiceLayersAndTables = fetchFeatureServiceLayersAndTables;
15
38
  /**
16
39
  * Fetches the layers of a feature service from the ArcGIS REST API.
17
40
  * @param item - The item representing the feature service.
@@ -19,8 +42,7 @@ const getFeatureServerURL_1 = require("./getFeatureServerURL");
19
42
  * @returns A promise that resolves to an array of FeatureLayerJSON objects.
20
43
  * @throws An error if the item is not a feature service or if the URL is not found.
21
44
  */
22
- const fetchFeatureServiceLayersAndTables = (item, token) => __awaiter(void 0, void 0, void 0, function* () {
23
- var _a;
45
+ const fetchFeatureServiceLayersAndTablesHelper = (item, token) => __awaiter(void 0, void 0, void 0, function* () {
24
46
  if (!item) {
25
47
  throw new Error('Item is required');
26
48
  }
@@ -31,22 +53,21 @@ const fetchFeatureServiceLayersAndTables = (item, token) => __awaiter(void 0, vo
31
53
  throw new Error('URL of the feature service is not found');
32
54
  }
33
55
  // get the feature server URL
34
- const url = (0, getFeatureServerURL_1.getFeatureServerURL)(item.url);
35
- try {
36
- const res = yield fetch(`${url}/layers?f=json&token=${token}`);
37
- const data = yield res.json();
38
- if (data.error) {
39
- throw new Error('Error fetching feature service data: ' +
40
- (((_a = data === null || data === void 0 ? void 0 : data.error) === null || _a === void 0 ? void 0 : _a.message) || 'Unknown error'));
41
- }
42
- const layers = data.layers || [];
43
- const tables = data.tables || [];
44
- const layersAndTables = [...layers, ...tables];
45
- return layersAndTables;
56
+ const url = (0, getFeatureServerURL_1.getFeatureServerRootURL)(item.url);
57
+ const params = new URLSearchParams({
58
+ f: 'json',
59
+ });
60
+ if (token) {
61
+ params.append('token', token);
46
62
  }
47
- catch (error) {
48
- throw new Error('Error fetching feature service data: ' + error);
63
+ const res = yield fetch(`${url}/layers?${params.toString()}`);
64
+ const data = yield res.json();
65
+ if (data.error) {
66
+ throw new Error(data.error.message || 'Error fetching feature service layers');
49
67
  }
68
+ const layers = data.layers || [];
69
+ const tables = data.tables || [];
70
+ const layersAndTables = [...layers, ...tables];
71
+ return layersAndTables;
50
72
  });
51
- exports.fetchFeatureServiceLayersAndTables = fetchFeatureServiceLayersAndTables;
52
73
  //# sourceMappingURL=fetchFeatureServiceLayersAndTables.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetchFeatureServiceLayersAndTables.js","sourceRoot":"","sources":["../../../src/services/feature-service/fetchFeatureServiceLayersAndTables.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,sEAAmE;AAOnE,+DAA4D;AAE5D;;;;;;GAMG;A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CAAkC,sCAuC7C"}
1
+ {"version":3,"file":"fetchFeatureServiceLayersAndTables.js","sourceRoot":"","sources":["../../../src/services/feature-service/fetchFeatureServiceLayersAndTables.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,sEAAmE;AAOnE,+DAAgE;AAEzD,MAAM,kCAAkC,GAAG,CAC9C,IAAW,EACX,KAAa,EACc,EAAE;IAC7B,IAAI,CAAC;QACD,OAAO,MAAM,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACvE,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QAClB,0DAA0D;QAC1D,IACI,KAAK,YAAY,KAAK;YACtB,KAAK,CAAC,OAAO;YACb,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,EACvD,CAAC;YACC,IAAI,CAAC;gBACD,OAAO,CAAC,IAAI,CACR,+FAA+F,CAClG,CAAC;gBACF,OAAO,MAAM,wCAAwC,CACjD,IAAI,EACJ,SAAS,CACZ,CAAC;YACN,CAAC;YAAC,OAAO,UAAU,EAAE,CAAC;gBAClB,OAAO,CAAC,KAAK,CACT,+DAA+D,EAC/D,UAAU,CACb,CAAC;gBACF,MAAM,UAAU,CAAC;YACrB,CAAC;QACL,CAAC;QACD,OAAO,CAAC,KAAK,CACT,mDAAmD,EACnD,KAAK,CACR,CAAC;QACF,MAAM,KAAK,CAAC,CAAC,6CAA6C;IAC9D,CAAC;AACL,CAAC,CAAA,CAAC;AAnCW,QAAA,kCAAkC,sCAmC7C;AAEF;;;;;;GAMG;AACH,MAAM,wCAAwC,GAAG,CAC7C,IAAW,EACX,KAAc,EACa,EAAE;IAC7B,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACxC,CAAC;IAED,IAAI,IAAA,mCAAgB,EAAC,IAAI,CAAC,KAAK,KAAK,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;IACrD,CAAC;IAED,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;IAC/D,CAAC;IAED,6BAA6B;IAC7B,MAAM,GAAG,GAAG,IAAA,6CAAuB,EAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAE9C,MAAM,MAAM,GAAG,IAAI,eAAe,CAAC;QAC/B,CAAC,EAAE,MAAM;KACZ,CAAC,CAAC;IAEH,IAAI,KAAK,EAAE,CAAC;QACR,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,GAAG,GAAG,WAAW,MAAM,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAC9D,MAAM,IAAI,GAAiC,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IAE5D,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,uCAAuC,CAChE,CAAC;IACN,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;IACjC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;IAEjC,MAAM,eAAe,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,CAAC;IAE/C,OAAO,eAAe,CAAC;AAC3B,CAAC,CAAA,CAAC"}
@@ -9,4 +9,4 @@
9
9
  * @param itemUrl - The URL of the item to process.
10
10
  * @returns The normalized FeatureServer URL.
11
11
  */
12
- export declare const getFeatureServerURL: (itemUrl: string) => string;
12
+ export declare const getFeatureServerRootURL: (itemUrl: string, amdinEndPoint?: boolean) => string;
@@ -1,6 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getFeatureServerURL = void 0;
3
+ exports.getFeatureServerRootURL = void 0;
4
+ const getFeatureServerAdminRootURL = (itemUrl) => {
5
+ if (!itemUrl) {
6
+ return '';
7
+ }
8
+ itemUrl = itemUrl.replace(/\/rest\/services/i, '/rest/admin/services');
9
+ return itemUrl;
10
+ };
4
11
  /**
5
12
  * Returns the URL of the FeatureServer endpoint for a given item URL.
6
13
  *
@@ -12,18 +19,19 @@ exports.getFeatureServerURL = void 0;
12
19
  * @param itemUrl - The URL of the item to process.
13
20
  * @returns The normalized FeatureServer URL.
14
21
  */
15
- const getFeatureServerURL = (itemUrl) => {
22
+ const getFeatureServerRootURL = (itemUrl, amdinEndPoint = false) => {
16
23
  if (!itemUrl) {
17
24
  return '';
18
25
  }
19
26
  if (itemUrl.endsWith('/FeatureServer')) {
20
- return itemUrl;
27
+ return amdinEndPoint ? getFeatureServerAdminRootURL(itemUrl) : itemUrl; // Return as is if it already ends with /FeatureServer
21
28
  }
22
29
  if (itemUrl.endsWith('/')) {
23
30
  itemUrl = itemUrl.slice(0, -1); // Remove trailing slash
24
31
  }
32
+ // /\/\d+$/ matches a forward slash (/) followed by one or more digits (\d+) at the end of the string ($).
25
33
  itemUrl = itemUrl.replace(/\/\d+$/, '');
26
- return itemUrl;
34
+ return amdinEndPoint ? getFeatureServerAdminRootURL(itemUrl) : itemUrl;
27
35
  };
28
- exports.getFeatureServerURL = getFeatureServerURL;
36
+ exports.getFeatureServerRootURL = getFeatureServerRootURL;
29
37
  //# sourceMappingURL=getFeatureServerURL.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getFeatureServerURL.js","sourceRoot":"","sources":["../../../src/services/feature-service/getFeatureServerURL.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;GAUG;AACI,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAU,EAAE;IAC3D,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACrC,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,wBAAwB;IAC5D,CAAC;IAED,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAExC,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC;AAhBW,QAAA,mBAAmB,uBAgB9B"}
1
+ {"version":3,"file":"getFeatureServerURL.js","sourceRoot":"","sources":["../../../src/services/feature-service/getFeatureServerURL.ts"],"names":[],"mappings":";;;AAAA,MAAM,4BAA4B,GAAG,CAAC,OAAe,EAAU,EAAE;IAC7D,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,CAAC;IAEvE,OAAO,OAAO,CAAC;AACnB,CAAC,CAAC;AAEF;;;;;;;;;;GAUG;AACI,MAAM,uBAAuB,GAAG,CACnC,OAAe,EACf,aAAa,GAAG,KAAK,EACf,EAAE;IACR,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACrC,OAAO,aAAa,CAAC,CAAC,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,sDAAsD;IAClI,CAAC;IAED,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,wBAAwB;IAC5D,CAAC;IAED,0GAA0G;IAC1G,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IAExC,OAAO,aAAa,CAAC,CAAC,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;AAC3E,CAAC,CAAC;AApBW,QAAA,uBAAuB,2BAoBlC"}
@@ -38,6 +38,7 @@ export type IItem = {
38
38
  numViews: number;
39
39
  size: number;
40
40
  protected?: boolean;
41
+ access?: 'private' | 'shared' | 'org' | 'public';
41
42
  [key: string]: any;
42
43
  };
43
44
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAoIU,QAAA,iBAAiB,GAAG;IAC7B,oBAAoB;IACpB,+BAA+B;IAC/B,kBAAkB;IAClB,mBAAmB;IACnB,cAAc;IACd,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,wBAAwB;IACxB,sCAAsC;IACtC,0BAA0B;IAC1B,wBAAwB;IACxB,wBAAwB;IACxB,mCAAmC;IACnC,+BAA+B;IAC/B,oCAAoC;CAC9B,CAAC;AA4PX;;;;;GAKG;AACU,QAAA,2BAA2B,GAAG;IACvC,aAAa;IACb,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,mBAAmB;IACnB,aAAa;IACb,UAAU;IACV,kBAAkB;IAClB,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,QAAQ;IACR,qBAAqB;IACrB,YAAY;IACZ,aAAa;CACP,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;GAYG;;;AAqIU,QAAA,iBAAiB,GAAG;IAC7B,oBAAoB;IACpB,+BAA+B;IAC/B,kBAAkB;IAClB,mBAAmB;IACnB,cAAc;IACd,UAAU;IACV,WAAW;IACX,gBAAgB;IAChB,YAAY;IACZ,iBAAiB;IACjB,wBAAwB;IACxB,sCAAsC;IACtC,0BAA0B;IAC1B,wBAAwB;IACxB,wBAAwB;IACxB,mCAAmC;IACnC,+BAA+B;IAC/B,oCAAoC;CAC9B,CAAC;AA4PX;;;;;GAKG;AACU,QAAA,2BAA2B,GAAG;IACvC,aAAa;IACb,aAAa;IACb,gBAAgB;IAChB,eAAe;IACf,mBAAmB;IACnB,aAAa;IACb,UAAU;IACV,kBAAkB;IAClB,aAAa;IACb,cAAc;IACd,iBAAiB;IACjB,QAAQ;IACR,qBAAqB;IACrB,YAAY;IACZ,aAAa;CACP,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vannizhang/living-atlas-content-validator",
3
- "version": "1.5.19-beta.13",
3
+ "version": "1.5.19-beta.14",
4
4
  "description": "Validation and Scoring rules for curating content in the ArcGIS Living Atlas",
5
5
  "repository": {
6
6
  "type": "git",