diff --git a/packages/angular/src/features-type.ts b/packages/angular/src/features-type.ts index 0aa92b7..3473ccc 100644 --- a/packages/angular/src/features-type.ts +++ b/packages/angular/src/features-type.ts @@ -26,6 +26,7 @@ export type EnvelopeEditorSettings = { allowConfigureEmailReplyTo: boolean; } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/packages/mitosis/src/features-type.ts b/packages/mitosis/src/features-type.ts index e7eabf5..3ea4d91 100644 --- a/packages/mitosis/src/features-type.ts +++ b/packages/mitosis/src/features-type.ts @@ -27,6 +27,7 @@ export type EnvelopeEditorSettings = { } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/packages/preact/src/features-type.ts b/packages/preact/src/features-type.ts index 0aa92b7..3473ccc 100644 --- a/packages/preact/src/features-type.ts +++ b/packages/preact/src/features-type.ts @@ -26,6 +26,7 @@ export type EnvelopeEditorSettings = { allowConfigureEmailReplyTo: boolean; } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/packages/react/src/features-type.ts b/packages/react/src/features-type.ts index 0aa92b7..3473ccc 100644 --- a/packages/react/src/features-type.ts +++ b/packages/react/src/features-type.ts @@ -26,6 +26,7 @@ export type EnvelopeEditorSettings = { allowConfigureEmailReplyTo: boolean; } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/packages/solid/src/features-type.ts b/packages/solid/src/features-type.ts index 0aa92b7..3473ccc 100644 --- a/packages/solid/src/features-type.ts +++ b/packages/solid/src/features-type.ts @@ -26,6 +26,7 @@ export type EnvelopeEditorSettings = { allowConfigureEmailReplyTo: boolean; } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/packages/svelte/src/features-type.ts b/packages/svelte/src/features-type.ts index 0aa92b7..3473ccc 100644 --- a/packages/svelte/src/features-type.ts +++ b/packages/svelte/src/features-type.ts @@ -26,6 +26,7 @@ export type EnvelopeEditorSettings = { allowConfigureEmailReplyTo: boolean; } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/packages/vue/src/features-type.ts b/packages/vue/src/features-type.ts index 0aa92b7..3473ccc 100644 --- a/packages/vue/src/features-type.ts +++ b/packages/vue/src/features-type.ts @@ -26,6 +26,7 @@ export type EnvelopeEditorSettings = { allowConfigureEmailReplyTo: boolean; } | null; actions: { + allowContents: boolean; allowAttachments: boolean; // allowDistributing: boolean; // These are not available for embeds. // allowDirectLink: boolean; // These are not available for embeds. diff --git a/playground/src/components/embeddings/envelope-features.ts b/playground/src/components/embeddings/envelope-features.ts index e5d72ca..8213627 100644 --- a/playground/src/components/embeddings/envelope-features.ts +++ b/playground/src/components/embeddings/envelope-features.ts @@ -40,6 +40,7 @@ export const DEFAULT_ENVELOPE_FEATURES = { allowConfigureEmailReplyTo: true, }, actions: { + allowContents: true, allowAttachments: true, }, envelopeItems: { @@ -82,6 +83,7 @@ export const DEFAULT_ENVELOPE_FEATURES_DESCRIPTIONS: EnvelopeEmbedFeaturesDescri allowConfigureEmailReplyTo: 'Allow users to configure email reply to', }, actions: { + allowContents: 'Allow adding contents to the envelope', allowAttachments: 'Allow adding attachments to the envelope', }, envelopeItems: { @@ -127,6 +129,7 @@ export const EnvelopeFeaturesSchema = z.object({ }) .nullable(), actions: z.object({ + allowContents: z.boolean(), allowAttachments: z.boolean(), }), envelopeItems: z