mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[PR #105] [MERGED] [core] Refactor Tools and add get-feed Tool
#106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/feeddeck/feeddeck/pull/105
Author: @ricoberger
Created: 12/17/2023
Status: ✅ Merged
Merged: 12/17/2023
Merged by: @ricoberger
Base:
main← Head:core-refactor-tools-and-add-get-feed-tool📝 Commits (1)
3f49937[core] Refactor Tools and addget-feedTool📊 Changes
6 files changed (+170 additions, -116 deletions)
View changed files
📝
CONTRIBUTING.md(+12 -0)📝
supabase/functions/_cmd/cmd.ts(+5 -41)➕
supabase/functions/_cmd/tools/apple-secret-key.ts(+79 -0)📝
supabase/functions/_cmd/tools/tools.ts(+71 -70)📝
supabase/functions/_shared/feed/nitter_test.ts(+0 -2)📝
supabase/functions/_shared/feed/utils/getAndParseFeed.ts(+3 -3)📄 Description
This commit refactors the existing tools, by moving the tools logic to a new
tools.tsfile, so that the maincmd.tsfile remains clear.Besides that we also add a new tool
get-feedwhich can be used to run thegetFeedfunction from the command line. The function is called with a source and returns the generated source and items, as they are saved in the database by theadd-source-v1Supabase edge function.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.