style: auto-fix lint and format
This commit is contained in:
1 parent
d33ed20149
commit
af1ae122ba
2 files changed
+5
-1
No files matched your search
@@ -54,7 +54,9 @@ export const releasesRouter = createTRPCRouter({
|
|||||||
await throwIfActionForbiddenAsync(ctx, eq(boards.id, item.boardId), "view");
|
await throwIfActionForbiddenAsync(ctx, eq(boards.id, item.boardId), "view");
|
||||||
|
|
||||||
const options = SuperJSON.parse<Record<string, unknown>>(item.options);
|
const options = SuperJSON.parse<Record<string, unknown>>(item.options);
|
||||||
const repos = options.repositories as Array<{ provider?: string; identifier: string; providerUrl?: string }> | undefined;
|
const repos = options.repositories as
|
||||||
|
| Array<{ provider?: string; identifier: string; providerUrl?: string }>
|
||||||
|
| undefined;
|
||||||
if (repos) {
|
if (repos) {
|
||||||
for (const repo of repos) {
|
for (const repo of repos) {
|
||||||
if (repo.provider && repo.identifier) {
|
if (repo.provider && repo.identifier) {
|
||||||
|
|||||||
@@ -184,6 +184,7 @@ export type HomarrDocumentationPath =
|
|||||||
| "/docs/integrations/opnsense"
|
| "/docs/integrations/opnsense"
|
||||||
| "/docs/integrations/overseerr"
|
| "/docs/integrations/overseerr"
|
||||||
| "/docs/integrations/paperless-ngx"
|
| "/docs/integrations/paperless-ngx"
|
||||||
|
| "/docs/integrations/patchmon"
|
||||||
| "/docs/integrations/peanut"
|
| "/docs/integrations/peanut"
|
||||||
| "/docs/integrations/pi-hole"
|
| "/docs/integrations/pi-hole"
|
||||||
| "/docs/integrations/plex"
|
| "/docs/integrations/plex"
|
||||||
@@ -256,6 +257,7 @@ export type HomarrDocumentationPath =
|
|||||||
| "/docs/widgets/notebook"
|
| "/docs/widgets/notebook"
|
||||||
| "/docs/widgets/notifications"
|
| "/docs/widgets/notifications"
|
||||||
| "/docs/widgets/paperless-ngx"
|
| "/docs/widgets/paperless-ngx"
|
||||||
|
| "/docs/widgets/patchmon"
|
||||||
| "/docs/widgets/releases"
|
| "/docs/widgets/releases"
|
||||||
| "/docs/widgets/rss-feed"
|
| "/docs/widgets/rss-feed"
|
||||||
| "/docs/widgets/smart-home-entity-state"
|
| "/docs/widgets/smart-home-entity-state"
|
||||||
|
|||||||
Reference in new issue
Block a user