feat(custom-domain): remove domainName + add migration for custom dom… (#9872)
…ain + feature flag Blocked by #9849
This commit is contained in:
@ -63,7 +63,6 @@ export const results = {
|
||||
id: 'id',
|
||||
displayName: 'displayName',
|
||||
logo: 'logo',
|
||||
domainName: 'domainName',
|
||||
inviteHash: 'inviteHash',
|
||||
allowImpersonation: true,
|
||||
subscriptionStatus: 'subscriptionStatus',
|
||||
|
||||
@ -26,36 +26,47 @@ export const queries = {
|
||||
}
|
||||
`,
|
||||
findManyViewsQuery: gql`
|
||||
query FindManyViews($filter: ViewFilterInput, $orderBy: [ViewOrderByInput], $lastCursor: String, $limit: Int) {
|
||||
views(filter: $filter, orderBy: $orderBy, first: $limit, after: $lastCursor) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
id
|
||||
viewGroups {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
fieldMetadataId
|
||||
fieldValue
|
||||
id
|
||||
isVisible
|
||||
position
|
||||
}
|
||||
query FindManyViews(
|
||||
$filter: ViewFilterInput
|
||||
$orderBy: [ViewOrderByInput]
|
||||
$lastCursor: String
|
||||
$limit: Int
|
||||
) {
|
||||
views(
|
||||
filter: $filter
|
||||
orderBy: $orderBy
|
||||
first: $limit
|
||||
after: $lastCursor
|
||||
) {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
id
|
||||
viewGroups {
|
||||
edges {
|
||||
node {
|
||||
__typename
|
||||
fieldMetadataId
|
||||
fieldValue
|
||||
id
|
||||
isVisible
|
||||
position
|
||||
}
|
||||
}
|
||||
}
|
||||
cursor
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
hasPreviousPage
|
||||
startCursor
|
||||
endCursor
|
||||
}
|
||||
totalCount
|
||||
cursor
|
||||
}
|
||||
}`,
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
hasPreviousPage
|
||||
startCursor
|
||||
endCursor
|
||||
}
|
||||
totalCount
|
||||
}
|
||||
}
|
||||
`,
|
||||
deleteMetadataFieldRelation: gql`
|
||||
mutation DeleteOneRelationMetadataItem($idToDelete: UUID!) {
|
||||
deleteOneRelation(input: { id: $idToDelete }) {
|
||||
@ -138,7 +149,6 @@ export const queries = {
|
||||
id
|
||||
displayName
|
||||
logo
|
||||
domainName
|
||||
inviteHash
|
||||
allowImpersonation
|
||||
activationStatus
|
||||
@ -171,7 +181,6 @@ export const queries = {
|
||||
id
|
||||
logo
|
||||
displayName
|
||||
domainName
|
||||
subdomain
|
||||
}
|
||||
}
|
||||
@ -289,7 +298,6 @@ export const responseData = {
|
||||
id: 'test-workspace-id',
|
||||
displayName: 'Test Workspace',
|
||||
logo: null,
|
||||
domainName: 'test',
|
||||
inviteHash: 'test-hash',
|
||||
allowImpersonation: false,
|
||||
activationStatus: 'active',
|
||||
|
||||
@ -28,7 +28,6 @@ export const USER_QUERY_FRAGMENT = gql`
|
||||
id
|
||||
displayName
|
||||
logo
|
||||
domainName
|
||||
inviteHash
|
||||
allowImpersonation
|
||||
activationStatus
|
||||
@ -61,7 +60,6 @@ export const USER_QUERY_FRAGMENT = gql`
|
||||
id
|
||||
logo
|
||||
displayName
|
||||
domainName
|
||||
subdomain
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,7 +4,6 @@ export const UPDATE_WORKSPACE = gql`
|
||||
mutation UpdateWorkspace($input: UpdateWorkspaceInput!) {
|
||||
updateWorkspace(data: $input) {
|
||||
id
|
||||
domainName
|
||||
subdomain
|
||||
displayName
|
||||
logo
|
||||
|
||||
Reference in New Issue
Block a user