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

Allow publish command to output to local .json file #24

Open
pietervp opened this issue Mar 14, 2024 · 0 comments
Open

Allow publish command to output to local .json file #24

pietervp opened this issue Mar 14, 2024 · 0 comments

Comments

@pietervp
Copy link
Member

pietervp commented Mar 14, 2024

In some scenarios, people do not want to host their connector on our platform. Give them the option to output a valid json definition of the connector (including its js source) which can be loaded by SDK using this method:

https://github.com/chili-publish/studio-sdk/blob/f04fe9d44af65c9ea189b66243ce5a8c931ed8be/packages/sdk/src/controllers/ConnectorController.ts#L66

using the URL registration (they would need to host the json somewhere accessible)
https://github.com/chili-publish/studio-sdk/blob/f04fe9d44af65c9ea189b66243ce5a8c931ed8be/packages/sdk/src/types/ConnectorTypes.ts#L72

The expected JSON structure is the same as the POST endpoint consume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant