Skip to content

Commit

Permalink
Merge pull request #1393 from Accenture/bug/1068-bug-order-of-automat…
Browse files Browse the repository at this point in the history
…ion-activities-seems-to-sometimes-change-during-retrieve-or-deploy

Bug/1068 bug order of automation activities seems to sometimes change during retrieve or deploy
  • Loading branch information
JoernBerkefeld committed Jun 28, 2024
2 parents 645998c + d7d09e6 commit 745647d
Show file tree
Hide file tree
Showing 17 changed files with 60 additions and 55 deletions.
21 changes: 11 additions & 10 deletions @types/lib/metadataTypes/Asset.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,11 @@ declare class Asset extends MetadataType {
*
* @param {void | string[]} [_] parameter not used
* @param {string[]} [subTypeArr] optionally limit to a single subtype
* @param {void | string} [__] parameter not used
* @param {boolean} [loadShared] optionally retrieve assets from other BUs that were shared with the current
* @returns {Promise.<{metadata: AssetMap, type: string}>} Promise
*/
static retrieveForCache(_?: void | string[], subTypeArr?: string[], loadShared?: boolean): Promise<{
static retrieveForCache(_?: void | string[], subTypeArr?: string[], __?: void | string, loadShared?: boolean): Promise<{
metadata: AssetMap;
type: string;
}>;
Expand Down Expand Up @@ -354,9 +355,9 @@ declare class Asset extends MetadataType {
* @param {string} subType asset subtype
* @param {object} item api response for metadata
* @param {string} buName owner business unit name
* @returns {string} path to the asset's code
* @returns {Promise.<string>} path to the asset's code
*/
static "__#2@#getPath"(subType: string, item: object, buName: string): string;
static "__#2@#getPath"(subType: string, item: object, buName: string): Promise<string>;
/**
* helper for {@link Asset.resolveId} that loads the JSON file for the asset
*
Expand Down Expand Up @@ -644,14 +645,14 @@ declare namespace Asset {
isUpdateable: boolean;
retrieving: boolean;
template: boolean;
}; /**
* helper for {@link Asset.retrieve} + {@link Asset.retrieveAsTemplate}
*
* @private
* @returns {string[]} AssetSubType array
*/
};
legacyData: {
isCreateable: boolean;
isCreateable: boolean; /**
* helper for {@link Asset.retrieve} + {@link Asset.retrieveAsTemplate}
*
* @private
* @returns {string[]} AssetSubType array
*/
isUpdateable: boolean;
retrieving: boolean;
template: boolean;
Expand Down
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/Asset.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions @types/lib/metadataTypes/Automation.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -864,12 +864,6 @@ declare namespace Automation {
template: boolean;
};
'steps[].annotation': {
/**
* manages post retrieve steps
*
* @param {AutomationItem} metadata a single automation
* @returns {AutomationItem | void} parsed item
*/
isCreateable: boolean;
isUpdateable: boolean;
retrieving: boolean;
Expand Down
2 changes: 1 addition & 1 deletion @types/lib/metadataTypes/Automation.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 745647d

Please sign in to comment.