File tree Expand file tree Collapse file tree 10 files changed +0
-10
lines changed Expand file tree Collapse file tree 10 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -964,7 +964,6 @@ async function generateModelString(
964
964
protected hasSelect: boolean
965
965
${ declareFields }
966
966
constructor(${ formattedModelName } : Partial<${ modelName } Type> | null) {
967
- this.${ formattedModelName } = ${ formattedModelName }
968
967
${ constructorFields }
969
968
970
969
this.query = db.selectFrom('${ tableName } ')
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ export class AccessTokenModel {
67
67
public team_id : number | undefined
68
68
69
69
constructor ( accesstoken : Partial < AccessTokenType > | null ) {
70
- this . accesstoken = accesstoken
71
70
this . id = accesstoken ?. id
72
71
this . name = accesstoken ?. name
73
72
this . token = accesstoken ?. token
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ export class DeploymentModel {
73
73
public user_id : number | undefined
74
74
75
75
constructor ( deployment : Partial < DeploymentType > | null ) {
76
- this . deployment = deployment
77
76
this . id = deployment ?. id
78
77
this . commit_sha = deployment ?. commit_sha
79
78
this . commit_message = deployment ?. commit_message
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ export class PostModel {
63
63
public user_id : number | undefined
64
64
65
65
constructor ( post : Partial < PostType > | null ) {
66
- this . post = post
67
66
this . id = post ?. id
68
67
this . title = post ?. title
69
68
this . body = post ?. body
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ export class ProjectModel {
64
64
public status : string | undefined
65
65
66
66
constructor ( project : Partial < ProjectType > | null ) {
67
- this . project = project
68
67
this . id = project ?. id
69
68
this . name = project ?. name
70
69
this . description = project ?. description
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ export class ReleaseModel {
58
58
public version : string | undefined
59
59
60
60
constructor ( release : Partial < ReleaseType > | null ) {
61
- this . release = release
62
61
this . id = release ?. id
63
62
this . version = release ?. version
64
63
Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ export class SubscriberModel {
60
60
public user_id : number | undefined
61
61
62
62
constructor ( subscriber : Partial < SubscriberType > | null ) {
63
- this . subscriber = subscriber
64
63
this . id = subscriber ?. id
65
64
this . subscribed = subscriber ?. subscribed
66
65
this . user_id = subscriber ?. user_id
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ export class SubscriberEmailModel {
58
58
public email : string | undefined
59
59
60
60
constructor ( subscriberemail : Partial < SubscriberEmailType > | null ) {
61
- this . subscriberemail = subscriberemail
62
61
this . id = subscriberemail ?. id
63
62
this . email = subscriberemail ?. email
64
63
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ export class TeamModel {
79
79
public user_id : number | undefined
80
80
81
81
constructor ( team : Partial < TeamType > | null ) {
82
- this . team = team
83
82
this . id = team ?. id
84
83
this . name = team ?. name
85
84
this . company_name = team ?. company_name
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ export class UserModel {
79
79
public post_id : number | undefined
80
80
81
81
constructor ( user : Partial < UserType > | null ) {
82
- this . user = user
83
82
this . id = user ?. id
84
83
this . two_factor_secret = user ?. two_factor_secret
85
84
this . name = user ?. name
You can’t perform that action at this time.
0 commit comments