Skip to content

Commit

Permalink
chore: bump libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ThyMinimalDev committed Jan 21, 2025
1 parent 4079e31 commit d9b499f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@axiomhq/winston": "^1.2.0",
"@calcom/platform-constants": "*",
"@calcom/platform-enums": "*",
"@calcom/platform-libraries": "npm:@calcom/[email protected].85",
"@calcom/platform-libraries": "npm:@calcom/[email protected].87",
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]",
"@calcom/platform-types": "*",
"@calcom/platform-utils": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { EventTypesService_2024_06_14 } from "@/ee/event-types/event-types_2024_
import { AtomsRepository } from "@/modules/atoms/atoms.repository";
import { CredentialsRepository } from "@/modules/credentials/credentials.repository";
import { MembershipsRepository } from "@/modules/memberships/memberships.repository";
import { TeamsEventTypesService } from "@/modules/teams/event-types/services/teams-event-types.service";
import { PrismaReadService } from "@/modules/prisma/prisma-read.service";
import { PrismaWriteService } from "@/modules/prisma/prisma-write.service";
import { TeamsEventTypesService } from "@/modules/teams/event-types/services/teams-event-types.service";
import { UsersService } from "@/modules/users/services/users.service";
import { UserWithProfile } from "@/modules/users/users.repository";
import { Injectable, NotFoundException, ForbiddenException } from "@nestjs/common";
Expand Down Expand Up @@ -209,6 +209,7 @@ export class EventTypesAtomService {
credentials = credentials.concat(teamAppCredentials);
}
}
//TODO: enrich credentials for DWD
const enabledApps = await getEnabledAppsFromCredentials(credentials, {
where: { slug },
});
Expand Down
29 changes: 29 additions & 0 deletions packages/platform/libraries/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ import * as instantMeetingMethods from "@calcom/features/instant-meeting/handleI
import getEnabledAppsFromCredentials from "@calcom/lib/apps/getEnabledAppsFromCredentials";
import getAllUserBookings from "@calcom/lib/bookings/getAllUserBookings";
import { symmetricEncrypt, symmetricDecrypt } from "@calcom/lib/crypto";
import {
getFirstDwdConferencingCredentialAppLocation,
getFirstDwdConferencingCredential,
getDwdOrRegularCredential,
getDwdOrFindRegularCredential,
enrichUserWithDwdConferencingCredentialsWithoutOrgId,
enrichUserWithDwdCredentialsWithoutOrgId,
enrichHostsWithDwdCredentials,
enrichUsersWithDwdCredentials,
buildAllCredentials,
getAllDwdCredentialsForUserByAppSlug,
getAllDwdCredentialsForUserByAppType,
checkIfSuccessfullyConfiguredInWorkspace,
} from "@calcom/lib/domainWideDelegation/server";
import getBulkEventTypes from "@calcom/lib/event-types/getBulkEventTypes";
import { getTranslation } from "@calcom/lib/server/i18n";
import { MembershipRole } from "@calcom/prisma/enums";
Expand All @@ -45,6 +59,21 @@ import {
import type { App } from "@calcom/types/App";
import type { CredentialPayload } from "@calcom/types/Credential";

export {
getFirstDwdConferencingCredentialAppLocation,
getFirstDwdConferencingCredential,
getDwdOrRegularCredential,
getDwdOrFindRegularCredential,
enrichUserWithDwdConferencingCredentialsWithoutOrgId,
enrichUserWithDwdCredentialsWithoutOrgId,
enrichHostsWithDwdCredentials,
enrichUsersWithDwdCredentials,
buildAllCredentials,
getAllDwdCredentialsForUserByAppSlug,
getAllDwdCredentialsForUserByAppType,
checkIfSuccessfullyConfiguredInWorkspace,
};

export { slugify } from "@calcom/lib/slugify";
export { getBookingForReschedule };
export { updateScheduleHandler };
Expand Down

0 comments on commit d9b499f

Please sign in to comment.