Skip to content

Commit

Permalink
feat: remove actions field category
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jun 12, 2024
1 parent e191ab1 commit 8a14dbb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/renderer/src/components/settings/action-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Operation =
| "lt"
| "regex"
type EntryField = "all" | "title" | "content" | "author" | "link" | "order"
type FeedField = "view" | "title" | "category" | "site_url" | "feed_url"
type FeedField = "view" | "title" | "site_url" | "feed_url"

type ActionsInput = {
name: string
Expand Down
8 changes: 4 additions & 4 deletions src/renderer/src/hono.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ declare const routes: hono_hono_base.HonoBase<hono.Env, {
name: string;
condition: {
value: string;
field: "title" | "view" | "category" | "site_url" | "feed_url";
field: "title" | "view" | "site_url" | "feed_url";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
}[];
result: {
Expand Down Expand Up @@ -43,7 +43,7 @@ declare const routes: hono_hono_base.HonoBase<hono.Env, {
name: string;
condition: {
value: string;
field: "title" | "view" | "category" | "site_url" | "feed_url";
field: "title" | "view" | "site_url" | "feed_url";
operator: "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex";
}[];
result: {
Expand Down Expand Up @@ -238,9 +238,9 @@ declare const routes: hono_hono_base.HonoBase<hono.Env, {
subscription?: {
title: string | null;
view: number;
category: string | null;
userId: string;
feedId: string;
category: string | null;
isPrivate: boolean | null;
} | undefined;
};
Expand Down Expand Up @@ -527,7 +527,6 @@ declare const routes: hono_hono_base.HonoBase<hono.Env, {
data: {
title: string | null;
view: number;
category: string | null;
userId: string;
feeds: {
description: string | null;
Expand All @@ -545,6 +544,7 @@ declare const routes: hono_hono_base.HonoBase<hono.Env, {
errorAt: string | null;
};
feedId: string;
category: string | null;
isPrivate: boolean | null;
}[];
};
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/settings/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { toast } from "sonner"

type Operation = "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"
type EntryField = "all" | "title" | "content" | "author" | "link" | "order"
type FeedField = "view" | "title" | "category" | "site_url" | "feed_url"
type FeedField = "view" | "title" | "site_url" | "feed_url"

type ActionsInput = {
name: string
Expand Down

0 comments on commit 8a14dbb

Please sign in to comment.