@ -1,7 +1,7 @@ |
|||||||
import * as React from "react"; |
import * as React from "react"; |
||||||
import { Button, Segment } from "semantic-ui-react"; |
import { Button, Segment } from "semantic-ui-react"; |
||||||
|
|
||||||
import { AppState, injectState } from "@app/state"; |
import { AppState, injectState } from "@client/state"; |
||||||
import { getRandomId } from "@common/utils"; |
import { getRandomId } from "@common/utils"; |
||||||
|
|
||||||
class MessageTest extends React.Component<{ appState: AppState }> { |
class MessageTest extends React.Component<{ appState: AppState }> { |
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 955 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 216 KiB |
@ -1,7 +1,7 @@ |
|||||||
import * as React from "react"; |
import * as React from "react"; |
||||||
import { Redirect } from "react-router"; |
import { Redirect } from "react-router"; |
||||||
|
|
||||||
import { AppState, ConsumeState } from "@app/state"; |
import { AppState, ConsumeState } from "@client/state"; |
||||||
|
|
||||||
export function LogoutPage() { |
export function LogoutPage() { |
||||||
function consumeState(appState: AppState) { |
function consumeState(appState: AppState) { |
@ -1,7 +1,7 @@ |
|||||||
import * as React from "react"; |
import * as React from "react"; |
||||||
import { RouteComponentProps } from "react-router"; |
import { RouteComponentProps } from "react-router"; |
||||||
|
|
||||||
import { DevicesView, MessageTest} from "@app/components"; |
import { DevicesView, MessageTest} from "@client/components"; |
||||||
|
|
||||||
export { LoginPage } from "./LoginPage"; |
export { LoginPage } from "./LoginPage"; |
||||||
export { LogoutPage } from "./LogoutPage"; |
export { LogoutPage } from "./LogoutPage"; |
@ -1,7 +1,7 @@ |
|||||||
import { action, autorun, observable, when } from "mobx"; |
import { action, autorun, observable, when } from "mobx"; |
||||||
import { update } from "serializr"; |
import { update } from "serializr"; |
||||||
|
|
||||||
import { TokenStore } from "@app/state/TokenStore"; |
import { TokenStore } from "@client/state/TokenStore"; |
||||||
import { ErrorCode } from "@common/ErrorCode"; |
import { ErrorCode } from "@common/ErrorCode"; |
||||||
import * as rpc from "@common/jsonRpc"; |
import * as rpc from "@common/jsonRpc"; |
||||||
import logger from "@common/logger"; |
import logger from "@common/logger"; |
@ -1,4 +1,4 @@ |
|||||||
import { TokenStore } from "@app/state/TokenStore"; |
import { TokenStore } from "@client/state/TokenStore"; |
||||||
import ApiError from "@common/ApiError"; |
import ApiError from "@common/ApiError"; |
||||||
import { ErrorCode } from "@common/ErrorCode"; |
import { ErrorCode } from "@common/ErrorCode"; |
||||||
|
|
@ -1,7 +1,7 @@ |
|||||||
import { observable } from "mobx"; |
import { observable } from "mobx"; |
||||||
|
|
||||||
import HttpApi, { ApiError } from "@app/state/HttpApi"; |
import HttpApi, { ApiError } from "@client/state/HttpApi"; |
||||||
import { Token } from "@app/state/Token"; |
import { Token } from "@client/state/Token"; |
||||||
import { TokenGrantPasswordRequest, TokenGrantRefreshRequest, TokenGrantResponse } from "@common/httpApi"; |
import { TokenGrantPasswordRequest, TokenGrantRefreshRequest, TokenGrantResponse } from "@common/httpApi"; |
||||||
import logger from "@common/logger"; |
import logger from "@common/logger"; |
||||||
|
|
@ -1,6 +1,6 @@ |
|||||||
import * as React from "react"; |
import * as React from "react"; |
||||||
|
|
||||||
import { AppState } from "@app/state"; |
import { AppState } from "@client/state"; |
||||||
|
|
||||||
const StateContext = React.createContext<AppState | null>(null); |
const StateContext = React.createContext<AppState | null>(null); |
||||||
|
|