-
Notifications
You must be signed in to change notification settings - Fork 85
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 commands for managing webhooks #314
Conversation
Size Change: +2.47 kB (0%) Total Size: 32.9 MB
|
26930fb
to
6ff99e1
Compare
import Log from '../log'; | ||
import { promptAsync } from '../prompts'; | ||
|
||
export async function prepareInputParams( |
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.
export async function prepareInputParams( | |
export async function prepareInputParamsAsync( |
} | ||
} | ||
|
||
async function fetchWebhooksByAppId(appId: string): Promise<WebhookFragment[]> { |
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.
async function fetchWebhooksByAppId(appId: string): Promise<WebhookFragment[]> { | |
async function fetchWebhooksByAppIdAsync(appId: string): Promise<WebhookFragment[]> { |
} | ||
} catch (err) { | ||
spinner.fail( | ||
`Something went wrong and we couldn't fetch the webhook list ${projectFullName}` |
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.
`Something went wrong and we couldn't fetch the webhook list ${projectFullName}` | |
`Something went wrong and we couldn't fetch the webhooks for project ${projectFullName}` |
🤔
Checklist
Why
https://github.com/expo/universe/pull/7305 added infra for webhooks management.
This PR adds a bunch of new commands for webhooks management:
webhook:create
,webhook:view
,webhook:list
,webhook:update
,webhook:delete
.How
webhook:create
.webhook:list
.webhook:view
.webhook:update
.webhook:delete
Test Plan
Tested manually.