reorganize models
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import ChatListModel from "../Model/chatListModel";
|
||||
import ChatListModel from "../Model/Chat/chatListModel";
|
||||
import ChatModel from "../Model/chatModel";
|
||||
import ChatViewModel from "./chatViewModel";
|
||||
import SettingsViewModel from "./settingsViewModel";
|
||||
import StorageModel from "../Model/storageModel";
|
||||
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/chatModel";
|
||||
import { ChatMessage, ChatMessageStatus } from "../Model/Chat/chatModel";
|
||||
|
||||
import ChatViewModel from "./chatViewModel";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import ChatModel, { ChatMessage } from "../Model/chatModel";
|
||||
import StorageModel, { storageKeys } from "../Model/storageModel";
|
||||
import ChatModel, { ChatMessage } from "../Model/Chat/chatModel";
|
||||
import StorageModel, { storageKeys } from "../Model/Global/storageModel";
|
||||
|
||||
import ChatListViewModel from "./chatListViewModel";
|
||||
import ChatMessageViewModel from "./chatMessageViewModel";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import ConnectionModel from "../Model/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/settingsModel";
|
||||
import SettingsModel from "../Model/Global/settingsModel";
|
||||
|
||||
export default class SettingsViewModel {
|
||||
settingsModel: SettingsModel;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "bloatless-react";
|
||||
|
||||
import StorageModel, { PATH_COMPONENT_SEPARATOR } from "../Model/storageModel";
|
||||
import StorageModel, { PATH_COMPONENT_SEPARATOR } from "../Model/Global/storageModel";
|
||||
|
||||
import { translations } from "../View/translations";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user