Skip to content

Commit

Permalink
fix(hasura): remove actions to certificates and mailchimp
Browse files Browse the repository at this point in the history
  • Loading branch information
igr-santos committed Jan 13, 2025
1 parent cd28637 commit c9ce1fb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
20 changes: 0 additions & 20 deletions migrations/metadata/actions.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ type Mutation {
): DomainResult
}

type Mutation {
create_or_update_certificate(
dns_hosted_zone_id: Int!
): UpdateCertificateResult
}

type Mutation {
create_record(
record: RecordInput
Expand All @@ -28,20 +22,6 @@ type Mutation {
): DeleteRecordsResult
}

type Mutation {
resync_mailchimp_start(
is_community: Boolean
id: Int!
): MailchimpStart
}

type Query {
resync_mailchimp_status(
is_community: Boolean
id: Int!
): MailchimpStatus
}

input DomainInput {
domain_name: String!
community_id: Int!
Expand Down
21 changes: 0 additions & 21 deletions migrations/metadata/actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ actions:
handler: '{{API_DOMAINS_URL}}/actions/create-domain'
permissions:
- role: user
- name: create_or_update_certificate
definition:
kind: synchronous
handler: '{{API_DOMAINS_URL}}/actions/create-or-update-certificate'
permissions:
- role: common_user
- role: user
comment: This mutation update routers configuration based on traefik and etcd
- name: create_record
definition:
kind: synchronous
Expand All @@ -31,19 +23,6 @@ actions:
handler: '{{API_DOMAINS_URL}}/actions/delete-record'
permissions:
- role: user
- name: resync_mailchimp_start
definition:
kind: synchronous
handler: '{{ACTION_BASE_URL}}/start-resync-mailchimp'
forward_client_headers: true
permissions:
- role: user
- name: resync_mailchimp_status
definition:
kind: ""
handler: '{{ACTION_BASE_URL}}/status-resync-mailchimp'
permissions:
- role: user
custom_types:
enums: []
input_objects:
Expand Down

0 comments on commit c9ce1fb

Please sign in to comment.