mirror of
https://github.com/documenso/documenso.git
synced 2025-11-18 02:32:00 +10:00
fix: additional backwards compat
This commit is contained in:
@ -252,7 +252,7 @@ export const createEnvelope = async ({
|
||||
visibility,
|
||||
folderId,
|
||||
formValues,
|
||||
source: type === EnvelopeType.DOCUMENT ? DocumentSource.DOCUMENT : DocumentSource.NONE,
|
||||
source: type === EnvelopeType.DOCUMENT ? DocumentSource.DOCUMENT : DocumentSource.TEMPLATE,
|
||||
documentMetaId: documentMeta.id,
|
||||
|
||||
// Template specific fields.
|
||||
|
||||
@ -98,7 +98,8 @@ export const duplicateEnvelope = async ({ id, userId, teamId }: DuplicateEnvelop
|
||||
documentMetaId: createdDocumentMeta.id,
|
||||
authOptions: envelope.authOptions || undefined,
|
||||
visibility: envelope.visibility,
|
||||
source: DocumentSource.NONE,
|
||||
source:
|
||||
envelope.type === EnvelopeType.DOCUMENT ? DocumentSource.DOCUMENT : DocumentSource.TEMPLATE,
|
||||
},
|
||||
include: {
|
||||
recipients: true,
|
||||
|
||||
@ -5516,7 +5516,6 @@ msgid "No worries, it happens! Enter your email and we'll email you a special li
|
||||
msgstr "Keine Sorge, das passiert! Geben Sie Ihre E-Mail ein, und wir senden Ihnen einen speziellen Link zum Zurücksetzen Ihres Passworts."
|
||||
|
||||
#: apps/remix/app/components/tables/admin-claims-table.tsx
|
||||
#: apps/remix/app/components/general/template/template-page-view-documents-table.tsx
|
||||
#: apps/remix/app/components/forms/editor/editor-field-number-form.tsx
|
||||
#: apps/remix/app/components/embed/authoring/configure-document-advanced-settings.tsx
|
||||
#: packages/lib/constants/document.ts
|
||||
|
||||
@ -5511,7 +5511,6 @@ msgid "No worries, it happens! Enter your email and we'll email you a special li
|
||||
msgstr "No worries, it happens! Enter your email and we'll email you a special link to reset your password."
|
||||
|
||||
#: apps/remix/app/components/tables/admin-claims-table.tsx
|
||||
#: apps/remix/app/components/general/template/template-page-view-documents-table.tsx
|
||||
#: apps/remix/app/components/forms/editor/editor-field-number-form.tsx
|
||||
#: apps/remix/app/components/embed/authoring/configure-document-advanced-settings.tsx
|
||||
#: packages/lib/constants/document.ts
|
||||
|
||||
@ -5516,7 +5516,6 @@ msgid "No worries, it happens! Enter your email and we'll email you a special li
|
||||
msgstr "¡No te preocupes, sucede! Ingresa tu correo electrónico y te enviaremos un enlace especial para restablecer tu contraseña."
|
||||
|
||||
#: apps/remix/app/components/tables/admin-claims-table.tsx
|
||||
#: apps/remix/app/components/general/template/template-page-view-documents-table.tsx
|
||||
#: apps/remix/app/components/forms/editor/editor-field-number-form.tsx
|
||||
#: apps/remix/app/components/embed/authoring/configure-document-advanced-settings.tsx
|
||||
#: packages/lib/constants/document.ts
|
||||
|
||||
@ -5516,7 +5516,6 @@ msgid "No worries, it happens! Enter your email and we'll email you a special li
|
||||
msgstr "Pas de soucis, ça arrive ! Entrez votre email et nous vous enverrons un lien spécial pour réinitialiser votre mot de passe."
|
||||
|
||||
#: apps/remix/app/components/tables/admin-claims-table.tsx
|
||||
#: apps/remix/app/components/general/template/template-page-view-documents-table.tsx
|
||||
#: apps/remix/app/components/forms/editor/editor-field-number-form.tsx
|
||||
#: apps/remix/app/components/embed/authoring/configure-document-advanced-settings.tsx
|
||||
#: packages/lib/constants/document.ts
|
||||
|
||||
@ -5516,7 +5516,6 @@ msgid "No worries, it happens! Enter your email and we'll email you a special li
|
||||
msgstr "Non ti preoccupare, succede! Inserisci la tua email e ti invieremo un link speciale per reimpostare la tua password."
|
||||
|
||||
#: apps/remix/app/components/tables/admin-claims-table.tsx
|
||||
#: apps/remix/app/components/general/template/template-page-view-documents-table.tsx
|
||||
#: apps/remix/app/components/forms/editor/editor-field-number-form.tsx
|
||||
#: apps/remix/app/components/embed/authoring/configure-document-advanced-settings.tsx
|
||||
#: packages/lib/constants/document.ts
|
||||
|
||||
@ -5516,7 +5516,6 @@ msgid "No worries, it happens! Enter your email and we'll email you a special li
|
||||
msgstr "Nie martw się, to się zdarza! Wprowadź swój e-mail, a my wyślemy Ci specjalny link do zresetowania hasła."
|
||||
|
||||
#: apps/remix/app/components/tables/admin-claims-table.tsx
|
||||
#: apps/remix/app/components/general/template/template-page-view-documents-table.tsx
|
||||
#: apps/remix/app/components/forms/editor/editor-field-number-form.tsx
|
||||
#: apps/remix/app/components/embed/authoring/configure-document-advanced-settings.tsx
|
||||
#: packages/lib/constants/document.ts
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
-- AlterEnum
|
||||
ALTER TYPE "DocumentSource" ADD VALUE 'NONE';
|
||||
@ -287,7 +287,7 @@ SELECT
|
||||
NULL,
|
||||
t."title",
|
||||
'DRAFT',
|
||||
'NONE'::"DocumentSource",
|
||||
'TEMPLATE'::"DocumentSource",
|
||||
NULL,
|
||||
1,
|
||||
t."useLegacyFieldInsertion",
|
||||
|
||||
@ -330,7 +330,6 @@ enum DocumentSource {
|
||||
DOCUMENT
|
||||
TEMPLATE
|
||||
TEMPLATE_DIRECT_LINK
|
||||
NONE
|
||||
}
|
||||
|
||||
enum DocumentVisibility {
|
||||
|
||||
Reference in New Issue
Block a user