generated from alphane/template
Updates
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import http from "@/api/http-client"
|
||||
import { type FiltersOptions, type ModelOrder, type Policy, type WhereOptions } from "@/api/base-api"
|
||||
import {
|
||||
type FiltersOptions,
|
||||
type ModelOrder,
|
||||
type Policy,
|
||||
type WhereOptions,
|
||||
} from "@/api/base-api"
|
||||
|
||||
export type FlashcardDeck = {
|
||||
id: number
|
||||
|
||||
@@ -1,18 +1,22 @@
|
||||
import http from "@/api/http-client"
|
||||
import { type FiltersOptions, type ModelOrder, type Policy, type WhereOptions } from "@/api/base-api"
|
||||
import {
|
||||
type FiltersOptions,
|
||||
type ModelOrder,
|
||||
type Policy,
|
||||
type WhereOptions,
|
||||
} from "@/api/base-api"
|
||||
|
||||
export type Flashcard = {
|
||||
id: number
|
||||
flashcardDeckId: number
|
||||
creatorId: number
|
||||
cardType: string
|
||||
front: string
|
||||
back: string | null
|
||||
back: string
|
||||
createdAt: string
|
||||
updatedAt: string
|
||||
}
|
||||
|
||||
export type FlashcardWhereOptions = WhereOptions<Flashcard, "flashcardDeckId" | "creatorId" | "cardType">
|
||||
export type FlashcardWhereOptions = WhereOptions<Flashcard, "flashcardDeckId" | "creatorId">
|
||||
|
||||
export type FlashcardFiltersOptions = FiltersOptions<{
|
||||
search: string | string[]
|
||||
|
||||
Reference in New Issue
Block a user