このコミットが含まれているのは:
@@ -88,12 +88,26 @@ export type MaterialIndexSort =
|
||||
|
||||
export type MaterialIndexTagState = 'all' | 'tagged' | 'untagged'
|
||||
|
||||
export type MaterialIndexGroupBy = 'none' | 'parent_tag'
|
||||
|
||||
export type MaterialIndexView = 'card' | 'list'
|
||||
|
||||
export type MaterialTagScope = {
|
||||
tag: {
|
||||
id: number
|
||||
name: string
|
||||
category: Category
|
||||
}
|
||||
includeDescendants: boolean
|
||||
}
|
||||
|
||||
export type FetchMaterialsParams = {
|
||||
q: string
|
||||
tagState: MaterialIndexTagState
|
||||
mediaKind: MaterialIndexMediaKind
|
||||
tagId: number | null
|
||||
includeDescendants: boolean
|
||||
groupBy: MaterialIndexGroupBy
|
||||
createdFrom: string
|
||||
createdTo: string
|
||||
updatedFrom: string
|
||||
@@ -170,6 +184,23 @@ export type MaterialExportItem = {
|
||||
exportPath: string
|
||||
enabled: boolean }
|
||||
|
||||
export type MaterialIndexGroup = {
|
||||
key: string
|
||||
tag: {
|
||||
id: number
|
||||
name: string
|
||||
category: Category
|
||||
}
|
||||
materialIds: number[]
|
||||
count: number }
|
||||
|
||||
export type MaterialIndexResponse = {
|
||||
materials: Material[]
|
||||
count: number
|
||||
groups?: MaterialIndexGroup[]
|
||||
tagScope?: MaterialTagScope | null
|
||||
}
|
||||
|
||||
export type MaterialVersion = {
|
||||
id: number
|
||||
materialId: number
|
||||
|
||||
新しい課題から参照
ユーザをブロックする