[PR #468] [MERGED] Migrate restapi to restsdk #485

Closed
opened 2026-03-03 11:30:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/468
Author: @jagadeesh507
Created: 10/8/2025
Status: Merged
Merged: 10/9/2025
Merged by: @pavanbhaskardev

Base: mainHead: migrate-restapi-to-restsdk


📝 Commits (8)

  • 13bcab2 feat: add PayloadSDK integration with Config interface and initialize dFlowRestSdk
  • 5677f28 fix: update layout of RadioGroup in multiple service components for better responsiveness
  • e0ab953 refactor: replace axios with dFlowRestSdk for GitHub and template actions
  • c40a253 refactor: migrate VpsPlan type usage to restSDK and update related components
  • ddf909c refactor: replace fetch with dFlowRestSdk in fetchBeszelTemplate and update type annotations
  • 15be978 refactor: update template fetching to use dFlowRestSdk and handle optional chaining
  • 04fd754 refactor: remove unused User interface and clean up Config type structure
  • 1b943b7 refactor: replace axios with dFlowRestSdk for user and template fetching in monitoring queue

📊 Changes

25 files changed (+564 additions, -174 deletions)

View changed files

📝 package.json (+1 -0)
📝 pnpm-lock.yaml (+70 -0)
📝 src/actions/backups/index.ts (+2 -2)
📝 src/actions/beszel/utils.ts (+16 -14)
📝 src/actions/cloud/dFlow/index.ts (+44 -40)
📝 src/actions/github/index.ts (+7 -7)
📝 src/actions/templates/index.ts (+52 -46)
📝 src/app/(frontend)/(dashboard)/[organisation]/templates/page.tsx (+4 -7)
📝 src/components/servers/ServerForm.tsx (+1 -1)
📝 src/components/servers/dflowVpsForm/DflowVpsFormContainer.tsx (+1 -1)
📝 src/components/servers/dflowVpsForm/DflowVpsFormProvider.tsx (+1 -1)
📝 src/components/servers/dflowVpsForm/HeaderSection.tsx (+2 -2)
📝 src/components/servers/dflowVpsForm/SpecificationsSection.tsx (+11 -11)
📝 src/components/servers/dflowVpsForm/TrafficSection.tsx (+3 -3)
📝 src/components/templates/DeployTemplate.tsx (+13 -9)
📝 src/components/templates/TemplateCard.tsx (+6 -1)
📝 src/components/templates/compose/git/AddAzureDevopsService.tsx (+1 -1)
📝 src/components/templates/compose/git/AddBitbucketService.tsx (+1 -1)
📝 src/components/templates/compose/git/AddGiteaService.tsx (+1 -1)
📝 src/components/templates/compose/git/AddGithubService.tsx (+1 -1)

...and 5 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dflow-sh/dflow/pull/468 **Author:** [@jagadeesh507](https://github.com/jagadeesh507) **Created:** 10/8/2025 **Status:** ✅ Merged **Merged:** 10/9/2025 **Merged by:** [@pavanbhaskardev](https://github.com/pavanbhaskardev) **Base:** `main` ← **Head:** `migrate-restapi-to-restsdk` --- ### 📝 Commits (8) - [`13bcab2`](https://github.com/dflow-sh/dflow/commit/13bcab233c567f4b236bc59daf066ad8e80a915d) feat: add PayloadSDK integration with Config interface and initialize dFlowRestSdk - [`5677f28`](https://github.com/dflow-sh/dflow/commit/5677f28439be167f7c8d50c86ec9e7d90def232b) fix: update layout of RadioGroup in multiple service components for better responsiveness - [`e0ab953`](https://github.com/dflow-sh/dflow/commit/e0ab9535685eb634b78998cced028de47b655c0a) refactor: replace axios with dFlowRestSdk for GitHub and template actions - [`c40a253`](https://github.com/dflow-sh/dflow/commit/c40a253a436188e66e830b593fd0533d8ae0d2ae) refactor: migrate VpsPlan type usage to restSDK and update related components - [`ddf909c`](https://github.com/dflow-sh/dflow/commit/ddf909c14a1f3ec9bcda9b58ab02a893e41a527c) refactor: replace fetch with dFlowRestSdk in fetchBeszelTemplate and update type annotations - [`15be978`](https://github.com/dflow-sh/dflow/commit/15be978f51c01f5e817c9843216648b1518b360c) refactor: update template fetching to use dFlowRestSdk and handle optional chaining - [`04fd754`](https://github.com/dflow-sh/dflow/commit/04fd75423c555a9992e7f5d22663247eef5089cf) refactor: remove unused User interface and clean up Config type structure - [`1b943b7`](https://github.com/dflow-sh/dflow/commit/1b943b7b7ce2c673ee7ee7d80974e7b04d0436f7) refactor: replace axios with dFlowRestSdk for user and template fetching in monitoring queue ### 📊 Changes **25 files changed** (+564 additions, -174 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -0) 📝 `pnpm-lock.yaml` (+70 -0) 📝 `src/actions/backups/index.ts` (+2 -2) 📝 `src/actions/beszel/utils.ts` (+16 -14) 📝 `src/actions/cloud/dFlow/index.ts` (+44 -40) 📝 `src/actions/github/index.ts` (+7 -7) 📝 `src/actions/templates/index.ts` (+52 -46) 📝 `src/app/(frontend)/(dashboard)/[organisation]/templates/page.tsx` (+4 -7) 📝 `src/components/servers/ServerForm.tsx` (+1 -1) 📝 `src/components/servers/dflowVpsForm/DflowVpsFormContainer.tsx` (+1 -1) 📝 `src/components/servers/dflowVpsForm/DflowVpsFormProvider.tsx` (+1 -1) 📝 `src/components/servers/dflowVpsForm/HeaderSection.tsx` (+2 -2) 📝 `src/components/servers/dflowVpsForm/SpecificationsSection.tsx` (+11 -11) 📝 `src/components/servers/dflowVpsForm/TrafficSection.tsx` (+3 -3) 📝 `src/components/templates/DeployTemplate.tsx` (+13 -9) 📝 `src/components/templates/TemplateCard.tsx` (+6 -1) 📝 `src/components/templates/compose/git/AddAzureDevopsService.tsx` (+1 -1) 📝 `src/components/templates/compose/git/AddBitbucketService.tsx` (+1 -1) 📝 `src/components/templates/compose/git/AddGiteaService.tsx` (+1 -1) 📝 `src/components/templates/compose/git/AddGithubService.tsx` (+1 -1) _...and 5 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:30:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#485
No description provided.