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 spreadsheet rename feature #165

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

An525ish
Copy link
Contributor

fixed : #159

This PR introduces a new feature that allows users to rename their spreadsheet sessions. The update includes modifications to the types_db.ts file to support the new name field in the swarms_spreadsheet_sessions table and adds an updateSessionName mutation for renaming sessions.

Summary of Changes

  1. Database Schema Update:

    • Added a new name field to the Row, Insert, and Update types within the swarms_spreadsheet_sessions table in types_db.ts.
  2. Mutation to Update Session Name:

    • Created an updateSessionName mutation using userProcedure to handle renaming functionality.
    • Input schema for updateSessionName includes:
      • session_id (UUID): Unique identifier for the session to be renamed.
      • name (String): New name for the session.
    • Updates the name field in the swarms_spreadsheet_sessions table where id and user_id match the provided values.

Copy link

vercel bot commented Oct 30, 2024

@An525ish is attempting to deploy a commit to the swarms Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat][add a name to your spreadsheet swarm]
1 participant