Skip to content

Commit

Permalink
chore: remove service inject imports (#324)
Browse files Browse the repository at this point in the history
* Inject service import

* Inject
  • Loading branch information
charlesfries authored Sep 11, 2024
1 parent fc26996 commit d5b6b93
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion addon/adapters/cloud-firestore-modular.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getOwner } from '@ember/application';
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Adapter from '@ember-data/adapter';
import DS, { type ModelSchema } from 'ember-data';
import type ModelRegistry from 'ember-data/types/registries/model';
Expand Down
2 changes: 1 addition & 1 deletion addon/services/-firestore-data-manager.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { next } from '@ember/runloop';
import DS from 'ember-data';
import type ModelRegistry from 'ember-data/types/registries/model';
import Service, { inject as service } from '@ember/service';
import Service, { service } from '@ember/service';
import StoreService from '@ember-data/store';

import type {
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/controllers/application.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { action } from '@ember/object';
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Controller from '@ember/controller';

import type { Auth } from 'firebase/auth';
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/controllers/features.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { action } from '@ember/object';
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import { tracked } from '@glimmer/tracking';
import Controller from '@ember/controller';
import EmberArray from '@ember/array';
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/application.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Route from '@ember/routing/route';

import SessionService from 'ember-simple-auth/services/session';
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/create-record.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Route from '@ember/routing/route';
import Store from '@ember-data/store';

Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/delete-record.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Route from '@ember/routing/route';
import Store from '@ember-data/store';

Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/find-all.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import ArrayProxy from '@ember/array/proxy';
import Route from '@ember/routing/route';
import Store from '@ember-data/store';
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/find-record.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Route from '@ember/routing/route';
import Store from '@ember-data/store';

Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/query.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import ArrayProxy from '@ember/array/proxy';
import Route from '@ember/routing/route';
import Store from '@ember-data/store';
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/routes/update-record.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import Route from '@ember/routing/route';
import Store from '@ember-data/store';

Expand Down

0 comments on commit d5b6b93

Please sign in to comment.