Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Jan 14, 2025
1 parent 6ee5df9 commit d47c2d6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions client/src/www/app/outline_server_repository/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import {SHADOWSOCKS_URI} from 'ShadowsocksConfig';
import * as net from '@outline/infrastructure/net';
import {SHADOWSOCKS_URI} from 'ShadowsocksConfig';

import * as errors from '../../model/errors';

Expand All @@ -33,15 +33,21 @@ export type ServiceConfig = StaticServiceConfig | DynamicServiceConfig;
* It's the structured representation of a Static Access Key.
*/
export class StaticServiceConfig {
constructor(readonly name: string, readonly tunnelConfig: TunnelConfigJson) {}
constructor(
readonly name: string,
readonly tunnelConfig: TunnelConfigJson
) {}
}

/**
* DynamicServiceConfig is a ServiceConfig that has the location to fetch the tunnel config.
* It's the structured representation of a Dynamic Access Key.
*/
export class DynamicServiceConfig {
constructor(readonly name: string, readonly transportConfigLocation: URL) {}
constructor(
readonly name: string,
readonly transportConfigLocation: URL
) {}
}

/**
Expand Down

0 comments on commit d47c2d6

Please sign in to comment.