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

feature: add trpc openapi #1818

Merged
merged 1 commit into from
Jan 14, 2024
Merged

feature: add trpc openapi #1818

merged 1 commit into from
Jan 14, 2024

Conversation

manuel-rw
Copy link
Collaborator

@manuel-rw manuel-rw commented Jan 14, 2024

image
image
image

@manuel-rw manuel-rw force-pushed the feature/add-trpc-openapi branch 2 times, most recently from 21633d9 to c0c0e2a Compare January 14, 2024 12:30
@manuel-rw manuel-rw marked this pull request as ready for review January 14, 2024 12:30
@manuel-rw manuel-rw self-assigned this Jan 14, 2024
@manuel-rw manuel-rw added 📄 Docs Improvements or additions to documentation ✨ Feature A feature you'd like to be added labels Jan 14, 2024
Copy link

github-actions bot commented Jan 14, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 16.34% 4669 / 28574
🔵 Statements 16.34% 4669 / 28574
🔵 Functions 6.53% 29 / 444
🔵 Branches 37.57% 124 / 330
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/components/Manage/User/Edit/ManageUserRoles.tsx 0% 0% 0% 0% 1-64
src/components/layout/Templates/ManageLayout.tsx 0% 0% 0% 0% 1-304
src/pages/api/[...trpc].ts 0% 0% 0% 0% 1-22
src/pages/api/openapi.json.ts 0% 0% 0% 0% 1-9
src/pages/manage/tools/swagger.tsx 0% 0% 0% 0% 1-93
src/pages/manage/users/[userId]/edit.tsx 0% 0% 0% 0% 1-90
src/server/openai.ts 0% 0% 0% 0% 1-11
src/server/api/trpc.ts 79.11% 75% 0% 79.11% 42-44, 55-64, 77-84, 112-121, 136-137
src/server/api/routers/app.ts 0% 0% 0% 0% 1-88
src/server/api/routers/board.ts 0% 0% 0% 0% 1-200
src/server/api/routers/config.ts 0% 0% 0% 0% 1-254
src/server/api/routers/icon.ts 0% 0% 0% 0% 1-43
src/server/api/routers/user.ts 0% 0% 0% 0% 1-453
src/server/api/routers/invite/invite-router.ts 100% 100% 100% 100%
Generated in workflow #6172

src/server/api/routers/board.ts Outdated Show resolved Hide resolved
src/server/api/routers/board.ts Outdated Show resolved Hide resolved
src/server/api/routers/config.ts Outdated Show resolved Hide resolved
src/server/api/routers/invite/invite-router.ts Outdated Show resolved Hide resolved
src/server/api/routers/user.ts Outdated Show resolved Hide resolved
src/server/api/routers/user.ts Outdated Show resolved Hide resolved
src/server/api/routers/user.ts Outdated Show resolved Hide resolved
src/server/api/routers/user.ts Show resolved Hide resolved
src/server/api/routers/user.ts Outdated Show resolved Hide resolved
src/server/api/routers/user.ts Outdated Show resolved Hide resolved
@manuel-rw manuel-rw force-pushed the feature/add-trpc-openapi branch 3 times, most recently from 6543732 to 73c8f84 Compare January 14, 2024 20:17
Copy link
Collaborator

@Meierschlumpf Meierschlumpf left a comment

Choose a reason for hiding this comment

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

lgtm

