Remove title field from deployment entity

This commit is contained in:
neeraj 2024-02-08 19:16:21 +05:30
parent 38486a0fd0
commit 99374df9f2
7 changed files with 0 additions and 24 deletions

View File

@ -45,10 +45,6 @@ export class Deployment {
@Column('varchar')
commitHash!: string;
// TODO: Remove title field
@Column('varchar')
title!: string;
@Column('varchar')
url!: string;

View File

@ -90,7 +90,6 @@ type Deployment {
domain: Domain
branch: String!
commitHash: String!
title: String!
url: String!
environment: Environment!
isCurrent: Boolean!

View File

@ -198,8 +198,6 @@ export class Service {
branch: '',
// TODO: Set latest commit hash
commitHash: '',
// TODO: Remove title field
title: '',
environment: Environment.Production,
isCurrent: true,
status: DeploymentStatus.Building,

View File

@ -4,7 +4,6 @@
"domainIndex":0,
"createdByIndex": 0,
"id":"ffhae3zq",
"title": "nextjs-boilerplate-1",
"status": "Building",
"environment": "Production",
"isCurrent": true,
@ -17,7 +16,6 @@
"domainIndex":1,
"createdByIndex": 0,
"id":"vehagei8",
"title": "nextjs-boilerplate-2",
"status": "Ready",
"environment": "Preview",
"isCurrent": false,
@ -30,7 +28,6 @@
"domainIndex":2,
"createdByIndex": 0,
"id":"qmgekyte",
"title": "nextjs-boilerplate-3",
"status": "Error",
"environment": "Development",
"isCurrent": false,
@ -43,7 +40,6 @@
"domainIndex": null,
"createdByIndex": 0,
"id":"f8wsyim6",
"title": "nextjs-boilerplate-4",
"status": "Ready",
"environment": "Production",
"isCurrent": false,
@ -56,7 +52,6 @@
"domainIndex":3,
"createdByIndex": 1,
"id":"eO8cckxk",
"title": "nextjs-boilerplate-1",
"status": "Building",
"environment": "Production",
"isCurrent": true,
@ -69,7 +64,6 @@
"domainIndex":4,
"createdByIndex": 1,
"id":"yaq0t5yw",
"title": "nextjs-boilerplate-2",
"status": "Ready",
"environment": "Preview",
"isCurrent": false,
@ -82,7 +76,6 @@
"domainIndex":5,
"createdByIndex": 1,
"id":"hwwr6sbx",
"title": "nextjs-boilerplate-3",
"status": "Error",
"environment": "Development",
"isCurrent": false,
@ -95,7 +88,6 @@
"domainIndex":6,
"createdByIndex": 2,
"id":"ndxje48a",
"title": "nextjs-boilerplate-1",
"status": "Building",
"environment": "Production",
"isCurrent": true,
@ -108,7 +100,6 @@
"domainIndex":7,
"createdByIndex": 2,
"id":"gtgpgvei",
"title": "nextjs-boilerplate-2",
"status": "Ready",
"environment": "Preview",
"isCurrent": false,
@ -121,7 +112,6 @@
"domainIndex":8,
"createdByIndex": 2,
"id":"b4bpthjr",
"title": "nextjs-boilerplate-3",
"status": "Error",
"environment": "Development",
"isCurrent": false,

View File

@ -1,7 +1,6 @@
[
{
"id": 1,
"title": "nextjs-boilerplate-9t44zbky4dg-bygideon-projects",
"status": "Building",
"isProduction": true,
"isCurrent": false,
@ -15,7 +14,6 @@
},
{
"id": 2,
"title": "nextjs-boilerplate-9232dwky4dg-bygideon-projects",
"status": "Ready",
"isProduction": false,
"isCurrent": false,
@ -29,7 +27,6 @@
},
{
"id": 3,
"title": "nextjs-boilerplate-9saa22y4dg-bygideon-projects",
"status": "Error",
"isProduction": false,
"isCurrent": false,

View File

@ -42,7 +42,6 @@ query ($projectId: String!) {
branch
isCurrent
status
title
updatedAt
commitHash
createdAt
@ -83,7 +82,6 @@ query ($organizationSlug: String!) {
branch
isCurrent
status
title
updatedAt
commitHash
createdAt
@ -127,7 +125,6 @@ query ($projectId: String!) {
}
branch
commitHash
title
url
environment
isCurrent

View File

@ -62,7 +62,6 @@ export type Deployment = {
domain: Domain
branch: string
commitHash: string
title: string
url: string
environment: Environment
isCurrent: boolean