mirror of
https://github.com/documenso/documenso.git
synced 2025-11-18 18:51:37 +10:00
fix: build errors
This commit is contained in:
@ -480,6 +480,17 @@ export const DocumentEditForm = ({
|
|||||||
recipients={recipients}
|
recipients={recipients}
|
||||||
signingOrder={document.documentMeta?.signingOrder}
|
signingOrder={document.documentMeta?.signingOrder}
|
||||||
allowDictateNextSigner={document.documentMeta?.allowDictateNextSigner}
|
allowDictateNextSigner={document.documentMeta?.allowDictateNextSigner}
|
||||||
|
expiryAmount={document.documentMeta?.expiryAmount}
|
||||||
|
expiryUnit={
|
||||||
|
document.documentMeta?.expiryUnit as
|
||||||
|
| 'minutes'
|
||||||
|
| 'hours'
|
||||||
|
| 'days'
|
||||||
|
| 'weeks'
|
||||||
|
| 'months'
|
||||||
|
| null
|
||||||
|
| undefined
|
||||||
|
}
|
||||||
fields={fields}
|
fields={fields}
|
||||||
onSubmit={onAddSignersFormSubmit}
|
onSubmit={onAddSignersFormSubmit}
|
||||||
onAutoSave={onAddSignersFormAutoSave}
|
onAutoSave={onAddSignersFormAutoSave}
|
||||||
|
|||||||
@ -63,6 +63,8 @@ export type AddSignersFormProps = {
|
|||||||
fields: Field[];
|
fields: Field[];
|
||||||
signingOrder?: DocumentSigningOrder | null;
|
signingOrder?: DocumentSigningOrder | null;
|
||||||
allowDictateNextSigner?: boolean;
|
allowDictateNextSigner?: boolean;
|
||||||
|
expiryAmount?: number | null;
|
||||||
|
expiryUnit?: 'minutes' | 'hours' | 'days' | 'weeks' | 'months' | null;
|
||||||
onSubmit: (_data: TAddSignersFormSchema) => void;
|
onSubmit: (_data: TAddSignersFormSchema) => void;
|
||||||
onAutoSave: (_data: TAddSignersFormSchema) => Promise<AutoSaveResponse>;
|
onAutoSave: (_data: TAddSignersFormSchema) => Promise<AutoSaveResponse>;
|
||||||
isDocumentPdfLoaded: boolean;
|
isDocumentPdfLoaded: boolean;
|
||||||
@ -74,6 +76,8 @@ export const AddSignersFormPartial = ({
|
|||||||
fields,
|
fields,
|
||||||
signingOrder,
|
signingOrder,
|
||||||
allowDictateNextSigner,
|
allowDictateNextSigner,
|
||||||
|
expiryAmount,
|
||||||
|
expiryUnit,
|
||||||
onSubmit,
|
onSubmit,
|
||||||
onAutoSave,
|
onAutoSave,
|
||||||
isDocumentPdfLoaded,
|
isDocumentPdfLoaded,
|
||||||
@ -138,6 +142,10 @@ export const AddSignersFormPartial = ({
|
|||||||
: defaultRecipients,
|
: defaultRecipients,
|
||||||
signingOrder: signingOrder || DocumentSigningOrder.PARALLEL,
|
signingOrder: signingOrder || DocumentSigningOrder.PARALLEL,
|
||||||
allowDictateNextSigner: allowDictateNextSigner ?? false,
|
allowDictateNextSigner: allowDictateNextSigner ?? false,
|
||||||
|
meta: {
|
||||||
|
expiryAmount: expiryAmount ?? undefined,
|
||||||
|
expiryUnit: expiryUnit ?? undefined,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user