reorganize
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import ChatListModel from "../Model/Chat/chatListModel";
|
||||
import ChatModel from "../Model/Chat/chatModel";
|
||||
import ChatListModel from "../../Model/Chat/chatListModel";
|
||||
import ChatModel from "../../Model/Chat/chatModel";
|
||||
import ChatViewModel from "./chatViewModel";
|
||||
import SettingsViewModel from "./settingsViewModel";
|
||||
import StorageModel from "../Model/Global/storageModel";
|
||||
import SettingsViewModel from "../Global/settingsViewModel";
|
||||
import StorageModel from "../../Model/Global/storageModel";
|
||||
|
||||
export default class ChatListViewModel {
|
||||
chatListModel: ChatListModel;
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import { ChatMessage, ChatMessageStatus } from "../Model/Chat/chatModel";
|
||||
import { ChatMessage, ChatMessageStatus } from "../../Model/Chat/chatModel";
|
||||
|
||||
import ChatViewModel from "./chatViewModel";
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import ChatModel, { ChatMessage } from "../Model/Chat/chatModel";
|
||||
import StorageModel, { filePaths } from "../Model/Global/storageModel";
|
||||
import ChatModel, { ChatMessage } from "../../Model/Chat/chatModel";
|
||||
import StorageModel, { filePaths } from "../../Model/Global/storageModel";
|
||||
|
||||
import ChatListViewModel from "./chatListViewModel";
|
||||
import ChatMessageViewModel from "./chatMessageViewModel";
|
||||
import { Color } from "./colors";
|
||||
import SettingsViewModel from "./settingsViewModel";
|
||||
import { localeCompare } from "../Model/Utility/utility";
|
||||
import { Color } from "../../colors";
|
||||
import SettingsViewModel from "../Global/settingsViewModel";
|
||||
import { localeCompare } from "../../Model/Utility/utility";
|
||||
|
||||
export default class ChatViewModel {
|
||||
chatModel: ChatModel;
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import ConnectionModel from "../Model/Global/connectionModel";
|
||||
import ConnectionModel from "../../Model/Global/connectionModel";
|
||||
|
||||
export default class ConnectionViewModel {
|
||||
connectionModel: ConnectionModel;
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import SettingsModel from "../Model/Global/settingsModel";
|
||||
import SettingsModel from "../../Model/Global/settingsModel";
|
||||
|
||||
export default class SettingsViewModel {
|
||||
settingsModel: SettingsModel;
|
||||
@@ -1,8 +1,8 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import StorageModel, { PATH_COMPONENT_SEPARATOR } from "../Model/Global/storageModel";
|
||||
import StorageModel, { PATH_COMPONENT_SEPARATOR } from "../../Model/Global/storageModel";
|
||||
|
||||
import { translations } from "../View/translations";
|
||||
import { translations } from "../../View/translations";
|
||||
|
||||
export default class StorageViewModel {
|
||||
storageModel: StorageModel;
|
||||
@@ -1,9 +0,0 @@
|
||||
export enum Color {
|
||||
Standard = "standard",
|
||||
Coral = "coral",
|
||||
Yellow = "yellow",
|
||||
Mint = "mint",
|
||||
LightBlue = "lightblue",
|
||||
Blue = "blue",
|
||||
purple = "purple",
|
||||
}
|
||||
Reference in New Issue
Block a user