update imports of getOwner to be from @ember/owner (#27953)

This commit is contained in:
Chelsea Shaw 2024-08-02 10:58:15 -05:00 committed by GitHub
parent f786af16a9
commit ec5dfceaa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
19 changed files with 19 additions and 19 deletions

View File

@ -6,7 +6,7 @@
import { service } from '@ember/service';
import { alias, or } from '@ember/object/computed';
import Component from '@ember/component';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { schedule } from '@ember/runloop';
import { camelize } from '@ember/string';
import { task } from 'ember-concurrency';

View File

@ -6,7 +6,7 @@
import { service } from '@ember/service';
import Component from '@glimmer/component';
import { action } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { tracked } from '@glimmer/tracking';
/**

View File

@ -4,7 +4,7 @@
*/
import Component from '@ember/component';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import config from '../config/environment';
import { service } from '@ember/service';

View File

@ -5,7 +5,7 @@
import Component from '@ember/component';
import { task } from 'ember-concurrency';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { service } from '@ember/service';
import { alias } from '@ember/object/computed';
import { AbortController } from 'fetch';

View File

@ -5,7 +5,7 @@
import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { isArray } from '@ember/array';
import { computed, get } from '@ember/object';
import { alias } from '@ember/object/computed';

View File

@ -6,7 +6,7 @@
// Low level service that allows users to input paths to make requests to vault
// this service provides the UI synecdote to the cli commands read, write, delete, and list
import Service from '@ember/service';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { shiftCommandIndex } from 'vault/lib/console-helpers';
import { encodePath } from 'vault/utils/path-encoding-helpers';
import { sanitizePath, ensureTrailingSlash } from 'core/utils/sanitize-path';

View File

@ -6,7 +6,7 @@
import ListController from 'core/mixins/list-controller';
import Controller from '@ember/controller';
import { computed } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
export default Controller.extend(ListController, {
mountPoint: computed(function () {

View File

@ -6,7 +6,7 @@
import ListController from 'core/mixins/list-controller';
import Controller from '@ember/controller';
import { computed } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
export default Controller.extend(ListController, {
mountPoint: computed(function () {

View File

@ -6,7 +6,7 @@
import ListController from 'core/mixins/list-controller';
import Controller from '@ember/controller';
import { computed } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
export default Controller.extend(ListController, {
mountPoint: computed(function () {

View File

@ -6,7 +6,7 @@
import Component from '@glimmer/component';
import { service } from '@ember/service';
import { action } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import errorMessage from 'vault/utils/error-message';
import { tracked } from '@glimmer/tracking';
import keys from 'core/utils/key-codes';

View File

@ -7,7 +7,7 @@ import Component from '@glimmer/component';
import { service } from '@ember/service';
import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { ancestorKeysForKey } from 'core/utils/key-utils';
import errorMessage from 'vault/utils/error-message';
import { pathIsDirectory } from 'kv/utils/kv-breadcrumbs';

View File

@ -7,7 +7,7 @@ import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { service } from '@ember/service';
import { action } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import errorMessage from 'vault/utils/error-message';
import type LdapLibraryModel from 'vault/models/ldap/library';

View File

@ -6,7 +6,7 @@
import Component from '@glimmer/component';
import { service } from '@ember/service';
import { action } from '@ember/object';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import errorMessage from 'vault/utils/error-message';
import type LdapRoleModel from 'vault/models/ldap/role';

View File

@ -4,7 +4,7 @@
*/
import Controller from '@ember/controller';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import { action } from '@ember/object';
export default class PkiCertificatesIndexController extends Controller {

View File

@ -4,7 +4,7 @@
*/
import Controller from '@ember/controller';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
export default class PkiIssuerIndexController extends Controller {
queryParams = ['page'];

View File

@ -4,7 +4,7 @@
*/
import Controller from '@ember/controller';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
export default class PkiKeysIndexController extends Controller {
queryParams = ['page'];

View File

@ -4,7 +4,7 @@
*/
import Controller from '@ember/controller';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
export default class PkiRolesIndexController extends Controller {
queryParams = ['page'];

View File

@ -7,7 +7,7 @@ import Component from '@glimmer/component';
import { service } from '@ember/service';
import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import errorMessage from 'vault/utils/error-message';
import { findDestination, syncDestinations } from 'core/helpers/sync-destinations';
import { next } from '@ember/runloop';

View File

@ -7,7 +7,7 @@ import Component from '@glimmer/component';
import { service } from '@ember/service';
import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';
import { getOwner } from '@ember/application';
import { getOwner } from '@ember/owner';
import errorMessage from 'vault/utils/error-message';
import SyncDestinationModel from 'vault/vault/models/sync/destination';