🔄 Rename all "twake" instances to "tdrive"

🔄 Rename all "twake" instances to "tdrive"
This commit is contained in:
Montassar Ghanmy
2023-04-10 14:12:00 +01:00
committed by GitHub
parent 88cba77421
commit d91a13e2cc
323 changed files with 1021 additions and 1023 deletions
@@ -1,6 +1,6 @@
import Api from '../../global/framework/api-service';
import { ChannelType } from 'app/features/channels/types/channel';
import { TwakeService } from '../../global/framework/registry-decorator-service';
import { TdriveService } from '../../global/framework/registry-decorator-service';
import { delayRequest } from 'app/features/global/utils/managedSearchRequest';
import { removeBadgesNow } from 'app/features/users/hooks/use-notifications';
@@ -14,7 +14,7 @@ export type SearchOptions = {
limit?: number;
};
@TwakeService('ChannelAPIClientService')
@TdriveService('ChannelAPIClientService')
class ChannelAPIClientService {
private logger = Logger.getLogger('ChannelAPIClientService');
@@ -1,6 +1,6 @@
import Api from '../../global/framework/api-service';
import { ChannelType } from 'app/features/channels/types/channel';
import { TwakeService } from '../../global/framework/registry-decorator-service';
import { TdriveService } from '../../global/framework/registry-decorator-service';
import { WebsocketRoom } from '../../global/types/websocket-types';
type ChannelsMineGetResponse = { resources: ChannelType[]; websockets: WebsocketRoom[] };
@@ -10,7 +10,7 @@ type ChannelsMineDeleteBaseResponse = {
message: string;
};
@TwakeService('ChannelsMineAPIClientService')
@TdriveService('ChannelsMineAPIClientService')
class ChannelsMineAPIClient {
private readonly prefix = '/internal/services/channels/v1/companies';
private readonly realtime: Map<string, WebsocketRoom[]> = new Map();
@@ -5,10 +5,10 @@ import {
} from 'app/features/channels/types/channels-reachable-types';
import Api from '../../global/framework/api-service';
import { ChannelType } from 'app/features/channels/types/channel';
import { TwakeService } from '../../global/framework/registry-decorator-service';
import { TdriveService } from '../../global/framework/registry-decorator-service';
import { ChannelMemberType } from 'app/features/channel-members/types/channel-member-types';
@TwakeService('ChannelsReachableAPIClientService')
@TdriveService('ChannelsReachableAPIClientService')
class ChannelsReachableAPIClientService {
private readonly prefix = '/internal/services/channels/v1/companies';