Skip to content

Commit

Permalink
feat: export BooleanResult
Browse files Browse the repository at this point in the history
  • Loading branch information
darraghoriordan-skedsocial committed Jan 4, 2025
1 parent 15465a4 commit 480ab68
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export {SubActivationQueueModule} from "./organisation-subscriptions/sub-activat
export type {RequestUser} from "./authorization/models/RequestWithUser.js";
export {SuperPowersModule} from "./super-powers/super-powers.module.js";
export {OrganisationModule} from "./organisation/organisation.module.js";

export {BooleanResult} from "./root-app/dtos/boolean-result.js";
// org subscriptions
export {OrganisationMembershipsService} from "./organisation-memberships/organisation-memberships.service.js";
export {OrganisationMembershipsModule} from "./organisation-memberships/organisation-memberships.module.js";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {OrganisationMembershipsService} from "./organisation-memberships.service
import {Organisation} from "../organisation/entities/organisation.entity.js";
import {CreateUpdateMembershipDto} from "./dtos/create-membership-dto.js";
import {OrganisationMembership} from "./entities/organisation-membership.entity.js";
import {BooleanResult} from "../root-app/models/boolean-result.js";
import {BooleanResult} from "../root-app/dtos/boolean-result.js";

@UseGuards(AuthGuard("jwt"))
@ApiBearerAuth()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {RequestWithUser} from "../authorization/models/RequestWithUser.js";
import {OrganisationSubscriptionRecord} from "./entities/organisation-subscription.entity.js";
import {OrganisationSubscriptionService} from "./organisation-subscriptions.service.js";
import {SaveOrganisationSubscriptionRecordDto} from "./models/fulfillSubscriptionDto.js";
import {BooleanResult} from "../root-app/models/boolean-result.js";
import {BooleanResult} from "../root-app/dtos/boolean-result.js";
import {MandatoryUserClaims} from "../authorization/guards/MandatoryUserClaims.decorator.js";
import {DefaultAuthGuard} from "../authorization/guards/DefaultAuthGuard.js";
import {ClaimsAuthorisationGuard} from "../authorization/guards/ClaimsAuthorisationGuard.js";
Expand Down
2 changes: 1 addition & 1 deletion src/organisation/organisation.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {ApiBearerAuth, ApiOkResponse, ApiTags} from "@nestjs/swagger";
import {Organisation} from "./entities/organisation.entity.js";
import {AuthGuard} from "@nestjs/passport";
import {RequestWithUser} from "../authorization/models/RequestWithUser.js";
import {BooleanResult} from "../root-app/models/boolean-result.js";
import {BooleanResult} from "../root-app/dtos/boolean-result.js";

@UseGuards(AuthGuard("jwt"))
@ApiBearerAuth()
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/smtp-email-client/email.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {Queue} from "bull";
import {ClaimsAuthorisationGuard} from "../authorization/guards/ClaimsAuthorisationGuard.js";
import {DefaultAuthGuard} from "../authorization/guards/DefaultAuthGuard.js";
import {MandatoryUserClaims} from "../authorization/guards/MandatoryUserClaims.decorator.js";
import {BooleanResult} from "../root-app/models/boolean-result.js";
import {BooleanResult} from "../root-app/dtos/boolean-result.js";
import {QueueItemDto} from "../root-app/models/QueueItemDto.js";
import {SmtpEmailClient} from "./email-client.service.js";

Expand Down
2 changes: 1 addition & 1 deletion src/user-api-key/user-apikey.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
ApiTags,
} from "@nestjs/swagger";
import {RequestWithUser} from "../authorization/models/RequestWithUser.js";
import {BooleanResult} from "../root-app/models/boolean-result.js";
import {BooleanResult} from "../root-app/dtos/boolean-result.js";
import {UserApiKey} from "./userApiKey.entity.js";
import {UserApiKeyService} from "./user-apikey.service.js";
import CreateApiKeyDto from "./CreateApiKeyDto.js";
Expand Down
2 changes: 1 addition & 1 deletion src/user/user.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
} from "@nestjs/swagger";
import {RequestWithUser} from "../authorization/models/RequestWithUser.js";
import {isUUID} from "class-validator";
import {BooleanResult} from "../root-app/models/boolean-result.js";
import {BooleanResult} from "../root-app/dtos/boolean-result.js";
import {UserDto} from "./dto/userResponseDto.js";
import {User} from "./entities/user.entity.js";
import {DefaultAuthGuard} from "../authorization/guards/DefaultAuthGuard.js";
Expand Down

0 comments on commit 480ab68

Please sign in to comment.