@manuel-rw manuel-rw merged commit c701f72 into dev Jan 14, 2024
4 checks passed
@manuel-rw manuel-rw deleted the feature/add-trpc-openapi branch January 14, 2024 21:20
truecharts-admin added a commit to truecharts/charts that referenced this pull request Jan 19, 2024
…ee7babc by renovate (#17301)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/ajnart/homarr](https://togithub.com/ajnart/homarr) | patch |
`0.14.3` -> `0.14.4` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ajnart/homarr (ghcr.io/ajnart/homarr)</summary>

### [`v0.14.4`](https://togithub.com/ajnart/homarr/releases/tag/v0.14.4)

[Compare
Source](https://togithub.com/ajnart/homarr/compare/v0.14.3...v0.14.4)

#### Deeper integration in Home Assistant

Want to toggle your lights? Have a fun to switch on? Or maybe you want
to send a reminder to your family?
We've upgraded the existing entity state widget and added a new widget
that support invoking automations on your Homeassistant.
Homeassistant's vast library of integrations enable you to make complex
workflow that can be easily started with a single click from Homarr:

![294787853-80066fc3-545a-4486-80f6-eafff6c6fab3](https://togithub.com/ajnart/homarr/assets/30572287/e0b9b572-3b3c-4261-9fb2-f2dc8813fc2b)

#### Improved layout & performance for torrent widget

We've improved the layout for smaller screens and significantly cut down
the bandwidth required for the torrent widget.
This should result in less lag and faster updating on your widget.


![294015178-a7c82d43-6b6f-4eee-a578-32e0baf7f738](https://togithub.com/ajnart/homarr/assets/30572287/fc4814ac-eca3-45f1-9e58-fc3581d34a32)

#### Renaming & duplicating boards

We've heard you: boards can now be renamed / or duplicated. You don't
need to mess with any files on the filesystem.

#### JSON API

We know that there are many advanced users who want to take better
control of Homarr's capabilities.
Therefore, we've added a JSON API that can be used to execute almost any
action that you can from the WEB UI.
We provide an Open API specification document that enables you to easily
browse your API endpoints:

![296549433-8cc29984-7bfb-4238-869b-e02a48ae95e9](https://togithub.com/ajnart/homarr/assets/30572287/f3229f31-2f31-4124-86d3-f2038fa87ad0)

#### Fixed local paths in icon picker

Previously, the local icons were hard to use and had the wrong path by
default.
We have fixed this problem and added the size of the file as an
additional information.

#### Availability of media requests

[@&#8203;tancak](https://togithub.com/tancak) has contributed the
displaying of availability information on requests:

![294605516-1bd64ba4-4ba4-45f5-8539-7c69bb964694](https://togithub.com/ajnart/homarr/assets/30572287/9e2bad2d-169e-4d6d-93da-81e0b52f86a6)

##### What's Changed

- docs: updated dead installation links in README.md by
[@&#8203;stark1tty](https://togithub.com/stark1tty) in
[ajnart/homarr#1775
- refactor: improve torrent table design by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1786
- docs: fix documentation link URL after creating user by
[@&#8203;StefanB7](https://togithub.com/StefanB7) in
[ajnart/homarr#1796
- feat: add availability information about media requests by
[@&#8203;tancak](https://togithub.com/tancak) in
[ajnart/homarr#1794
- feature: trigger automations by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1799
- feature:
[#&#8203;1765](https://togithub.com/ajnart/homarr/issues/1765) reduce
transferred torrent data by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1798
- fix: database is not initialized inside the docker container by
[@&#8203;anonysoul](https://togithub.com/anonysoul) in
[ajnart/homarr#1806
- chore: increase version by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1811
- feature: improve admin security over dnshole controls by
[@&#8203;Tagaishi](https://togithub.com/Tagaishi) in
[ajnart/homarr#1686
- feature: rss improvements by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1810
- feature: board operations by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1800
- revert: [#&#8203;1714](https://togithub.com/ajnart/homarr/issues/1714)
migrate to axios.get by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1819
- chore: new Crowdin updates by
[@&#8203;ajnart](https://togithub.com/ajnart) in
[ajnart/homarr#1772
- feature: add trpc openapi by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1818
- refactor: optimize imports by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1822
- chore: New Crowdin updates by
[@&#8203;ajnart](https://togithub.com/ajnart) in
[ajnart/homarr#1820
- fix: [#&#8203;1734](https://togithub.com/ajnart/homarr/issues/1734)
fix local icons path by
[@&#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1821

#### New Contributors

- [@&#8203;stark1tty](https://togithub.com/stark1tty) made their first
contribution in
[ajnart/homarr#1775
- [@&#8203;StefanB7](https://togithub.com/StefanB7) made their first
contribution in
[ajnart/homarr#1796
- [@&#8203;tancak](https://togithub.com/tancak) made their first
contribution in
[ajnart/homarr#1794
- [@&#8203;anonysoul](https://togithub.com/anonysoul) made their first
contribution in
[ajnart/homarr#1806

**Full Changelog**:
ajnart/homarr@v0.14.3...v0.14.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuOSIsInVwZGF0ZWRJblZlciI6IjM3LjE0MC45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
GabrielBarzen pushed a commit to GabrielBarzen/charts that referenced this pull request Feb 2, 2024
…ee7babc by renovate (truecharts#17301)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [ghcr.io/ajnart/homarr](https://togithub.com/ajnart/homarr) | patch |
`0.14.3` -> `0.14.4` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>ajnart/homarr (ghcr.io/ajnart/homarr)</summary>

### [`v0.14.4`](https://togithub.com/ajnart/homarr/releases/tag/v0.14.4)

[Compare
Source](https://togithub.com/ajnart/homarr/compare/v0.14.3...v0.14.4)

#### Deeper integration in Home Assistant

Want to toggle your lights? Have a fun to switch on? Or maybe you want
to send a reminder to your family?
We've upgraded the existing entity state widget and added a new widget
that support invoking automations on your Homeassistant.
Homeassistant's vast library of integrations enable you to make complex
workflow that can be easily started with a single click from Homarr:

![294787853-80066fc3-545a-4486-80f6-eafff6c6fab3](https://togithub.com/ajnart/homarr/assets/30572287/e0b9b572-3b3c-4261-9fb2-f2dc8813fc2b)

#### Improved layout & performance for torrent widget

We've improved the layout for smaller screens and significantly cut down
the bandwidth required for the torrent widget.
This should result in less lag and faster updating on your widget.


![294015178-a7c82d43-6b6f-4eee-a578-32e0baf7f738](https://togithub.com/ajnart/homarr/assets/30572287/fc4814ac-eca3-45f1-9e58-fc3581d34a32)

#### Renaming & duplicating boards

We've heard you: boards can now be renamed / or duplicated. You don't
need to mess with any files on the filesystem.

#### JSON API

We know that there are many advanced users who want to take better
control of Homarr's capabilities.
Therefore, we've added a JSON API that can be used to execute almost any
action that you can from the WEB UI.
We provide an Open API specification document that enables you to easily
browse your API endpoints:

![296549433-8cc29984-7bfb-4238-869b-e02a48ae95e9](https://togithub.com/ajnart/homarr/assets/30572287/f3229f31-2f31-4124-86d3-f2038fa87ad0)

#### Fixed local paths in icon picker

Previously, the local icons were hard to use and had the wrong path by
default.
We have fixed this problem and added the size of the file as an
additional information.

#### Availability of media requests

[@&truecharts#8203;tancak](https://togithub.com/tancak) has contributed the
displaying of availability information on requests:

![294605516-1bd64ba4-4ba4-45f5-8539-7c69bb964694](https://togithub.com/ajnart/homarr/assets/30572287/9e2bad2d-169e-4d6d-93da-81e0b52f86a6)

##### What's Changed

- docs: updated dead installation links in README.md by
[@&truecharts#8203;stark1tty](https://togithub.com/stark1tty) in
[ajnart/homarr#1775
- refactor: improve torrent table design by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1786
- docs: fix documentation link URL after creating user by
[@&truecharts#8203;StefanB7](https://togithub.com/StefanB7) in
[ajnart/homarr#1796
- feat: add availability information about media requests by
[@&truecharts#8203;tancak](https://togithub.com/tancak) in
[ajnart/homarr#1794
- feature: trigger automations by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1799
- feature:
[#&truecharts#8203;1765](https://togithub.com/ajnart/homarr/issues/1765) reduce
transferred torrent data by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1798
- fix: database is not initialized inside the docker container by
[@&truecharts#8203;anonysoul](https://togithub.com/anonysoul) in
[ajnart/homarr#1806
- chore: increase version by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1811
- feature: improve admin security over dnshole controls by
[@&truecharts#8203;Tagaishi](https://togithub.com/Tagaishi) in
[ajnart/homarr#1686
- feature: rss improvements by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1810
- feature: board operations by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1800
- revert: [#&truecharts#8203;1714](https://togithub.com/ajnart/homarr/issues/1714)
migrate to axios.get by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1819
- chore: new Crowdin updates by
[@&truecharts#8203;ajnart](https://togithub.com/ajnart) in
[ajnart/homarr#1772
- feature: add trpc openapi by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1818
- refactor: optimize imports by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1822
- chore: New Crowdin updates by
[@&truecharts#8203;ajnart](https://togithub.com/ajnart) in
[ajnart/homarr#1820
- fix: [#&truecharts#8203;1734](https://togithub.com/ajnart/homarr/issues/1734)
fix local icons path by
[@&truecharts#8203;manuel-rw](https://togithub.com/manuel-rw) in
[ajnart/homarr#1821

#### New Contributors

- [@&truecharts#8203;stark1tty](https://togithub.com/stark1tty) made their first
contribution in
[ajnart/homarr#1775
- [@&truecharts#8203;StefanB7](https://togithub.com/StefanB7) made their first
contribution in
[ajnart/homarr#1796
- [@&truecharts#8203;tancak](https://togithub.com/tancak) made their first
contribution in
[ajnart/homarr#1794
- [@&truecharts#8203;anonysoul](https://togithub.com/anonysoul) made their first
contribution in
[ajnart/homarr#1806

**Full Changelog**:
ajnart/homarr@v0.14.3...v0.14.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 10pm on monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNDAuOSIsInVwZGF0ZWRJblZlciI6IjM3LjE0MC45IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📄 Docs Improvements or additions to documentation ✨ Feature A feature you'd like to be added
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants