snapshot of https://github.com/RocketChat/Rocket.Chat.git (develop, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
Some checks failed
Create issues from TODOs / todos (push) Failing after 3s
Close inactive issues / close-issues (push) Has been cancelled
Deploy GitHub Pages / deploy-preview (push) Has been cancelled
CI / ⚙️ Variables Setup (push) Has been cancelled
CI / ⚙️ Test Guard (push) Has been cancelled
CI / 🚀 Notify external services - draft (push) Has been cancelled
CI / 📦 Build Packages (push) Has been cancelled
CI / 📦 Meteor Build (coverage) (push) Has been cancelled
CI / 📦 Meteor Build (production) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [account-service presence-service omnichannel-transcript-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [authorization-service queue-worker-service ddp-streamer-service], fips) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Build Docker (amd64, [rocketchat], fips) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [account-service presence-service omnichannel-transcript-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [authorization-service queue-worker-service ddp-streamer-service], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], ${{ (github.event_name != 'release' && github.ref != 'refs/heads/develop') && 'coverage' || 'production' }}) (push) Has been cancelled
CI / 🚢 Build Docker (arm64, [rocketchat], coverage) (push) Has been cancelled
CI / 🚢 Publish Docker Images (ghcr.io) (push) Has been cancelled
CI / 📦 Track Image Sizes (push) Has been cancelled
CI / 🔎 Code Check - Action Lint (push) Has been cancelled
CI / 🔎 Code Check (push) Has been cancelled
CI / 🔨 Test Storybook (push) Has been cancelled
CI / 🔨 Test Unit (push) Has been cancelled
CI / 🔨 Test API (CE) (push) Has been cancelled
CI / 🔨 Test API Livechat (CE) (push) Has been cancelled
CI / 🔨 Test UI (CE) (push) Has been cancelled
CI / 🔨 Test API (EE) (push) Has been cancelled
CI / 🔨 Test API Livechat (EE) (push) Has been cancelled
CI / 🔨 Test API Apps (deno-runtime - EE) (push) Has been cancelled
CI / 🔨 Test UI (EE) (push) Has been cancelled
CI / 🔨 Test API (FIPS) (push) Has been cancelled
CI / 🔨 Test API Livechat (FIPS) (push) Has been cancelled
CI / 🔨 Test UI (FIPS) (push) Has been cancelled
CI / 🔨 Test Federation Matrix (push) Has been cancelled
CI / 📊 Report Coverage (push) Has been cancelled
CI / ✅ Tests Done (push) Has been cancelled
CI / 🚀 Publish build assets (push) Has been cancelled
CI / 🚀 Publish Docker Images (DockerHub) (push) Has been cancelled
CI / 🚀 Notify external services (push) Has been cancelled
CI / Update Version Durability (push) Has been cancelled
Release / Release (push) Has been cancelled
Auto-close duplicate issues / auto-close-duplicates (push) Failing after 1s
Code scanning - action / CodeQL-Build (push) Failing after 1s
This commit is contained in:
255
packages/apps/tests/test-data/bridges/appBridges.ts
Normal file
255
packages/apps/tests/test-data/bridges/appBridges.ts
Normal file
@@ -0,0 +1,255 @@
|
||||
import { TestOAuthAppsBridge } from './OAuthAppsBridge';
|
||||
import { TestsActivationBridge } from './activationBridge';
|
||||
import { TestsApiBridge } from './apiBridge';
|
||||
import { TestsAppDetailChangesBridge } from './appDetailChanges';
|
||||
import { TestAppCloudWorkspaceBridge } from './cloudBridge';
|
||||
import { TestsCommandBridge } from './commandBridge';
|
||||
import { TestContactBridge } from './contactBridge';
|
||||
import { TestsEmailBridge } from './emailBridge';
|
||||
import { TestsEnvironmentalVariableBridge } from './environmentalVariableBridge';
|
||||
import { TestExperimentalBridge } from './experimentalBridge';
|
||||
import { TestsHttpBridge } from './httpBridge';
|
||||
import { TestsInternalBridge } from './internalBridge';
|
||||
import { TestsInternalFederationBridge } from './internalFederationBridge';
|
||||
import { TestLivechatBridge } from './livechatBridge';
|
||||
import { TestsMessageBridge } from './messageBridge';
|
||||
import { TestsModerationBridge } from './moderationBridge';
|
||||
import { TestOutboundCommunicationBridge } from './outboundComms';
|
||||
import { TestsPersisBridge } from './persisBridge';
|
||||
import { TestsRoleBridge } from './roleBridge';
|
||||
import { TestsRoomBridge } from './roomBridge';
|
||||
import { TestSchedulerBridge } from './schedulerBridge';
|
||||
import { TestsServerSettingBridge } from './serverSettingBridge';
|
||||
import { TestsThreadBridge } from './threadBridge';
|
||||
import { TestsUiIntegrationBridge } from './uiIntegrationBridge';
|
||||
import { TestUploadBridge } from './uploadBridge';
|
||||
import { TestsUserBridge } from './userBridge';
|
||||
import { TestsVideoConferenceBridge } from './videoConferenceBridge';
|
||||
import { AppBridges } from '../../../src/server/bridges';
|
||||
import type {
|
||||
AppActivationBridge,
|
||||
AppDetailChangesBridge,
|
||||
ContactBridge,
|
||||
EnvironmentalVariableBridge,
|
||||
ExperimentalBridge,
|
||||
HttpBridge,
|
||||
IInternalBridge,
|
||||
IListenerBridge,
|
||||
LivechatBridge,
|
||||
MessageBridge,
|
||||
ModerationBridge,
|
||||
OutboundMessageBridge,
|
||||
PersistenceBridge,
|
||||
RoleBridge,
|
||||
RoomBridge,
|
||||
SchedulerBridge,
|
||||
ServerSettingBridge,
|
||||
UiInteractionBridge,
|
||||
UploadBridge,
|
||||
UserBridge,
|
||||
VideoConferenceBridge,
|
||||
} from '../../../src/server/bridges';
|
||||
import type { CloudWorkspaceBridge } from '../../../src/server/bridges/CloudWorkspaceBridge';
|
||||
import type { EmailBridge } from '../../../src/server/bridges/EmailBridge';
|
||||
import type { IInternalFederationBridge } from '../../../src/server/bridges/IInternalFederationBridge';
|
||||
import type { OAuthAppsBridge } from '../../../src/server/bridges/OAuthAppsBridge';
|
||||
import type { ThreadBridge } from '../../../src/server/bridges/ThreadBridge';
|
||||
|
||||
export class TestsAppBridges extends AppBridges {
|
||||
private readonly appDetails: TestsAppDetailChangesBridge;
|
||||
|
||||
private readonly cmdBridge: TestsCommandBridge;
|
||||
|
||||
private readonly apiBridge: TestsApiBridge;
|
||||
|
||||
private readonly setsBridge: TestsServerSettingBridge;
|
||||
|
||||
private readonly envBridge: TestsEnvironmentalVariableBridge;
|
||||
|
||||
private readonly rlActBridge: TestsActivationBridge;
|
||||
|
||||
private readonly msgBridge: TestsMessageBridge;
|
||||
|
||||
private readonly moderationBridge: TestsModerationBridge;
|
||||
|
||||
private readonly persisBridge: TestsPersisBridge;
|
||||
|
||||
private readonly roleBridge: TestsRoleBridge;
|
||||
|
||||
private readonly roomBridge: TestsRoomBridge;
|
||||
|
||||
private readonly internalBridge: TestsInternalBridge;
|
||||
|
||||
private readonly userBridge: TestsUserBridge;
|
||||
|
||||
private readonly httpBridge: TestsHttpBridge;
|
||||
|
||||
private readonly livechatBridge: TestLivechatBridge;
|
||||
|
||||
private readonly uploadBridge: TestUploadBridge;
|
||||
|
||||
private readonly emailBridge: EmailBridge;
|
||||
|
||||
private readonly contactBridge: ContactBridge;
|
||||
|
||||
private readonly uiIntegrationBridge: TestsUiIntegrationBridge;
|
||||
|
||||
private readonly schedulerBridge: TestSchedulerBridge;
|
||||
|
||||
private readonly cloudWorkspaceBridge: TestAppCloudWorkspaceBridge;
|
||||
|
||||
private readonly videoConfBridge: TestsVideoConferenceBridge;
|
||||
|
||||
private readonly oauthBridge: OAuthAppsBridge;
|
||||
|
||||
private readonly internalFederationBridge: IInternalFederationBridge;
|
||||
|
||||
private readonly threadBridge: ThreadBridge;
|
||||
|
||||
private readonly outboundCommsBridge: TestOutboundCommunicationBridge;
|
||||
|
||||
private readonly experimentalBridge: TestExperimentalBridge;
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
this.appDetails = new TestsAppDetailChangesBridge();
|
||||
this.cmdBridge = new TestsCommandBridge();
|
||||
this.apiBridge = new TestsApiBridge();
|
||||
this.setsBridge = new TestsServerSettingBridge();
|
||||
this.envBridge = new TestsEnvironmentalVariableBridge();
|
||||
this.rlActBridge = new TestsActivationBridge();
|
||||
this.msgBridge = new TestsMessageBridge();
|
||||
this.moderationBridge = new TestsModerationBridge();
|
||||
this.persisBridge = new TestsPersisBridge();
|
||||
this.roleBridge = new TestsRoleBridge();
|
||||
this.roomBridge = new TestsRoomBridge();
|
||||
this.internalBridge = new TestsInternalBridge();
|
||||
this.userBridge = new TestsUserBridge();
|
||||
this.httpBridge = new TestsHttpBridge();
|
||||
this.livechatBridge = new TestLivechatBridge();
|
||||
this.uploadBridge = new TestUploadBridge();
|
||||
this.uiIntegrationBridge = new TestsUiIntegrationBridge();
|
||||
this.schedulerBridge = new TestSchedulerBridge();
|
||||
this.cloudWorkspaceBridge = new TestAppCloudWorkspaceBridge();
|
||||
this.videoConfBridge = new TestsVideoConferenceBridge();
|
||||
this.oauthBridge = new TestOAuthAppsBridge();
|
||||
this.internalFederationBridge = new TestsInternalFederationBridge();
|
||||
this.threadBridge = new TestsThreadBridge();
|
||||
this.emailBridge = new TestsEmailBridge();
|
||||
this.contactBridge = new TestContactBridge();
|
||||
this.outboundCommsBridge = new TestOutboundCommunicationBridge();
|
||||
this.experimentalBridge = new TestExperimentalBridge();
|
||||
}
|
||||
|
||||
public getCommandBridge(): TestsCommandBridge {
|
||||
return this.cmdBridge;
|
||||
}
|
||||
|
||||
public getApiBridge(): TestsApiBridge {
|
||||
return this.apiBridge;
|
||||
}
|
||||
|
||||
public getServerSettingBridge(): ServerSettingBridge {
|
||||
return this.setsBridge;
|
||||
}
|
||||
|
||||
public getEnvironmentalVariableBridge(): EnvironmentalVariableBridge {
|
||||
return this.envBridge;
|
||||
}
|
||||
|
||||
public getAppDetailChangesBridge(): AppDetailChangesBridge {
|
||||
return this.appDetails;
|
||||
}
|
||||
|
||||
public getHttpBridge(): HttpBridge {
|
||||
return this.httpBridge;
|
||||
}
|
||||
|
||||
public getListenerBridge(): IListenerBridge {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
public getMessageBridge(): MessageBridge {
|
||||
return this.msgBridge;
|
||||
}
|
||||
|
||||
public getModerationBridge(): ModerationBridge {
|
||||
return this.moderationBridge;
|
||||
}
|
||||
|
||||
public getPersistenceBridge(): PersistenceBridge {
|
||||
return this.persisBridge;
|
||||
}
|
||||
|
||||
public getAppActivationBridge(): AppActivationBridge {
|
||||
return this.rlActBridge;
|
||||
}
|
||||
|
||||
public getThreadBridge(): ThreadBridge {
|
||||
return this.threadBridge;
|
||||
}
|
||||
|
||||
public getRoleBridge(): RoleBridge {
|
||||
return this.roleBridge;
|
||||
}
|
||||
|
||||
public getRoomBridge(): RoomBridge {
|
||||
return this.roomBridge;
|
||||
}
|
||||
|
||||
public getInternalBridge(): IInternalBridge {
|
||||
return this.internalBridge;
|
||||
}
|
||||
|
||||
public getUserBridge(): UserBridge {
|
||||
return this.userBridge;
|
||||
}
|
||||
|
||||
public getLivechatBridge(): LivechatBridge {
|
||||
return this.livechatBridge;
|
||||
}
|
||||
|
||||
public getEmailBridge(): EmailBridge {
|
||||
return this.emailBridge;
|
||||
}
|
||||
|
||||
public getUploadBridge(): UploadBridge {
|
||||
return this.uploadBridge;
|
||||
}
|
||||
|
||||
public getUiInteractionBridge(): UiInteractionBridge {
|
||||
return this.uiIntegrationBridge;
|
||||
}
|
||||
|
||||
public getSchedulerBridge(): SchedulerBridge {
|
||||
return this.schedulerBridge;
|
||||
}
|
||||
|
||||
public getCloudWorkspaceBridge(): CloudWorkspaceBridge {
|
||||
return this.cloudWorkspaceBridge;
|
||||
}
|
||||
|
||||
public getVideoConferenceBridge(): VideoConferenceBridge {
|
||||
return this.videoConfBridge;
|
||||
}
|
||||
|
||||
public getOAuthAppsBridge(): OAuthAppsBridge {
|
||||
return this.oauthBridge;
|
||||
}
|
||||
|
||||
public getInternalFederationBridge(): IInternalFederationBridge {
|
||||
return this.internalFederationBridge;
|
||||
}
|
||||
|
||||
public getContactBridge(): ContactBridge {
|
||||
return this.contactBridge;
|
||||
}
|
||||
|
||||
public getOutboundMessageBridge(): OutboundMessageBridge {
|
||||
return this.outboundCommsBridge;
|
||||
}
|
||||
|
||||
public getExperimentalBridge(): ExperimentalBridge {
|
||||
return this.experimentalBridge;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user