Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: model controller class constructor visibility #781

Merged
merged 1 commit into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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