🔄 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
@@ -2,7 +2,7 @@
import { Modal } from 'antd';
import Languages from 'app/features/global/services/languages-service';
import { TwakeService } from '../framework/registry-decorator-service';
import { TdriveService } from '../framework/registry-decorator-service';
const { confirm, info } = Modal;
@@ -10,7 +10,7 @@ type Options = {
title?: string;
text?: string;
};
@TwakeService('Alert')
@TdriveService('Alert')
class AlertServiceService {
alert(onClose: () => void, options?: Options) {
info({
@@ -24,7 +24,7 @@ availableFeaturesWithDefaults.set(FeatureNames.UNLIMITED_STORAGE, true);
availableFeaturesWithDefaults.set(FeatureNames.COMPANY_INVITE_MEMBER, true);
/**
* ChannelServiceImpl that allow you to manage feature flipping in Twake using react feature toggles
* ChannelServiceImpl that allow you to manage feature flipping in Tdrive using react feature toggles
*/
class FeatureTogglesService {
public activeFeatureNames: FeatureNames[];
@@ -31,7 +31,7 @@ document.body.addEventListener('dragover', e => e.preventDefault());
document.body.addEventListener('dragenter', e => e.preventDefault());
document.body.addEventListener('drop', e => e.preventDefault());
class TwakeApp {
class TdriveApp {
window: Window;
environment: EnvironmentType;
store_public_access_get_data: any;
@@ -67,6 +67,6 @@ class TwakeApp {
}
}
const app = new TwakeApp();
(window as any).TwakeApp = app;
const app = new TdriveApp();
(window as any).TdriveApp = app;
export default app;
@@ -6,7 +6,7 @@ import Collections from 'app/deprecated/CollectionsV1/Collections/Collections.js
import PseudoMarkdownDictionary from 'components/twacode/pseudo-markdown-dictionary';
import anchorme from 'anchorme';
import emojis_original_service from 'emojione';
import Globals from 'app/features/global/services/globals-twake-app-service';
import Globals from 'app/features/global/services/globals-tdrive-app-service';
class PseudoMarkdownCompiler {
saved_messages: { [key: string]: any } = {};
@@ -1,4 +1,4 @@
import Globals from './globals-twake-app-service';
import Globals from './globals-tdrive-app-service';
import Logger from '../framework/logger-service';
import JWT from '../../auth/jwt-storage-service';
import WebSocketService, { WebSocketOptions } from './websocket-service';