@vannizhang/living-atlas-content-validator 1.5.19-beta.0 → 1.5.19-beta.3
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/README.md +338 -55
- package/dist/configureSettings.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/lib/accessInformation/isValidAccessInformation.js +6 -9
- package/dist/lib/accessInformation/isValidAccessInformation.js.map +1 -1
- package/dist/lib/accessInformation/scoringConfig.d.ts +1 -1
- package/dist/lib/accessInformation/scoringConfig.js +1 -1
- package/dist/lib/accessInformation/scoringConfig.js.map +1 -1
- package/dist/lib/checkProfanities/checkProfanities.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/checkTitleAndSnippetSearchability.js +7 -7
- package/dist/lib/checkTitleAndSnippetSearchability/checkTitleAndSnippetSearchability.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/helpers.d.ts +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/helpers.js +3 -2
- package/dist/lib/checkTitleAndSnippetSearchability/helpers.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/matchDateTimeInfo.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/matchLocationInfo.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/matchSourceInfo.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/matchTopicInfo.js.map +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/scoringConfig.d.ts +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/scoringConfig.js +1 -1
- package/dist/lib/checkTitleAndSnippetSearchability/scoringConfig.js.map +1 -1
- package/dist/lib/deleteProtection/isDeleteProtectionEnabled.js +8 -8
- package/dist/lib/deleteProtection/isDeleteProtectionEnabled.js.map +1 -1
- package/dist/lib/deleteProtection/scoringConfig.d.ts +1 -1
- package/dist/lib/deleteProtection/scoringConfig.js +1 -1
- package/dist/lib/deleteProtection/scoringConfig.js.map +1 -1
- package/dist/lib/deprecated/isDeprecated.js +8 -9
- package/dist/lib/deprecated/isDeprecated.js.map +1 -1
- package/dist/lib/deprecated/scoringConfig.d.ts +1 -1
- package/dist/lib/deprecated/scoringConfig.js +1 -1
- package/dist/lib/deprecated/scoringConfig.js.map +1 -1
- package/dist/lib/description/findDataSource.js.map +1 -1
- package/dist/lib/description/isValidDescription.js +23 -41
- package/dist/lib/description/isValidDescription.js.map +1 -1
- package/dist/lib/description/scoringConfig.d.ts +1 -1
- package/dist/lib/description/scoringConfig.js +1 -1
- package/dist/lib/description/scoringConfig.js.map +1 -1
- package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.d.ts +22 -0
- package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.js +87 -0
- package/dist/lib/featureServiceFieldAliases/checkFeatureServiceFieldAliases.js.map +1 -0
- package/dist/lib/featureServiceFieldAliases/scoringConfig.d.ts +8 -0
- package/dist/lib/featureServiceFieldAliases/scoringConfig.js +13 -0
- package/dist/lib/featureServiceFieldAliases/scoringConfig.js.map +1 -0
- package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.d.ts +21 -0
- package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.js +89 -0
- package/dist/lib/featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions.js.map +1 -0
- package/dist/lib/featureServiceFieldDescriptions/scoringConfig.d.ts +8 -0
- package/dist/lib/featureServiceFieldDescriptions/scoringConfig.js +13 -0
- package/dist/lib/featureServiceFieldDescriptions/scoringConfig.js.map +1 -0
- package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.d.ts +18 -0
- package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.js +86 -0
- package/dist/lib/featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes.js.map +1 -0
- package/dist/lib/featureServiceFieldValueTypes/scoringConfig.d.ts +8 -0
- package/dist/lib/featureServiceFieldValueTypes/scoringConfig.js +13 -0
- package/dist/lib/featureServiceFieldValueTypes/scoringConfig.js.map +1 -0
- package/dist/lib/licenseInfo/isValidLicenseInfo.js +16 -23
- package/dist/lib/licenseInfo/isValidLicenseInfo.js.map +1 -1
- package/dist/lib/licenseInfo/scoringConfig.d.ts +1 -1
- package/dist/lib/licenseInfo/scoringConfig.js +1 -1
- package/dist/lib/licenseInfo/scoringConfig.js.map +1 -1
- package/dist/lib/sharing/isValidAccess.js +13 -14
- package/dist/lib/sharing/isValidAccess.js.map +1 -1
- package/dist/lib/sharing/scoringConfig.d.ts +1 -1
- package/dist/lib/sharing/scoringConfig.js +1 -1
- package/dist/lib/sharing/scoringConfig.js.map +1 -1
- package/dist/lib/ssl/isValidSSL.js +12 -12
- package/dist/lib/ssl/isValidSSL.js.map +1 -1
- package/dist/lib/ssl/scoringConfig.d.ts +1 -1
- package/dist/lib/ssl/scoringConfig.js +1 -1
- package/dist/lib/ssl/scoringConfig.js.map +1 -1
- package/dist/lib/summary/isValidSummary.js +32 -31
- package/dist/lib/summary/isValidSummary.js.map +1 -1
- package/dist/lib/summary/scoringConfig.d.ts +1 -1
- package/dist/lib/summary/scoringConfig.js +1 -1
- package/dist/lib/summary/scoringConfig.js.map +1 -1
- package/dist/lib/tags/isValidTags.js +15 -21
- package/dist/lib/tags/isValidTags.js.map +1 -1
- package/dist/lib/tags/scoringConfig.d.ts +1 -1
- package/dist/lib/tags/scoringConfig.js +1 -1
- package/dist/lib/tags/scoringConfig.js.map +1 -1
- package/dist/lib/thumbnail/isValidThumbnail.js +16 -34
- package/dist/lib/thumbnail/isValidThumbnail.js.map +1 -1
- package/dist/lib/thumbnail/scoringConfig.d.ts +1 -1
- package/dist/lib/thumbnail/scoringConfig.js +1 -1
- package/dist/lib/thumbnail/scoringConfig.js.map +1 -1
- package/dist/lib/title/isValidTitle.js +34 -34
- package/dist/lib/title/isValidTitle.js.map +1 -1
- package/dist/lib/title/scoringConfig.d.ts +1 -1
- package/dist/lib/title/scoringConfig.js +1 -1
- package/dist/lib/title/scoringConfig.js.map +1 -1
- package/dist/lib/userProfileDescription/isValidUserProfileDescription.js +31 -32
- package/dist/lib/userProfileDescription/isValidUserProfileDescription.js.map +1 -1
- package/dist/lib/userProfileDescription/scoringConfig.d.ts +1 -1
- package/dist/lib/userProfileDescription/scoringConfig.js +1 -1
- package/dist/lib/userProfileDescription/scoringConfig.js.map +1 -1
- package/dist/lib/userProfileName/isValidUserProfileName.js +14 -14
- package/dist/lib/userProfileName/isValidUserProfileName.js.map +1 -1
- package/dist/lib/userProfileName/scoringConfig.d.ts +1 -1
- package/dist/lib/userProfileName/scoringConfig.js +1 -1
- package/dist/lib/userProfileName/scoringConfig.js.map +1 -1
- package/dist/lib/userProfileThumbnail/isValidUserProfileThumbnail.js +10 -10
- package/dist/lib/userProfileThumbnail/isValidUserProfileThumbnail.js.map +1 -1
- package/dist/lib/userProfileThumbnail/scoringConfig.d.ts +1 -1
- package/dist/lib/userProfileThumbnail/scoringConfig.js +1 -1
- package/dist/lib/userProfileThumbnail/scoringConfig.js.map +1 -1
- package/dist/lib/util/containsNonEnglishCharacters.js.map +1 -1
- package/dist/lib/util/countSentences.js.map +1 -1
- package/dist/lib/util/createWordBoundaryRegex.js.map +1 -1
- package/dist/lib/util/escapeSpecialCharacters.js.map +1 -1
- package/dist/lib/util/getAllValidationRuleIds.d.ts +6 -0
- package/dist/lib/util/getAllValidationRuleIds.js +13 -0
- package/dist/lib/util/getAllValidationRuleIds.js.map +1 -0
- package/dist/lib/util/getLivingAtlasSupportedItemTypes.js.map +1 -1
- package/dist/lib/util/getNumberOfWords.js.map +1 -1
- package/dist/lib/util/getRelevantFeatureLayerFields.d.ts +13 -0
- package/dist/lib/util/getRelevantFeatureLayerFields.js +45 -0
- package/dist/lib/util/getRelevantFeatureLayerFields.js.map +1 -0
- package/dist/lib/util/getScoringRules.js.map +1 -1
- package/dist/lib/util/getThumbnailFileName.js.map +1 -1
- package/dist/lib/util/isArcGISDomain.js.map +1 -1
- package/dist/lib/util/isEmpty.js.map +1 -1
- package/dist/lib/util/isFeatureCollection.js +1 -1
- package/dist/lib/util/isFeatureCollection.js.map +1 -1
- package/dist/lib/util/isFeatureService.d.ts +8 -0
- package/dist/lib/util/isFeatureService.js +21 -0
- package/dist/lib/util/isFeatureService.js.map +1 -0
- package/dist/lib/util/isHosted.js.map +1 -1
- package/dist/lib/util/isSecureProtocol.js.map +1 -1
- package/dist/lib/util/isUppercase.js.map +1 -1
- package/dist/lib/util/isUrl.js.map +1 -1
- package/dist/lib/util/isValidRegexPattern.js.map +1 -1
- package/dist/lib/util/matches.js.map +1 -1
- package/dist/lib/util/round.js +1 -2
- package/dist/lib/util/round.js.map +1 -1
- package/dist/lib/util/sanitizeTags.js.map +1 -1
- package/dist/lib/util/shouldValidateByBetaRules.js.map +1 -1
- package/dist/lib/util/toString.js.map +1 -1
- package/dist/lib/validate/validate.d.ts +7 -2
- package/dist/lib/validate/validate.js +10 -1
- package/dist/lib/validate/validate.js.map +1 -1
- package/dist/lib/validate/validateHelpers.js +2 -2
- package/dist/lib/validate/validateHelpers.js.map +1 -1
- package/dist/locale/de.json +27 -0
- package/dist/locale/en.json +27 -0
- package/dist/locale/es.json +27 -0
- package/dist/locale/fr.json +27 -0
- package/dist/locale/ja.json +27 -0
- package/dist/locale/pt-br.json +27 -0
- package/dist/package-info.json +1 -1
- package/dist/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.js +1 -1
- package/dist/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.js.map +1 -1
- package/dist/services/content-validator-assets/fetchProfanitiesData.js +1 -1
- package/dist/services/content-validator-assets/fetchProfanitiesData.js.map +1 -1
- package/dist/services/content-validator-assets/helpers.js.map +1 -1
- package/dist/services/custom-terms/config.js +1 -1
- package/dist/services/custom-terms/config.js.map +1 -1
- package/dist/services/custom-terms/customTerms.js +10 -10
- package/dist/services/custom-terms/customTerms.js.map +1 -1
- package/dist/services/custom-terms/helpers.js.map +1 -1
- package/dist/services/custom-terms-review-results/config.js +1 -1
- package/dist/services/custom-terms-review-results/config.js.map +1 -1
- package/dist/services/custom-terms-review-results/customTermsReviewResults.js +4 -4
- package/dist/services/custom-terms-review-results/customTermsReviewResults.js.map +1 -1
- package/dist/services/custom-terms-review-results/helpers.js.map +1 -1
- package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.d.ts +9 -0
- package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.js +49 -0
- package/dist/services/feature-service/fetchFeatureServiceLayersAndTables.js.map +1 -0
- package/dist/services/shared/addFeatures.js +4 -4
- package/dist/services/shared/addFeatures.js.map +1 -1
- package/dist/services/shared/applyEdits.js +4 -4
- package/dist/services/shared/applyEdits.js.map +1 -1
- package/dist/services/shared/getItemInfo.js +1 -1
- package/dist/services/shared/getItemInfo.js.map +1 -1
- package/dist/types/index.d.ts +168 -29
- package/dist/types/index.js +21 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +8 -7
- package/dist/lib/accessInformation/scoringRulesConfig.d.ts +0 -0
- package/dist/lib/accessInformation/scoringRulesConfig.js +0 -36
- package/dist/lib/accessInformation/scoringRulesConfig.js.map +0 -1
- package/dist/lib/layers/scoringRulesConfig.d.ts +0 -0
- package/dist/lib/layers/scoringRulesConfig.js +0 -48
- package/dist/lib/layers/scoringRulesConfig.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLivingAtlasSupportedItemTypes.js","sourceRoot":"","sources":["../../../src/lib/util/getLivingAtlasSupportedItemTypes.ts"],"names":[],"mappings":";;;AACA,sCAGmB;AAEnB;;;;;;;GAOG;AACI,MAAM,gCAAgC,GACzC,GAAmC,EAAE;IACjC,OAAO,CAAC,GAAG,0CAAiC,CAAC,CAAC;AAClD,CAAC,CAAC;AAHO,QAAA,gCAAgC,oCAGvC;AAEN;;;;;;;;GAQG;AACI,MAAM,mCAAmC,GAAG,CAAC,IAAW,EAAW,EAAE;IACxE,IAAI,CAAC,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"getLivingAtlasSupportedItemTypes.js","sourceRoot":"","sources":["../../../src/lib/util/getLivingAtlasSupportedItemTypes.ts"],"names":[],"mappings":";;;AACA,sCAGmB;AAEnB;;;;;;;GAOG;AACI,MAAM,gCAAgC,GACzC,GAAmC,EAAE;IACjC,OAAO,CAAC,GAAG,0CAAiC,CAAC,CAAC;AAClD,CAAC,CAAC;AAHO,QAAA,gCAAgC,oCAGvC;AAEN;;;;;;;;GAQG;AACI,MAAM,mCAAmC,GAAG,CAAC,IAAW,EAAW,EAAE;IACxE,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,QAAQ,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAC;IAE5B,OAAO,0CAAiC,CAAC,QAAQ,CAC7C,QAAwC,CAC3C,CAAC;AACN,CAAC,CAAC;AAVW,QAAA,mCAAmC,uCAU9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNumberOfWords.js","sourceRoot":"","sources":["../../../src/lib/util/getNumberOfWords.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;;;GAIG;AACI,MAAM,gBAAgB,GAAG,CAAC,CAAS,EAAU,EAAE;IAClD,IAAI,CAAC,IAAA,2BAAY,EAAC,CAAC,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"getNumberOfWords.js","sourceRoot":"","sources":["../../../src/lib/util/getNumberOfWords.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C;;;;GAIG;AACI,MAAM,gBAAgB,GAAG,CAAC,CAAS,EAAU,EAAE;IAClD,IAAI,CAAC,IAAA,2BAAY,EAAC,CAAC,CAAC,EAAE,CAAC;QACnB,OAAO,CAAC,CAAC;IACb,CAAC;IAED,wDAAwD;IACxD,IAAI,GAAG,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,mCAAmC;IAEvD,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,CAAC,CAAC;IACb,CAAC;IAED,0FAA0F;IAC1F,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IAEpC,4CAA4C;IAC5C,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAE/B,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;QACnD,OAAO,CAAC,CAAC;IACb,CAAC;IAED,OAAO,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;AACjC,CAAC,CAAC;AAvBW,QAAA,gBAAgB,oBAuB3B;AAEF,mEAAmE;AAEnE,wBAAwB;AAExB,uDAAuD;AACvD,yBAAyB;AACzB,uCAAuC;AACvC,MAAM"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FeatureLayerField, FeatureLayerJSON } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Extracts and returns relevant fields from an array of feature layer JSON objects.
|
|
4
|
+
*
|
|
5
|
+
* This function iterates through each provided feature layer and collects fields that:
|
|
6
|
+
* - Have a valid name and type.
|
|
7
|
+
* - Are not of type 'esriFieldTypeOID'.
|
|
8
|
+
* - Are not named 'OBJECTID', 'Shape__Area', or 'Shape__Length' (case-insensitive).
|
|
9
|
+
*
|
|
10
|
+
* @param featureLayers - An array of `FeatureLayerJSON` objects to extract fields from.
|
|
11
|
+
* @returns An array of `FeatureLayerField` objects that are considered relevant.
|
|
12
|
+
*/
|
|
13
|
+
export declare const getRelevantFeatureLayerFields: (featureLayers: FeatureLayerJSON[]) => FeatureLayerField[];
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRelevantFeatureLayerFields = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Extracts and returns relevant fields from an array of feature layer JSON objects.
|
|
6
|
+
*
|
|
7
|
+
* This function iterates through each provided feature layer and collects fields that:
|
|
8
|
+
* - Have a valid name and type.
|
|
9
|
+
* - Are not of type 'esriFieldTypeOID'.
|
|
10
|
+
* - Are not named 'OBJECTID', 'Shape__Area', or 'Shape__Length' (case-insensitive).
|
|
11
|
+
*
|
|
12
|
+
* @param featureLayers - An array of `FeatureLayerJSON` objects to extract fields from.
|
|
13
|
+
* @returns An array of `FeatureLayerField` objects that are considered relevant.
|
|
14
|
+
*/
|
|
15
|
+
const getRelevantFeatureLayerFields = (featureLayers) => {
|
|
16
|
+
if (!Array.isArray(featureLayers) || !(featureLayers === null || featureLayers === void 0 ? void 0 : featureLayers.length)) {
|
|
17
|
+
return [];
|
|
18
|
+
}
|
|
19
|
+
const featureLayerFields = [];
|
|
20
|
+
for (const featureLayer of featureLayers) {
|
|
21
|
+
if (Array.isArray(featureLayer === null || featureLayer === void 0 ? void 0 : featureLayer.fields) === false) {
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
for (const field of featureLayer.fields) {
|
|
25
|
+
if (!(field === null || field === void 0 ? void 0 : field.name) ||
|
|
26
|
+
!(field === null || field === void 0 ? void 0 : field.type) ||
|
|
27
|
+
typeof field.name !== 'string' ||
|
|
28
|
+
typeof field.type !== 'string') {
|
|
29
|
+
continue;
|
|
30
|
+
}
|
|
31
|
+
const fieldName = field.name.toUpperCase();
|
|
32
|
+
const fieldType = field.type;
|
|
33
|
+
if (fieldName === 'OBJECTID' || fieldType === 'esriFieldTypeOID') {
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
if (fieldName === 'SHAPE__AREA' || fieldName === 'SHAPE__LENGTH') {
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
featureLayerFields.push(field);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return featureLayerFields;
|
|
43
|
+
};
|
|
44
|
+
exports.getRelevantFeatureLayerFields = getRelevantFeatureLayerFields;
|
|
45
|
+
//# sourceMappingURL=getRelevantFeatureLayerFields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRelevantFeatureLayerFields.js","sourceRoot":"","sources":["../../../src/lib/util/getRelevantFeatureLayerFields.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;GAUG;AACI,MAAM,6BAA6B,GAAG,CACzC,aAAiC,EACd,EAAE;IACrB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,MAAM,CAAA,EAAE,CAAC;QAC1D,OAAO,EAAE,CAAC;IACd,CAAC;IAED,MAAM,kBAAkB,GAAwB,EAAE,CAAC;IAEnD,KAAK,MAAM,YAAY,IAAI,aAAa,EAAE,CAAC;QACvC,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,MAAM,CAAC,KAAK,KAAK,EAAE,CAAC;YAChD,SAAS;QACb,CAAC;QAED,KAAK,MAAM,KAAK,IAAI,YAAY,CAAC,MAAM,EAAE,CAAC;YACtC,IACI,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAA;gBACZ,CAAC,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAA;gBACZ,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;gBAC9B,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,EAChC,CAAC;gBACC,SAAS;YACb,CAAC;YAED,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YAC3C,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI,CAAC;YAE7B,IAAI,SAAS,KAAK,UAAU,IAAI,SAAS,KAAK,kBAAkB,EAAE,CAAC;gBAC/D,SAAS;YACb,CAAC;YAED,IAAI,SAAS,KAAK,aAAa,IAAI,SAAS,KAAK,eAAe,EAAE,CAAC;gBAC/D,SAAS;YACb,CAAC;YAED,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACnC,CAAC;IACL,CAAC;IAED,OAAO,kBAAkB,CAAC;AAC9B,CAAC,CAAC;AAxCW,QAAA,6BAA6B,iCAwCxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getScoringRules.js","sourceRoot":"","sources":["../../../src/lib/util/getScoringRules.ts"],"names":[],"mappings":";AAAA,WAAW;AACX,aAAa;AACb,mBAAmB;AACnB,oBAAoB;AACpB,0BAA0B;AAC1B,0BAA0B;AAC1B,wBAAwB;AACxB,wBAAwB;AACxB,4DAA4D;;;AAO5D,MAAM;AACN,wGAAwG;AACxG,MAAM;AACN,sCAAsC;AACtC,oCAAoC;AACpC,uBAAuB;AACvB,QAAQ;AACR,uCAAuC;AACvC,oCAAoC;AACpC,kCAAkC;AAClC,gCAAgC;AAChC,4BAA4B;AAC5B,wCAAwC;AACxC,2CAA2C;AAC3C,4CAA4C;AAC5C,+CAA+C;AAC/C,mCAAmC;AACnC,oCAAoC;AACpC,0BAA0B;AAC1B,oCAAoC;AACpC,gCAAgC;AAChC,gCAAgC;AAChC,sCAAsC;AACtC,wCAAwC;AACxC,+BAA+B;AAC/B,uCAAuC;AACvC,gDAAgD;AAChD,gDAAgD;AAChD,0BAA0B;AAC1B,KAAK;AAEL;;;;;;GAMG;AACI,MAAM,qBAAqB,GAAG,CAAC,OAAe,EAAsB,EAAE;IACzE,IAAI,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"getScoringRules.js","sourceRoot":"","sources":["../../../src/lib/util/getScoringRules.ts"],"names":[],"mappings":";AAAA,WAAW;AACX,aAAa;AACb,mBAAmB;AACnB,oBAAoB;AACpB,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B,YAAY;QACZ,sBAAsB;QACtB,wBAAwB;KAC3B,CAAC;IAEF,IAAI,yBAAyB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5C,OAAO,eAAe,CAAC;IAC3B,CAAC;IAED,OAAO,IAAI,CAAC;IACZ,0BAA0B;AAC9B,CAAC,CAAC;AA7BW,QAAA,gCAAgC,oCA6B3C;AAEF,MAAM;AACN,kFAAkF;AAClF,qBAAqB;AACrB,+BAA+B;AAC/B,cAAc;AACd,MAAM;AACN,mCAAmC;AACnC,mBAAmB;AACnB,6CAA6C;AAC7C,uBAAuB;AACvB,kDAAkD;AAElD,8CAA8C;AAE9C,+BAA+B;AAC/B,qEAAqE;AAErE,kEAAkE;AAElE,8DAA8D;AAE9D,6BAA6B;AAC7B,wCAAwC;AACxC,qCAAqC;AACrC,mCAAmC;AACnC,iCAAiC;AACjC,6BAA6B;AAC7B,yCAAyC;AACzC,6DAA6D;AAC7D,wBAAwB;AACxB,0CAA0C;AAC1C,2CAA2C;AAC3C,8CAA8C;AAC9C,kCAAkC;AAClC,mCAAmC;AACnC,2BAA2B;AAC3B,mCAAmC;AACnC,+BAA+B;AAC/B,+DAA+D;AAC/D,wBAAwB;AACxB,+BAA+B;AAC/B,mCAAmC;AACnC,qCAAqC;AACrC,8BAA8B;AAC9B,oCAAoC;AACpC,6CAA6C;AAC7C,6CAA6C;AAC7C,yBAAyB;AACzB,iEAAiE;AACjE,wBAAwB;AACxB,sBAAsB;AACtB,wBAAwB;AACxB,2BAA2B;AAC3B,WAAW;AAEX,wDAAwD;AACxD,KAAK"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThumbnailFileName.js","sourceRoot":"","sources":["../../../src/lib/util/getThumbnailFileName.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;GAaG;AACI,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACtD,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"getThumbnailFileName.js","sourceRoot":"","sources":["../../../src/lib/util/getThumbnailFileName.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;GAaG;AACI,MAAM,oBAAoB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACtD,IAAI,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE,CAAC;QACpC,OAAO,SAAS,CAAC;IACrB,CAAC;IAED,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAChD,OAAO,QAAQ,IAAI,EAAE,CAAC;AAC1B,CAAC,CAAC;AAPW,QAAA,oBAAoB,wBAO/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isArcGISDomain.js","sourceRoot":"","sources":["../../../src/lib/util/isArcGISDomain.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,cAAc,GAAG,CAAC,GAAW,EAAW,EAAE;IACnD,IAAI,CAAC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"isArcGISDomain.js","sourceRoot":"","sources":["../../../src/lib/util/isArcGISDomain.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,cAAc,GAAG,CAAC,GAAW,EAAW,EAAE;IACnD,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CAAC;AAC1E,CAAC,CAAC;AANW,QAAA,cAAc,kBAMzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../../src/lib/util/isEmpty.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAW,EAAE;IAC5C,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,CAAC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"isEmpty.js","sourceRoot":"","sources":["../../../src/lib/util/isEmpty.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAW,EAAE;IAC5C,IAAI,GAAG,KAAK,IAAI,IAAI,GAAG,KAAK,SAAS,IAAI,CAAC,GAAG,EAAE,CAAC;QAC5C,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,GAAG,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;IAEjB,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,CAAC;AAC5B,CAAC,CAAC;AARW,QAAA,OAAO,WAQlB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = isFeatureCollection;
|
|
3
4
|
/**
|
|
4
5
|
* Check and see if the input Item is a Feature Collection
|
|
5
6
|
* @param item
|
|
@@ -9,5 +10,4 @@ function isFeatureCollection(item) {
|
|
|
9
10
|
const itemType = item.type;
|
|
10
11
|
return itemType === 'Feature Collection';
|
|
11
12
|
}
|
|
12
|
-
exports.default = isFeatureCollection;
|
|
13
13
|
//# sourceMappingURL=isFeatureCollection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isFeatureCollection.js","sourceRoot":"","sources":["../../../src/lib/util/isFeatureCollection.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"isFeatureCollection.js","sourceRoot":"","sources":["../../../src/lib/util/isFeatureCollection.ts"],"names":[],"mappings":";;AASA,sCAGC;AARD;;;;GAIG;AACH,SAAwB,mBAAmB,CAAC,IAAW;IACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAoC,CAAC;IAC3D,OAAO,QAAQ,KAAK,oBAAoB,CAAC;AAC7C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IItem } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Determines if the given item is a Feature Layer.
|
|
4
|
+
*
|
|
5
|
+
* @param item - The ArcGIS item to check.
|
|
6
|
+
* @returns `true` if the item's type is "Feature Service", otherwise `false`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const isFeatureService: (item: IItem) => boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isFeatureService = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Determines if the given item is a Feature Layer.
|
|
6
|
+
*
|
|
7
|
+
* @param item - The ArcGIS item to check.
|
|
8
|
+
* @returns `true` if the item's type is "Feature Service", otherwise `false`.
|
|
9
|
+
*/
|
|
10
|
+
const isFeatureService = (item) => {
|
|
11
|
+
if (!item || !(item === null || item === void 0 ? void 0 : item.type)) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
// Check if the item is a feature layer
|
|
15
|
+
if ((item === null || item === void 0 ? void 0 : item.type) === 'Feature Service') {
|
|
16
|
+
return true;
|
|
17
|
+
}
|
|
18
|
+
return false;
|
|
19
|
+
};
|
|
20
|
+
exports.isFeatureService = isFeatureService;
|
|
21
|
+
//# sourceMappingURL=isFeatureService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"isFeatureService.js","sourceRoot":"","sources":["../../../src/lib/util/isFeatureService.ts"],"names":[],"mappings":";;;AAEA;;;;;GAKG;AACI,MAAM,gBAAgB,GAAG,CAAC,IAAW,EAAW,EAAE;IACrD,IAAI,CAAC,IAAI,IAAI,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,CAAA,EAAE,CAAC;QACvB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,uCAAuC;IACvC,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,MAAK,iBAAiB,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC,CAAC;AAXW,QAAA,gBAAgB,oBAW3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isHosted.js","sourceRoot":"","sources":["../../../src/lib/util/isHosted.ts"],"names":[],"mappings":";;;AAEA;;;;GAIG;AACI,MAAM,QAAQ,GAAG,CAAC,IAAW,EAAW,EAAE;IAC7C,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAE9B,IAAI,CAAC,YAAY,EAAE;
|
|
1
|
+
{"version":3,"file":"isHosted.js","sourceRoot":"","sources":["../../../src/lib/util/isHosted.ts"],"names":[],"mappings":";;;AAEA;;;;GAIG;AACI,MAAM,QAAQ,GAAG,CAAC,IAAW,EAAW,EAAE;IAC7C,MAAM,EAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAE9B,IAAI,CAAC,YAAY,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,YAAY,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AACnD,CAAC,CAAC;AARW,QAAA,QAAQ,YAQnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isSecureProtocol.js","sourceRoot":"","sources":["../../../src/lib/util/isSecureProtocol.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE;IAC5C,IAAI,CAAC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"isSecureProtocol.js","sourceRoot":"","sources":["../../../src/lib/util/isSecureProtocol.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE;IAC5C,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,GAAG,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;AACpC,CAAC,CAAC;AANW,QAAA,gBAAgB,oBAM3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isUppercase.js","sourceRoot":"","sources":["../../../src/lib/util/isUppercase.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACI,MAAM,WAAW,GAAG,CAAC,GAAW,EAAW,EAAE;IAChD,IAAI,CAAC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"isUppercase.js","sourceRoot":"","sources":["../../../src/lib/util/isUppercase.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACI,MAAM,WAAW,GAAG,CAAC,GAAW,EAAW,EAAE;IAChD,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,GAAG,KAAK,GAAG,CAAC,WAAW,EAAE,CAAC;AACrC,CAAC,CAAC;AANW,QAAA,WAAW,eAMtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isUrl.js","sourceRoot":"","sources":["../../../src/lib/util/isUrl.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACI,MAAM,KAAK,GAAG,CAAC,GAAW,EAAW,EAAE;IAC1C,gFAAgF;IAChF,MAAM,UAAU,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAE9D,MAAM,MAAM,GACR,8aAA8a,CAAC;IAEnb,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AACnC,CAAC,CAAC;AARW,QAAA,KAAK,SAQhB;AAEF;;;;GAIG;AACI,MAAM,WAAW,GAAG,CAAC,GAAW,EAAW,EAAE;IAChD,IAAI,CAAC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"file":"isUrl.js","sourceRoot":"","sources":["../../../src/lib/util/isUrl.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACI,MAAM,KAAK,GAAG,CAAC,GAAW,EAAW,EAAE;IAC1C,gFAAgF;IAChF,MAAM,UAAU,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAE9D,MAAM,MAAM,GACR,8aAA8a,CAAC;IAEnb,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AACnC,CAAC,CAAC;AARW,QAAA,KAAK,SAQhB;AAEF;;;;GAIG;AACI,MAAM,WAAW,GAAG,CAAC,GAAW,EAAW,EAAE;IAChD,IAAI,CAAC,GAAG,EAAE,CAAC;QACP,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC,CAAC,+CAA+C;IAExF,iDAAiD;IACjD,MAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;IAEnC,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAA,aAAK,EAAC,IAAI,CAAC,CAAC,CAAC;AAC7C,CAAC,CAAC;AAXW,QAAA,WAAW,eAWtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isValidRegexPattern.js","sourceRoot":"","sources":["../../../src/lib/util/isValidRegexPattern.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACI,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAW,EAAE;IAC5D,IAAI;
|
|
1
|
+
{"version":3,"file":"isValidRegexPattern.js","sourceRoot":"","sources":["../../../src/lib/util/isValidRegexPattern.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACI,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAW,EAAE;IAC5D,IAAI,CAAC;QACD,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,OAAO,KAAK,CAAC;IACjB,CAAC;AACL,CAAC,CAAC;AAPW,QAAA,mBAAmB,uBAO9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matches.js","sourceRoot":"","sources":["../../../src/lib/util/matches.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;GAUG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,OAAe,EAAE,KAAc,EAAE,EAAE;IACpE,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,iBAAiB,EAAE;
|
|
1
|
+
{"version":3,"file":"matches.js","sourceRoot":"","sources":["../../../src/lib/util/matches.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;GAUG;AACI,MAAM,OAAO,GAAG,CAAC,GAAW,EAAE,OAAe,EAAE,KAAc,EAAE,EAAE;IACpE,IAAI,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,iBAAiB,EAAE,CAAC;QAChE,OAAO,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;IACD,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7B,CAAC,CAAC;AALW,QAAA,OAAO,WAKlB"}
|
package/dist/lib/util/round.js
CHANGED
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
// return Math.round((num + Number.EPSILON) * factor) / factor;
|
|
5
5
|
// }
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.round =
|
|
7
|
+
exports.round = round;
|
|
8
8
|
function round(num, decimals = 0) {
|
|
9
9
|
const factor = Math.pow(10, decimals);
|
|
10
10
|
const m = Number((Math.abs(num) * factor).toPrecision(15));
|
|
11
11
|
return (Math.round(m) / factor) * Math.sign(num);
|
|
12
12
|
}
|
|
13
|
-
exports.round = round;
|
|
14
13
|
//# sourceMappingURL=round.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"round.js","sourceRoot":"","sources":["../../../src/lib/util/round.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,4CAA4C;AAC5C,mEAAmE;AACnE,IAAI
|
|
1
|
+
{"version":3,"file":"round.js","sourceRoot":"","sources":["../../../src/lib/util/round.ts"],"names":[],"mappings":";AAAA,mDAAmD;AACnD,4CAA4C;AAC5C,mEAAmE;AACnE,IAAI;;AAEJ,sBAIC;AAJD,SAAgB,KAAK,CAAC,GAAG,EAAE,QAAQ,GAAG,CAAC;IACnC,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;IACtC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;IAC3D,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitizeTags.js","sourceRoot":"","sources":["../../../src/lib/util/sanitizeTags.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,YAAY,GAAG,CAAC,IAAc,EAAY,EAAE;IACrD,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"sanitizeTags.js","sourceRoot":"","sources":["../../../src/lib/util/sanitizeTags.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACI,MAAM,YAAY,GAAG,CAAC,IAAc,EAAY,EAAE;IACrD,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;QAChC,OAAO,EAAE,CAAC;IACd,CAAC;IAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AACzE,CAAC,CAAC;AANW,QAAA,YAAY,gBAMvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shouldValidateByBetaRules.js","sourceRoot":"","sources":["../../../src/lib/util/shouldValidateByBetaRules.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAa;IAChC,MAAM;IACN,wBAAwB;IACxB,gBAAgB;IAChB,SAAS;IACT,gBAAgB;IAChB,WAAW;IACX,eAAe;IACf,UAAU;IACV,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,mBAAmB;IACnB,mBAAmB;IACnB,iBAAiB;IACjB,SAAS;IACT,iBAAiB;IACjB,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;CACnB,CAAC;AAEF,MAAM,iBAAiB,GAAG;IACtB,YAAY;IACZ,0BAA0B;IAC1B,iBAAiB;IACjB,aAAa;IACb,eAAe;IACf,gBAAgB;CACnB,CAAC;AAEF,MAAM,uBAAuB,GAAG;IAC5B,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,gBAAgB;CACnB,CAAC;AAEF;;;;;;GAMG;AACI,MAAM,yBAAyB,GAAG,CAAC,IAAW,EAAW,EAAE;IAC9D,MAAM,KAAK,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC;IAE1B,IAAI,CAAC,KAAK,EAAE;
|
|
1
|
+
{"version":3,"file":"shouldValidateByBetaRules.js","sourceRoot":"","sources":["../../../src/lib/util/shouldValidateByBetaRules.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAa;IAChC,MAAM;IACN,wBAAwB;IACxB,gBAAgB;IAChB,SAAS;IACT,gBAAgB;IAChB,WAAW;IACX,eAAe;IACf,UAAU;IACV,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,mBAAmB;IACnB,mBAAmB;IACnB,iBAAiB;IACjB,SAAS;IACT,iBAAiB;IACjB,gBAAgB;IAChB,cAAc;IACd,sBAAsB;IACtB,kBAAkB;IAClB,gBAAgB;IAChB,gBAAgB;CACnB,CAAC;AAEF,MAAM,iBAAiB,GAAG;IACtB,YAAY;IACZ,0BAA0B;IAC1B,iBAAiB;IACjB,aAAa;IACb,eAAe;IACf,gBAAgB;CACnB,CAAC;AAEF,MAAM,uBAAuB,GAAG;IAC5B,aAAa;IACb,gBAAgB;IAChB,aAAa;IACb,gBAAgB;CACnB,CAAC;AAEF;;;;;;GAMG;AACI,MAAM,yBAAyB,GAAG,CAAC,IAAW,EAAW,EAAE;IAC9D,MAAM,KAAK,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,CAAC;IAE1B,IAAI,CAAC,KAAK,EAAE,CAAC;QACT,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,CACH,kBAAU,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC1B,iBAAiB,CAAC,QAAQ,CAAC,KAAK,CAAC;QACjC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAC1C,CAAC;AACN,CAAC,CAAC;AAZW,QAAA,yBAAyB,6BAYpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toString.js","sourceRoot":"","sources":["../../../src/lib/util/toString.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACI,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAU,EAAE;IACtC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE;
|
|
1
|
+
{"version":3,"file":"toString.js","sourceRoot":"","sources":["../../../src/lib/util/toString.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;GASG;AACI,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAU,EAAE;IACtC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAC9C,IAAI,OAAO,KAAK,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACvC,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;aAAM,CAAC;YACJ,KAAK,GAAG,iBAAiB,CAAC;QAC9B,CAAC;IACL,CAAC;SAAM,IACH,KAAK,KAAK,IAAI;QACd,OAAO,KAAK,KAAK,WAAW;QAC5B,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACjC,CAAC;QACC,KAAK,GAAG,EAAE,CAAC;IACf,CAAC;IACD,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AACzB,CAAC,CAAC;AAfW,QAAA,QAAQ,YAenB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IItem, IUser, ValidationResult } from '../../types';
|
|
1
|
+
import { FeatureLayerJSON, IItem, IUser, ValidationResult } from '../../types';
|
|
2
2
|
type ValidateOptions = {
|
|
3
3
|
/**
|
|
4
4
|
* Custom patterns for location information.
|
|
@@ -24,6 +24,11 @@ type ValidateOptions = {
|
|
|
24
24
|
width: number;
|
|
25
25
|
height: number;
|
|
26
26
|
};
|
|
27
|
+
/**
|
|
28
|
+
* An array of FeatureLayerJSON objects representing the feature layers associated with the Feature Service item.
|
|
29
|
+
* Used for validating field value types, aliases, and descriptions within those layers.
|
|
30
|
+
*/
|
|
31
|
+
featureLayers?: FeatureLayerJSON[];
|
|
27
32
|
};
|
|
28
33
|
/**
|
|
29
34
|
* Validates an ArcGIS item and user profile against Living Atlas criteria.
|
|
@@ -59,5 +64,5 @@ type ValidateOptions = {
|
|
|
59
64
|
*
|
|
60
65
|
* The result includes a total score and whether the item meets criteria for nomination.
|
|
61
66
|
*/
|
|
62
|
-
export declare const validate: (item: IItem, userProfile: IUser, { customPatternsForLocationInfo, customPatternsForDataVintageInfo, customPatternsForSourceInfo, customPatternsForTopicInfo, thumbnailDimension, }?: ValidateOptions) => ValidationResult;
|
|
67
|
+
export declare const validate: (item: IItem, userProfile: IUser, { customPatternsForLocationInfo, customPatternsForDataVintageInfo, customPatternsForSourceInfo, customPatternsForTopicInfo, thumbnailDimension, featureLayers, }?: ValidateOptions) => ValidationResult;
|
|
63
68
|
export {};
|
|
@@ -19,6 +19,9 @@ const isValidUserProfileName_1 = require("../userProfileName/isValidUserProfileN
|
|
|
19
19
|
const isValidUserProfileThumbnail_1 = require("../userProfileThumbnail/isValidUserProfileThumbnail");
|
|
20
20
|
const getLivingAtlasSupportedItemTypes_1 = require("../util/getLivingAtlasSupportedItemTypes");
|
|
21
21
|
const validateHelpers_1 = require("./validateHelpers");
|
|
22
|
+
const checkFeatureServiceFieldValueTypes_1 = require("../featureServiceFieldValueTypes/checkFeatureServiceFieldValueTypes");
|
|
23
|
+
const checkFeatureServiceFieldAliases_1 = require("../featureServiceFieldAliases/checkFeatureServiceFieldAliases");
|
|
24
|
+
const checkFeatureServiceFieldDescriptions_1 = require("../featureServiceFieldDescriptions/checkFeatureServiceFieldDescriptions");
|
|
22
25
|
/**
|
|
23
26
|
* Validates an ArcGIS item and user profile against Living Atlas criteria.
|
|
24
27
|
*
|
|
@@ -53,7 +56,7 @@ const validateHelpers_1 = require("./validateHelpers");
|
|
|
53
56
|
*
|
|
54
57
|
* The result includes a total score and whether the item meets criteria for nomination.
|
|
55
58
|
*/
|
|
56
|
-
const validate = (item, userProfile, { customPatternsForLocationInfo, customPatternsForDataVintageInfo, customPatternsForSourceInfo, customPatternsForTopicInfo, thumbnailDimension, } = {}) => {
|
|
59
|
+
const validate = (item, userProfile, { customPatternsForLocationInfo, customPatternsForDataVintageInfo, customPatternsForSourceInfo, customPatternsForTopicInfo, thumbnailDimension, featureLayers, } = {}) => {
|
|
57
60
|
// const { type } = item;
|
|
58
61
|
const isSupportedItemType = (0, getLivingAtlasSupportedItemTypes_1.checkIsLivingAtlasSupportedItemType)(item);
|
|
59
62
|
// create a copy of the item to avoid mutating the original item
|
|
@@ -79,6 +82,9 @@ const validate = (item, userProfile, { customPatternsForLocationInfo, customPatt
|
|
|
79
82
|
customPatternsForTopicInfo,
|
|
80
83
|
itemOwnerUserProfile: copyOfUserProfile,
|
|
81
84
|
});
|
|
85
|
+
const featureServiceFieldAliases = (0, checkFeatureServiceFieldAliases_1.checkFeatureServiceFieldAliases)(copyOfItem, featureLayers || []);
|
|
86
|
+
const featureServiceFieldValueTypes = (0, checkFeatureServiceFieldValueTypes_1.checkFeatureServiceFieldValueTypes)(copyOfItem, featureLayers || []);
|
|
87
|
+
const featureServiceFieldDescriptions = (0, checkFeatureServiceFieldDescriptions_1.checkFeatureServiceFieldDescriptions)(copyOfItem, featureLayers || []);
|
|
82
88
|
const userProfileDescription = (0, isValidUserProfileDescription_1.isValidUserProfileDescription)(copyOfUserProfile
|
|
83
89
|
// item
|
|
84
90
|
);
|
|
@@ -100,6 +106,9 @@ const validate = (item, userProfile, { customPatternsForLocationInfo, customPatt
|
|
|
100
106
|
deprecated,
|
|
101
107
|
deleteProtection,
|
|
102
108
|
recommendedTextInTitleAndSummary,
|
|
109
|
+
featureServiceFieldAliases,
|
|
110
|
+
featureServiceFieldValueTypes,
|
|
111
|
+
featureServiceFieldDescriptions,
|
|
103
112
|
},
|
|
104
113
|
validatedProfile: {
|
|
105
114
|
userProfileDescription,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/lib/validate/validate.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/lib/validate/validate.ts"],"names":[],"mappings":";;;AA6BA,6FAA0F;AAC1F,8HAA2H;AAC3H,4DAAyD;AAC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E;QACZ,UAAU,EAAE,CAAC;QACb,cAAc,EAAE,KAAK;KACxB,EACD,mBAAmB,CACtB,CAAC;IAEF,2CAA2C;IAC3C,gBAAgB,CAAC,UAAU,GAAG,IAAA,+BAAa,EACvC,gBAAgB,EAChB,mBAAmB,CACtB,CAAC;IAEF,6FAA6F;IAC7F,gBAAgB,CAAC,cAAc,GAAG,IAAA,wCAAsB,EACpD,gBAAgB,EAChB,mBAAmB,CACtB,CAAC;IAEF,OAAO,gBAAgB,CAAC;AAC5B,CAAC,CAAC;AAhHW,QAAA,QAAQ,YAgHnB"}
|
|
@@ -64,10 +64,10 @@ const assignFinalScoresAndStatus = (validationResult, isLivingAtlasSupportedItem
|
|
|
64
64
|
// Calculate the score associated with each weight.
|
|
65
65
|
const scorePerWeight = 100 / totalWeight;
|
|
66
66
|
for (const validationResult of validationResults) {
|
|
67
|
-
const { weight,
|
|
67
|
+
const { weight, scoringFactor } = validationResult;
|
|
68
68
|
// Calculate the maximum score and actual score based on the weight.
|
|
69
69
|
const maxScore = weight * scorePerWeight;
|
|
70
|
-
const score =
|
|
70
|
+
const score = scoringFactor * maxScore;
|
|
71
71
|
// Assign the calculated values to the validation result object.
|
|
72
72
|
validationResult.maxScore = maxScore;
|
|
73
73
|
validationResult.score = score;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateHelpers.js","sourceRoot":"","sources":["../../../src/lib/validate/validateHelpers.ts"],"names":[],"mappings":";;;AACA,sCAAqD;AACrD,yCAAsC;AAEtC;;;;GAIG;AACI,MAAM,qBAAqB,GAAG,CACjC,gBAAkC,EAClB,EAAE;IAClB,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,IAAI,EAAE,CAAC;IAEnE,IAAI,CAAC,aAAa,IAAI,CAAC,gBAAgB,EAAE;
|
|
1
|
+
{"version":3,"file":"validateHelpers.js","sourceRoot":"","sources":["../../../src/lib/validate/validateHelpers.ts"],"names":[],"mappings":";;;AACA,sCA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,KAAK,CAAC;IACjB,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAnDW,QAAA,sBAAsB,0BAmDjC"}
|
package/dist/locale/de.json
CHANGED
|
@@ -170,5 +170,32 @@
|
|
|
170
170
|
"ADD_TIME_INFO": "Fügen Sie das Datenpublikationsjahr oder Aufnahmedatum hinzu, um darüber zu informieren, wie lange die Erfassung oder Aktualisierung der Daten zurückliegt.",
|
|
171
171
|
"ADD_SOURCE_INFO": "Fügen Sie die Quellorganisation bzw. das Quellprogramm hinzu, um über die Herkunft der Elementinhalte zu informieren.",
|
|
172
172
|
"ADD_TOPIC_INFO": "Fügen Sie das Thema hinzu, um über den Gegenstand des Elements zu informieren."
|
|
173
|
+
},
|
|
174
|
+
"featureLayerFieldAliases": {
|
|
175
|
+
"GUIDANCE_DEFAULT": "Field aliases are the names of the fields in your feature layer.",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field aliases in your feature layer.",
|
|
177
|
+
"LABEL": "Improve Field Aliases",
|
|
178
|
+
"TITLE": "Check Field Aliases",
|
|
179
|
+
"ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
|
|
180
|
+
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
|
|
181
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
182
|
+
},
|
|
183
|
+
"featureLayerFieldTypes": {
|
|
184
|
+
"GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field types in your feature layer.",
|
|
186
|
+
"LABEL": "Improve Field Types",
|
|
187
|
+
"TITLE": "Check Field Types",
|
|
188
|
+
"ADD_FIELD_TYPE": "Add field types to your feature layer",
|
|
189
|
+
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
|
|
190
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
191
|
+
},
|
|
192
|
+
"featureLayerFieldDescriptions": {
|
|
193
|
+
"GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field descriptions in your feature layer.",
|
|
195
|
+
"LABEL": "Improve Field Descriptions",
|
|
196
|
+
"TITLE": "Check Field Descriptions",
|
|
197
|
+
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
|
|
198
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
|
|
199
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
173
200
|
}
|
|
174
201
|
}
|
package/dist/locale/en.json
CHANGED
|
@@ -170,5 +170,32 @@
|
|
|
170
170
|
"ADD_TIME_INFO": "Add year or vintage, to communicate the how recently the data was collected or updated.",
|
|
171
171
|
"ADD_SOURCE_INFO": "Add source organization/program to communicate where the item’s content originated.",
|
|
172
172
|
"ADD_TOPIC_INFO": "Add topic to communicate what this item is about."
|
|
173
|
+
},
|
|
174
|
+
"featureLayerFieldAliases": {
|
|
175
|
+
"GUIDANCE_DEFAULT": "Field aliases are the names of the fields in your feature layer.",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field aliases in your feature layer.",
|
|
177
|
+
"LABEL": "Improve Field Aliases",
|
|
178
|
+
"TITLE": "Check Field Aliases",
|
|
179
|
+
"ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
|
|
180
|
+
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
|
|
181
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
182
|
+
},
|
|
183
|
+
"featureLayerFieldTypes": {
|
|
184
|
+
"GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field types in your feature layer.",
|
|
186
|
+
"LABEL": "Improve Field Types",
|
|
187
|
+
"TITLE": "Check Field Types",
|
|
188
|
+
"ADD_FIELD_TYPE": "Add field types to your feature layer",
|
|
189
|
+
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
|
|
190
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
191
|
+
},
|
|
192
|
+
"featureLayerFieldDescriptions": {
|
|
193
|
+
"GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field descriptions in your feature layer.",
|
|
195
|
+
"LABEL": "Improve Field Descriptions",
|
|
196
|
+
"TITLE": "Check Field Descriptions",
|
|
197
|
+
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
|
|
198
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
|
|
199
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
173
200
|
}
|
|
174
201
|
}
|
package/dist/locale/es.json
CHANGED
|
@@ -170,5 +170,32 @@
|
|
|
170
170
|
"ADD_TIME_INFO": "Agregue el año o la antigüedad para comunicar la fecha en que se recopilaron o actualizaron los datos.",
|
|
171
171
|
"ADD_SOURCE_INFO": "Agregue la organización/programa de origen para comunicar dónde se originó el contenido del elemento.",
|
|
172
172
|
"ADD_TOPIC_INFO": "Agregue el tema para comunicar de qué trata este artículo."
|
|
173
|
+
},
|
|
174
|
+
"featureLayerFieldAliases": {
|
|
175
|
+
"GUIDANCE_DEFAULT": "Field aliases are the names of the fields in your feature layer.",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field aliases in your feature layer.",
|
|
177
|
+
"LABEL": "Improve Field Aliases",
|
|
178
|
+
"TITLE": "Check Field Aliases",
|
|
179
|
+
"ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
|
|
180
|
+
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
|
|
181
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
182
|
+
},
|
|
183
|
+
"featureLayerFieldTypes": {
|
|
184
|
+
"GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field types in your feature layer.",
|
|
186
|
+
"LABEL": "Improve Field Types",
|
|
187
|
+
"TITLE": "Check Field Types",
|
|
188
|
+
"ADD_FIELD_TYPE": "Add field types to your feature layer",
|
|
189
|
+
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
|
|
190
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
191
|
+
},
|
|
192
|
+
"featureLayerFieldDescriptions": {
|
|
193
|
+
"GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field descriptions in your feature layer.",
|
|
195
|
+
"LABEL": "Improve Field Descriptions",
|
|
196
|
+
"TITLE": "Check Field Descriptions",
|
|
197
|
+
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
|
|
198
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
|
|
199
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
173
200
|
}
|
|
174
201
|
}
|
package/dist/locale/fr.json
CHANGED
|
@@ -170,5 +170,32 @@
|
|
|
170
170
|
"ADD_TIME_INFO": "Ajoutez l’année ou le millésime pour indiquer la période à laquelle les données ont été collectées ou mises à jour.",
|
|
171
171
|
"ADD_SOURCE_INFO": "Ajoutez l’organisation ou le programme source pour indiquer la provenance du contenu de l’élément.",
|
|
172
172
|
"ADD_TOPIC_INFO": "Ajoutez le sujet pour indiquer de quoi traite l’élément."
|
|
173
|
+
},
|
|
174
|
+
"featureLayerFieldAliases": {
|
|
175
|
+
"GUIDANCE_DEFAULT": "Field aliases are the names of the fields in your feature layer.",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field aliases in your feature layer.",
|
|
177
|
+
"LABEL": "Improve Field Aliases",
|
|
178
|
+
"TITLE": "Check Field Aliases",
|
|
179
|
+
"ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
|
|
180
|
+
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
|
|
181
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
182
|
+
},
|
|
183
|
+
"featureLayerFieldTypes": {
|
|
184
|
+
"GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field types in your feature layer.",
|
|
186
|
+
"LABEL": "Improve Field Types",
|
|
187
|
+
"TITLE": "Check Field Types",
|
|
188
|
+
"ADD_FIELD_TYPE": "Add field types to your feature layer",
|
|
189
|
+
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
|
|
190
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
191
|
+
},
|
|
192
|
+
"featureLayerFieldDescriptions": {
|
|
193
|
+
"GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field descriptions in your feature layer.",
|
|
195
|
+
"LABEL": "Improve Field Descriptions",
|
|
196
|
+
"TITLE": "Check Field Descriptions",
|
|
197
|
+
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
|
|
198
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
|
|
199
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
173
200
|
}
|
|
174
201
|
}
|
package/dist/locale/ja.json
CHANGED
|
@@ -170,5 +170,32 @@
|
|
|
170
170
|
"ADD_TIME_INFO": "データが収集または更新された最近の日付を示すために、年または年代を追加します。",
|
|
171
171
|
"ADD_SOURCE_INFO": "アイテムの内容がどこから提供されたのかを示すために、提供元組織/プログラムを追加します。",
|
|
172
172
|
"ADD_TOPIC_INFO": "このアイテム内容を伝えるためのトピックを追加します。"
|
|
173
|
+
},
|
|
174
|
+
"featureLayerFieldAliases": {
|
|
175
|
+
"GUIDANCE_DEFAULT": "Field aliases are the names of the fields in your feature layer.",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field aliases in your feature layer.",
|
|
177
|
+
"LABEL": "Improve Field Aliases",
|
|
178
|
+
"TITLE": "Check Field Aliases",
|
|
179
|
+
"ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
|
|
180
|
+
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
|
|
181
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
182
|
+
},
|
|
183
|
+
"featureLayerFieldTypes": {
|
|
184
|
+
"GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field types in your feature layer.",
|
|
186
|
+
"LABEL": "Improve Field Types",
|
|
187
|
+
"TITLE": "Check Field Types",
|
|
188
|
+
"ADD_FIELD_TYPE": "Add field types to your feature layer",
|
|
189
|
+
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
|
|
190
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
191
|
+
},
|
|
192
|
+
"featureLayerFieldDescriptions": {
|
|
193
|
+
"GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field descriptions in your feature layer.",
|
|
195
|
+
"LABEL": "Improve Field Descriptions",
|
|
196
|
+
"TITLE": "Check Field Descriptions",
|
|
197
|
+
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
|
|
198
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
|
|
199
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
173
200
|
}
|
|
174
201
|
}
|
package/dist/locale/pt-br.json
CHANGED
|
@@ -170,5 +170,32 @@
|
|
|
170
170
|
"ADD_TIME_INFO": "Adicione o ano ou a safra para comunicar há quanto tempo os dados foram coletados ou atualizados.",
|
|
171
171
|
"ADD_SOURCE_INFO": "Adicione organização/programa de origem para comunicar a origem de conteúdo do item.",
|
|
172
172
|
"ADD_TOPIC_INFO": "Adicione um tópico para comunicar sobre o que é este item."
|
|
173
|
+
},
|
|
174
|
+
"featureLayerFieldAliases": {
|
|
175
|
+
"GUIDANCE_DEFAULT": "Field aliases are the names of the fields in your feature layer.",
|
|
176
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field aliases in your feature layer.",
|
|
177
|
+
"LABEL": "Improve Field Aliases",
|
|
178
|
+
"TITLE": "Check Field Aliases",
|
|
179
|
+
"ADD_FIELD_ALIAS": "Add field aliases to your feature layer",
|
|
180
|
+
"IMPROVE_FIELD_ALIAS": "Improve field aliases in your feature layer",
|
|
181
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
182
|
+
},
|
|
183
|
+
"featureLayerFieldTypes": {
|
|
184
|
+
"GUIDANCE_DEFAULT": "Field types are the data types of the fields in your feature layer.",
|
|
185
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field types in your feature layer.",
|
|
186
|
+
"LABEL": "Improve Field Types",
|
|
187
|
+
"TITLE": "Check Field Types",
|
|
188
|
+
"ADD_FIELD_TYPE": "Add field types to your feature layer",
|
|
189
|
+
"IMRPOVE_FIELD_TYPE": "Improve field types in your feature layer",
|
|
190
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
191
|
+
},
|
|
192
|
+
"featureLayerFieldDescriptions": {
|
|
193
|
+
"GUIDANCE_DEFAULT": "Field descriptions are the descriptions of the fields in your feature layer. ",
|
|
194
|
+
"SCORING_MSG_DEFAULT": "Points are awarded for having at least 80% of the field descriptions in your feature layer.",
|
|
195
|
+
"LABEL": "Improve Field Descriptions",
|
|
196
|
+
"TITLE": "Check Field Descriptions",
|
|
197
|
+
"ADD_FIELD_DESCRIPTION": "Add field descriptions to your feature layer",
|
|
198
|
+
"IMRPOVE_FIELD_DESCRIPTION": "Improve field descriptions in your feature layer",
|
|
199
|
+
"NO_FEATURE_LAYER": "This feature service does not have any feature layer or non-spatial table"
|
|
173
200
|
}
|
|
174
201
|
}
|
package/dist/package-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"lastCompiledTime":
|
|
1
|
+
{"lastCompiledTime":1747487766583}
|
|
@@ -27,7 +27,7 @@ const helpers_1 = require("./helpers");
|
|
|
27
27
|
* console.log(patterns.matchingPatternsLocation); // ["New York", "Los Angeles"]
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
|
-
const fetchAdditonalPatterns4TitleAndSnippetSearchability = (
|
|
30
|
+
const fetchAdditonalPatterns4TitleAndSnippetSearchability = (...args_1) => __awaiter(void 0, [...args_1], void 0, function* (language = 'en') {
|
|
31
31
|
const queryTimestamp = (0, helpers_1.getRoundedTimestamp)(1);
|
|
32
32
|
const assetsFolderPath = (0, helpers_1.getAssetFolderPath)();
|
|
33
33
|
// add the timestamp to the request URL to avoid cdn caching
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchAdditonalPatterns4TitleAndSnippetSearchability.js","sourceRoot":"","sources":["../../../src/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoE;AAiFpE;;;;;;;;;;;;;;;GAeG;AACI,MAAM,mDAAmD,GAAG,
|
|
1
|
+
{"version":3,"file":"fetchAdditonalPatterns4TitleAndSnippetSearchability.js","sourceRoot":"","sources":["../../../src/services/content-validator-assets/fetchAdditonalPatterns4TitleAndSnippetSearchability.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAoE;AAiFpE;;;;;;;;;;;;;;;GAeG;AACI,MAAM,mDAAmD,GAAG,YAEP,EAAE,mDAD1D,QAAQ,GAAG,IAAI;IAEf,MAAM,cAAc,GAAG,IAAA,6BAAmB,EAAC,CAAC,CAAC,CAAC;IAE9C,MAAM,gBAAgB,GAAG,IAAA,4BAAkB,GAAE,CAAC;IAE9C,4DAA4D;IAC5D,MAAM,UAAU,GAAG,GAAG,gBAAgB,0DAA0D,QAAQ,mBAAmB,cAAc,EAAE,CAAC;IAE5I,IAAI,CAAC;QACD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,CAAC,CAAC;QAEzC,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC1C,MAAM,IAAI,KAAK,CACX,uCAAuC,QAAQ,CAAC,UAAU,EAAE,CAC/D,CAAC;QACN,CAAC;QAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACnC,6BAA6B;QAE7B,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAC3D,MAAM,IAAI,KAAK,CACX,8CAA8C,QAAQ,EAAE,CAC3D,CAAC;QACN,CAAC;QAED,IACI,CAAC,IAAI,CAAC,0BAA0B,CAAC;YACjC,CAAC,IAAI,CAAC,0BAA0B,CAAC;YACjC,CAAC,IAAI,CAAC,wBAAwB,CAAC;YAC/B,CAAC,IAAI,CAAC,wBAAwB,CAAC;YAC/B,CAAC,IAAI,CAAC,uBAAuB,CAAC;YAC9B,CAAC,IAAI,CAAC,uBAAuB,CAAC;YAC9B,CAAC,IAAI,CAAC,6BAA6B,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