From c9ce1fbbc14ae7b50041f08d12c21593b469aea7 Mon Sep 17 00:00:00 2001 From: Igor Santos Date: Mon, 13 Jan 2025 12:35:34 -0300 Subject: [PATCH] fix(hasura): remove actions to certificates and mailchimp --- migrations/metadata/actions.graphql | 20 -------------------- migrations/metadata/actions.yaml | 21 --------------------- 2 files changed, 41 deletions(-) diff --git a/migrations/metadata/actions.graphql b/migrations/metadata/actions.graphql index a047acd..01dd925 100644 --- a/migrations/metadata/actions.graphql +++ b/migrations/metadata/actions.graphql @@ -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 @@ -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! diff --git a/migrations/metadata/actions.yaml b/migrations/metadata/actions.yaml index 2f1f374..a1d7dc5 100644 --- a/migrations/metadata/actions.yaml +++ b/migrations/metadata/actions.yaml @@ -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 @@ -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: