Closed
Description
Add the following to backend
Admin GraphQL API:
type Query {
tenant(id: string!): Tenant
tenants: TenantsConnection! // pagination query for tenants
whoAmI: { id, isOperator }
}
type Mutation {
createTenant(input: CreateTenantInput): CreateTenantMutationResponse!
updateTenant(input: UpdateTenantInput): UpdateTenantMutationResponse!
deleteTenant(input: DeleteTenantInput): DeleteTenantMutationResponse!
}
-
tenant
query - "who am I" query
-
tenants
query -
createTenant
mutation -
updateTenant
mutation -
deleteTenant
mutation
Prerequisites
Metadata
Metadata
Assignees
Type
Projects
Status
Done