Skip to content

Commit bd42c67

Browse files
committed
refactor: keep sign pdf editor api local
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 2401904 commit bd42c67

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/views/SignPDF/SignPDF.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
4747
import { computed, getCurrentInstance, nextTick, onBeforeMount, onBeforeUnmount, onMounted, ref } from 'vue'
4848
4949
import PdfEditor from '../../components/PdfEditor/PdfEditor.vue'
50-
import type { PdfEditorPublicApi, PdfEditorSigner } from '../../components/PdfEditor/types'
50+
import type { PdfEditorSigner } from '../../components/PdfEditor/pdfEditorModel'
5151
import TopBar from '../../components/TopBar/TopBar.vue'
5252
import { FILE_STATUS } from '../../constants.js'
5353
import {
@@ -145,8 +145,9 @@ type PdfFetchError = {
145145
errors?: SignError[]
146146
}
147147
148-
type PdfEditorRef = PdfEditorPublicApi & {
148+
type PdfEditorRef = {
149149
$el?: HTMLElement
150+
addSigner?: (signer: PdfEditorSigner) => Promise<void>
150151
}
151152
152153
type RouteLike = {

0 commit comments

Comments
 (0)