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
Satellite api keys frontend #1039
Conversation
import apollo from '@/utils/apolloManager'; | ||
import gql from 'graphql-tag'; | ||
|
||
export async function fetchAPIKeys(projectID: string) { |
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.
add return type for fetchAPIKeys function
import gql from 'graphql-tag'; | ||
|
||
export async function fetchAPIKeys(projectID: string) { | ||
let result: RequestResponse<any[]> = { |
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.
RequestResponse
create type api key
return result; | ||
} | ||
|
||
export async function createAPIKey(projectID: string, name: string) { |
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.
add return type
onClearSelection: function () { | ||
|
||
} | ||
let selectedKeys: any[] = this.$store.getters.selectedAPIKeys; |
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.
let selectedKeys: ApiKey[]
create api key type
No description provided.