Skip to content

Commit

Permalink
chore(client): move infrastructure out of src
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellacosse committed Apr 17, 2024
1 parent f00a94c commit ac5b3e3
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions client/src/www/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import * as errors from '../model/errors';
import * as events from '../model/events';
import {Server} from '../model/server';
import {OperationTimedOut} from '../../infrastructure/timeout_promise';
import {OperationTimedOut} from '../../../infrastructure/timeout_promise';
import {ServerListItem, ServerConnectionState} from '../views/servers_view';
import {SERVER_CONNECTION_INDICATOR_DURATION_MS} from '../views/servers_view/server_connection_indicator';

Expand All @@ -27,7 +27,7 @@ import {Settings, SettingsKey} from './settings';
import {Updater} from './updater';
import {UrlInterceptor} from './url_interceptor';
import {VpnInstaller} from './vpn_installer';
import {Localizer} from 'src/infrastructure/i18n';
import {Localizer} from '../../../infrastructure/i18n';

enum OUTLINE_ACCESS_KEY_SCHEME {
STATIC = 'ss',
Expand Down
2 changes: 1 addition & 1 deletion client/src/www/model/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import {Server} from './server';
import {CustomError} from '../../infrastructure/custom_error';
import {CustomError} from '../../../infrastructure/custom_error';

export class ServerAlreadyAdded extends CustomError {
constructor(public readonly server: Server) {
Expand Down
2 changes: 1 addition & 1 deletion client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"lib": ["es2022"]
},
"exclude": ["*.cjs", "*.js", "*.mjs", "**/*.spec.ts"],
"include": ["src"]
"include": ["src", "infrastructure"]
}

0 comments on commit ac5b3e3

Please sign in to comment.