feat(custom-domain): remove domainName + add migration for custom dom… (#9872)

…ain + feature flag

Blocked by #9849
This commit is contained in:
Antoine Moreaux
2025-01-28 15:28:18 +01:00
committed by GitHub
parent 0e981bae0a
commit eb88f6f584
14 changed files with 95 additions and 50 deletions

View File

@ -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',