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

Add organization parameters to Phylum object #1532

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

maxrake
Copy link
Contributor

@maxrake maxrake commented Nov 6, 2024

Overview

This change fixes an oversight from when org support was first added to the extension API. The new organization parameters were added to extensions/phylum.d.ts but not exposed for consumers in cli/js/api.js.

See commit f890fea or PR #1490

Testing

The changes from this PR were confirmed to work by using them in the ci extension for phylum-ci (after updating it to account for organizations).

Additional Information

A review of the default and community extensions revealed only one use of one of these changed API calls:

This change fixes an oversight from when org support was first added to
the extension API. The new `organization` parameters were added to
`extensions/phylum.d.ts` but not exposed for consumers in
`cli/js/api.js`.

[See commit `f890fea`](f890fea)
or #1490

Additionally, a review of the default and community extensions revealed
only one use of one of these changed API calls:

* `snyk-import`, for `createProject`
  * https://github.com/phylum-dev/community-extensions/blob/4c878e27930a9cdd332d65b066e514b778ef9a9a/snyk-import/main.ts#L69
@maxrake maxrake merged commit c5d1584 into main Nov 6, 2024
17 checks passed
@maxrake maxrake deleted the add_org_to_api branch November 6, 2024 18:27
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