25 lines
576 B
TypeScript
25 lines
576 B
TypeScript
/**
|
|
* API Key Management Library
|
|
*
|
|
* Centralized utilities for API key validation, storage, and management
|
|
* Used across demo pages and components
|
|
*/
|
|
|
|
// Constants
|
|
export { API_KEY_STORAGE_KEY, API_BASE_URL, API_ENDPOINTS } from './constants';
|
|
|
|
// Types
|
|
export type {
|
|
ApiKeyInfo,
|
|
ApiInfoResponse,
|
|
ValidationResult,
|
|
ApiKeyContextValue,
|
|
ApiKeyProviderProps,
|
|
} from './types';
|
|
|
|
// Validation utilities
|
|
export { validateApiKeyRequest, parseKeyInfo } from './validation';
|
|
|
|
// Storage utilities
|
|
export { getStoredKey, setStoredKey, clearStoredKey } from './storage';
|