Skip to content

Commit

Permalink
fix: model controller class constructor visibility (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
kon14 committed Nov 1, 2023
1 parent fed8045 commit 0cfe373
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion modules/authentication/src/models/BiometricToken.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class BiometricToken extends ConduitActiveSchema<BiometricToken> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, BiometricToken.name, schema, modelOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authentication/src/models/Team.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Team extends ConduitActiveSchema<Team> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, Team.name, schema, modelOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authentication/src/models/Token.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class Token extends ConduitActiveSchema<Token> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, Token.name, schema, modelOptions, collectionName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class TwoFactorBackUpCodes extends ConduitActiveSchema<TwoFactorBackUpCod
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, TwoFactorBackUpCodes.name, schema, modelOptions, collectionName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class TwoFactorSecret extends ConduitActiveSchema<TwoFactorSecret> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, TwoFactorSecret.name, schema, modelOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authentication/src/models/User.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class User extends ConduitActiveSchema<User> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, User.name, schema, modelOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authorization/src/models/ActorIndex.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class ActorIndex extends ConduitActiveSchema<ActorIndex> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, ActorIndex.name, schema, schemaOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authorization/src/models/ObjectIndex.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class ObjectIndex extends ConduitActiveSchema<ObjectIndex> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, ObjectIndex.name, schema, schemaOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authorization/src/models/Permission.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class Permission extends ConduitActiveSchema<Permission> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, Permission.name, schema, schemaOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/authorization/src/models/Relationship.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class Relationship extends ConduitActiveSchema<Relationship> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, Relationship.name, schema, schemaOptions, collectionName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class ResourceDefinition extends ConduitActiveSchema<ResourceDefinition>
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, ResourceDefinition.name, schema, schemaOptions, collectionName);
}

Expand Down
2 changes: 1 addition & 1 deletion modules/chat/src/models/InvitationToken.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class InvitationToken extends ConduitActiveSchema<InvitationToken> {
createdAt: Date;
updatedAt: Date;

constructor(database: DatabaseProvider) {
private constructor(database: DatabaseProvider) {
super(database, InvitationToken.name, schema, modelOptions, collectionName);
}

Expand Down

0 comments on commit 0cfe373

Please sign in to comment.