@esri/solution-common 1.3.10 → 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/completeItem.d.ts +1 -1
- package/dist/esm/completeItem.js +1 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteEmptyGroups.js +1 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteGroupIfEmpty.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionContents.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionFolder.js +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/esm/deleteHelpers/deleteSolutionItem.js +1 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/esm/deleteHelpers/reconstructBuildOrderIds.js +1 -1
- package/dist/esm/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/esm/deleteHelpers/removeItems.js +1 -1
- package/dist/esm/deleteSolution.d.ts +2 -2
- package/dist/esm/deleteSolution.js +2 -2
- package/dist/esm/dependencies.d.ts +1 -1
- package/dist/esm/dependencies.js +2 -2
- package/dist/esm/featureServiceHelpers.d.ts +99 -60
- package/dist/esm/featureServiceHelpers.js +99 -60
- package/dist/esm/featureServiceHelpers.js.map +1 -1
- package/dist/esm/generalHelpers.d.ts +34 -34
- package/dist/esm/generalHelpers.js +36 -36
- package/dist/esm/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/esm/getDeletableSolutionInfo.js +1 -1
- package/dist/esm/getSolutionSummary.d.ts +1 -1
- package/dist/esm/getSolutionSummary.js +1 -1
- package/dist/esm/interfaces.d.ts +438 -10
- package/dist/esm/interfaces.js +7 -1
- package/dist/esm/interfaces.js.map +1 -1
- package/dist/esm/libConnectors.d.ts +5 -5
- package/dist/esm/libConnectors.js +5 -5
- package/dist/esm/migrations/apply-schema.d.ts +1 -0
- package/dist/esm/migrations/apply-schema.js +1 -0
- package/dist/esm/migrations/apply-schema.js.map +1 -1
- package/dist/esm/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/esm/migrations/upgrade-three-dot-one.js +1 -0
- package/dist/esm/migrations/upgrade-three-dot-one.js.map +1 -1
- package/dist/esm/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/esm/migrations/upgrade-two-dot-seven.js +7 -0
- package/dist/esm/migrations/upgrade-two-dot-seven.js.map +1 -1
- package/dist/esm/polyfills.d.ts +2 -2
- package/dist/esm/polyfills.js +2 -2
- package/dist/esm/resourceHelpers.d.ts +11 -11
- package/dist/esm/resourceHelpers.js +11 -11
- package/dist/esm/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/esm/resources/addMetadataFromBlob.js +1 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/esm/resources/convert-item-resource-to-storage-resource.js +1 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/esm/resources/convert-storage-resource-to-item-resource.js +1 -1
- package/dist/esm/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/esm/resources/copyAssociatedFiles.js +5 -4
- package/dist/esm/resources/copyAssociatedFiles.js.map +1 -1
- package/dist/esm/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/esm/resources/copyDataIntoItem.js +2 -2
- package/dist/esm/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/esm/resources/copyMetadataIntoItem.js +1 -1
- package/dist/esm/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/esm/resources/copyResourceIntoZip.js +2 -2
- package/dist/esm/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/esm/resources/copyZipIntoItem.js +1 -1
- package/dist/esm/resources/createCopyResults.d.ts +1 -1
- package/dist/esm/resources/createCopyResults.js +1 -1
- package/dist/esm/resources/get-blob.d.ts +1 -1
- package/dist/esm/resources/get-blob.js +1 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/esm/resources/getItemResourcesFilesFromPaths.js +1 -1
- package/dist/esm/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/esm/resources/getItemResourcesPaths.js +1 -1
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js +1 -0
- package/dist/esm/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
- package/dist/esm/restHelpers.d.ts +59 -54
- package/dist/esm/restHelpers.js +55 -50
- package/dist/esm/restHelpers.js.map +1 -1
- package/dist/esm/restHelpersGet.d.ts +30 -30
- package/dist/esm/restHelpersGet.js +30 -30
- package/dist/esm/templatization.d.ts +15 -15
- package/dist/esm/templatization.js +15 -15
- package/dist/esm/trackingHelpers.d.ts +9 -9
- package/dist/esm/trackingHelpers.js +9 -9
- package/dist/esm/velocityHelpers.d.ts +4 -4
- package/dist/esm/velocityHelpers.js +4 -4
- package/dist/esm/workforceHelpers.d.ts +8 -7
- package/dist/esm/workforceHelpers.js +18 -7
- package/dist/esm/workforceHelpers.js.map +1 -1
- package/dist/node/completeItem.d.ts +1 -1
- package/dist/node/completeItem.js +1 -1
- package/dist/node/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteEmptyGroups.js +1 -1
- package/dist/node/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteGroupIfEmpty.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionContents.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionFolder.js +1 -1
- package/dist/node/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/node/deleteHelpers/deleteSolutionItem.js +1 -1
- package/dist/node/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/node/deleteHelpers/reconstructBuildOrderIds.js +1 -1
- package/dist/node/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/node/deleteHelpers/removeItems.js +1 -1
- package/dist/node/deleteSolution.d.ts +2 -2
- package/dist/node/deleteSolution.js +2 -2
- package/dist/node/dependencies.d.ts +1 -1
- package/dist/node/dependencies.js +2 -2
- package/dist/node/featureServiceHelpers.d.ts +99 -60
- package/dist/node/featureServiceHelpers.js +99 -60
- package/dist/node/featureServiceHelpers.js.map +1 -1
- package/dist/node/generalHelpers.d.ts +34 -34
- package/dist/node/generalHelpers.js +36 -36
- package/dist/node/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/node/getDeletableSolutionInfo.js +1 -1
- package/dist/node/getSolutionSummary.d.ts +1 -1
- package/dist/node/getSolutionSummary.js +1 -1
- package/dist/node/interfaces.d.ts +438 -10
- package/dist/node/interfaces.js +7 -1
- package/dist/node/interfaces.js.map +1 -1
- package/dist/node/libConnectors.d.ts +5 -5
- package/dist/node/libConnectors.js +5 -5
- package/dist/node/migrations/apply-schema.d.ts +1 -0
- package/dist/node/migrations/apply-schema.js +1 -0
- package/dist/node/migrations/apply-schema.js.map +1 -1
- package/dist/node/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/node/migrations/upgrade-three-dot-one.js +1 -0
- package/dist/node/migrations/upgrade-three-dot-one.js.map +1 -1
- package/dist/node/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/node/migrations/upgrade-two-dot-seven.js +7 -0
- package/dist/node/migrations/upgrade-two-dot-seven.js.map +1 -1
- package/dist/node/polyfills.d.ts +2 -2
- package/dist/node/polyfills.js +2 -2
- package/dist/node/resourceHelpers.d.ts +11 -11
- package/dist/node/resourceHelpers.js +11 -11
- package/dist/node/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/node/resources/addMetadataFromBlob.js +1 -1
- package/dist/node/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/node/resources/convert-item-resource-to-storage-resource.js +1 -1
- package/dist/node/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/node/resources/convert-storage-resource-to-item-resource.js +1 -1
- package/dist/node/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/node/resources/copyAssociatedFiles.js +5 -4
- package/dist/node/resources/copyAssociatedFiles.js.map +1 -1
- package/dist/node/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/node/resources/copyDataIntoItem.js +2 -2
- package/dist/node/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/node/resources/copyMetadataIntoItem.js +1 -1
- package/dist/node/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/node/resources/copyResourceIntoZip.js +2 -2
- package/dist/node/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/node/resources/copyZipIntoItem.js +1 -1
- package/dist/node/resources/createCopyResults.d.ts +1 -1
- package/dist/node/resources/createCopyResults.js +1 -1
- package/dist/node/resources/get-blob.d.ts +1 -1
- package/dist/node/resources/get-blob.js +1 -1
- package/dist/node/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/node/resources/getItemResourcesFilesFromPaths.js +1 -1
- package/dist/node/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/node/resources/getItemResourcesPaths.js +1 -1
- package/dist/node/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/node/resources/transform-resource-paths-to-solution-resources.js +1 -0
- package/dist/node/resources/transform-resource-paths-to-solution-resources.js.map +1 -1
- package/dist/node/restHelpers.d.ts +59 -54
- package/dist/node/restHelpers.js +55 -50
- package/dist/node/restHelpers.js.map +1 -1
- package/dist/node/restHelpersGet.d.ts +30 -30
- package/dist/node/restHelpersGet.js +30 -30
- package/dist/node/templatization.d.ts +15 -15
- package/dist/node/templatization.js +15 -15
- package/dist/node/trackingHelpers.d.ts +9 -9
- package/dist/node/trackingHelpers.js +9 -9
- package/dist/node/velocityHelpers.d.ts +4 -4
- package/dist/node/velocityHelpers.js +4 -4
- package/dist/node/workforceHelpers.d.ts +8 -7
- package/dist/node/workforceHelpers.js +18 -7
- package/dist/node/workforceHelpers.js.map +1 -1
- package/dist/umd/common.umd.js +399 -313
- package/dist/umd/common.umd.js.map +1 -1
- package/dist/umd/common.umd.min.js +3 -3
- package/dist/umd/common.umd.min.js.map +1 -1
- package/dist/umd/completeItem.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteEmptyGroups.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteGroupIfEmpty.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionContents.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionFolder.d.ts +1 -1
- package/dist/umd/deleteHelpers/deleteSolutionItem.d.ts +1 -1
- package/dist/umd/deleteHelpers/reconstructBuildOrderIds.d.ts +1 -1
- package/dist/umd/deleteHelpers/removeItems.d.ts +1 -1
- package/dist/umd/deleteSolution.d.ts +2 -2
- package/dist/umd/dependencies.d.ts +1 -1
- package/dist/umd/featureServiceHelpers.d.ts +99 -60
- package/dist/umd/generalHelpers.d.ts +34 -34
- package/dist/umd/getDeletableSolutionInfo.d.ts +1 -1
- package/dist/umd/getSolutionSummary.d.ts +1 -1
- package/dist/umd/interfaces.d.ts +438 -10
- package/dist/umd/libConnectors.d.ts +5 -5
- package/dist/umd/migrations/apply-schema.d.ts +1 -0
- package/dist/umd/migrations/upgrade-three-dot-one.d.ts +1 -0
- package/dist/umd/migrations/upgrade-two-dot-seven.d.ts +7 -0
- package/dist/umd/polyfills.d.ts +2 -2
- package/dist/umd/resourceHelpers.d.ts +11 -11
- package/dist/umd/resources/addMetadataFromBlob.d.ts +1 -1
- package/dist/umd/resources/convert-item-resource-to-storage-resource.d.ts +1 -1
- package/dist/umd/resources/convert-storage-resource-to-item-resource.d.ts +1 -1
- package/dist/umd/resources/copyAssociatedFiles.d.ts +4 -3
- package/dist/umd/resources/copyDataIntoItem.d.ts +2 -2
- package/dist/umd/resources/copyMetadataIntoItem.d.ts +1 -1
- package/dist/umd/resources/copyResourceIntoZip.d.ts +2 -2
- package/dist/umd/resources/copyZipIntoItem.d.ts +1 -1
- package/dist/umd/resources/createCopyResults.d.ts +1 -1
- package/dist/umd/resources/get-blob.d.ts +1 -1
- package/dist/umd/resources/getItemResourcesFilesFromPaths.d.ts +1 -1
- package/dist/umd/resources/getItemResourcesPaths.d.ts +1 -1
- package/dist/umd/resources/transform-resource-paths-to-solution-resources.d.ts +1 -0
- package/dist/umd/restHelpers.d.ts +59 -54
- package/dist/umd/restHelpersGet.d.ts +30 -30
- package/dist/umd/templatization.d.ts +15 -15
- package/dist/umd/trackingHelpers.d.ts +9 -9
- package/dist/umd/velocityHelpers.d.ts +4 -4
- package/dist/umd/workforceHelpers.d.ts +8 -7
- package/package.json +18 -17
|
@@ -24,6 +24,6 @@ import { ICompleteItem, UserSession } from "./interfaces";
|
|
|
24
24
|
*
|
|
25
25
|
* @param itemId Id of an item whose information is sought
|
|
26
26
|
* @param authentication Credentials for the request
|
|
27
|
-
* @
|
|
27
|
+
* @returns Promise that will resolve with everything known about the item
|
|
28
28
|
*/
|
|
29
29
|
export declare function getCompleteItem(itemId: string, authentication: UserSession): Promise<ICompleteItem>;
|
package/dist/esm/completeItem.js
CHANGED
|
@@ -21,7 +21,7 @@ import * as restHelpersGet from "./restHelpersGet";
|
|
|
21
21
|
*
|
|
22
22
|
* @param itemId Id of an item whose information is sought
|
|
23
23
|
* @param authentication Credentials for the request
|
|
24
|
-
* @
|
|
24
|
+
* @returns Promise that will resolve with everything known about the item
|
|
25
25
|
*/
|
|
26
26
|
export function getCompleteItem(itemId, authentication) {
|
|
27
27
|
let itemBase;
|
|
@@ -19,6 +19,6 @@ import { UserSession } from "../interfaces";
|
|
|
19
19
|
*
|
|
20
20
|
* @param groups Ids of the groups to be deleted
|
|
21
21
|
* @param authentication Credentials for the request
|
|
22
|
-
* @
|
|
22
|
+
* @returns Promise that will resolve with the list of successfully deleted groups
|
|
23
23
|
*/
|
|
24
24
|
export declare function deleteEmptyGroups(groups: string[], authentication: UserSession): Promise<string[]>;
|
|
@@ -23,7 +23,7 @@ import { deleteGroupIfEmpty } from "./deleteGroupIfEmpty";
|
|
|
23
23
|
*
|
|
24
24
|
* @param groups Ids of the groups to be deleted
|
|
25
25
|
* @param authentication Credentials for the request
|
|
26
|
-
* @
|
|
26
|
+
* @returns Promise that will resolve with the list of successfully deleted groups
|
|
27
27
|
*/
|
|
28
28
|
export function deleteEmptyGroups(groups, authentication) {
|
|
29
29
|
if (groups.length === 0) {
|
|
@@ -22,6 +22,6 @@ import { UserSession } from "../interfaces";
|
|
|
22
22
|
*
|
|
23
23
|
* @param groupId Id of the group to be deleted
|
|
24
24
|
* @param authentication Credentials for the request
|
|
25
|
-
* @
|
|
25
|
+
* @returns Promise indicating if group was deleted
|
|
26
26
|
*/
|
|
27
27
|
export declare function deleteGroupIfEmpty(groupId: string, authentication: UserSession): Promise<boolean>;
|
|
@@ -20,7 +20,7 @@ import * as portal from "@esri/arcgis-rest-portal";
|
|
|
20
20
|
*
|
|
21
21
|
* @param groupId Id of the group to be deleted
|
|
22
22
|
* @param authentication Credentials for the request
|
|
23
|
-
* @
|
|
23
|
+
* @returns Promise indicating if group was deleted
|
|
24
24
|
*/
|
|
25
25
|
export function deleteGroupIfEmpty(groupId, authentication) {
|
|
26
26
|
let username;
|
|
@@ -28,7 +28,7 @@ import { IDeleteSolutionOptions, ISolutionPrecis, UserSession } from "../interfa
|
|
|
28
28
|
* @param solutionSummary List of items in the solution that would be deleted
|
|
29
29
|
* @param authentication Credentials for the request
|
|
30
30
|
* @param options Progress reporting options
|
|
31
|
-
* @
|
|
31
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
32
32
|
* and failed deletions. Ignored items (e.g., already deleted) and items shared with more than
|
|
33
33
|
* one Solution will not be in either list.
|
|
34
34
|
* Note that Solution item and its deployment folder will only be deleted if all of its deployed
|
|
@@ -34,7 +34,7 @@ import * as reportProgress from "./reportProgress";
|
|
|
34
34
|
* @param solutionSummary List of items in the solution that would be deleted
|
|
35
35
|
* @param authentication Credentials for the request
|
|
36
36
|
* @param options Progress reporting options
|
|
37
|
-
* @
|
|
37
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
38
38
|
* and failed deletions. Ignored items (e.g., already deleted) and items shared with more than
|
|
39
39
|
* one Solution will not be in either list.
|
|
40
40
|
* Note that Solution item and its deployment folder will only be deleted if all of its deployed
|
|
@@ -23,7 +23,7 @@ import { UserSession } from "../interfaces";
|
|
|
23
23
|
* @param solutionFolderId Id of the folder of a deployed Solution
|
|
24
24
|
* @param deletedItemIds Ids in the Solution, including the Solution item; used to deal with lagging folder deletion
|
|
25
25
|
* @param authentication Credentials for the request
|
|
26
|
-
* @
|
|
26
|
+
* @returns Promise that will resolve if deletion was successful and fail if any part of it failed;
|
|
27
27
|
* if the folder has a non-Solution item, it will not be deleted, but the function will return true
|
|
28
28
|
*/
|
|
29
29
|
export declare function deleteSolutionFolder(solutionIds: string[], folderId: string, authentication: UserSession): Promise<boolean>;
|
|
@@ -21,7 +21,7 @@ import * as portal from "@esri/arcgis-rest-portal";
|
|
|
21
21
|
* @param solutionFolderId Id of the folder of a deployed Solution
|
|
22
22
|
* @param deletedItemIds Ids in the Solution, including the Solution item; used to deal with lagging folder deletion
|
|
23
23
|
* @param authentication Credentials for the request
|
|
24
|
-
* @
|
|
24
|
+
* @returns Promise that will resolve if deletion was successful and fail if any part of it failed;
|
|
25
25
|
* if the folder has a non-Solution item, it will not be deleted, but the function will return true
|
|
26
26
|
*/
|
|
27
27
|
export function deleteSolutionFolder(solutionIds, folderId, authentication) {
|
|
@@ -25,6 +25,6 @@ import { IStatusResponse, UserSession } from "../interfaces";
|
|
|
25
25
|
*
|
|
26
26
|
* @param solutionItemId Id of a deployed Solution
|
|
27
27
|
* @param authentication Credentials for the request
|
|
28
|
-
* @
|
|
28
|
+
* @returns Promise that will resolve with the status of deleting the item
|
|
29
29
|
*/
|
|
30
30
|
export declare function deleteSolutionItem(solutionItemId: string, authentication: UserSession): Promise<IStatusResponse>;
|
|
@@ -22,7 +22,7 @@ import * as restHelpers from "../restHelpers";
|
|
|
22
22
|
*
|
|
23
23
|
* @param solutionItemId Id of a deployed Solution
|
|
24
24
|
* @param authentication Credentials for the request
|
|
25
|
-
* @
|
|
25
|
+
* @returns Promise that will resolve with the status of deleting the item
|
|
26
26
|
*/
|
|
27
27
|
export function deleteSolutionItem(solutionItemId, authentication) {
|
|
28
28
|
const protectOptions = {
|
|
@@ -21,7 +21,7 @@ import { IItemTemplate } from "../interfaces";
|
|
|
21
21
|
* Reconstructs the build order of a set of templates.
|
|
22
22
|
*
|
|
23
23
|
* @param templates A collection of AGO item templates
|
|
24
|
-
* @
|
|
24
|
+
* @returns The ids of the source templates in build order, which is not necessarily the same
|
|
25
25
|
* as the build order used to create the template Solution
|
|
26
26
|
*/
|
|
27
27
|
export declare function reconstructBuildOrderIds(templates: IItemTemplate[]): string[];
|
|
@@ -19,7 +19,7 @@ import * as dependencies from "../dependencies";
|
|
|
19
19
|
* Reconstructs the build order of a set of templates.
|
|
20
20
|
*
|
|
21
21
|
* @param templates A collection of AGO item templates
|
|
22
|
-
* @
|
|
22
|
+
* @returns The ids of the source templates in build order, which is not necessarily the same
|
|
23
23
|
* as the build order used to create the template Solution
|
|
24
24
|
*/
|
|
25
25
|
export function reconstructBuildOrderIds(templates) {
|
|
@@ -28,7 +28,7 @@ import { IDeleteSolutionOptions, ISolutionPrecis, UserSession } from "../interfa
|
|
|
28
28
|
* @param solutionDeletedSummary Solution summary containing items successfully deleted
|
|
29
29
|
* @param solutionFailureSummary Solution summary containing items that could not be deleted
|
|
30
30
|
* @param deleteOptions Reporting options
|
|
31
|
-
* @
|
|
31
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
32
32
|
* and failed deletions. Ignored items (e.g., already deleted) will not be in either list.
|
|
33
33
|
*/
|
|
34
34
|
export declare function removeItems(solutionSummary: ISolutionPrecis, hubSiteItemIds: string[], authentication: UserSession, percentDone: number, progressPercentStep: number, deleteOptions?: IDeleteSolutionOptions): Promise<ISolutionPrecis[]>;
|
|
@@ -34,7 +34,7 @@ import { createHubRequestOptions } from "../create-hub-request-options";
|
|
|
34
34
|
* @param solutionDeletedSummary Solution summary containing items successfully deleted
|
|
35
35
|
* @param solutionFailureSummary Solution summary containing items that could not be deleted
|
|
36
36
|
* @param deleteOptions Reporting options
|
|
37
|
-
* @
|
|
37
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
38
38
|
* and failed deletions. Ignored items (e.g., already deleted) will not be in either list.
|
|
39
39
|
*/
|
|
40
40
|
export function removeItems(solutionSummary, hubSiteItemIds, authentication, percentDone, progressPercentStep, deleteOptions = {}) {
|
|
@@ -27,7 +27,7 @@ import { IDeleteSolutionOptions, IItemTemplate, ISolutionPrecis, UserSession } f
|
|
|
27
27
|
* @param solutionItemId Id of a deployed Solution
|
|
28
28
|
* @param authentication Credentials for the request
|
|
29
29
|
* @param options Progress reporting options
|
|
30
|
-
* @
|
|
30
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
31
31
|
* and failed deletions. Ignored items (e.g., already deleted) and items shared with more than
|
|
32
32
|
* one Solution will not be in either list.
|
|
33
33
|
* Note that Solution item and its deployment folder will only be deleted if all of its deployed
|
|
@@ -45,7 +45,7 @@ export declare function deleteSolution(solutionItemId: string, authentication: U
|
|
|
45
45
|
* @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
|
|
46
46
|
* @param authentication Credentials for the request
|
|
47
47
|
* @param options Progress reporting options
|
|
48
|
-
* @
|
|
48
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
49
49
|
* and failed deletions. Ignored items (e.g., already deleted) and items shared with more than
|
|
50
50
|
* one Solution will not be in either list.
|
|
51
51
|
* Note that Solution item and its deployment folder will only be deleted if all of its deployed
|
|
@@ -23,7 +23,7 @@ import * as getDeletableSolutionInfo from "./getDeletableSolutionInfo";
|
|
|
23
23
|
* @param solutionItemId Id of a deployed Solution
|
|
24
24
|
* @param authentication Credentials for the request
|
|
25
25
|
* @param options Progress reporting options
|
|
26
|
-
* @
|
|
26
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
27
27
|
* and failed deletions. Ignored items (e.g., already deleted) and items shared with more than
|
|
28
28
|
* one Solution will not be in either list.
|
|
29
29
|
* Note that Solution item and its deployment folder will only be deleted if all of its deployed
|
|
@@ -50,7 +50,7 @@ export function deleteSolution(solutionItemId, authentication, options) {
|
|
|
50
50
|
* @param templateDictionary Hash of facts: folder id, org URL, adlib replacements
|
|
51
51
|
* @param authentication Credentials for the request
|
|
52
52
|
* @param options Progress reporting options
|
|
53
|
-
* @
|
|
53
|
+
* @returns Promise that will resolve with a list of two solution summaries: successful deletions
|
|
54
54
|
* and failed deletions. Ignored items (e.g., already deleted) and items shared with more than
|
|
55
55
|
* one Solution will not be in either list.
|
|
56
56
|
* Note that Solution item and its deployment folder will only be deleted if all of its deployed
|
|
@@ -18,7 +18,7 @@ import { IBuildOrdering, IItemTemplate } from "./interfaces";
|
|
|
18
18
|
* Topologically sorts a list of items into a build list.
|
|
19
19
|
*
|
|
20
20
|
* @param templates A collection of AGO item templates
|
|
21
|
-
* @
|
|
21
|
+
* @returns An object containing three parts: a list of ids of items in the order in which they need to be built
|
|
22
22
|
* so that dependencies are built before items that require those dependencies, a list of item ids found in a
|
|
23
23
|
* template's dependencies but not present in the supplied list of templates, and a dictionary containing items
|
|
24
24
|
* that need to be post-processed due to dependency cycles.
|
package/dist/esm/dependencies.js
CHANGED
|
@@ -25,7 +25,7 @@ import { findTemplateInList } from "./templatization";
|
|
|
25
25
|
* Topologically sorts a list of items into a build list.
|
|
26
26
|
*
|
|
27
27
|
* @param templates A collection of AGO item templates
|
|
28
|
-
* @
|
|
28
|
+
* @returns An object containing three parts: a list of ids of items in the order in which they need to be built
|
|
29
29
|
* so that dependencies are built before items that require those dependencies, a list of item ids found in a
|
|
30
30
|
* template's dependencies but not present in the supplied list of templates, and a dictionary containing items
|
|
31
31
|
* that need to be post-processed due to dependency cycles.
|
|
@@ -153,7 +153,7 @@ export function topologicallySortItems(templates) {
|
|
|
153
153
|
/**
|
|
154
154
|
* A visit flag used in the topological sort algorithm.
|
|
155
155
|
*
|
|
156
|
-
* @
|
|
156
|
+
* @private
|
|
157
157
|
*/
|
|
158
158
|
var ESortVisitState;
|
|
159
159
|
(function (ESortVisitState) {
|