Skip to content
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

Enable api js and element js for the same extension #919

Merged
merged 21 commits into from
Oct 10, 2023

Conversation

nielslyngsoe
Copy link
Member

@nielslyngsoe nielslyngsoe commented Oct 5, 2023

Enable an Extension to both bring a Element and an API.

Change log:

  • change 'class' property to 'api'
  • move class/api to root of manifest.
  • enable named exports, either element export for elements and ´api´ export for APIs.
  • enable multiple js prop. having one path for Element File, in 'elementJs' and another path for API JS in 'apiJs'.

@nielslyngsoe nielslyngsoe marked this pull request as ready for review October 9, 2023 14:04
…on-for-element-and-api-js

# Conflicts:
#	src/packages/core/collection/collection-selection-actions.element.ts
#	src/packages/core/workspace/workspace-action/workspace-action.element.ts
…on-for-element-and-api-js

# Conflicts:
#	src/packages/user/user/collection/views/table/user-collection-table-view.element.ts
Copy link
Contributor

@madsrasmussen madsrasmussen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, everything looks good to me. I have left two smaller comments.

Do we have some documentation we need to update with these changes?

Update:
We will update docs for the next preview release, so we don't have documentation now that doesn't work for the current preview release.

@nielslyngsoe nielslyngsoe merged commit 4cc2418 into main Oct 10, 2023
6 checks passed
@nielslyngsoe nielslyngsoe deleted the feature/differentiation-for-element-and-api-js branch October 10, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants