UNPKG

gaunt-sloth-assistant

Version:

[![Tests and Lint](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [![Integration Tests](https://github.co

22 lines (21 loc) 541 B
export interface ProviderConfig { username?: string; token?: string; baseUrl?: string; [key: string]: unknown; } export interface JiraLegacyConfig extends ProviderConfig { username: string; baseUrl: string; displayUrl?: string; token: string; } export interface JiraConfig extends ProviderConfig { cloudId: string; username: string; displayUrl?: string; token: string; } export interface Provider { get: (config: ProviderConfig | null, id: string | undefined) => Promise<string | null>; }