feat: enhance asset handling with multi-select support and add delete asset functionality #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request updates the
Apiclass inpackages/v1-ready/frontify/api.jsto improve metadata handling and add asset management functionality. The most notable changes include more accurate mapping of custom metadata property types, enhanced processing of multi-select metadata values, and the introduction of a method for deleting assets.Metadata property type mapping improvements:
CustomMetadataPropertyTypeMultiSelectto return'multiselect'instead of'select', and forCustomMetadataPropertyTypeUrlto return'url'instead of'string', ensuring more accurate type handling.Metadata value processing enhancements:
.flatMap(), so that multi-select values generate separate entries for each selected value, improving downstream data handling.Asset management:
deleteAsset(assetId)method to allow deletion of assets by ID, expanding the API's asset management capabilities.Version
Published prerelease version:
@friggframework/api-module-frontify@2.0.0-next.13Changelog
🚀 Enhancement
@friggframework/api-module-frontify@friggframework/api-module-microsoft-teams,@friggframework/api-module-slack,@friggframework/api-module-42matters,@friggframework/api-module-asana,@friggframework/api-module-attio,@friggframework/api-module-connectwise,@friggframework/api-module-contentful,@friggframework/api-module-contentstack,@friggframework/api-module-crossbeam,@friggframework/api-module-deel,@friggframework/api-module-frigg-scale-test,@friggframework/api-module-frontify,@friggframework/api-module-google-calendar,@friggframework/api-module-google-drive,@friggframework/api-module-helpscout,@friggframework/api-module-hubspot,@friggframework/api-module-ironclad,@friggframework/api-module-linear,@friggframework/api-module-pipedrive,@friggframework/api-module-salesforce,@friggframework/api-module-stripe,@friggframework/api-module-unbabel-projects,@friggframework/api-module-unbabel,@friggframework/api-module-zoho-crm,@friggframework/api-module-zoom🐛 Bug Fix
Authors: 1