Skip to content

Commit

Permalink
fix: fix API data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Sep 25, 2023
1 parent 5784151 commit edb611f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions lib/apiContent.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { VidoConfig } from '~/utils/types-config'

export type ContentEntry = {
// eslint-disable-next-line camelcase
post_id: number
title: string
url: string
}
Expand Down
4 changes: 1 addition & 3 deletions lib/apiMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ export interface ApiMenuGroup extends ApiMenuItem {
// eslint-disable-next-line camelcase
color_line: string
// eslint-disable-next-line camelcase
style_class?: string[]
// eslint-disable-next-line camelcase
display_mode: 'large' | 'compact'
}
link: undefined
Expand Down Expand Up @@ -94,7 +92,7 @@ export interface ApiMenuCategory extends ApiMenuItem {
// eslint-disable-next-line camelcase
color_line: string
// eslint-disable-next-line camelcase
style_class: string[]
style_class?: string[]
// eslint-disable-next-line camelcase
style_merge: boolean
// eslint-disable-next-line camelcase
Expand Down

0 comments on commit edb611f

Please sign in to comment.