Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial schema sketch for email templates #6868

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
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
Prev Previous commit
Avoid nesting the email templates
  • Loading branch information
scotttrinh committed Feb 16, 2024
commit 8ade0277257f00c2846b43d91aa4d5af6d838401
8 changes: 1 addition & 7 deletions edb/lib/ext/auth.edgeql
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 314,7 @@ CREATE EXTENSION PACKAGE auth VERSION '1.0' {
};
};

create type ext::auth::EmailTemplateConfig extending cfg::ConfigObject {
create type ext::auth::EmailTemplateConfig extending cfg::ExtensionConfig {
create link verification -> ext::auth::EmailTemplate {
create annotation std::description :=
"Template for email verification emails.";
Expand All @@ -338,12 338,6 @@ CREATE EXTENSION PACKAGE auth VERSION '1.0' {
UI is disabled.";
};

create link email_templates -> ext::auth::EmailTemplateConfig {
create annotation std::description :=
"Configuration for email templates. If not set, default \
templates will be used.";
};

create property app_name: std::str {
create annotation std::description :=
"The name of your application.";
Expand Down
Loading