File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: AGPL-3.0-or-later
44 */
55
6- import type { PDFElementObject } from '@libresign/pdf-elements'
7-
86import type { SignerDetailRecord , SignerSummaryRecord , VisibleElementRecord } from '../../types/index'
97
8+ type PdfElementObject = {
9+ id ?: string
10+ type ?: string
11+ x : number
12+ y : number
13+ width : number
14+ height : number
15+ [ key : string ] : unknown
16+ }
17+
1018export type PdfObjectLocation = {
1119 docIndex : number
1220 pageIndex : number
@@ -182,7 +190,7 @@ export function createPdfEditorObject({
182190 documentIndex ?: number
183191 placement : PdfPlacement
184192 objectId ?: string
185- } ) : PDFElementObject & {
193+ } ) : PdfElementObject & {
186194 id : string
187195 signer : SignerSummaryRecord | SignerDetailRecord
188196 visibleElement ?: VisibleElementRecord
You can’t perform that action at this time.
0 commit comments