Skip to content

Commit b67c06c

Browse files
Update ember-simple-auth to v7 (#2255)
* feat(deps): bump ember-simple-auth to v7 * refactor: import 'our' session service instead of the generic'
1 parent 8908984 commit b67c06c

22 files changed

Lines changed: 61 additions & 112 deletions

File tree

app/components/forgot-password.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import Component from '@glimmer/component';
55
import { tracked } from '@glimmer/tracking';
66

77
import type CognitoService from 'ember-cognito/services/cognito';
8-
import type Session from 'ember-simple-auth/services/session';
98

109
import 'swach/components/loading-button';
10+
import type Session from 'swach/services/session';
1111

1212
export default class ForgotPasswordComponent extends Component {
1313
@service declare cognito: CognitoService;

app/components/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import Component from '@glimmer/component';
55
import { tracked } from '@glimmer/tracking';
66

77
import { storageFor } from 'ember-local-storage';
8-
import type Session from 'ember-simple-auth/services/session';
98

109
import config from 'swach/config/environment';
10+
import type Session from 'swach/services/session';
1111
import type { SettingsStorage } from 'swach/storages/settings';
1212

1313
export default class LoginComponent extends Component {

app/controllers/application.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import { tracked } from '@glimmer/tracking';
77
import type FlashMessageService from 'ember-cli-flash/services/flash-messages';
88
import { storageFor } from 'ember-local-storage';
99
import type { Store } from 'ember-orbit';
10-
import type Session from 'ember-simple-auth/services/session';
1110

1211
import type { RecordSchema } from '@orbit/records';
1312
import type { IpcRenderer } from 'electron';
1413

1514
import type ColorModel from 'swach/data-models/color';
1615
import type ColorUtils from 'swach/services/color-utils';
1716
import type DataService from 'swach/services/data';
17+
import type Session from 'swach/services/session';
1818
import type UndoManager from 'swach/services/undo-manager';
1919
import type { SettingsStorage, themes } from 'swach/storages/settings';
2020

app/controllers/settings.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import Controller, { inject as controller } from '@ember/controller';
22
import { action } from '@ember/object';
33
import { service } from '@ember/service';
44

5-
import type Session from 'ember-simple-auth/services/session';
6-
75
import type ApplicationController from 'swach/controllers/application';
6+
import type Session from 'swach/services/session';
87

98
export default class SettingsController extends Controller {
109
@controller application!: ApplicationController;

app/controllers/settings/cloud/profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { action } from '@ember/object';
33
import { service } from '@ember/service';
44
import { tracked } from '@glimmer/tracking';
55

6-
import type Session from 'ember-simple-auth/services/session';
6+
import type Session from 'swach/services/session';
77

88
export default class SettingsAccountController extends Controller {
99
@service declare session: Session;

app/routes/-private/application.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import Route from '@ember/routing/route';
22
import type Router from '@ember/routing/router-service';
33
import { service } from '@ember/service';
44

5-
import type Session from 'ember-simple-auth/services/session';
6-
75
import type DataService from 'swach/services/data';
6+
import type Session from 'swach/services/session';
87

98
export default class ApplicationRoute extends Route {
109
@service declare data: DataService;

app/routes/colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { service } from '@ember/service';
44

55
import { storageFor } from 'ember-local-storage';
66
import type { Store } from 'ember-orbit';
7-
import type Session from 'ember-simple-auth/services/session';
87

98
import type PaletteModel from 'swach/data-models/palette';
9+
import type Session from 'swach/services/session';
1010
import type { SettingsStorage } from 'swach/storages/settings';
1111
import viewTransitions from 'swach/utils/view-transitions';
1212

app/routes/contrast.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Route from '@ember/routing/route';
33
import { service } from '@ember/service';
44

55
import { storageFor } from 'ember-local-storage';
6-
import type Session from 'ember-simple-auth/services/session';
76

7+
import type Session from 'swach/services/session';
88
import type { SettingsStorage } from 'swach/storages/settings';
99
import viewTransitions from 'swach/utils/view-transitions';
1010

app/routes/kuler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { service } from '@ember/service';
44

55
import { storageFor } from 'ember-local-storage';
66
import type { Store } from 'ember-orbit';
7-
import type Session from 'ember-simple-auth/services/session';
87

98
import type ColorModel from 'swach/data-models/color';
9+
import type Session from 'swach/services/session';
1010
import type { SettingsStorage } from 'swach/storages/settings';
1111
import viewTransitions from 'swach/utils/view-transitions';
1212

app/routes/palettes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { service } from '@ember/service';
44

55
import { storageFor } from 'ember-local-storage';
66
import type { LiveQuery, Store } from 'ember-orbit';
7-
import type Session from 'ember-simple-auth/services/session';
87

8+
import type Session from 'swach/services/session';
99
import type { SettingsStorage } from 'swach/storages/settings';
1010
import viewTransitions from 'swach/utils/view-transitions';
1111

0 commit comments

Comments
 (0)