-
Notifications
You must be signed in to change notification settings - Fork 42
feature/2519 added previously unsupported asset subtypes (without parsing) #2520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
7359bc9
33b5253
b54ad85
e3e2a85
64c4c34
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -20,13 +20,14 @@ export default { | |||||||
| typeDescription: 'Assets from Content Builder grouped into subtypes.', | ||||||||
| typeRetrieveByDefault: [ | ||||||||
| 'asset', | ||||||||
| 'block', | ||||||||
| 'cloudpage', | ||||||||
| 'code', | ||||||||
| 'coderesource', | ||||||||
| 'textfile', | ||||||||
| 'block', | ||||||||
| 'message', | ||||||||
| 'template', | ||||||||
| 'other', | ||||||||
| 'template', | ||||||||
| 'textfile', | ||||||||
| ], | ||||||||
| typeCdpByDefault: true, | ||||||||
| typeName: 'Asset-[Subtype]', | ||||||||
|
|
@@ -548,6 +549,7 @@ export default { | |||||||
| 'image', | ||||||||
| 'message', | ||||||||
| 'other', | ||||||||
| 'package', | ||||||||
| 'rawimage', | ||||||||
| 'template', | ||||||||
| 'textfile', | ||||||||
|
|
@@ -576,7 +578,14 @@ export default { | |||||||
| 'gpg', | ||||||||
| 'archive', | ||||||||
| ], | ||||||||
| asset: ['webpage', 'webtemplate', 'jsonmessage', 'icemailformblock', 'asset'], | ||||||||
| asset: [ | ||||||||
| // 1 | ||||||||
| 'webpage', | ||||||||
| 'webtemplate', | ||||||||
| 'icemailformblock', | ||||||||
|
||||||||
| 'icemailformblock', | |
| 'icemailformblock', | |
| 'jsonmessage', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typeRetrieveByDefaultnow includescloudpage, which changes the behavior ofmcdev retrieve asset(it will pull CloudPage assets by default) and will likely break existing expectations/tests that assumed cloudpages were opt-in viaasset-cloudpage. If this is not intentional for #2519, removecloudpagefrom the default list; otherwise, update tests + PR description to reflect this breaking default-change.