Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/angular/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/mitosis/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/preact/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/solid/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/svelte/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions packages/vue/src/features-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions playground/src/components/embeddings/envelope-features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const DEFAULT_ENVELOPE_FEATURES = {
allowConfigureEmailReplyTo: true,
},
actions: {
allowContents: true,
allowAttachments: true,
},
envelopeItems: {
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -127,6 +129,7 @@ export const EnvelopeFeaturesSchema = z.object({
})
.nullable(),
actions: z.object({
allowContents: z.boolean(),
allowAttachments: z.boolean(),
}),
envelopeItems: z
Expand Down
Loading