We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This component is dedicated to manage an oauth consumer.
This component will be split into 2 components:
cc-oauth-consumer-form
cc-oauth-consumer
state
Object
{ type: 'loading' }
true
xxx
Yyyy
null
cc-oauth-consumer-form:create
cc-oauth-consumer-form:update
cc-oauth-consumer-form:delete
export type OAuthConsumerFormState = | OAuthConsumerFormStateIdleCreate | OAuthConsumerFormStateCreating | OAuthConsumerFormStateIdleUpdate | OAuthConsumerFormStateUpdating | OAuthConsumerFormStateDeleting | OAuthConsumerFormLoading | OAuthConsumerFormStateError; export interface OAuthConsumerFormStateIdleCreate { type: 'idle-create'; } export interface OAuthConsumerFormStateCreating { type: 'creating'; } export interface OAuthConsumerFormStateIdleUpdate { type: 'idle-update'; values?: { name: string; homePageUrl: string; appBaseUrl: string; description: string; image: string; rights: Array<Right>; }; } export interface OAuthConsumerFormStateUpdating { type: 'updating'; values?: { name: string; homePageUrl: string; appBaseUrl: string; description: string; image: string; rights: Array<Right>; }; } export interface OAuthConsumerFormStateDeleting { type: 'deleting'; values?: { name: string; homePageUrl: string; appBaseUrl: string; description: string; image: string; rights: Array<Right>; }; } export interface OAuthConsumerFormLoading { type: 'loading'; } export interface OAuthConsumerFormStateError { type: 'error'; } export interface NewOauthConsumer { name: string; homePageUrl: string; appBaseUrl: string; description: string; image: string; rights: Array<Right>; } interface Right { value: string; isEnable: boolean; }
GET api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
CREATE api.clever-cloud.com/v2/organisations/{orga_id}/consumers
PUT api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
DELETE api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Context
This component is dedicated to manage an oauth consumer.
To be discussed
Technical details
This component will be split into 2 components:
cc-oauth-consumer-form
: a component with a form for the creation and edition of an oauth consumer,cc-oauth-consumer
: a component displaying oauth consumer information.Inputs
Attributes/properties
state
Object
{ type: 'loading' }
true
CSS custom property
xxx
Yyyy
null
CSS part
xxx
Outputs
cc-oauth-consumer-form:create
Yyyy
cc-oauth-consumer-form:update
Yyyy
cc-oauth-consumer-form:delete
Yyyy
Type Definitions
Data/APIs
GET api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
CREATE api.clever-cloud.com/v2/organisations/{orga_id}/consumers
PUT api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
DELETE api.clever-cloud.com/v2/organisations/{orga_id}/consumers/{key}
Stories & states
UX writing & i18n
TO DO
The text was updated successfully, but these errors were encountered: