Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSDoc documentation for repository #1551

Draft
wants to merge 472 commits into
base: api_docs
Choose a base branch
from

Conversation

madjin
Copy link
Collaborator

@madjin madjin commented Dec 29, 2024

Summary of Changes

This PR adds JSDoc documentation to the entire repository for improved code readability and documentation.

Summary of Modified Files

  • /home/runner/work/eliza/eliza/packages/_examples/plugin/src/actions/sampleAction.ts
  • /home/runner/work/eliza/eliza/packages/_examples/plugin/src/evaluators/sampleEvalutor.ts
  • /home/runner/work/eliza/eliza/packages/_examples/plugin/src/index.ts
  • ...

Instructions for Reviewers

Please review the changes in all modified files to ensure that the JSDoc documentation accurately reflects the code functionality and provides useful information for developers. Thank you!

@madjin madjin added automated-pr documentation Improvements or additions to documentation labels Dec 29, 2024
@madjin madjin requested review from lalalune and odilitime December 29, 2024 03:17
@odilitime
Copy link
Collaborator

Putting **/ instead of */ in some instances causing the source code not to parse. We should close this, then get that bug fixed then try again

Copy link

@luduvigo luduvigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was playing around with the repo and this PR looked very instructive, but seems far from being merge-ready 😅

* Class representing the AttachmentManager.
*/
*//**
* Create an AttachmentManager object to manage attachments.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a problem here

*
* @class
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

/**
* Class representing a Farcaster Interaction Manager.
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

* StorjProvider class for interacting with Storj IPFS API.
* @constructor
* @param {IAgentRuntime} runtime - The runtime environment.
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

* @param {WebClient} client - The WebClient instance for interacting with Slack API
* @param {MessageManager} messageManager - The message manager for handling Slack messages
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

/**
* Class representing a Telegram client for handling bot functionality.
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

* directly from the base class, it will throw an error
* instructing the developer to call it from a subclass.
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

*
* @template CacheAdapter - The type of cache adapter used by the manager.
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

* Database Adapter interface for interacting with a database.
* @interface
*/
*/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix this one

@odilitime odilitime marked this pull request as draft December 30, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automated-pr documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants