Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Nov 10, 2024
1 parent 53810ba commit 8241b28
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/models/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,17 @@ export type RecommendationItem = ExtractBizResponse<

export type ActionOperation = "contains" | "not_contains" | "eq" | "not_eq" | "gt" | "lt" | "regex"
export type ActionEntryField = "all" | "title" | "content" | "author" | "url" | "order"
export type ActionFeedField = "view" | "title" | "site_url" | "feed_url" | "category"
export type ActionFeedField =
| "view"
| "title"
| "site_url"
| "feed_url"
| "category"
| "entry_title"
| "entry_content"
| "entry_url"
| "entry_author"
| "entry_media_length"

export type MediaModel = Exclude<
ExtractBizResponse<typeof _apiClient.entries.$get>["data"],
Expand Down

0 comments on commit 8241b28

Please sign in to comment.