Skip to content

Commit

Permalink
fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
theorm committed Feb 25, 2025
1 parent aec6449 commit 36cdaf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/services/types/images.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ClientService } from '@feathersjs/feathers'
import { Filter, FindResponse, IImage as Image } from '../../models/index.d'

const OrderByParams = ['date', '-date']
type OrderByParam = keyof typeof OrderByParams
type OrderByParam = 'date' | '-date'
const OrderByParams = ['date', '-date'] satisfies OrderByParam[]
export const OrderByChoices: OrderByParam[] = Object.keys(OrderByParams) as OrderByParam[]

export interface FindQuery {
Expand Down
1 change: 0 additions & 1 deletion src/stores/issue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ export const useIssueStore = defineStore('issue', {
q: this.issue.uid
}
],
order_by: 'id',
limit: 500
}
})
Expand Down

0 comments on commit 36cdaf0

Please sign in to comment.