chore: update documentation

Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
Vitor Mattos 2025-01-03 16:58:07 -03:00
parent a139447ff0
commit 88e501a0d0
No known key found for this signature in database
GPG key ID: B7AB4B76A7CA7318
6 changed files with 20 additions and 3 deletions

View file

@ -172,6 +172,7 @@ namespace OCA\Libresign;
* statusText: string,
* nodeId: non-negative-int,
* totalPages: non-negative-int,
* size: non-negative-int,
* created_at: string,
* requested_by: array{
* userId: string,

View file

@ -835,6 +835,7 @@
"statusText",
"nodeId",
"totalPages",
"size",
"created_at",
"requested_by",
"file"
@ -870,6 +871,11 @@
"format": "int64",
"minimum": 0
},
"size": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"created_at": {
"type": "string"
},

View file

@ -739,6 +739,7 @@
"statusText",
"nodeId",
"totalPages",
"size",
"created_at",
"requested_by",
"file"
@ -774,6 +775,11 @@
"format": "int64",
"minimum": 0
},
"size": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"created_at": {
"type": "string"
},

View file

@ -1288,6 +1288,8 @@ export type components = {
nodeId: number;
/** Format: int64 */
totalPages: number;
/** Format: int64 */
size: number;
created_at: string;
requested_by: {
userId: string;

View file

@ -1142,6 +1142,8 @@ export type components = {
nodeId: number;
/** Format: int64 */
totalPages: number;
/** Format: int64 */
size: number;
created_at: string;
requested_by: {
userId: string;

View file

@ -235,6 +235,7 @@ import JSConfetti from 'js-confetti'
import axios from '@nextcloud/axios'
import { showError, showSuccess } from '@nextcloud/dialogs'
import { formatFileSize } from '@nextcloud/files'
import { loadState } from '@nextcloud/initial-state'
import { translate as t } from '@nextcloud/l10n'
import Moment from '@nextcloud/moment'
@ -245,7 +246,6 @@ import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcDialog from '@nextcloud/vue/dist/Components/NcDialog.js'
import { formatFileSize } from '@nextcloud/files'
import NcIconSvgWrapper from '@nextcloud/vue/dist/Components/NcIconSvgWrapper.js'
import NcListItem from '@nextcloud/vue/dist/Components/NcListItem.js'
import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js'
@ -312,8 +312,8 @@ export default {
return ''
},
size() {
return formatFileSize( this.document.size)
}
return formatFileSize(this.document.size)
},
},
watch: {
'$route.params.uuid'(uuid) {