1.0.3 • Published 2 months ago
@team-falkor/shared-types v1.0.3
Falkor Shared Types
This package contains shared TypeScript type definitions used across all Falkor projects. It ensures type consistency and provides a single source of truth for common interfaces and types used throughout the Falkor ecosystem.
Features
- Centralized Type Definitions: Single source of truth for all shared types
- Plugin System Types: Complete type definitions for the plugin system
- TypeScript Support: Full TypeScript support with type declarations
- Cross-Project Compatibility: Ensures type consistency across all Falkor projects
Installation
pnpm install @falkor/shared-types
# or
npm install @falkor/shared-types
# or
yarn add @falkor/shared-types
# or
bun add @falkor/shared-types
Usage
Import the types you need in your TypeScript files:
import { PluginConfig, SearchResult } from "@falkor/shared-types";
// Use the types in your code
const config: PluginConfig = {
// Your plugin configuration
};
Available Types
The package includes type definitions for:
- Plugin System
- Plugin Configuration
- Search Handlers
- Return Types
- Core Types
- API Responses
- Common Interfaces
- Utility Types
For detailed type documentation, please refer to the source files in the src
directory.
Contributing
Contributions are welcome! If you have suggestions for new types or improvements to existing ones, please feel free to submit a pull request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-type
) - Commit your changes (
git commit -m 'Add some amazing type'
) - Push to the branch (
git push origin feature/amazing-type
) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.