fix linting errors

This commit is contained in:
Jesper Møller Jensen
2023-05-30 19:11:35 +12:00
parent b1531f2de6
commit d8268713f1
5 changed files with 9 additions and 11 deletions

View File

@@ -1,10 +1,8 @@
import { css, CSSResultGroup, html, LitElement, unsafeCSS } from 'lit';
import { css, CSSResultGroup, html, LitElement } from 'lit';
import { customElement } from 'lit/decorators.js';
@customElement('umb-auth-layout')
export class UmbAuthLayoutElement extends LitElement {
render() {
return html`
<div id="background"></div>

View File

@@ -1,4 +1,4 @@
import { LoginRequestModel, IUmbAuthContext, LoginResponse } from './types';
import { LoginRequestModel, IUmbAuthContext, LoginResponse } from './types.js';
export class UmbAuthLegacyContext implements IUmbAuthContext {
readonly #AUTH_URL = '/umbraco/backoffice/umbracoapi/authentication/postlogin';

View File

@@ -1,5 +1,5 @@
import { UmbAuthRepository } from './auth.repository';
import { LoginRequestModel, IUmbAuthContext } from './types';
import { UmbAuthRepository } from './auth.repository.js';
import { LoginRequestModel, IUmbAuthContext } from './types.js';
export class UmbAuthContext implements IUmbAuthContext {
readonly #AUTH_URL = '/umbraco/management/api/v1/security/back-office';

View File

@@ -1,4 +1,4 @@
import { LoginRequestModel } from './types';
import { LoginRequestModel } from './types.js';
export class UmbAuthRepository {
#authURL = '';

View File

@@ -3,11 +3,11 @@ import { css, CSSResultGroup, html, LitElement, nothing } from 'lit';
import { customElement, property, state } from 'lit/decorators.js';
import { UUIButtonState } from '@umbraco-ui/uui';
import { IUmbAuthContext } from './types';
import { UmbAuthLegacyContext } from './auth-legacy.context';
import { UmbAuthContext } from './auth.context';
import { IUmbAuthContext } from './types.js';
import { UmbAuthLegacyContext } from './auth-legacy.context.js';
import { UmbAuthContext } from './auth.context.js';
import './auth-layout.element';
import './auth-layout.element.js';
@customElement('umb-login')
export default class UmbLoginElement extends LitElement {