@esri/solution-common 6.0.4-alpha.0 → 6.1.0-alpha.0
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/package.json +6 -6
- package/dist/cjs/arcgisRestJS.d.ts +0 -58
- package/dist/cjs/arcgisRestJS.js +0 -142
- package/dist/cjs/arcgisRestJS.js.map +0 -1
- package/dist/cjs/completeItem.d.ts +0 -30
- package/dist/cjs/completeItem.js +0 -72
- package/dist/cjs/completeItem.js.map +0 -1
- package/dist/cjs/create-hub-request-options.d.ts +0 -29
- package/dist/cjs/create-hub-request-options.js +0 -64
- package/dist/cjs/create-hub-request-options.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteEmptyGroups.d.ts +0 -24
- package/dist/cjs/deleteHelpers/deleteEmptyGroups.js +0 -42
- package/dist/cjs/deleteHelpers/deleteEmptyGroups.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteGroupIfEmpty.d.ts +0 -27
- package/dist/cjs/deleteHelpers/deleteGroupIfEmpty.js +0 -99
- package/dist/cjs/deleteHelpers/deleteGroupIfEmpty.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteSolutionContents.d.ts +0 -39
- package/dist/cjs/deleteHelpers/deleteSolutionContents.js +0 -127
- package/dist/cjs/deleteHelpers/deleteSolutionContents.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteSolutionFolder.d.ts +0 -29
- package/dist/cjs/deleteHelpers/deleteSolutionFolder.js +0 -81
- package/dist/cjs/deleteHelpers/deleteSolutionFolder.js.map +0 -1
- package/dist/cjs/deleteHelpers/deleteSolutionItem.d.ts +0 -31
- package/dist/cjs/deleteHelpers/deleteSolutionItem.js +0 -52
- package/dist/cjs/deleteHelpers/deleteSolutionItem.js.map +0 -1
- package/dist/cjs/deleteHelpers/index.d.ts +0 -22
- package/dist/cjs/deleteHelpers/index.js +0 -26
- package/dist/cjs/deleteHelpers/index.js.map +0 -1
- package/dist/cjs/deleteHelpers/reconstructBuildOrderIds.d.ts +0 -27
- package/dist/cjs/deleteHelpers/reconstructBuildOrderIds.js +0 -34
- package/dist/cjs/deleteHelpers/reconstructBuildOrderIds.js.map +0 -1
- package/dist/cjs/deleteHelpers/removeItems.d.ts +0 -35
- package/dist/cjs/deleteHelpers/removeItems.js +0 -116
- package/dist/cjs/deleteHelpers/removeItems.js.map +0 -1
- package/dist/cjs/deleteHelpers/reportProgress.d.ts +0 -27
- package/dist/cjs/deleteHelpers/reportProgress.js +0 -46
- package/dist/cjs/deleteHelpers/reportProgress.js.map +0 -1
- package/dist/cjs/deleteSolution.d.ts +0 -56
- package/dist/cjs/deleteSolution.js +0 -107
- package/dist/cjs/deleteSolution.js.map +0 -1
- package/dist/cjs/dependencies.d.ts +0 -26
- package/dist/cjs/dependencies.js +0 -171
- package/dist/cjs/dependencies.js.map +0 -1
- package/dist/cjs/featureServiceHelpers.d.ts +0 -833
- package/dist/cjs/featureServiceHelpers.js +0 -2524
- package/dist/cjs/featureServiceHelpers.js.map +0 -1
- package/dist/cjs/formHelpers.d.ts +0 -26
- package/dist/cjs/formHelpers.js +0 -40
- package/dist/cjs/formHelpers.js.map +0 -1
- package/dist/cjs/generalHelpers.d.ts +0 -447
- package/dist/cjs/generalHelpers.js +0 -959
- package/dist/cjs/generalHelpers.js.map +0 -1
- package/dist/cjs/get-subscription-info.d.ts +0 -27
- package/dist/cjs/get-subscription-info.js +0 -38
- package/dist/cjs/get-subscription-info.js.map +0 -1
- package/dist/cjs/getDeletableSolutionInfo.d.ts +0 -30
- package/dist/cjs/getDeletableSolutionInfo.js +0 -53
- package/dist/cjs/getDeletableSolutionInfo.js.map +0 -1
- package/dist/cjs/getItemTypeAbbrev.d.ts +0 -19
- package/dist/cjs/getItemTypeAbbrev.js +0 -186
- package/dist/cjs/getItemTypeAbbrev.js.map +0 -1
- package/dist/cjs/getSolutionSummary.d.ts +0 -28
- package/dist/cjs/getSolutionSummary.js +0 -100
- package/dist/cjs/getSolutionSummary.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -49
- package/dist/cjs/index.js +0 -53
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/interfaces.d.ts +0 -1446
- package/dist/cjs/interfaces.js +0 -72
- package/dist/cjs/interfaces.js.map +0 -1
- package/dist/cjs/item-reuse.d.ts +0 -140
- package/dist/cjs/item-reuse.js +0 -176
- package/dist/cjs/item-reuse.js.map +0 -1
- package/dist/cjs/libConnectors.d.ts +0 -73
- package/dist/cjs/libConnectors.js +0 -115
- package/dist/cjs/libConnectors.js.map +0 -1
- package/dist/cjs/migrations/apply-schema.d.ts +0 -24
- package/dist/cjs/migrations/apply-schema.js +0 -36
- package/dist/cjs/migrations/apply-schema.js.map +0 -1
- package/dist/cjs/migrations/is-legacy-solution.d.ts +0 -24
- package/dist/cjs/migrations/is-legacy-solution.js +0 -39
- package/dist/cjs/migrations/is-legacy-solution.js.map +0 -1
- package/dist/cjs/migrations/upgrade-three-dot-one.d.ts +0 -26
- package/dist/cjs/migrations/upgrade-three-dot-one.js +0 -48
- package/dist/cjs/migrations/upgrade-three-dot-one.js.map +0 -1
- package/dist/cjs/migrations/upgrade-three-dot-zero.d.ts +0 -27
- package/dist/cjs/migrations/upgrade-three-dot-zero.js +0 -43
- package/dist/cjs/migrations/upgrade-three-dot-zero.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-five.d.ts +0 -24
- package/dist/cjs/migrations/upgrade-two-dot-five.js +0 -73
- package/dist/cjs/migrations/upgrade-two-dot-five.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-four.d.ts +0 -24
- package/dist/cjs/migrations/upgrade-two-dot-four.js +0 -72
- package/dist/cjs/migrations/upgrade-two-dot-four.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-one.d.ts +0 -7
- package/dist/cjs/migrations/upgrade-two-dot-one.js +0 -39
- package/dist/cjs/migrations/upgrade-two-dot-one.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-seven.d.ts +0 -23
- package/dist/cjs/migrations/upgrade-two-dot-seven.js +0 -58
- package/dist/cjs/migrations/upgrade-two-dot-seven.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-six.d.ts +0 -27
- package/dist/cjs/migrations/upgrade-two-dot-six.js +0 -61
- package/dist/cjs/migrations/upgrade-two-dot-six.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-three.d.ts +0 -23
- package/dist/cjs/migrations/upgrade-two-dot-three.js +0 -55
- package/dist/cjs/migrations/upgrade-two-dot-three.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-two.d.ts +0 -23
- package/dist/cjs/migrations/upgrade-two-dot-two.js +0 -58
- package/dist/cjs/migrations/upgrade-two-dot-two.js.map +0 -1
- package/dist/cjs/migrations/upgrade-two-dot-zero.d.ts +0 -44
- package/dist/cjs/migrations/upgrade-two-dot-zero.js +0 -95
- package/dist/cjs/migrations/upgrade-two-dot-zero.js.map +0 -1
- package/dist/cjs/migrator.d.ts +0 -25
- package/dist/cjs/migrator.js +0 -75
- package/dist/cjs/migrator.js.map +0 -1
- package/dist/cjs/resourceHelpers.d.ts +0 -192
- package/dist/cjs/resourceHelpers.js +0 -380
- package/dist/cjs/resourceHelpers.js.map +0 -1
- package/dist/cjs/resources/add-resource.d.ts +0 -38
- package/dist/cjs/resources/add-resource.js +0 -84
- package/dist/cjs/resources/add-resource.js.map +0 -1
- package/dist/cjs/resources/addMetadataFromBlob.d.ts +0 -25
- package/dist/cjs/resources/addMetadataFromBlob.js +0 -43
- package/dist/cjs/resources/addMetadataFromBlob.js.map +0 -1
- package/dist/cjs/resources/convert-item-resource-to-storage-resource.d.ts +0 -32
- package/dist/cjs/resources/convert-item-resource-to-storage-resource.js +0 -70
- package/dist/cjs/resources/convert-item-resource-to-storage-resource.js.map +0 -1
- package/dist/cjs/resources/convert-storage-resource-to-item-resource.d.ts +0 -29
- package/dist/cjs/resources/convert-storage-resource-to-item-resource.js +0 -70
- package/dist/cjs/resources/convert-storage-resource-to-item-resource.js.map +0 -1
- package/dist/cjs/resources/copyAssociatedFiles.d.ts +0 -79
- package/dist/cjs/resources/copyAssociatedFiles.js +0 -348
- package/dist/cjs/resources/copyAssociatedFiles.js.map +0 -1
- package/dist/cjs/resources/copyDataIntoItem.d.ts +0 -34
- package/dist/cjs/resources/copyDataIntoItem.js +0 -45
- package/dist/cjs/resources/copyDataIntoItem.js.map +0 -1
- package/dist/cjs/resources/copyMetadataIntoItem.d.ts +0 -27
- package/dist/cjs/resources/copyMetadataIntoItem.js +0 -44
- package/dist/cjs/resources/copyMetadataIntoItem.js.map +0 -1
- package/dist/cjs/resources/copyResourceIntoZip.d.ts +0 -34
- package/dist/cjs/resources/copyResourceIntoZip.js +0 -74
- package/dist/cjs/resources/copyResourceIntoZip.js.map +0 -1
- package/dist/cjs/resources/copyZipIntoItem.d.ts +0 -26
- package/dist/cjs/resources/copyZipIntoItem.js +0 -53
- package/dist/cjs/resources/copyZipIntoItem.js.map +0 -1
- package/dist/cjs/resources/createCopyResults.d.ts +0 -25
- package/dist/cjs/resources/createCopyResults.js +0 -36
- package/dist/cjs/resources/createCopyResults.js.map +0 -1
- package/dist/cjs/resources/get-blob.d.ts +0 -25
- package/dist/cjs/resources/get-blob.js +0 -42
- package/dist/cjs/resources/get-blob.js.map +0 -1
- package/dist/cjs/resources/getItemResourcesFilesFromPaths.d.ts +0 -25
- package/dist/cjs/resources/getItemResourcesFilesFromPaths.js +0 -49
- package/dist/cjs/resources/getItemResourcesFilesFromPaths.js.map +0 -1
- package/dist/cjs/resources/getItemResourcesPaths.d.ts +0 -27
- package/dist/cjs/resources/getItemResourcesPaths.js +0 -80
- package/dist/cjs/resources/getItemResourcesPaths.js.map +0 -1
- package/dist/cjs/resources/index.d.ts +0 -30
- package/dist/cjs/resources/index.js +0 -34
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/solution-resource.d.ts +0 -35
- package/dist/cjs/resources/solution-resource.js +0 -31
- package/dist/cjs/resources/solution-resource.js.map +0 -1
- package/dist/cjs/resources/transform-resource-paths-to-solution-resources.d.ts +0 -56
- package/dist/cjs/resources/transform-resource-paths-to-solution-resources.js +0 -140
- package/dist/cjs/resources/transform-resource-paths-to-solution-resources.js.map +0 -1
- package/dist/cjs/resources/update-resource.d.ts +0 -27
- package/dist/cjs/resources/update-resource.js +0 -52
- package/dist/cjs/resources/update-resource.js.map +0 -1
- package/dist/cjs/restHelpers.d.ts +0 -634
- package/dist/cjs/restHelpers.js +0 -2044
- package/dist/cjs/restHelpers.js.map +0 -1
- package/dist/cjs/restHelpersGet.d.ts +0 -303
- package/dist/cjs/restHelpersGet.js +0 -835
- package/dist/cjs/restHelpersGet.js.map +0 -1
- package/dist/cjs/sharing/index.d.ts +0 -16
- package/dist/cjs/sharing/index.js +0 -20
- package/dist/cjs/sharing/index.js.map +0 -1
- package/dist/cjs/sharing/share-item-to-groups.d.ts +0 -26
- package/dist/cjs/sharing/share-item-to-groups.js +0 -44
- package/dist/cjs/sharing/share-item-to-groups.js.map +0 -1
- package/dist/cjs/templatization.d.ts +0 -139
- package/dist/cjs/templatization.js +0 -311
- package/dist/cjs/templatization.js.map +0 -1
- package/dist/cjs/trackingHelpers.d.ts +0 -115
- package/dist/cjs/trackingHelpers.js +0 -212
- package/dist/cjs/trackingHelpers.js.map +0 -1
- package/dist/cjs/velocityHelpers.d.ts +0 -68
- package/dist/cjs/velocityHelpers.js +0 -151
- package/dist/cjs/velocityHelpers.js.map +0 -1
- package/dist/cjs/webtoolHelpers.d.ts +0 -57
- package/dist/cjs/webtoolHelpers.js +0 -102
- package/dist/cjs/webtoolHelpers.js.map +0 -1
- package/dist/cjs/workflowHelpers.d.ts +0 -112
- package/dist/cjs/workflowHelpers.js +0 -284
- package/dist/cjs/workflowHelpers.js.map +0 -1
- package/dist/cjs/workforceHelpers.d.ts +0 -121
- package/dist/cjs/workforceHelpers.js +0 -720
- package/dist/cjs/workforceHelpers.js.map +0 -1
- package/dist/cjs/zip-utils.d.ts +0 -85
- package/dist/cjs/zip-utils.js +0 -154
- package/dist/cjs/zip-utils.js.map +0 -1
- package/dist/esm/arcgisRestJS.d.ts +0 -58
- package/dist/esm/arcgisRestJS.js +0 -94
- package/dist/esm/arcgisRestJS.js.map +0 -1
- package/dist/esm/completeItem.d.ts +0 -30
- package/dist/esm/completeItem.js +0 -67
- package/dist/esm/completeItem.js.map +0 -1
- package/dist/esm/create-hub-request-options.d.ts +0 -29
- package/dist/esm/create-hub-request-options.js +0 -60
- package/dist/esm/create-hub-request-options.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.d.ts +0 -24
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js +0 -38
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.d.ts +0 -27
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js +0 -95
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.d.ts +0 -39
- package/dist/esm/deleteHelpers/deleteSolutionContents.js +0 -122
- package/dist/esm/deleteHelpers/deleteSolutionContents.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.d.ts +0 -29
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js +0 -77
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js.map +0 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.d.ts +0 -31
- package/dist/esm/deleteHelpers/deleteSolutionItem.js +0 -48
- package/dist/esm/deleteHelpers/deleteSolutionItem.js.map +0 -1
- package/dist/esm/deleteHelpers/index.d.ts +0 -22
- package/dist/esm/deleteHelpers/index.js +0 -23
- package/dist/esm/deleteHelpers/index.js.map +0 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.d.ts +0 -27
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js +0 -29
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js.map +0 -1
- package/dist/esm/deleteHelpers/removeItems.d.ts +0 -35
- package/dist/esm/deleteHelpers/removeItems.js +0 -111
- package/dist/esm/deleteHelpers/removeItems.js.map +0 -1
- package/dist/esm/deleteHelpers/reportProgress.d.ts +0 -27
- package/dist/esm/deleteHelpers/reportProgress.js +0 -42
- package/dist/esm/deleteHelpers/reportProgress.js.map +0 -1
- package/dist/esm/deleteSolution.d.ts +0 -56
- package/dist/esm/deleteSolution.js +0 -101
- package/dist/esm/deleteSolution.js.map +0 -1
- package/dist/esm/dependencies.d.ts +0 -26
- package/dist/esm/dependencies.js +0 -167
- package/dist/esm/dependencies.js.map +0 -1
- package/dist/esm/featureServiceHelpers.d.ts +0 -833
- package/dist/esm/featureServiceHelpers.js +0 -2438
- package/dist/esm/featureServiceHelpers.js.map +0 -1
- package/dist/esm/formHelpers.d.ts +0 -26
- package/dist/esm/formHelpers.js +0 -35
- package/dist/esm/formHelpers.js.map +0 -1
- package/dist/esm/generalHelpers.d.ts +0 -447
- package/dist/esm/generalHelpers.js +0 -903
- package/dist/esm/generalHelpers.js.map +0 -1
- package/dist/esm/get-subscription-info.d.ts +0 -27
- package/dist/esm/get-subscription-info.js +0 -34
- package/dist/esm/get-subscription-info.js.map +0 -1
- package/dist/esm/getDeletableSolutionInfo.d.ts +0 -30
- package/dist/esm/getDeletableSolutionInfo.js +0 -48
- package/dist/esm/getDeletableSolutionInfo.js.map +0 -1
- package/dist/esm/getItemTypeAbbrev.d.ts +0 -19
- package/dist/esm/getItemTypeAbbrev.js +0 -182
- package/dist/esm/getItemTypeAbbrev.js.map +0 -1
- package/dist/esm/getSolutionSummary.d.ts +0 -28
- package/dist/esm/getSolutionSummary.js +0 -95
- package/dist/esm/getSolutionSummary.js.map +0 -1
- package/dist/esm/index.d.ts +0 -49
- package/dist/esm/index.js +0 -50
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/interfaces.d.ts +0 -1446
- package/dist/esm/interfaces.js +0 -69
- package/dist/esm/interfaces.js.map +0 -1
- package/dist/esm/item-reuse.d.ts +0 -140
- package/dist/esm/item-reuse.js +0 -167
- package/dist/esm/item-reuse.js.map +0 -1
- package/dist/esm/libConnectors.d.ts +0 -73
- package/dist/esm/libConnectors.js +0 -105
- package/dist/esm/libConnectors.js.map +0 -1
- package/dist/esm/migrations/apply-schema.d.ts +0 -24
- package/dist/esm/migrations/apply-schema.js +0 -32
- package/dist/esm/migrations/apply-schema.js.map +0 -1
- package/dist/esm/migrations/is-legacy-solution.d.ts +0 -24
- package/dist/esm/migrations/is-legacy-solution.js +0 -35
- package/dist/esm/migrations/is-legacy-solution.js.map +0 -1
- package/dist/esm/migrations/upgrade-three-dot-one.d.ts +0 -26
- package/dist/esm/migrations/upgrade-three-dot-one.js +0 -44
- package/dist/esm/migrations/upgrade-three-dot-one.js.map +0 -1
- package/dist/esm/migrations/upgrade-three-dot-zero.d.ts +0 -27
- package/dist/esm/migrations/upgrade-three-dot-zero.js +0 -39
- package/dist/esm/migrations/upgrade-three-dot-zero.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-five.d.ts +0 -24
- package/dist/esm/migrations/upgrade-two-dot-five.js +0 -69
- package/dist/esm/migrations/upgrade-two-dot-five.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-four.d.ts +0 -24
- package/dist/esm/migrations/upgrade-two-dot-four.js +0 -68
- package/dist/esm/migrations/upgrade-two-dot-four.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-one.d.ts +0 -7
- package/dist/esm/migrations/upgrade-two-dot-one.js +0 -35
- package/dist/esm/migrations/upgrade-two-dot-one.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-seven.d.ts +0 -23
- package/dist/esm/migrations/upgrade-two-dot-seven.js +0 -54
- package/dist/esm/migrations/upgrade-two-dot-seven.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-six.d.ts +0 -27
- package/dist/esm/migrations/upgrade-two-dot-six.js +0 -57
- package/dist/esm/migrations/upgrade-two-dot-six.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-three.d.ts +0 -23
- package/dist/esm/migrations/upgrade-two-dot-three.js +0 -51
- package/dist/esm/migrations/upgrade-two-dot-three.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-two.d.ts +0 -23
- package/dist/esm/migrations/upgrade-two-dot-two.js +0 -54
- package/dist/esm/migrations/upgrade-two-dot-two.js.map +0 -1
- package/dist/esm/migrations/upgrade-two-dot-zero.d.ts +0 -44
- package/dist/esm/migrations/upgrade-two-dot-zero.js +0 -88
- package/dist/esm/migrations/upgrade-two-dot-zero.js.map +0 -1
- package/dist/esm/migrator.d.ts +0 -25
- package/dist/esm/migrator.js +0 -71
- package/dist/esm/migrator.js.map +0 -1
- package/dist/esm/resourceHelpers.d.ts +0 -192
- package/dist/esm/resourceHelpers.js +0 -361
- package/dist/esm/resourceHelpers.js.map +0 -1
- package/dist/esm/resources/add-resource.d.ts +0 -38
- package/dist/esm/resources/add-resource.js +0 -79
- package/dist/esm/resources/add-resource.js.map +0 -1
- package/dist/esm/resources/addMetadataFromBlob.d.ts +0 -25
- package/dist/esm/resources/addMetadataFromBlob.js +0 -39
- package/dist/esm/resources/addMetadataFromBlob.js.map +0 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.d.ts +0 -32
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js +0 -66
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js.map +0 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.d.ts +0 -29
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js +0 -66
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js.map +0 -1
- package/dist/esm/resources/copyAssociatedFiles.d.ts +0 -79
- package/dist/esm/resources/copyAssociatedFiles.js +0 -339
- package/dist/esm/resources/copyAssociatedFiles.js.map +0 -1
- package/dist/esm/resources/copyDataIntoItem.d.ts +0 -34
- package/dist/esm/resources/copyDataIntoItem.js +0 -40
- package/dist/esm/resources/copyDataIntoItem.js.map +0 -1
- package/dist/esm/resources/copyMetadataIntoItem.d.ts +0 -27
- package/dist/esm/resources/copyMetadataIntoItem.js +0 -40
- package/dist/esm/resources/copyMetadataIntoItem.js.map +0 -1
- package/dist/esm/resources/copyResourceIntoZip.d.ts +0 -34
- package/dist/esm/resources/copyResourceIntoZip.js +0 -69
- package/dist/esm/resources/copyResourceIntoZip.js.map +0 -1
- package/dist/esm/resources/copyZipIntoItem.d.ts +0 -26
- package/dist/esm/resources/copyZipIntoItem.js +0 -49
- package/dist/esm/resources/copyZipIntoItem.js.map +0 -1
- package/dist/esm/resources/createCopyResults.d.ts +0 -25
- package/dist/esm/resources/createCopyResults.js +0 -32
- package/dist/esm/resources/createCopyResults.js.map +0 -1
- package/dist/esm/resources/get-blob.d.ts +0 -25
- package/dist/esm/resources/get-blob.js +0 -38
- package/dist/esm/resources/get-blob.js.map +0 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.d.ts +0 -25
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js +0 -45
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js.map +0 -1
- package/dist/esm/resources/getItemResourcesPaths.d.ts +0 -27
- package/dist/esm/resources/getItemResourcesPaths.js +0 -76
- package/dist/esm/resources/getItemResourcesPaths.js.map +0 -1
- package/dist/esm/resources/index.d.ts +0 -30
- package/dist/esm/resources/index.js +0 -31
- package/dist/esm/resources/index.js.map +0 -1
- package/dist/esm/resources/solution-resource.d.ts +0 -35
- package/dist/esm/resources/solution-resource.js +0 -28
- package/dist/esm/resources/solution-resource.js.map +0 -1
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.d.ts +0 -56
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js +0 -132
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js.map +0 -1
- package/dist/esm/resources/update-resource.d.ts +0 -27
- package/dist/esm/resources/update-resource.js +0 -48
- package/dist/esm/resources/update-resource.js.map +0 -1
- package/dist/esm/restHelpers.d.ts +0 -634
- package/dist/esm/restHelpers.js +0 -1979
- package/dist/esm/restHelpers.js.map +0 -1
- package/dist/esm/restHelpersGet.d.ts +0 -303
- package/dist/esm/restHelpersGet.js +0 -793
- package/dist/esm/restHelpersGet.js.map +0 -1
- package/dist/esm/sharing/index.d.ts +0 -16
- package/dist/esm/sharing/index.js +0 -17
- package/dist/esm/sharing/index.js.map +0 -1
- package/dist/esm/sharing/share-item-to-groups.d.ts +0 -26
- package/dist/esm/sharing/share-item-to-groups.js +0 -40
- package/dist/esm/sharing/share-item-to-groups.js.map +0 -1
- package/dist/esm/templatization.d.ts +0 -139
- package/dist/esm/templatization.js +0 -291
- package/dist/esm/templatization.js.map +0 -1
- package/dist/esm/trackingHelpers.d.ts +0 -115
- package/dist/esm/trackingHelpers.js +0 -200
- package/dist/esm/trackingHelpers.js.map +0 -1
- package/dist/esm/velocityHelpers.d.ts +0 -68
- package/dist/esm/velocityHelpers.js +0 -144
- package/dist/esm/velocityHelpers.js.map +0 -1
- package/dist/esm/webtoolHelpers.d.ts +0 -57
- package/dist/esm/webtoolHelpers.js +0 -95
- package/dist/esm/webtoolHelpers.js.map +0 -1
- package/dist/esm/workflowHelpers.d.ts +0 -112
- package/dist/esm/workflowHelpers.js +0 -270
- package/dist/esm/workflowHelpers.js.map +0 -1
- package/dist/esm/workforceHelpers.d.ts +0 -121
- package/dist/esm/workforceHelpers.js +0 -691
- package/dist/esm/workforceHelpers.js.map +0 -1
- package/dist/esm/zip-utils.d.ts +0 -85
- package/dist/esm/zip-utils.js +0 -142
- package/dist/esm/zip-utils.js.map +0 -1
- package/dist/solution.js_commit.txt +0 -10
|
@@ -1,833 +0,0 @@
|
|
|
1
|
-
/** @license
|
|
2
|
-
* Copyright 2019 Esri
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
/**
|
|
17
|
-
* Provides general helper functions.
|
|
18
|
-
*
|
|
19
|
-
* @module featureServiceHelpers
|
|
20
|
-
*/
|
|
21
|
-
import { IDefaultSpatialReferenceAndExtent, IDependency, IFeatureServiceProperties, IItemTemplate, INumberValuePair } from "./interfaces";
|
|
22
|
-
import { IQueryRelatedResponse, UserSession } from "./arcgisRestJS";
|
|
23
|
-
/**
|
|
24
|
-
* Get the related records for a feature service.
|
|
25
|
-
*
|
|
26
|
-
* @param url Feature service's URL, e.g., layer.url
|
|
27
|
-
* @param relationshipId Id of relationship
|
|
28
|
-
* @param objectIds Objects in the feature service whose related records are sought
|
|
29
|
-
*/
|
|
30
|
-
export declare function getFeatureServiceRelatedRecords(url: string, relationshipId: number, objectIds?: number[]): Promise<IQueryRelatedResponse>;
|
|
31
|
-
/**
|
|
32
|
-
* Templatize the ID, url, field references ect
|
|
33
|
-
*
|
|
34
|
-
* @param itemTemplate Template for feature service item
|
|
35
|
-
* @param dependencies Array of IDependency for name mapping
|
|
36
|
-
* @param templatizeFieldReferences Templatize all field references within a layer
|
|
37
|
-
* @param templateDictionary Hash mapping property names to replacement values
|
|
38
|
-
* @returns A promise that will resolve when template has been updated
|
|
39
|
-
* @private
|
|
40
|
-
*/
|
|
41
|
-
export declare function templatize(itemTemplate: IItemTemplate, dependencies: IDependency[], templatizeFieldReferences: boolean, templateDictionary?: any): IItemTemplate;
|
|
42
|
-
/**
|
|
43
|
-
* Delete key properties that are system managed
|
|
44
|
-
*
|
|
45
|
-
* @param layer The data layer instance with field name references within
|
|
46
|
-
* @param isPortal When true we are deploying to portal
|
|
47
|
-
*/
|
|
48
|
-
export declare function deleteViewProps(layer: any, isPortal: boolean): void;
|
|
49
|
-
/**
|
|
50
|
-
* Cache properties that contain field references
|
|
51
|
-
*
|
|
52
|
-
* removeProp added for issue #644
|
|
53
|
-
* setting all props on add for online now
|
|
54
|
-
* investigating if we can also just allow them to be set during add for portal
|
|
55
|
-
*
|
|
56
|
-
* @param layer The data layer instance with field name references within
|
|
57
|
-
* @param fieldInfos the object that stores the cached field infos
|
|
58
|
-
* @param isView When true the current layer is a view and does not need to cache subtype details
|
|
59
|
-
* @param isPortal When true we are deploying to portal
|
|
60
|
-
* @returns An updated instance of the fieldInfos
|
|
61
|
-
*/
|
|
62
|
-
export declare function cacheFieldInfos(layer: any, fieldInfos: any, isView: boolean, isPortal: boolean): any;
|
|
63
|
-
/**
|
|
64
|
-
* Cache the stored contingent values so we can add them in subsequent addToDef calls
|
|
65
|
-
*
|
|
66
|
-
* @param id The layer id for the associated values to be stored with
|
|
67
|
-
* @param fieldInfos The object that stores the cached field infos
|
|
68
|
-
* @param itemTemplate The current itemTemplate being processed
|
|
69
|
-
* @returns An updated instance of the fieldInfos
|
|
70
|
-
*/
|
|
71
|
-
export declare function cacheContingentValues(id: string, fieldInfos: any, itemTemplate: IItemTemplate): any;
|
|
72
|
-
/**
|
|
73
|
-
* Cache the stored contingent values so we can add them in subsequent addToDef calls
|
|
74
|
-
*
|
|
75
|
-
* @param layer The current layer to check indexes on
|
|
76
|
-
* @param fieldInfos The object that stores the cached field infos
|
|
77
|
-
* @returns An updated instance of the fieldInfos
|
|
78
|
-
*/
|
|
79
|
-
export declare function cacheIndexes(layer: any, fieldInfos: any, isView: boolean, isMsView: boolean): any;
|
|
80
|
-
/**
|
|
81
|
-
* Helper function to cache a single property into the fieldInfos object
|
|
82
|
-
* This property will be removed from the layer instance.
|
|
83
|
-
*
|
|
84
|
-
* @param layer the data layer being cloned
|
|
85
|
-
* @param prop the property name used to cache
|
|
86
|
-
* @param fieldInfos the object that will store the cached property
|
|
87
|
-
* @param removeProp when true relationships prop will be set to null and subtype props will be deleted
|
|
88
|
-
* @private
|
|
89
|
-
*/
|
|
90
|
-
export declare function _cacheFieldInfo(layer: any, prop: string, fieldInfos: any, removeProp: boolean): void;
|
|
91
|
-
/**
|
|
92
|
-
* Cache popup info that can contain field references
|
|
93
|
-
*
|
|
94
|
-
* @param data The items data property
|
|
95
|
-
* @returns An updated instance of the popupInfos
|
|
96
|
-
*/
|
|
97
|
-
export declare function cachePopupInfos(data: any): any;
|
|
98
|
-
/**
|
|
99
|
-
* Helper function to cache a single popupInfo
|
|
100
|
-
* This property will be reset on the layer
|
|
101
|
-
*
|
|
102
|
-
* @param popupInfos object to store the cahced popupInfo
|
|
103
|
-
* @param type is it a layer or table
|
|
104
|
-
* @param _items list or either layers or tables
|
|
105
|
-
* @private
|
|
106
|
-
*/
|
|
107
|
-
export declare function _cachePopupInfo(popupInfos: IPopupInfos, type: "layers" | "tables", _items: any): void;
|
|
108
|
-
/**
|
|
109
|
-
* Store basic layer information for potential replacement if we are unable to access a given service
|
|
110
|
-
* added for issue #859
|
|
111
|
-
*
|
|
112
|
-
* @param layerId the id for the layer
|
|
113
|
-
* @param itemId the id for the item
|
|
114
|
-
* @param url the url for the layer
|
|
115
|
-
* @param templateDictionary Hash of key details used for variable replacement
|
|
116
|
-
* @returns templatized itemTemplate
|
|
117
|
-
*/
|
|
118
|
-
export declare function cacheLayerInfo(layerId: string, itemId: string, url: string, templateDictionary: any): void;
|
|
119
|
-
/**
|
|
120
|
-
* Creates an item in a specified folder (except for Group item type).
|
|
121
|
-
*
|
|
122
|
-
* @param itemTemplate Item to be created; n.b.: this item is modified
|
|
123
|
-
* @param templateDictionary Hash mapping property names to replacement values
|
|
124
|
-
* @param createResponse Response from create service
|
|
125
|
-
* @returns An updated instance of the template
|
|
126
|
-
* @private
|
|
127
|
-
*/
|
|
128
|
-
export declare function updateTemplate(itemTemplate: IItemTemplate, templateDictionary: any, createResponse: any): IItemTemplate;
|
|
129
|
-
/**
|
|
130
|
-
* Updates the items typeKeywords to include any typeKeywords that
|
|
131
|
-
* were added by the create service request
|
|
132
|
-
*
|
|
133
|
-
* @param itemTemplate Item to be created; n.b.: this item is modified
|
|
134
|
-
* @param createResponse Response from create service
|
|
135
|
-
* @returns An updated instance of the template
|
|
136
|
-
* @private
|
|
137
|
-
*/
|
|
138
|
-
export declare function _updateTypeKeywords(itemTemplate: IItemTemplate, createResponse: any): IItemTemplate;
|
|
139
|
-
/**
|
|
140
|
-
* Add layer urls from tracking views to the templateDictionary to be used for adlib replacements
|
|
141
|
-
*
|
|
142
|
-
* @param itemTemplate Item to be created; n.b.: this item is modified
|
|
143
|
-
* @param templateDictionary Hash mapping property names to replacement values
|
|
144
|
-
* @returns void
|
|
145
|
-
* @private
|
|
146
|
-
*/
|
|
147
|
-
export declare function _setTrackingViewLayerSettings(itemTemplate: IItemTemplate, templateDictionary: any): void;
|
|
148
|
-
/**
|
|
149
|
-
* Create the name mapping object that will allow for all templatized field
|
|
150
|
-
* references to be de-templatized.
|
|
151
|
-
* This also removes the stored sourceFields and newFields arrays from fieldInfos.
|
|
152
|
-
*
|
|
153
|
-
* @example
|
|
154
|
-
* \{ layer0: \{ fields: \{ lowerCaseSourceFieldName: newFieldNameAfterDeployment \} \} \}
|
|
155
|
-
*
|
|
156
|
-
* @param layerInfos The object that stores the cached layer properties and name mapping
|
|
157
|
-
* @returns The settings object that will be used to de-templatize the field references.
|
|
158
|
-
*/
|
|
159
|
-
export declare function getLayerSettings(layerInfos: any, url: string, itemId: string, enterpriseIDMapping?: any): any;
|
|
160
|
-
/**
|
|
161
|
-
* Set the names and titles for all feature services.
|
|
162
|
-
*
|
|
163
|
-
* This function will ensure that we have unique feature service names.
|
|
164
|
-
* The feature service name will have a generated GUID appended.
|
|
165
|
-
*
|
|
166
|
-
* @param templates A collection of AGO item templates.
|
|
167
|
-
* @returns An updated collection of AGO templates with unique feature service names.
|
|
168
|
-
*/
|
|
169
|
-
export declare function setNamesAndTitles(templates: IItemTemplate[]): IItemTemplate[];
|
|
170
|
-
/**
|
|
171
|
-
* This is used when deploying views.
|
|
172
|
-
* We need to update fields referenced in adminLayerInfo for relationships prior to deploying the view.
|
|
173
|
-
* This moves the fieldInfos for the views source layers from the item settings for the source layer
|
|
174
|
-
* to the item settings for the view.
|
|
175
|
-
*
|
|
176
|
-
* @param itemTemplate The current itemTemplate being processed.
|
|
177
|
-
* @param settings The settings object used to de-templatize the various templates within the item.
|
|
178
|
-
*/
|
|
179
|
-
export declare function updateSettingsFieldInfos(itemTemplate: IItemTemplate, settings: any): void;
|
|
180
|
-
/**
|
|
181
|
-
* Add flag to indicate item should be ignored.
|
|
182
|
-
* Construct template dictionary to detemplatize any references to this item by other items.
|
|
183
|
-
*
|
|
184
|
-
* @param template Template for feature service item
|
|
185
|
-
* @param authentication Credentials for the request
|
|
186
|
-
* @returns A promise that will resolve when template has been updated
|
|
187
|
-
* @private
|
|
188
|
-
*/
|
|
189
|
-
export declare function updateTemplateForInvalidDesignations(template: IItemTemplate, authentication: UserSession): Promise<IItemTemplate>;
|
|
190
|
-
/**
|
|
191
|
-
* Get the contingent values for each layer in the service.
|
|
192
|
-
* Remove key props that cannot be included with the addToDef call on deploy.
|
|
193
|
-
* Store the values alongside other key feature service properties in the template
|
|
194
|
-
*
|
|
195
|
-
* @param properties the current feature services properties
|
|
196
|
-
* @param adminUrl the current feature service url
|
|
197
|
-
* @param authentication Credentials for the request to AGOL
|
|
198
|
-
* @returns A promise that will resolve when the contingent values have been fetched.
|
|
199
|
-
* This function will update the provided properties argument when contingent values are found.
|
|
200
|
-
*/
|
|
201
|
-
export declare function processContingentValues(properties: IFeatureServiceProperties, adminUrl: string, authentication: UserSession): Promise<void>;
|
|
202
|
-
/**
|
|
203
|
-
* Replace the field name reference templates with the new field names after deployment.
|
|
204
|
-
*
|
|
205
|
-
* @param fieldInfos The object that stores the cached layer properties and name mapping
|
|
206
|
-
* @param popupInfos The object from the popupInfo property for the layer
|
|
207
|
-
* @param adminLayerInfos The object from the adminLayerInfo property for the layer
|
|
208
|
-
* @param settings The settings object that has all of the mappings for de-templatizing.
|
|
209
|
-
* @returns An object that contains updated instances of popupInfos, fieldInfos, and adminLayerInfos
|
|
210
|
-
*/
|
|
211
|
-
export declare function deTemplatizeFieldInfos(fieldInfos: any, popupInfos: any, adminLayerInfos: any, settings: any): any;
|
|
212
|
-
/**
|
|
213
|
-
* This is used when deploying views.
|
|
214
|
-
* We need to update fields referenced in adminLayerInfo for relationships prior to deploying the view.
|
|
215
|
-
* This moves the fieldInfos for the views source layers from the item settings for the source layer
|
|
216
|
-
* to the item settings for the view.
|
|
217
|
-
*
|
|
218
|
-
* @param itemTemplate The current itemTemplate being processed.
|
|
219
|
-
* @returns array of layers and tables
|
|
220
|
-
*/
|
|
221
|
-
export declare function getLayersAndTables(itemTemplate: IItemTemplate): any[];
|
|
222
|
-
/**
|
|
223
|
-
* Fetch each layer and table from service so we can determine what fields they have.
|
|
224
|
-
* This is leveraged when we are using existing services so we can determine if we need to
|
|
225
|
-
* remove any fields from views that depend on these layers and tables.
|
|
226
|
-
*
|
|
227
|
-
* @param url Feature service endpoint
|
|
228
|
-
* @param ids layer and table ids
|
|
229
|
-
* @param authentication Credentials for the request
|
|
230
|
-
* @returns A promise that will resolve an array of promises with either a failure or the data
|
|
231
|
-
* @private
|
|
232
|
-
*/
|
|
233
|
-
export declare function getExistingLayersAndTables(url: string, ids: number[], authentication: UserSession): Promise<any>;
|
|
234
|
-
/**
|
|
235
|
-
* Adds the layers and tables of a feature service to it and restores their relationships.
|
|
236
|
-
*
|
|
237
|
-
* @param itemTemplate Feature service
|
|
238
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature
|
|
239
|
-
* service)
|
|
240
|
-
* @param popupInfos the cached popup info from the layers
|
|
241
|
-
* @param authentication Credentials for the request
|
|
242
|
-
* @returns A promise that will resolve when all layers and tables have been added
|
|
243
|
-
* @private
|
|
244
|
-
*/
|
|
245
|
-
export declare function addFeatureServiceLayersAndTables(itemTemplate: IItemTemplate, templateDictionary: any, popupInfos: IPopupInfos, authentication: UserSession): Promise<void>;
|
|
246
|
-
/**
|
|
247
|
-
* Updates a feature service with a list of layers and/or tables.
|
|
248
|
-
*
|
|
249
|
-
* @param serviceUrl URL of feature service
|
|
250
|
-
* @param listToAdd List of layers and/or tables to add
|
|
251
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature
|
|
252
|
-
* service)
|
|
253
|
-
* @param authentication Credentials for the request
|
|
254
|
-
* @param key
|
|
255
|
-
* @param adminLayerInfos Hash map of a layers adminLayerInfo
|
|
256
|
-
* @param fieldInfos Hash map of properties that contain field references
|
|
257
|
-
* @param itemTemplate
|
|
258
|
-
* @returns A promise that will resolve when the feature service has been updated
|
|
259
|
-
* @private
|
|
260
|
-
*/
|
|
261
|
-
export declare function addFeatureServiceDefinition(serviceUrl: string, listToAdd: any[], templateDictionary: any, authentication: UserSession, key: string, adminLayerInfos: any, fieldInfos: any, itemTemplate: IItemTemplate): Promise<void>;
|
|
262
|
-
/**
|
|
263
|
-
* When a view is a multi service view sort based on the id
|
|
264
|
-
* https://github.com/Esri/solution.js/issues/1048
|
|
265
|
-
*
|
|
266
|
-
* @param layersAndTables The list of layers and tables for the current template
|
|
267
|
-
* @param isSelfReferential Indicates if any layers or tables have relationships with other layers or tables in the same service
|
|
268
|
-
* @param itemTemplate The current itemTemplate being processed
|
|
269
|
-
*
|
|
270
|
-
* @returns Sorted list of layers and tables when using a multi-service view
|
|
271
|
-
* @private
|
|
272
|
-
*/
|
|
273
|
-
export declare function _updateOrder(layersAndTables: any[], isSelfReferential: boolean, itemTemplate: IItemTemplate): any[];
|
|
274
|
-
/**
|
|
275
|
-
* When a view is a multi service view add each layer separately
|
|
276
|
-
* https://github.com/Esri/solution.js/issues/871
|
|
277
|
-
*
|
|
278
|
-
* @param itemTemplate The current itemTemplate being processed
|
|
279
|
-
* @param options Add to service definition options
|
|
280
|
-
* @param layerChunks Groups of layers or tables to add to the service
|
|
281
|
-
* @param isSelfReferential Indicates if any layers or tables have relationships with other layers or tables in the same service
|
|
282
|
-
* @param authentication Credentials for the request
|
|
283
|
-
*
|
|
284
|
-
* @returns Add to service definition options
|
|
285
|
-
* @private
|
|
286
|
-
*/
|
|
287
|
-
export declare function _updateAddOptions(itemTemplate: IItemTemplate, options: any, layerChunks: any[], isSelfReferential: boolean, authentication: UserSession): any;
|
|
288
|
-
/**
|
|
289
|
-
* Determine if any layer or table within the service references
|
|
290
|
-
* other layers or tables within the same service
|
|
291
|
-
*
|
|
292
|
-
* @param layersAndTables the list of layers and tables from the service
|
|
293
|
-
*
|
|
294
|
-
* @returns true when valid internal references are found
|
|
295
|
-
* @private
|
|
296
|
-
*/
|
|
297
|
-
export declare function _isSelfReferential(layersAndTables: any[]): boolean;
|
|
298
|
-
/**
|
|
299
|
-
* Remove "multiScaleGeometryInfo" for issue #526 to prevent invalid enablement of layer optimization
|
|
300
|
-
*
|
|
301
|
-
* @param layer the layer to evaluate
|
|
302
|
-
* @private
|
|
303
|
-
*/
|
|
304
|
-
export declare function removeLayerOptimization(layer: any): void;
|
|
305
|
-
/**
|
|
306
|
-
* Handle portal specific updates to the item
|
|
307
|
-
*
|
|
308
|
-
* @param item the item to update
|
|
309
|
-
* @param itemTemplate the item template
|
|
310
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone
|
|
311
|
-
*
|
|
312
|
-
* @returns the updated item
|
|
313
|
-
* @private
|
|
314
|
-
*/
|
|
315
|
-
export declare function _updateForPortal(item: any, itemTemplate: IItemTemplate, templateDictionary: any): any;
|
|
316
|
-
/**
|
|
317
|
-
* Get a list of the source layer field names
|
|
318
|
-
*
|
|
319
|
-
* @param table the table instance to compare
|
|
320
|
-
* @param itemTemplate the item template
|
|
321
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone
|
|
322
|
-
*
|
|
323
|
-
* @returns an array of the source layers fields
|
|
324
|
-
* @private
|
|
325
|
-
*/
|
|
326
|
-
export declare function _getFieldNames(table: any, itemTemplate: IItemTemplate, templateDictionary: any): string[];
|
|
327
|
-
/**
|
|
328
|
-
* Get a list of any dynamically calculated fields
|
|
329
|
-
* These fields are still valid but will not exist in the source service
|
|
330
|
-
*
|
|
331
|
-
* @param table the table instance to compare
|
|
332
|
-
*
|
|
333
|
-
* @returns an array of field names
|
|
334
|
-
* @private
|
|
335
|
-
*/
|
|
336
|
-
export declare function _getDynamicFieldNames(table: any): string[];
|
|
337
|
-
/**
|
|
338
|
-
* Remove fields references from fields and indexes that do not exist in the source service
|
|
339
|
-
*
|
|
340
|
-
* @param item Layer or table
|
|
341
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone
|
|
342
|
-
*
|
|
343
|
-
* @returns updated layer or table
|
|
344
|
-
* @private
|
|
345
|
-
*/
|
|
346
|
-
export declare function _updateItemFields(item: any, fieldNames: string[]): any;
|
|
347
|
-
/**
|
|
348
|
-
* Filter the sourceLayerFields for the table
|
|
349
|
-
*
|
|
350
|
-
* @param table the table instance to evaluate
|
|
351
|
-
* @param sourceLayerFields array of fields from the source service
|
|
352
|
-
* @returns Updated instance of the table
|
|
353
|
-
* @private
|
|
354
|
-
*/
|
|
355
|
-
export declare function _updateSourceLayerFields(table: any, sourceLayerFields: string[]): any;
|
|
356
|
-
/**
|
|
357
|
-
* When the itemm is a view with a geometry field update the value to
|
|
358
|
-
* use the table name from the view layer def
|
|
359
|
-
*
|
|
360
|
-
* @param item the item details from the current template
|
|
361
|
-
* @param templateDictionary Hash mapping property names to replacement values
|
|
362
|
-
* @private
|
|
363
|
-
*/
|
|
364
|
-
export declare function _updateGeomFieldName(adminLayerInfo: any, templateDictionary: any): void;
|
|
365
|
-
/**
|
|
366
|
-
* Add the fields to the templateDictionary when a service has views
|
|
367
|
-
* these are used to compare with fields from the view when domains are involved
|
|
368
|
-
* when a view field has a domain that differs from that of the source service
|
|
369
|
-
* the definition needs to be modified in an update call rather than when it is first added.
|
|
370
|
-
* This should only happen when the domain differs.
|
|
371
|
-
*
|
|
372
|
-
* @param itemTemplate
|
|
373
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
374
|
-
* @private
|
|
375
|
-
*/
|
|
376
|
-
export declare function _updateTemplateDictionaryFields(itemTemplate: IItemTemplate, templateDictionary: any, compareItemId?: boolean): void;
|
|
377
|
-
/**
|
|
378
|
-
* Set the defaultSpatialReference variable with the services spatial reference.
|
|
379
|
-
* If this item is a Feature Service that has child views then we will use this value
|
|
380
|
-
* if one or more of the child views spatial reference differs from that of its parent.
|
|
381
|
-
*
|
|
382
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
383
|
-
* @param itemId The source id for the item
|
|
384
|
-
* @param spatialReference \{ wkid: 102100 \} for example
|
|
385
|
-
* @private
|
|
386
|
-
*/
|
|
387
|
-
export declare function setDefaultSpatialReference(templateDictionary: any, itemId: string, spatialReference: any): void;
|
|
388
|
-
/**
|
|
389
|
-
* Compare the spatial reference of the current item against its dependencies.
|
|
390
|
-
* The spatial reference of a view cannot differ from its source service.
|
|
391
|
-
* If the view has a different spatial reference from its source use the source spatial reference.
|
|
392
|
-
*
|
|
393
|
-
* @param serviceInfo Basic service information
|
|
394
|
-
* @param itemTemplate The current template to process
|
|
395
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
396
|
-
* @private
|
|
397
|
-
*/
|
|
398
|
-
export declare function validateSpatialReferenceAndExtent(serviceInfo: any, itemTemplate: IItemTemplate, templateDictionary: any): void;
|
|
399
|
-
/**
|
|
400
|
-
* Get the spatial reference from a views source.
|
|
401
|
-
* Optionally ensure that the source has a valid geometry type prior to using its values.
|
|
402
|
-
*
|
|
403
|
-
* @param serviceInfo Basic service information
|
|
404
|
-
* @param itemTemplate The current template to process
|
|
405
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
406
|
-
* @param validateGeom When true the source must contain a geometryType for values to be returned
|
|
407
|
-
*
|
|
408
|
-
* @returns An object that contains the default spatial reference and extent value
|
|
409
|
-
* @private
|
|
410
|
-
*/
|
|
411
|
-
export declare function _getSourceSpatialReferenceAndExtent(serviceInfo: any, itemTemplate: IItemTemplate, templateDictionary: any, validateGeom: boolean): IDefaultSpatialReferenceAndExtent;
|
|
412
|
-
/**
|
|
413
|
-
* Updates a feature service with a list of layers and/or tables.
|
|
414
|
-
*
|
|
415
|
-
* @param itemTemplate
|
|
416
|
-
* @param fieldInfos Hash map of properties that contain field references
|
|
417
|
-
* @param popupInfos Hash map of a layers popupInfo
|
|
418
|
-
* @param adminLayerInfos Hash map of a layers adminLayerInfo
|
|
419
|
-
* @param templateDictionary Hash mapping Solution source id to id of its clone (and name & URL for feature service)
|
|
420
|
-
* @param authentication Credentials for the request
|
|
421
|
-
* @returns A promise that will resolve when the feature service has been updated
|
|
422
|
-
* @private
|
|
423
|
-
*/
|
|
424
|
-
export declare function updateLayerFieldReferences(itemTemplate: IItemTemplate, fieldInfos: any, popupInfos: IPopupInfos, adminLayerInfos: any, templateDictionary: any): Promise<any>;
|
|
425
|
-
/**
|
|
426
|
-
* Update the names of fields for each layer or table after it has been
|
|
427
|
-
* added to the definition
|
|
428
|
-
*
|
|
429
|
-
* @param itemTemplate Item to be created
|
|
430
|
-
* @param layerInfos Hash map of properties that contain field references and various layer info
|
|
431
|
-
* @param popupInfos Hash map of a layers popupInfo
|
|
432
|
-
* @param adminLayerInfos Hash map of a layers adminLayerInfo
|
|
433
|
-
* @param templateDictionary
|
|
434
|
-
* @param authentication Credentials for the request
|
|
435
|
-
* @returns An object with detemplatized field references
|
|
436
|
-
* @private
|
|
437
|
-
*/
|
|
438
|
-
export declare function postProcessFields(itemTemplate: IItemTemplate, layerInfos: any, popupInfos: any, adminLayerInfos: any, templateDictionary: any): Promise<any>;
|
|
439
|
-
/**
|
|
440
|
-
* Add popup info back to the layer item
|
|
441
|
-
*
|
|
442
|
-
* @param itemTemplate
|
|
443
|
-
* @param popupInfos popup info to be added back to the layer
|
|
444
|
-
* @private
|
|
445
|
-
*/
|
|
446
|
-
export declare function updatePopupInfo(itemTemplate: IItemTemplate, popupInfos: any): void;
|
|
447
|
-
/**
|
|
448
|
-
* Helper function to templatize value and make sure its converted to lowercase
|
|
449
|
-
*
|
|
450
|
-
* @param basePath path used to de-templatize while deploying
|
|
451
|
-
* @param value to be converted to lower case for lookup while deploying
|
|
452
|
-
* @private
|
|
453
|
-
*/
|
|
454
|
-
export declare function _templatize(basePath: string, value: string, suffix?: string): string;
|
|
455
|
-
/**
|
|
456
|
-
* templatize an objects property
|
|
457
|
-
*
|
|
458
|
-
* @param object the object with the property to templatize
|
|
459
|
-
* @param property the property of the object to templatize
|
|
460
|
-
* @param basePath path used to de-templatize while deploying
|
|
461
|
-
* @private
|
|
462
|
-
*/
|
|
463
|
-
export declare function _templatizeProperty(object: any, property: string, basePath: string, suffix: string): void;
|
|
464
|
-
/**
|
|
465
|
-
* Templatize field references, serviceItemId, and adminLayerInfo for a layer
|
|
466
|
-
*
|
|
467
|
-
* @param dataItem from the items data property
|
|
468
|
-
* @param adminItem from the services admin api
|
|
469
|
-
* @param itemTemplate Template for feature service item
|
|
470
|
-
* @param dependencies Array of IDependency for name mapping
|
|
471
|
-
* @param templatizeFieldReferences Templatize all field references within a layer
|
|
472
|
-
* @returns A promise that will resolve when template has been updated
|
|
473
|
-
* @private
|
|
474
|
-
*/
|
|
475
|
-
export declare function _templatizeLayer(dataItem: any, adminItem: any, itemTemplate: IItemTemplate, dependencies: IDependency[], templatizeFieldReferences: boolean, templateDictionary: any): void;
|
|
476
|
-
/**
|
|
477
|
-
* Repair common issues that can occur with feature service field references.
|
|
478
|
-
* This function will mutate the input item if any of the common issues have occured.
|
|
479
|
-
*
|
|
480
|
-
* @param adminItem layer or table from the service
|
|
481
|
-
*/
|
|
482
|
-
export declare function _validateFields(adminItem: any): void;
|
|
483
|
-
/**
|
|
484
|
-
* Update primary display field if casing doesn't match.
|
|
485
|
-
* Update primary display field to the first non OID or GlobalId if the field isn't in the layer.
|
|
486
|
-
*
|
|
487
|
-
* @param adminItem layer or table from the service
|
|
488
|
-
* @param fieldNames string list of fields names
|
|
489
|
-
* @private
|
|
490
|
-
*/
|
|
491
|
-
export declare function _validateDisplayField(adminItem: any, fieldNames: string[]): void;
|
|
492
|
-
/**
|
|
493
|
-
* Remove indexes on fields that don't exist in the layer.
|
|
494
|
-
* Remove duplicate indexes on the same field.
|
|
495
|
-
*
|
|
496
|
-
* @param adminItem layer or table from the service
|
|
497
|
-
* @param fieldNames string list of fields names
|
|
498
|
-
* @private
|
|
499
|
-
*/
|
|
500
|
-
export declare function _validateIndexes(adminItem: any, fieldNames: string[]): void;
|
|
501
|
-
/**
|
|
502
|
-
* Remove field references from templates that no longer exist.
|
|
503
|
-
*
|
|
504
|
-
* @param adminItem layer or table from the service
|
|
505
|
-
* @param fieldNames string list of fields names
|
|
506
|
-
* @private
|
|
507
|
-
*/
|
|
508
|
-
export declare function _validateTemplatesFields(adminItem: any, fieldNames: string[]): void;
|
|
509
|
-
/**
|
|
510
|
-
* Remove field references from templates that no longer exist.
|
|
511
|
-
*
|
|
512
|
-
* @param adminItem layer or table from the service
|
|
513
|
-
* @param fieldNames string list of fields names
|
|
514
|
-
* @private
|
|
515
|
-
*/
|
|
516
|
-
export declare function _validateTypesTemplates(adminItem: any, fieldNames: string[]): void;
|
|
517
|
-
/**
|
|
518
|
-
* Check if edit feilds exist but with lower case
|
|
519
|
-
*
|
|
520
|
-
* @param adminItem layer or table from the service
|
|
521
|
-
* @param fieldNames string list of fields names
|
|
522
|
-
* @private
|
|
523
|
-
*/
|
|
524
|
-
export declare function _validateEditFieldsInfo(adminItem: any, fieldNames: string[]): void;
|
|
525
|
-
/**
|
|
526
|
-
*
|
|
527
|
-
* Templatize all field references within a layer
|
|
528
|
-
* This is necessary to support potential field name changes when deploying to portal
|
|
529
|
-
* Portal will force all field names to be lower case
|
|
530
|
-
*
|
|
531
|
-
* @param dataItem The data layer instance with field name references within
|
|
532
|
-
* @param itemID The id for the item that contains this layer.
|
|
533
|
-
* @param layer JSON return from the layer being templatized.
|
|
534
|
-
* @param dependencies
|
|
535
|
-
* @returns An updated instance of the layer
|
|
536
|
-
* @private
|
|
537
|
-
*/
|
|
538
|
-
export declare function _templatizeLayerFieldReferences(dataItem: any, itemID: string, layer: any, dependencies: IDependency[]): void;
|
|
539
|
-
/**
|
|
540
|
-
* Templatize a layers adminLayerInfo by removing properties that will case issues with clone.
|
|
541
|
-
* Also templatizes the source service name when we are dealing with a view.
|
|
542
|
-
*
|
|
543
|
-
* @param layer The layer to be modified
|
|
544
|
-
* @param dependencies Array of service dependencies
|
|
545
|
-
* @returns A new copy of the modified adminLayerInfo for the given layer
|
|
546
|
-
* @private
|
|
547
|
-
*/
|
|
548
|
-
export declare function _templatizeAdminLayerInfo(layer: any, dependencies: IDependency[], templateDictionary: any): any;
|
|
549
|
-
/**
|
|
550
|
-
* Remove sourceId and templatize the sourceServiceName
|
|
551
|
-
*
|
|
552
|
-
* @param object The layer to be modified
|
|
553
|
-
* @param dependencies Array of service dependencies
|
|
554
|
-
* @private
|
|
555
|
-
*/
|
|
556
|
-
export declare function _processAdminObject(object: any, dependencies: IDependency[]): void;
|
|
557
|
-
/**
|
|
558
|
-
* Templatize the name based on the given dependencies
|
|
559
|
-
*
|
|
560
|
-
* @param lookupName The current name from the source service
|
|
561
|
-
* @param dependencies Array of IDependency for name mapping
|
|
562
|
-
* @returns The templatized name || undefined when no matching dependency is found
|
|
563
|
-
* @private
|
|
564
|
-
*/
|
|
565
|
-
export declare function _templatizeSourceServiceName(lookupName: string, dependencies: IDependency[]): string | string[] | undefined;
|
|
566
|
-
/**
|
|
567
|
-
* templatize the fields referenced in adminLayerInfo
|
|
568
|
-
*
|
|
569
|
-
* @param layer the layer object with the adminLayerInfo property to templatize
|
|
570
|
-
* @param basePath path used to de-templatize while deploying
|
|
571
|
-
* @param itemID the id for the item that contains this layer
|
|
572
|
-
* @private
|
|
573
|
-
*/
|
|
574
|
-
export declare function _templatizeAdminLayerInfoFields(layer: any, dependencies: IDependency[]): void;
|
|
575
|
-
/**
|
|
576
|
-
* find id based on dependency name
|
|
577
|
-
*
|
|
578
|
-
* @param lookupName name of dependency we want to find the id of
|
|
579
|
-
* @param dependencies array of item dependencies
|
|
580
|
-
* @private
|
|
581
|
-
*/
|
|
582
|
-
export declare function _getDependantItemId(lookupName: string, dependencies: IDependency[]): string;
|
|
583
|
-
/**
|
|
584
|
-
* templatize the sourceLayerFields referenced in adminLayerInfo
|
|
585
|
-
*
|
|
586
|
-
* @param fields array of sourceLayerFields to templatize
|
|
587
|
-
* @param basePath path used to de-templatize while deploying
|
|
588
|
-
* @private
|
|
589
|
-
*/
|
|
590
|
-
export declare function _templatizeAdminSourceLayerFields(fields: any[], basePath: string): void;
|
|
591
|
-
/**
|
|
592
|
-
* templatize the topFilter property from adminLayerInfo related tables
|
|
593
|
-
*
|
|
594
|
-
* @param topFilter the topFilter object to templatize
|
|
595
|
-
* @param basePath path used to de-templatize while deploying
|
|
596
|
-
* @private
|
|
597
|
-
*/
|
|
598
|
-
export declare function _templatizeTopFilter(topFilter: any, basePath: string): void;
|
|
599
|
-
/**
|
|
600
|
-
* templatize the relationships key fields using the related table id in the basePath
|
|
601
|
-
*
|
|
602
|
-
* @param layer the layer that has the relationships to templatize
|
|
603
|
-
* @param itemID the id of the item that contains the related table
|
|
604
|
-
* @private
|
|
605
|
-
*/
|
|
606
|
-
export declare function _templatizeRelationshipFields(layer: any, itemID: string): void;
|
|
607
|
-
/**
|
|
608
|
-
* templatize the popupInfo
|
|
609
|
-
*
|
|
610
|
-
* @param layerDefinition the layerDefinition that has the popupInfo to templatize
|
|
611
|
-
* @param layer the JSON for the layer being templatized
|
|
612
|
-
* @param basePath path used to de-templatize while deploying
|
|
613
|
-
* @param itemID the id for the item that contains this layer
|
|
614
|
-
* @param fieldNames array of fieldNames
|
|
615
|
-
* @private
|
|
616
|
-
*/
|
|
617
|
-
export declare function _templatizePopupInfo(layerDefinition: any, layer: any, basePath: string, itemID: any, fieldNames: string[]): void;
|
|
618
|
-
/**
|
|
619
|
-
* templatize field name when referenced like this: \{\{fieldName\}\}
|
|
620
|
-
* checks each field name from the layer
|
|
621
|
-
*
|
|
622
|
-
* @param object with the property to test for a field name
|
|
623
|
-
* @param property that could have a field name referenced
|
|
624
|
-
* @param fieldNames array for field names for the layer
|
|
625
|
-
* @param basePath path used to de-templatize while deploying
|
|
626
|
-
* @private
|
|
627
|
-
*/
|
|
628
|
-
export declare function _templatizeName(object: any, property: string, fieldNames: string[], basePath: string): void;
|
|
629
|
-
/**
|
|
630
|
-
* templatize field name when referenced like this: \{\{fieldName\}\}
|
|
631
|
-
* checks each field name from the layer
|
|
632
|
-
*
|
|
633
|
-
* @param fieldInfos object that contains the popups fieldInfos
|
|
634
|
-
* @param layer json of layer being cloned
|
|
635
|
-
* @param itemID id of the item that contains the current layer
|
|
636
|
-
* @param basePath path used to de-templatize while deploying
|
|
637
|
-
* @private
|
|
638
|
-
*/
|
|
639
|
-
export declare function _templatizePopupInfoFieldInfos(fieldInfos: any[], layer: any, itemID: any, basePath: string): void;
|
|
640
|
-
/**
|
|
641
|
-
* templatize field name when referenced like this: \{\{fieldName\}\}
|
|
642
|
-
* checks each field name from the layer
|
|
643
|
-
*
|
|
644
|
-
* @param name the field name to templatize
|
|
645
|
-
* @param layer json of layer being cloned
|
|
646
|
-
* @param itemID id of the item that contains the current layer
|
|
647
|
-
* @param basePath path used to de-templatize while deploying
|
|
648
|
-
* @private
|
|
649
|
-
*/
|
|
650
|
-
export declare function _templatizeFieldName(name: string, layer: any, itemID: string, basePath: string): string;
|
|
651
|
-
/**
|
|
652
|
-
* templatize field name when referenced in expressionInfos
|
|
653
|
-
*
|
|
654
|
-
* @param expressionInfos the popups expressionInfos to check
|
|
655
|
-
* @param fieldNames array of the layers field names
|
|
656
|
-
* @param basePath path used to de-templatize while deploying
|
|
657
|
-
* @private
|
|
658
|
-
*/
|
|
659
|
-
export declare function _templatizeExpressionInfos(expressionInfos: any[], fieldNames: string[], basePath: string): any[];
|
|
660
|
-
/**
|
|
661
|
-
* templatize field name when referenced in popupElelments
|
|
662
|
-
*
|
|
663
|
-
* @param popupElelments the popups popupElelments to check
|
|
664
|
-
* @param basePath path used to de-templatize while deploying
|
|
665
|
-
* @param layer json of layer being cloned
|
|
666
|
-
* @param itemID id of the item that contains the current layer
|
|
667
|
-
* @param fieldNames array of field names
|
|
668
|
-
* @private
|
|
669
|
-
*/
|
|
670
|
-
export declare function _templatizePopupElements(popupElelments: any[], basePath: string, layer: any, itemID: string, fieldNames: any): void;
|
|
671
|
-
/**
|
|
672
|
-
* templatize field name when referenced in mediaInfos
|
|
673
|
-
*
|
|
674
|
-
* @param mediaInfos the popups mediaInfos to check
|
|
675
|
-
* @param fieldNames array of the layers field names
|
|
676
|
-
* @param basePath path used to de-templatize while deploying
|
|
677
|
-
* @param layer json of layer being cloned
|
|
678
|
-
* @param itemID id of the item that contains the current layer
|
|
679
|
-
* @private
|
|
680
|
-
*/
|
|
681
|
-
export declare function _templatizeMediaInfos(mediaInfos: any, fieldNames: string[], basePath: string, layer: any, itemId: string): void;
|
|
682
|
-
/**
|
|
683
|
-
* templatize field names when referenced in definitionEditor
|
|
684
|
-
*
|
|
685
|
-
* @param layer the layer with the definition editor
|
|
686
|
-
* @param basePath path used to de-templatize while deploying
|
|
687
|
-
* @param fieldNames json of layer being cloned
|
|
688
|
-
* @private
|
|
689
|
-
*/
|
|
690
|
-
export declare function _templatizeDefinitionEditor(layer: any, basePath: string, fieldNames: string[]): void;
|
|
691
|
-
/**
|
|
692
|
-
* templatize field names when referenced in definitionExpression
|
|
693
|
-
*
|
|
694
|
-
* @param layer the layer with the definition editor
|
|
695
|
-
* @param basePath path used to de-templatize while deploying
|
|
696
|
-
* @param fieldNames array of field names
|
|
697
|
-
* @private
|
|
698
|
-
*/
|
|
699
|
-
export declare function _templatizeDefinitionExpression(layer: any, basePath: string, fieldNames: string[]): void;
|
|
700
|
-
/**
|
|
701
|
-
* Case sensitive test for field names that appear anywhere within a string
|
|
702
|
-
*
|
|
703
|
-
* @param expression the expression to test for field name references
|
|
704
|
-
* @param basePath path used to de-templatize while deploying
|
|
705
|
-
* @param fieldNames array of the layers field names
|
|
706
|
-
* @private
|
|
707
|
-
*/
|
|
708
|
-
export declare function _templatizeSimpleName(expression: string, basePath: string, fieldNames: string[], suffix: string): string;
|
|
709
|
-
/**
|
|
710
|
-
* Templatize field references within a layers drawingInfo
|
|
711
|
-
*
|
|
712
|
-
* @param layer the data layer
|
|
713
|
-
* @param basePath path used to de-templatize while deploying
|
|
714
|
-
* @param fieldNames array of the layers field names
|
|
715
|
-
* @private
|
|
716
|
-
*/
|
|
717
|
-
export declare function _templatizeDrawingInfo(layer: any, basePath: string, fieldNames: string[]): void;
|
|
718
|
-
/**
|
|
719
|
-
* Templatize field references within a layers drawingInfo
|
|
720
|
-
*
|
|
721
|
-
* @param renderer the layers renderer
|
|
722
|
-
* @param basePath path used to de-templatize while deploying
|
|
723
|
-
* @param fieldNames array of the layers field names
|
|
724
|
-
* @private
|
|
725
|
-
*/
|
|
726
|
-
export declare function _templatizeRenderer(renderer: any, basePath: string, fieldNames: string[]): void;
|
|
727
|
-
/**
|
|
728
|
-
* Templatize field references within a layers renderer
|
|
729
|
-
*
|
|
730
|
-
* @param renderer the renderer object to check for field references
|
|
731
|
-
* @param basePath path used to de-templatize while deploying
|
|
732
|
-
* @param fieldNames array of field names that will be used to search expressions
|
|
733
|
-
* @private
|
|
734
|
-
*/
|
|
735
|
-
export declare function _templatizeGenRenderer(renderer: any, basePath: string, fieldNames: string[]): void;
|
|
736
|
-
/**
|
|
737
|
-
* Templatize field references within a layers renderer
|
|
738
|
-
*
|
|
739
|
-
* @param renderer the renderer object to check for field references
|
|
740
|
-
* @param basePath path used to de-templatize while deploying
|
|
741
|
-
* @param fieldNames array of field names that will be used to search expressions
|
|
742
|
-
* @private
|
|
743
|
-
*/
|
|
744
|
-
export declare function _templatizeTemporalRenderer(renderer: any, basePath: string, fieldNames: string[]): void;
|
|
745
|
-
/**
|
|
746
|
-
* Templatize renderers authoringInfo
|
|
747
|
-
*
|
|
748
|
-
* @param authoringInfo object containing metadata about the authoring process
|
|
749
|
-
* @param basePath path used to de-templatize while deploying
|
|
750
|
-
* @param fieldNames the name of fields from the layer
|
|
751
|
-
* @private
|
|
752
|
-
*/
|
|
753
|
-
export declare function _templatizeAuthoringInfo(authoringInfo: any, basePath: string, fieldNames: string[]): void;
|
|
754
|
-
/**
|
|
755
|
-
* Templatize field references within an arcade expression
|
|
756
|
-
*
|
|
757
|
-
* @param text the text that contains the expression
|
|
758
|
-
* @param fieldName name of the field to test for
|
|
759
|
-
* @param basePath path used to de-templatize while deploying
|
|
760
|
-
* @private
|
|
761
|
-
*/
|
|
762
|
-
export declare function _templatizeArcadeExpressions(text: string, fieldName: string, basePath: string): string;
|
|
763
|
-
/**
|
|
764
|
-
* templatize field names when referenced in the layers labelingInfo
|
|
765
|
-
*
|
|
766
|
-
* @param labelingInfo the object that contains the labelingInfo
|
|
767
|
-
* @param basePath path used to de-templatize while deploying
|
|
768
|
-
* @param fieldNames array of the layers field names
|
|
769
|
-
* @private
|
|
770
|
-
*/
|
|
771
|
-
export declare function _templatizeLabelingInfo(labelingInfo: any, basePath: string, fieldNames: string[]): void;
|
|
772
|
-
/**
|
|
773
|
-
* templatize the layers editing templates
|
|
774
|
-
*
|
|
775
|
-
* @param layer the data layer being cloned
|
|
776
|
-
* @param basePath path used to de-templatize while deploying
|
|
777
|
-
* @private
|
|
778
|
-
*/
|
|
779
|
-
export declare function _templatizeTemplates(layer: any, basePath: string): void;
|
|
780
|
-
/**
|
|
781
|
-
* templatize the layer types and templates
|
|
782
|
-
*
|
|
783
|
-
* @param layer the data layer being cloned
|
|
784
|
-
* @param basePath path used to de-templatize while deploying
|
|
785
|
-
* @private
|
|
786
|
-
*/
|
|
787
|
-
export declare function _templatizeTypeTemplates(layer: any, basePath: string): void;
|
|
788
|
-
/**
|
|
789
|
-
* templatize object keys
|
|
790
|
-
*
|
|
791
|
-
* @param obj the object to templatize
|
|
792
|
-
* @param basePath path used to de-templatize while deploying
|
|
793
|
-
* @param suffix expected suffix for template variable
|
|
794
|
-
* @private
|
|
795
|
-
*/
|
|
796
|
-
export declare function _templatizeKeys(obj: any, basePath: string, suffix: string): any;
|
|
797
|
-
/**
|
|
798
|
-
* templatize fields referenced in the layers time info
|
|
799
|
-
*
|
|
800
|
-
* @param layer the data layer being cloned
|
|
801
|
-
* @param basePath path used to de-templatize while deploying
|
|
802
|
-
* @private
|
|
803
|
-
*/
|
|
804
|
-
export declare function _templatizeTimeInfo(layer: any, basePath: string): void;
|
|
805
|
-
/**
|
|
806
|
-
* templatize the layers definition query
|
|
807
|
-
*
|
|
808
|
-
* @param layer the data layer being cloned
|
|
809
|
-
* @param basePath path used to de-templatize while deploying
|
|
810
|
-
* @param fieldNames array of the layers field names
|
|
811
|
-
* @private
|
|
812
|
-
*/
|
|
813
|
-
export declare function _templatizeDefinitionQuery(layer: any, basePath: string, fieldNames: string[]): void;
|
|
814
|
-
/**
|
|
815
|
-
* Helper function to create the name mapping used to
|
|
816
|
-
* de-templatize the field reference
|
|
817
|
-
*
|
|
818
|
-
* @param fieldInfos the object that stores the cached information
|
|
819
|
-
* @param id the id for the current layer being processed
|
|
820
|
-
* @private
|
|
821
|
-
*/
|
|
822
|
-
export declare function _getNameMapping(fieldInfos: any, id: string): any;
|
|
823
|
-
export interface IPopupInfos {
|
|
824
|
-
layers: INumberValuePair;
|
|
825
|
-
tables: INumberValuePair;
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* Helper function to ensure same chunk size value is used in multiple locations
|
|
829
|
-
*
|
|
830
|
-
* @returns a number that represents how many layers should be included per addToDef call
|
|
831
|
-
* @private
|
|
832
|
-
*/
|
|
833
|
-
export declare function _getLayerChunkSize(): number;
|