fix: extracted app-store and DWD platform-libraries imports to a /app-store barrel file (#19938)
* fix: platform libraries barrel file extract app-store * extracted DWD to app-store barrel file * removed getCalendar as not used in api/v2 * bump platform-libraries
This commit is contained in:
1 parent
517d509321
commit
861e3aa24f
17 files changed
+2606
-695
No files matched your search
@@ -23,7 +23,7 @@ import {
|
||||
import { ApiTags as DocsTags, ApiExcludeController as DocsExcludeController } from "@nestjs/swagger";
|
||||
|
||||
import { ERROR_STATUS, SUCCESS_STATUS } from "@calcom/platform-constants";
|
||||
import { ConnectedApps } from "@calcom/platform-libraries";
|
||||
import { ConnectedApps } from "@calcom/platform-libraries/app-store";
|
||||
import type { UpdateEventTypeReturn } from "@calcom/platform-libraries/event-types";
|
||||
import { ApiResponse } from "@calcom/platform-types";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { UserWithProfile } from "@/modules/users/users.repository";
|
||||
import { Logger } from "@nestjs/common";
|
||||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
import { getConnectedApps, ConnectedApps } from "@calcom/platform-libraries";
|
||||
import { getConnectedApps, ConnectedApps } from "@calcom/platform-libraries/app-store";
|
||||
import { PrismaClient } from "@calcom/prisma";
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -9,22 +9,18 @@ import { UsersService } from "@/modules/users/services/users.service";
|
||||
import { UserWithProfile } from "@/modules/users/users.repository";
|
||||
import { Injectable, NotFoundException, ForbiddenException } from "@nestjs/common";
|
||||
|
||||
import {
|
||||
getEnabledAppsFromCredentials,
|
||||
getAppFromSlug,
|
||||
MembershipRole,
|
||||
getClientSecretFromPayment,
|
||||
enrichUserWithDelegationConferencingCredentialsWithoutOrgId,
|
||||
} from "@calcom/platform-libraries";
|
||||
import { MembershipRole, getClientSecretFromPayment } from "@calcom/platform-libraries";
|
||||
import type { TeamQuery } from "@calcom/platform-libraries";
|
||||
import { enrichUserWithDelegationConferencingCredentialsWithoutOrgId } from "@calcom/platform-libraries/app-store";
|
||||
import { getEnabledAppsFromCredentials, getAppFromSlug } from "@calcom/platform-libraries/app-store";
|
||||
import type {
|
||||
App,
|
||||
TDependencyData,
|
||||
CredentialOwner,
|
||||
CredentialPayload,
|
||||
CredentialDataWithTeamName,
|
||||
LocationOption,
|
||||
TeamQuery,
|
||||
CredentialOwner,
|
||||
TDependencyData,
|
||||
CredentialPayload,
|
||||
} from "@calcom/platform-libraries";
|
||||
} from "@calcom/platform-libraries/app-store";
|
||||
import {
|
||||
getBulkEventTypes,
|
||||
getEventTypeById,
|
||||
|
||||
@@ -5,12 +5,8 @@ import { BadRequestException, InternalServerErrorException, Logger } from "@nest
|
||||
import { Injectable } from "@nestjs/common";
|
||||
|
||||
import { CONFERENCING_APPS, CAL_VIDEO } from "@calcom/platform-constants";
|
||||
import {
|
||||
userMetadata,
|
||||
handleDeleteCredential,
|
||||
getApps,
|
||||
getUsersCredentials,
|
||||
} from "@calcom/platform-libraries";
|
||||
import { userMetadata, getUsersCredentials } from "@calcom/platform-libraries";
|
||||
import { getApps, handleDeleteCredential } from "@calcom/platform-libraries/app-store";
|
||||
|
||||
@Injectable()
|
||||
export class ConferencingService {
|
||||
|
||||
+2
-2
@@ -9,11 +9,11 @@ import { DelegationCredentialOutput } from "@/modules/organizations/delegation-c
|
||||
import { Injectable, NotFoundException } from "@nestjs/common";
|
||||
import { User } from "@prisma/client";
|
||||
|
||||
import { encryptServiceAccountKey } from "@calcom/platform-libraries";
|
||||
import {
|
||||
addDelegationCredential,
|
||||
toggleDelegationCredentialEnabled,
|
||||
encryptServiceAccountKey,
|
||||
} from "@calcom/platform-libraries";
|
||||
} from "@calcom/platform-libraries/app-store";
|
||||
|
||||
@Injectable()
|
||||
export class OrganizationsDelegationCredentialService {
|
||||
|
||||
Reference in new issue
Block a user