import { ConfigurationSchema } from '@jbrowse/core/configuration' import type { Instance } from '@jbrowse/mobx-state-tree' import { BaseInternetAccountConfig } from '@jbrowse/core/pluggableElementTypes/models' const GDCConfigSchema = ConfigurationSchema( 'GDCInternetAccount', { authHeader: { description: 'custom auth header for authorization', type: 'string', defaultValue: 'X-Auth-Token', }, customEndpoint: { description: 'custom endpoint for the external token resource', type: 'string', defaultValue: '', }, }, { baseConfiguration: BaseInternetAccountConfig, explicitlyTyped: true, }, ) export type GDCInternetAccountConfigModel = typeof GDCConfigSchema export type OAuthInternetAccountConfig = Instance export default GDCConfigSchema