chore: remove replicated types

pull/9940/head
Joel 2 years ago
parent 5fddb23516
commit 583b0e9f97

@ -88,20 +88,20 @@ export type PluginDetail = {
} }
export type Plugin = { export type Plugin = {
'type': PluginType type: PluginType
'org': string org: string
'name': string name: string
'version': string version: string
'latest_version': string latest_version: string
'icon': string icon: string
'label': Record<Locale, string> label: Record<Locale, string>
'brief': Record<Locale, string> brief: Record<Locale, string>
// Repo readme.md content // Repo readme.md content
'introduction': string introduction: string
'repository': string repository: string
'category': string category: string
'install_count': number install_count: number
'endpoint': { endpoint: {
settings: CredentialFormSchemaBase[] settings: CredentialFormSchemaBase[]
} }
} }
@ -117,13 +117,6 @@ export type Permissions = {
canDebugger: PermissionType canDebugger: PermissionType
} }
export enum InstallStep {
url = 'url',
version = 'version',
package = 'package',
installed = 'installed'
}
// endpoint // endpoint
export type CreateEndpointRequest = { export type CreateEndpointRequest = {
plugin_unique_identifier: string plugin_unique_identifier: string

Loading…
Cancel
Save