forked from cerc-io/snowballtools-base
Set subdomain for project and set URL for each deployment (#52)
* Display current deployment info in overview tab * Add assign domain dialog box in deployments * Add empty link for project settings in assign domain dialog box * Use react router dom link * Add sub domain to project entity * Add deployment url with custom generated string * Set nano id to deployment id * Add sub domain while creating new project * Use same id as in url * Update readme steps for production build * Update README --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com>
This commit is contained in:
@@ -27,6 +27,7 @@ query ($projectId: String!) {
|
||||
repository
|
||||
webhooks
|
||||
icon
|
||||
subDomain
|
||||
organization {
|
||||
id
|
||||
name
|
||||
@@ -54,6 +55,10 @@ query ($projectId: String!) {
|
||||
id
|
||||
name
|
||||
}
|
||||
createdBy {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -72,6 +77,7 @@ query ($organizationId: String!) {
|
||||
repository
|
||||
updatedAt
|
||||
icon
|
||||
subDomain
|
||||
deployments {
|
||||
id
|
||||
branch
|
||||
@@ -121,6 +127,7 @@ query ($projectId: String!) {
|
||||
branch
|
||||
commitHash
|
||||
title
|
||||
url
|
||||
environment
|
||||
isCurrent
|
||||
status
|
||||
|
||||
@@ -63,6 +63,7 @@ export type Deployment = {
|
||||
branch: string
|
||||
commitHash: string
|
||||
title: string
|
||||
url: string
|
||||
environment: Environment
|
||||
isCurrent: boolean
|
||||
status: DeploymentStatus
|
||||
@@ -131,6 +132,7 @@ export type Project = {
|
||||
updatedAt: string
|
||||
organization: Organization
|
||||
icon: string
|
||||
subDomain: string
|
||||
}
|
||||
|
||||
export type GetProjectMembersResponse = {
|
||||
|
||||
Reference in New Issue
Block a user