| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
- Add type hints when retrieving plugins through IDE auto-completion - Enable built-in maxGraph plugin IDs to be suggested in development - Improve developer experience when working with the plugin system
WalkthroughThe changes introduce two new TypeScript type aliases, BuiltinPluginId and PluginId, to enumerate and type plugin identifiers more precisely. The pluginId property in the GraphPluginConstructor interface and the id parameter in the getPlugin method are updated to use the new PluginId type, enforcing stricter typing for plugin IDs. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant AbstractGraph
participant Plugin
Client->>AbstractGraph: getPlugin(pluginId: PluginId)
AbstractGraph->>Plugin: Retrieve plugin instance by PluginId
AbstractGraph-->>Client: Return plugin instance (typed as T)
📜 Recent review details Configuration used: CodeRabbit UI Reviewing files that changed from the base of the PR and between e8895fb and f05cf06. 📒 Files selected for processing (2)
packages/core/src/types.ts (2)⏰ Context from checks skipped due to timeout of 90000ms (2)
packages/core/src/types.ts (3)✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. ❤️ Share 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (.coderabbit.yaml)
Documentation and Community
|
Sorry, something went wrong.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary by CodeRabbit