File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
src/components/validation Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -68,24 +68,12 @@ import {
6868} from ' @mdi/js'
6969import { buildStatusMap } from ' ../../utils/fileStatus.js'
7070import type { components } from ' ../../types/openapi/openapi'
71+ import type { ValidationFileRecord } from ' ../../types/index'
7172
72- type OpenApiNextcloudFile = components [' schemas' ][' DetailedFileResponse' ]
73- type OpenApiSigner = components [' schemas' ][' SignerDetail' ]
7473type ProgressFile = components [' schemas' ][' ProgressFile' ]
7574type ProgressState = components [' schemas' ][' ProgressPayload' ]
7675
77- type ValidationDocument = {
78- id? : OpenApiNextcloudFile [' id' ] | string | number
79- nodeType? : OpenApiNextcloudFile [' nodeType' ] | string
80- files? : Array <{
81- id? : OpenApiNextcloudFile [' id' ] | string | number
82- name? : OpenApiNextcloudFile [' name' ]
83- status? : OpenApiNextcloudFile [' status' ] | string | number
84- }>
85- signers? : Array <{
86- signed? : OpenApiSigner [' signed' ] | boolean | Array <unknown >
87- }>
88- }
76+ type ValidationDocument = Partial <Pick <ValidationFileRecord , ' nodeType' | ' files' | ' signers' >>
8977
9078type StatusMeta = {
9179 label: string
You can’t perform that action at this time.
0 commit comments