ember-source 4.4.0-alpha.7 → 4.5.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/data.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "The Ember API",
4
4
  "description": "The Ember API: a framework for building ambitious web applications",
5
5
  "url": "https://emberjs.com/",
6
- "version": "4.4.0-alpha.7"
6
+ "version": "4.5.0-alpha.2"
7
7
  },
8
8
  "files": {
9
9
  "node_modules/rsvp/lib/rsvp/promise/all.js": {
@@ -1116,8 +1116,8 @@
1116
1116
  },
1117
1117
  "namespaces": {}
1118
1118
  },
1119
- "packages/@ember/-internals/runtime/lib/system/namespace.js": {
1120
- "name": "packages/@ember/-internals/runtime/lib/system/namespace.js",
1119
+ "packages/@ember/-internals/runtime/lib/system/namespace.ts": {
1120
+ "name": "packages/@ember/-internals/runtime/lib/system/namespace.ts",
1121
1121
  "modules": {},
1122
1122
  "classes": {
1123
1123
  "Namespace": 1
@@ -1322,15 +1322,8 @@
1322
1322
  "Ember": 1
1323
1323
  }
1324
1324
  },
1325
- "packages/@ember/application/lib/application.d.ts": {
1326
- "name": "packages/@ember/application/lib/application.d.ts",
1327
- "modules": {},
1328
- "classes": {},
1329
- "fors": {},
1330
- "namespaces": {}
1331
- },
1332
- "packages/@ember/application/lib/application.js": {
1333
- "name": "packages/@ember/application/lib/application.js",
1325
+ "packages/@ember/application/lib/application.ts": {
1326
+ "name": "packages/@ember/application/lib/application.ts",
1334
1327
  "modules": {
1335
1328
  "@ember/application": 1
1336
1329
  },
@@ -1340,8 +1333,8 @@
1340
1333
  "fors": {},
1341
1334
  "namespaces": {}
1342
1335
  },
1343
- "packages/@ember/application/lib/lazy_load.js": {
1344
- "name": "packages/@ember/application/lib/lazy_load.js",
1336
+ "packages/@ember/application/lib/lazy_load.ts": {
1337
+ "name": "packages/@ember/application/lib/lazy_load.ts",
1345
1338
  "modules": {},
1346
1339
  "classes": {},
1347
1340
  "fors": {
@@ -1349,8 +1342,8 @@
1349
1342
  },
1350
1343
  "namespaces": {}
1351
1344
  },
1352
- "packages/@ember/application/instance.js": {
1353
- "name": "packages/@ember/application/instance.js",
1345
+ "packages/@ember/application/instance.ts": {
1346
+ "name": "packages/@ember/application/instance.ts",
1354
1347
  "modules": {},
1355
1348
  "classes": {
1356
1349
  "ApplicationInstance": 1,
@@ -1474,8 +1467,8 @@
1474
1467
  },
1475
1468
  "namespaces": {}
1476
1469
  },
1477
- "packages/@ember/engine/index.js": {
1478
- "name": "packages/@ember/engine/index.js",
1470
+ "packages/@ember/engine/index.ts": {
1471
+ "name": "packages/@ember/engine/index.ts",
1479
1472
  "modules": {},
1480
1473
  "classes": {
1481
1474
  "Engine": 1
@@ -1483,8 +1476,8 @@
1483
1476
  "fors": {},
1484
1477
  "namespaces": {}
1485
1478
  },
1486
- "packages/@ember/engine/instance.js": {
1487
- "name": "packages/@ember/engine/instance.js",
1479
+ "packages/@ember/engine/instance.ts": {
1480
+ "name": "packages/@ember/engine/instance.ts",
1488
1481
  "modules": {},
1489
1482
  "classes": {
1490
1483
  "EngineInstance": 1
@@ -1825,7 +1818,7 @@
1825
1818
  "namespaces": {},
1826
1819
  "tag": "main",
1827
1820
  "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
1828
- "line": 43,
1821
+ "line": 44,
1829
1822
  "description": "[Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n\n### Showing a property\n\nTemplates manage the flow of an application's UI, and display state (through\nthe DOM) to a user. For example, given a component with the property \"name\",\nthat component's template can use the name in several ways:\n\n```app/components/person-profile.js\nimport Component from '@ember/component';\n\nexport default Component.extend({\n name: 'Jill'\n});\n```\n\n```app/components/person-profile.hbs\n{{this.name}}\n<div>{{this.name}}</div>\n<span data-name={{this.name}}></span>\n```\n\nAny time the \"name\" property on the component changes, the DOM will be\nupdated.\n\nProperties can be chained as well:\n\n```handlebars\n{{@aUserModel.name}}\n<div>{{@listOfUsers.firstObject.name}}</div>\n```\n\n### Using Ember helpers\n\nWhen content is passed in mustaches `{{}}`, Ember will first try to find a helper\nor component with that name. For example, the `if` helper:\n\n```app/components/person-profile.hbs\n{{if this.name \"I have a name\" \"I have no name\"}}\n<span data-has-name={{if this.name true}}></span>\n```\n\nThe returned value is placed where the `{{}}` is called. The above style is\ncalled \"inline\". A second style of helper usage is called \"block\". For example:\n\n```handlebars\n{{#if this.name}}\n I have a name\n{{else}}\n I have no name\n{{/if}}\n```\n\nThe block form of helpers allows you to control how the UI is created based\non the values of properties.\nA third form of helper is called \"nested\". For example here the concat\nhelper will add \" Doe\" to a displayed name if the person has no last name:\n\n```handlebars\n<span data-name={{concat this.firstName (\n if this.lastName (concat \" \" this.lastName) \"Doe\"\n)}}></span>\n```\n\nEmber's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\nnamespace. Documentation on creating custom helpers can be found under\n[helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\nunder [Helper](/ember/release/classes/Helper) if a helper requires access to\ndependency injection).\n\n### Invoking a Component\n\nEmber components represent state to the UI of an application. Further\nreading on components can be found under [Component](/ember/release/classes/Component).",
1830
1823
  "itemtype": "main"
1831
1824
  },
@@ -2045,8 +2038,8 @@
2045
2038
  "ApplicationInstance": 1
2046
2039
  },
2047
2040
  "tag": "module",
2048
- "file": "packages/@ember/application/instance.js",
2049
- "line": 305
2041
+ "file": "packages/@ember/application/instance.ts",
2042
+ "line": 316
2050
2043
  },
2051
2044
  "@ember/array": {
2052
2045
  "name": "@ember/array",
@@ -2162,8 +2155,8 @@
2162
2155
  },
2163
2156
  "namespaces": {},
2164
2157
  "tag": "module",
2165
- "file": "packages/@ember/engine/instance.js",
2166
- "line": 17
2158
+ "file": "packages/@ember/engine/instance.ts",
2159
+ "line": 26
2167
2160
  },
2168
2161
  "@ember/error": {
2169
2162
  "name": "@ember/error",
@@ -2361,7 +2354,7 @@
2361
2354
  "module": "rsvp",
2362
2355
  "namespace": "",
2363
2356
  "file": "packages/@ember/-internals/container/lib/container.ts",
2364
- "line": 55,
2357
+ "line": 51,
2365
2358
  "description": "A container used to instantiate and cache objects.\n\nEvery `Container` must be associated with a `Registry`, which is referenced\nto determine the factory and options that should be used to instantiate\nobjects.\n\nThe public API for `Container` is still in flux and should not be considered\nstable.",
2366
2359
  "access": "private",
2367
2360
  "tagname": ""
@@ -2377,7 +2370,7 @@
2377
2370
  "module": "rsvp",
2378
2371
  "namespace": "",
2379
2372
  "file": "packages/@ember/-internals/container/lib/registry.ts",
2380
- "line": 59,
2373
+ "line": 56,
2381
2374
  "description": "A registry used to store factory and option information keyed\nby type.\n\nA `Registry` stores the factory and option information needed by a\n`Container` to instantiate and cache objects.\n\nThe API for `Registry` is still in flux and should not be considered stable.",
2382
2375
  "access": "private",
2383
2376
  "tagname": "",
@@ -2556,7 +2549,7 @@
2556
2549
  "module": "@ember/component",
2557
2550
  "namespace": "",
2558
2551
  "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
2559
- "line": 43,
2552
+ "line": 44,
2560
2553
  "description": "Ember Helpers are functions that can compute values, and are used in templates.\nFor example, this code calls a helper named `format-currency`:\n\n```app/templates/application.hbs\n<Cost @cents={{230}} />\n```\n\n```app/components/cost.hbs\n<div>{{format-currency @cents currency=\"$\"}}</div>\n```\n\nAdditionally a helper can be called as a nested helper.\nIn this example, we show the formatted currency value if the `showMoney`\nnamed argument is truthy.\n\n```handlebars\n{{if @showMoney (format-currency @cents currency=\"$\")}}\n```\n\nHelpers defined using a class must provide a `compute` function. For example:\n\n```app/helpers/format-currency.js\nimport Helper from '@ember/component/helper';\n\nexport default class extends Helper {\n compute([cents], { currency }) {\n return `${currency}${cents * 0.01}`;\n }\n}\n```\n\nEach time the input to a helper changes, the `compute` function will be\ncalled again.\n\nAs instances, these helpers also have access to the container and will accept\ninjected dependencies.\n\nAdditionally, class helpers can call `recompute` to force a new computation.",
2561
2554
  "extends": "CoreObject",
2562
2555
  "access": "public",
@@ -3281,7 +3274,7 @@
3281
3274
  "extensions": [],
3282
3275
  "plugin_for": [],
3283
3276
  "extension_for": [
3284
- "Application",
3277
+ "Engine",
3285
3278
  "EngineInstance"
3286
3279
  ],
3287
3280
  "module": "ember",
@@ -3357,8 +3350,8 @@
3357
3350
  "extension_for": [],
3358
3351
  "module": "@ember/application",
3359
3352
  "namespace": "",
3360
- "file": "packages/@ember/-internals/runtime/lib/system/namespace.js",
3361
- "line": 19,
3353
+ "file": "packages/@ember/-internals/runtime/lib/system/namespace.ts",
3354
+ "line": 20,
3362
3355
  "description": "A Namespace is an object usually used to contain other objects or methods\nsuch as an application or framework. Create a namespace anytime you want\nto define one of these new containers.\n\n# Example Usage\n\n```javascript\nMyFramework = Ember.Namespace.create({\n VERSION: '1.0.0'\n});\n```",
3363
3356
  "extends": "EmberObject",
3364
3357
  "access": "public",
@@ -3516,13 +3509,10 @@
3516
3509
  "extension_for": [],
3517
3510
  "module": "@ember/application",
3518
3511
  "namespace": "",
3519
- "file": "packages/@ember/application/lib/application.js",
3520
- "line": 30,
3512
+ "file": "packages/@ember/application/lib/application.ts",
3513
+ "line": 31,
3521
3514
  "description": "An instance of `Application` is the starting point for every Ember\napplication. It instantiates, initializes and coordinates the\nobjects that make up your app.\n\nEach Ember app has one and only one `Application` object. Although\nEmber CLI creates this object implicitly, the `Application` class\nis defined in the `app/app.js`. You can define a `ready` method on the\n`Application` class, which will be run by Ember when the application is\ninitialized.\n\n```app/app.js\nconst App = Application.extend({\n ready() {\n // your code here\n }\n})\n```\n\nBecause `Application` ultimately inherits from `Ember.Namespace`, any classes\nyou create will have useful string representations when calling `toString()`.\nSee the `Ember.Namespace` documentation for more information.\n\nWhile you can think of your `Application` as a container that holds the\nother classes in your application, there are several other responsibilities\ngoing on under-the-hood that you may want to understand. It is also important\nto understand that an `Application` is different from an `ApplicationInstance`.\nRefer to the Guides to understand the difference between these.\n\n### Event Delegation\n\nEmber uses a technique called _event delegation_. This allows the framework\nto set up a global, shared event listener instead of requiring each view to\ndo it manually. For example, instead of each view registering its own\n`mousedown` listener on its associated element, Ember sets up a `mousedown`\nlistener on the `body`.\n\nIf a `mousedown` event occurs, Ember will look at the target of the event and\nstart walking up the DOM node tree, finding corresponding views and invoking\ntheir `mouseDown` method as it goes.\n\n`Application` has a number of default events that it listens for, as\nwell as a mapping from lowercase events to camel-cased view method names. For\nexample, the `keypress` event causes the `keyPress` method on the view to be\ncalled, the `dblclick` event causes `doubleClick` to be called, and so on.\n\nIf there is a bubbling browser event that Ember does not listen for by\ndefault, you can specify custom events and their corresponding view method\nnames by setting the application's `customEvents` property:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // add support for the paste event\n paste: 'paste'\n }\n});\n```\n\nTo prevent Ember from setting up a listener for a default event,\nspecify the event name with a `null` value in the `customEvents`\nproperty:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // prevent listeners for mouseenter/mouseleave events\n mouseenter: null,\n mouseleave: null\n }\n});\n```\n\nBy default, the application sets up these event listeners on the document\nbody. However, in cases where you are embedding an Ember application inside\nan existing page, you may want it to set up the listeners on an element\ninside the body.\n\nFor example, if only events inside a DOM element with the ID of `ember-app`\nshould be delegated, set your application's `rootElement` property:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n rootElement: '#ember-app'\n});\n```\n\nThe `rootElement` can be either a DOM element or a CSS selector\nstring. Note that *views appended to the DOM outside the root element will\nnot receive events.* If you specify a custom root element, make sure you only\nappend views inside it!\n\nTo learn more about the events Ember components use, see\n\n[components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n\n### Initializers\n\nTo add behavior to the Application's boot process, you can define initializers in\nthe `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\nThese files should export a named `initialize` function which will receive the created `application`\nobject as its first argument.\n\n```javascript\nexport function initialize(application) {\n // application.inject('route', 'foo', 'service:foo');\n}\n```\n\nApplication initializers can be used for a variety of reasons including:\n\n- setting up external libraries\n- injecting dependencies\n- setting up event listeners in embedded apps\n- deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n\n### Routing\n\nIn addition to creating your application's router, `Application` is\nalso responsible for telling the router when to start routing. Transitions\nbetween routes can be logged with the `LOG_TRANSITIONS` flag, and more\ndetailed intra-transition logging can be logged with\nthe `LOG_TRANSITIONS_INTERNAL` flag:\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create({\n LOG_TRANSITIONS: true, // basic logging of successful transitions\n LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n});\n```\n\nBy default, the router will begin trying to translate the current URL into\napplication state once the browser emits the `DOMContentReady` event. If you\nneed to defer routing, you can call the application's `deferReadiness()`\nmethod. Once routing can begin, call the `advanceReadiness()` method.\n\nIf there is any setup required before routing begins, you can implement a\n`ready()` method on your app that will be invoked immediately before routing\nbegins.",
3522
3515
  "extends": "Engine",
3523
- "uses": [
3524
- "RegistryProxyMixin"
3525
- ],
3526
3516
  "access": "public",
3527
3517
  "tagname": ""
3528
3518
  },
@@ -3536,8 +3526,8 @@
3536
3526
  "extension_for": [],
3537
3527
  "module": "@ember/application",
3538
3528
  "namespace": "",
3539
- "file": "packages/@ember/application/instance.js",
3540
- "line": 10,
3529
+ "file": "packages/@ember/application/instance.ts",
3530
+ "line": 27,
3541
3531
  "description": "The `ApplicationInstance` encapsulates all of the stateful aspects of a\nrunning `Application`.\n\nAt a high-level, we break application boot into two distinct phases:\n\n* Definition time, where all of the classes, templates, and other\n dependencies are loaded (typically in the browser).\n* Run time, where we begin executing the application once everything\n has loaded.\n\nDefinition time can be expensive and only needs to happen once since it is\nan idempotent operation. For example, between test runs and FastBoot\nrequests, the application stays the same. It is only the state that we want\nto reset.\n\nThat state is what the `ApplicationInstance` manages: it is responsible for\ncreating the container that contains all application state, and disposing of\nit once the particular test run or FastBoot request has finished.",
3542
3532
  "access": "public",
3543
3533
  "tagname": "",
@@ -3553,8 +3543,8 @@
3553
3543
  "extension_for": [],
3554
3544
  "module": "@ember/application",
3555
3545
  "namespace": "ApplicationInstance",
3556
- "file": "packages/@ember/application/instance.js",
3557
- "line": 305,
3546
+ "file": "packages/@ember/application/instance.ts",
3547
+ "line": 316,
3558
3548
  "description": "A list of boot-time configuration options for customizing the behavior of\nan `ApplicationInstance`.\n\nThis is an interface class that exists purely to document the available\noptions; you do not need to construct it manually. Simply pass a regular\nJavaScript object containing the desired options into methods that require\none of these options object:\n\n```javascript\nMyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n```\n\nNot all combinations of the supported options are valid. See the documentation\non `Application#visit` for the supported configurations.\n\nInternal, experimental or otherwise unstable flags are marked as private.",
3559
3549
  "access": "public",
3560
3550
  "tagname": ""
@@ -3650,12 +3640,12 @@
3650
3640
  "extension_for": [],
3651
3641
  "module": "@ember/engine",
3652
3642
  "namespace": "",
3653
- "file": "packages/@ember/engine/index.js",
3654
- "line": 30,
3643
+ "file": "packages/@ember/engine/index.ts",
3644
+ "line": 39,
3655
3645
  "description": "The `Engine` class contains core functionality for both applications and\nengines.\n\nEach engine manages a registry that's used for dependency injection and\nexposed through `RegistryProxy`.\n\nEngines also manage initializers and instance initializers.\n\nEngines can spawn `EngineInstance` instances via `buildInstance()`.",
3656
3646
  "extends": "Ember.Namespace",
3657
3647
  "uses": [
3658
- "RegistryProxy"
3648
+ "RegistryProxyMixin"
3659
3649
  ],
3660
3650
  "access": "public",
3661
3651
  "tagname": ""
@@ -3670,8 +3660,8 @@
3670
3660
  "extension_for": [],
3671
3661
  "module": "@ember/engine",
3672
3662
  "namespace": "",
3673
- "file": "packages/@ember/engine/instance.js",
3674
- "line": 17,
3663
+ "file": "packages/@ember/engine/instance.ts",
3664
+ "line": 26,
3675
3665
  "description": "The `EngineInstance` encapsulates all of the stateful aspects of a\nrunning `Engine`.",
3676
3666
  "access": "public",
3677
3667
  "tagname": "",
@@ -4494,7 +4484,7 @@
4494
4484
  },
4495
4485
  {
4496
4486
  "file": "packages/@ember/-internals/container/lib/container.ts",
4497
- "line": 95,
4487
+ "line": 91,
4498
4488
  "access": "private",
4499
4489
  "tagname": "",
4500
4490
  "itemtype": "property",
@@ -4506,7 +4496,7 @@
4506
4496
  },
4507
4497
  {
4508
4498
  "file": "packages/@ember/-internals/container/lib/container.ts",
4509
- "line": 102,
4499
+ "line": 98,
4510
4500
  "access": "private",
4511
4501
  "tagname": "",
4512
4502
  "itemtype": "property",
@@ -4517,7 +4507,7 @@
4517
4507
  },
4518
4508
  {
4519
4509
  "file": "packages/@ember/-internals/container/lib/container.ts",
4520
- "line": 108,
4510
+ "line": 104,
4521
4511
  "access": "private",
4522
4512
  "tagname": "",
4523
4513
  "itemtype": "property",
@@ -4528,7 +4518,7 @@
4528
4518
  },
4529
4519
  {
4530
4520
  "file": "packages/@ember/-internals/container/lib/container.ts",
4531
- "line": 114,
4521
+ "line": 110,
4532
4522
  "description": "Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\nThe singleton is scoped to the container, allowing multiple containers\nto all have their own locally scoped singletons.\n ```javascript\nlet registry = new Registry();\nlet container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\nlet twitter2 = container.lookup('api:twitter');\ntwitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\nlet registry = new Registry();\nlet container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\nlet twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n```",
4533
4523
  "access": "private",
4534
4524
  "tagname": "",
@@ -4543,16 +4533,8 @@
4543
4533
  {
4544
4534
  "name": "options",
4545
4535
  "description": "",
4546
- "type": "Object",
4547
- "optional": true,
4548
- "props": [
4549
- {
4550
- "name": "source",
4551
- "description": "The fullname of the request source (used for local lookup)",
4552
- "type": "String",
4553
- "optional": true
4554
- }
4555
- ]
4536
+ "type": "TypeOptions",
4537
+ "optional": true
4556
4538
  }
4557
4539
  ],
4558
4540
  "return": {
@@ -4564,7 +4546,7 @@
4564
4546
  },
4565
4547
  {
4566
4548
  "file": "packages/@ember/-internals/container/lib/container.ts",
4567
- "line": 154,
4549
+ "line": 149,
4568
4550
  "description": "A depth first traversal, destroying the container, its descendant containers and all\ntheir managed objects.",
4569
4551
  "access": "private",
4570
4552
  "tagname": "",
@@ -4575,7 +4557,7 @@
4575
4557
  },
4576
4558
  {
4577
4559
  "file": "packages/@ember/-internals/container/lib/container.ts",
4578
- "line": 171,
4560
+ "line": 166,
4579
4561
  "description": "Clear either the entire cache or just the cache for a particular key.",
4580
4562
  "access": "private",
4581
4563
  "tagname": "",
@@ -4593,7 +4575,7 @@
4593
4575
  },
4594
4576
  {
4595
4577
  "file": "packages/@ember/-internals/container/lib/container.ts",
4596
- "line": 188,
4578
+ "line": 183,
4597
4579
  "description": "Returns an object that can be used to provide an owner to a\nmanually created instance.",
4598
4580
  "access": "private",
4599
4581
  "tagname": "",
@@ -4608,7 +4590,7 @@
4608
4590
  },
4609
4591
  {
4610
4592
  "file": "packages/@ember/-internals/container/lib/container.ts",
4611
- "line": 201,
4593
+ "line": 196,
4612
4594
  "description": "Given a fullName, return the corresponding factory. The consumer of the factory\nis responsible for the destruction of any factory instances, as there is no\nway for the container to ensure instances are destroyed when it itself is\ndestroyed.",
4613
4595
  "access": "public",
4614
4596
  "tagname": "",
@@ -4630,7 +4612,7 @@
4630
4612
  },
4631
4613
  {
4632
4614
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4633
- "line": 100,
4615
+ "line": 95,
4634
4616
  "description": "A backup registry for resolving registrations when no matches can be found.",
4635
4617
  "access": "private",
4636
4618
  "tagname": "",
@@ -4642,7 +4624,7 @@
4642
4624
  },
4643
4625
  {
4644
4626
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4645
- "line": 108,
4627
+ "line": 103,
4646
4628
  "description": "An object that has a `resolve` method that resolves a name.",
4647
4629
  "access": "private",
4648
4630
  "tagname": "",
@@ -4654,7 +4636,7 @@
4654
4636
  },
4655
4637
  {
4656
4638
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4657
- "line": 116,
4639
+ "line": 111,
4658
4640
  "access": "private",
4659
4641
  "tagname": "",
4660
4642
  "itemtype": "property",
@@ -4665,7 +4647,7 @@
4665
4647
  },
4666
4648
  {
4667
4649
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4668
- "line": 122,
4650
+ "line": 117,
4669
4651
  "access": "private",
4670
4652
  "tagname": "",
4671
4653
  "itemtype": "property",
@@ -4676,7 +4658,7 @@
4676
4658
  },
4677
4659
  {
4678
4660
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4679
- "line": 129,
4661
+ "line": 124,
4680
4662
  "access": "private",
4681
4663
  "tagname": "",
4682
4664
  "itemtype": "property",
@@ -4687,7 +4669,7 @@
4687
4669
  },
4688
4670
  {
4689
4671
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4690
- "line": 136,
4672
+ "line": 131,
4691
4673
  "access": "private",
4692
4674
  "tagname": "",
4693
4675
  "itemtype": "property",
@@ -4698,7 +4680,7 @@
4698
4680
  },
4699
4681
  {
4700
4682
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4701
- "line": 143,
4683
+ "line": 138,
4702
4684
  "access": "private",
4703
4685
  "tagname": "",
4704
4686
  "itemtype": "property",
@@ -4709,7 +4691,7 @@
4709
4691
  },
4710
4692
  {
4711
4693
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4712
- "line": 150,
4694
+ "line": 145,
4713
4695
  "description": "Creates a container based on this registry.",
4714
4696
  "access": "private",
4715
4697
  "tagname": "",
@@ -4731,7 +4713,7 @@
4731
4713
  },
4732
4714
  {
4733
4715
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4734
- "line": 162,
4716
+ "line": 157,
4735
4717
  "description": "Registers a factory for later injection.\n\nExample:\n\n```javascript\nlet registry = new Registry();\n\nregistry.register('model:user', Person, {singleton: false });\nregistry.register('fruit:favorite', Orange);\nregistry.register('communication:main', Email, {singleton: false});\n```",
4736
4718
  "access": "private",
4737
4719
  "tagname": "",
@@ -4759,7 +4741,7 @@
4759
4741
  },
4760
4742
  {
4761
4743
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4762
- "line": 198,
4744
+ "line": 194,
4763
4745
  "description": "Unregister a fullName\n\n```javascript\nlet registry = new Registry();\nregistry.register('model:user', User);\n\nregistry.resolve('model:user').create() instanceof User //=> true\n\nregistry.unregister('model:user')\nregistry.resolve('model:user') === undefined //=> true\n```",
4764
4746
  "access": "private",
4765
4747
  "tagname": "",
@@ -4777,7 +4759,7 @@
4777
4759
  },
4778
4760
  {
4779
4761
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4780
- "line": 228,
4762
+ "line": 222,
4781
4763
  "description": "Given a fullName return the corresponding factory.\n\nBy default `resolve` will retrieve the factory from\nthe registry.\n\n```javascript\nlet registry = new Registry();\nregistry.register('api:twitter', Twitter);\n\nregistry.resolve('api:twitter') // => Twitter\n```\n\nOptionally the registry can be provided with a custom resolver.\nIf provided, `resolve` will first provide the custom resolver\nthe opportunity to resolve the fullName, otherwise it will fallback\nto the registry.\n\n```javascript\nlet registry = new Registry();\nregistry.resolver = function(fullName) {\n // lookup via the module system of choice\n };\n\n// the twitter factory is added to the module system\nregistry.resolve('api:twitter') // => Twitter\n```",
4782
4764
  "access": "private",
4783
4765
  "tagname": "",
@@ -4788,20 +4770,6 @@
4788
4770
  "name": "fullName",
4789
4771
  "description": "",
4790
4772
  "type": "String"
4791
- },
4792
- {
4793
- "name": "options",
4794
- "description": "",
4795
- "type": "Object",
4796
- "optional": true,
4797
- "props": [
4798
- {
4799
- "name": "source",
4800
- "description": "the fullname of the request source (used for local lookups)",
4801
- "type": "String",
4802
- "optional": true
4803
- }
4804
- ]
4805
4773
  }
4806
4774
  ],
4807
4775
  "return": {
@@ -4813,7 +4781,7 @@
4813
4781
  },
4814
4782
  {
4815
4783
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4816
- "line": 271,
4784
+ "line": 263,
4817
4785
  "description": "A hook that can be used to describe how the resolver will\nattempt to find the factory.\n\nFor example, the default Ember `.describe` returns the full\nclass name (including namespace) where Ember's resolver expects\nto find the `fullName`.",
4818
4786
  "access": "private",
4819
4787
  "tagname": "",
@@ -4835,7 +4803,7 @@
4835
4803
  },
4836
4804
  {
4837
4805
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4838
- "line": 294,
4806
+ "line": 286,
4839
4807
  "description": "A hook to enable custom fullName normalization behavior",
4840
4808
  "access": "private",
4841
4809
  "tagname": "",
@@ -4857,7 +4825,7 @@
4857
4825
  },
4858
4826
  {
4859
4827
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4860
- "line": 312,
4828
+ "line": 304,
4861
4829
  "description": "Normalize a fullName based on the application's conventions",
4862
4830
  "access": "private",
4863
4831
  "tagname": "",
@@ -4879,7 +4847,7 @@
4879
4847
  },
4880
4848
  {
4881
4849
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4882
- "line": 327,
4850
+ "line": 319,
4883
4851
  "itemtype": "method",
4884
4852
  "name": "makeToString",
4885
4853
  "access": "private",
@@ -4905,7 +4873,7 @@
4905
4873
  },
4906
4874
  {
4907
4875
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4908
- "line": 345,
4876
+ "line": 337,
4909
4877
  "description": "Given a fullName check if the container is aware of its factory\nor singleton instance.",
4910
4878
  "access": "private",
4911
4879
  "tagname": "",
@@ -4941,7 +4909,7 @@
4941
4909
  },
4942
4910
  {
4943
4911
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4944
- "line": 364,
4912
+ "line": 356,
4945
4913
  "description": "Allow registering options for all factories of a type.\n\n```javascript\nlet registry = new Registry();\nlet container = registry.container();\n\n// if all of type `connection` must not be singletons\nregistry.optionsForType('connection', { singleton: false });\n\nregistry.register('connection:twitter', TwitterConnection);\nregistry.register('connection:facebook', FacebookConnection);\n\nlet twitter = container.lookup('connection:twitter');\nlet twitter2 = container.lookup('connection:twitter');\n\ntwitter === twitter2; // => false\n\nlet facebook = container.lookup('connection:facebook');\nlet facebook2 = container.lookup('connection:facebook');\n\nfacebook === facebook2; // => false\n```",
4946
4914
  "access": "private",
4947
4915
  "tagname": "",
@@ -4964,7 +4932,7 @@
4964
4932
  },
4965
4933
  {
4966
4934
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4967
- "line": 405,
4935
+ "line": 397,
4968
4936
  "access": "private",
4969
4937
  "tagname": "",
4970
4938
  "itemtype": "method",
@@ -4986,14 +4954,14 @@
4986
4954
  },
4987
4955
  {
4988
4956
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4989
- "line": 448,
4957
+ "line": 440,
4990
4958
  "description": "This is deprecated in favor of explicit injection of dependencies.\n\nReference: https://deprecations.emberjs.com/v3.x#toc_implicit-injections\n```\n\n@private\n@method injection\n@param {String} factoryName\n@param {String} property\n@param {String} injectionName\n@deprecated",
4991
4959
  "class": "Registry",
4992
4960
  "module": "rsvp"
4993
4961
  },
4994
4962
  {
4995
4963
  "file": "packages/@ember/-internals/container/lib/registry.ts",
4996
- "line": 478,
4964
+ "line": 470,
4997
4965
  "access": "private",
4998
4966
  "tagname": "",
4999
4967
  "itemtype": "method",
@@ -6180,13 +6148,13 @@
6180
6148
  },
6181
6149
  {
6182
6150
  "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
6183
- "line": 107,
6151
+ "line": 109,
6184
6152
  "class": "Component",
6185
6153
  "module": "@ember/template"
6186
6154
  },
6187
6155
  {
6188
6156
  "file": "packages/@ember/-internals/glimmer/lib/views/outlet.ts",
6189
- "line": 115,
6157
+ "line": 117,
6190
6158
  "class": "Component",
6191
6159
  "module": "@ember/template"
6192
6160
  },
@@ -6432,7 +6400,7 @@
6432
6400
  },
6433
6401
  {
6434
6402
  "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
6435
- "line": 89,
6403
+ "line": 90,
6436
6404
  "description": "Override this function when writing a class-based helper.",
6437
6405
  "itemtype": "method",
6438
6406
  "name": "compute",
@@ -6456,7 +6424,7 @@
6456
6424
  },
6457
6425
  {
6458
6426
  "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
6459
- "line": 109,
6427
+ "line": 112,
6460
6428
  "description": "On a class-based helper, it may be useful to force a recomputation of that\nhelpers value. This is akin to `rerender` on a component.\n\nFor example, this component will rerender when the `currentUser` on a\nsession service changes:\n\n```app/helpers/current-user-email.js\nimport Helper from '@ember/component/helper'\nimport { service } from '@ember/service'\nimport { observer } from '@ember/object'\n\nexport default Helper.extend({\n session: service(),\n\n onNewUser: observer('session.currentUser', function() {\n this.recompute();\n }),\n\n compute() {\n return this.get('session.currentUser.email');\n }\n});\n```",
6461
6429
  "itemtype": "method",
6462
6430
  "name": "recompute",
@@ -6468,7 +6436,7 @@
6468
6436
  },
6469
6437
  {
6470
6438
  "file": "packages/@ember/-internals/glimmer/lib/helper.ts",
6471
- "line": 247,
6439
+ "line": 264,
6472
6440
  "description": "In many cases it is not necessary to use the full `Helper` class.\nThe `helper` method create pure-function helpers without instances.\nFor example:\n\n```app/helpers/format-currency.js\nimport { helper } from '@ember/component/helper';\n\nexport default helper(function([cents], {currency}) {\n return `${currency}${cents * 0.01}`;\n});\n```",
6473
6441
  "static": 1,
6474
6442
  "params": [
@@ -7898,7 +7866,7 @@
7898
7866
  },
7899
7867
  {
7900
7868
  "file": "packages/@ember/-internals/owner/index.ts",
7901
- "line": 44,
7869
+ "line": 31,
7902
7870
  "description": "Framework objects in an Ember application (components, services, routes, etc.)\nare created via a factory and dependency injection system. Each of these\nobjects is the responsibility of an \"owner\", which handled its\ninstantiation and manages its lifetime.\n\n`getOwner` fetches the owner object responsible for an instance. This can\nbe used to lookup or resolve other class instances, or register new factories\ninto the owner.\n\nFor example, this component dynamically looks up a service based on the\n`audioType` passed as an argument:\n\n```app/components/play-audio.js\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { getOwner } from '@ember/application';\n\n// Usage:\n//\n// <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n//\nexport default class extends Component {\n get audioService() {\n let owner = getOwner(this);\n return owner.lookup(`service:${this.args.audioType}`);\n }\n\n @action\n onPlay() {\n let player = this.audioService;\n player.play(this.args.audioFile);\n }\n}\n```",
7903
7871
  "itemtype": "method",
7904
7872
  "name": "getOwner",
@@ -7922,7 +7890,7 @@
7922
7890
  },
7923
7891
  {
7924
7892
  "file": "packages/@ember/-internals/owner/index.ts",
7925
- "line": 92,
7893
+ "line": 79,
7926
7894
  "description": "`setOwner` forces a new owner on a given object instance. This is primarily\nuseful in some testing cases.",
7927
7895
  "itemtype": "method",
7928
7896
  "name": "setOwner",
@@ -10289,7 +10257,7 @@
10289
10257
  },
10290
10258
  {
10291
10259
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10292
- "line": 549,
10260
+ "line": 553,
10293
10261
  "description": "Initializes the current router instance and sets up the change handling\nevent listeners used by the instances `location` implementation.\n\nA property named `initialURL` will be used to determine the initial URL.\nIf no value is found `/` will be used.",
10294
10262
  "itemtype": "method",
10295
10263
  "name": "startRouting",
@@ -10300,7 +10268,7 @@
10300
10268
  },
10301
10269
  {
10302
10270
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10303
- "line": 672,
10271
+ "line": 676,
10304
10272
  "description": "Transition the application into another route. The route may\nbe either a single route or route path:",
10305
10273
  "itemtype": "method",
10306
10274
  "name": "transitionTo",
@@ -10334,7 +10302,7 @@
10334
10302
  },
10335
10303
  {
10336
10304
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10337
- "line": 717,
10305
+ "line": 721,
10338
10306
  "description": "Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\nit replaces the entry for the current route.\nWhen the user clicks the \"back\" button in the browser, there will be fewer steps.\nThis is most commonly used to manage redirects in a way that does not cause confusing additions\nto the user's browsing history.",
10339
10307
  "itemtype": "method",
10340
10308
  "name": "replaceWith",
@@ -10368,7 +10336,7 @@
10368
10336
  },
10369
10337
  {
10370
10338
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10371
- "line": 744,
10339
+ "line": 748,
10372
10340
  "description": "Determines if the supplied route is currently active.",
10373
10341
  "itemtype": "method",
10374
10342
  "name": "isActive",
@@ -10389,7 +10357,7 @@
10389
10357
  },
10390
10358
  {
10391
10359
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10392
- "line": 756,
10360
+ "line": 760,
10393
10361
  "description": "An alternative form of `isActive` that doesn't require\nmanual concatenation of the arguments into a single\narray.",
10394
10362
  "itemtype": "method",
10395
10363
  "name": "isActiveIntent",
@@ -10419,7 +10387,7 @@
10419
10387
  },
10420
10388
  {
10421
10389
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10422
- "line": 778,
10390
+ "line": 782,
10423
10391
  "description": "Does this router instance have the given route.",
10424
10392
  "itemtype": "method",
10425
10393
  "name": "hasRoute",
@@ -10434,7 +10402,7 @@
10434
10402
  },
10435
10403
  {
10436
10404
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10437
- "line": 789,
10405
+ "line": 793,
10438
10406
  "description": "Resets the state of the router by clearing the current route\nhandlers and deactivating them.",
10439
10407
  "access": "private",
10440
10408
  "tagname": "",
@@ -10445,7 +10413,7 @@
10445
10413
  },
10446
10414
  {
10447
10415
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10448
- "line": 937,
10416
+ "line": 941,
10449
10417
  "description": "Serializes the given query params according to their QP meta information.",
10450
10418
  "access": "private",
10451
10419
  "tagname": "",
@@ -10472,7 +10440,7 @@
10472
10440
  },
10473
10441
  {
10474
10442
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10475
- "line": 967,
10443
+ "line": 971,
10476
10444
  "description": "Serializes the value of a query parameter based on a type",
10477
10445
  "access": "private",
10478
10446
  "tagname": "",
@@ -10495,7 +10463,7 @@
10495
10463
  },
10496
10464
  {
10497
10465
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10498
- "line": 985,
10466
+ "line": 989,
10499
10467
  "description": "Deserializes the given query params according to their QP meta information.",
10500
10468
  "access": "private",
10501
10469
  "tagname": "",
@@ -10522,7 +10490,7 @@
10522
10490
  },
10523
10491
  {
10524
10492
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10525
- "line": 1013,
10493
+ "line": 1017,
10526
10494
  "description": "Deserializes the value of a query parameter based on a default type",
10527
10495
  "access": "private",
10528
10496
  "tagname": "",
@@ -10545,7 +10513,7 @@
10545
10513
  },
10546
10514
  {
10547
10515
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10548
- "line": 1034,
10516
+ "line": 1038,
10549
10517
  "description": "Removes (prunes) any query params with default values from the given QP\nobject. Default values are determined from the QP meta information per key.",
10550
10518
  "access": "private",
10551
10519
  "tagname": "",
@@ -10572,7 +10540,7 @@
10572
10540
  },
10573
10541
  {
10574
10542
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10575
- "line": 1115,
10543
+ "line": 1119,
10576
10544
  "description": "Prepares the query params for a URL or Transition. Restores any undefined QP\nkeys/values, serializes all values, and then prunes any default values.",
10577
10545
  "access": "private",
10578
10546
  "tagname": "",
@@ -10609,7 +10577,7 @@
10609
10577
  },
10610
10578
  {
10611
10579
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10612
- "line": 1142,
10580
+ "line": 1146,
10613
10581
  "description": "Returns the meta information for the query params of a given route. This\nwill be overridden to allow support for lazy routes.",
10614
10582
  "access": "private",
10615
10583
  "tagname": "",
@@ -10631,7 +10599,7 @@
10631
10599
  },
10632
10600
  {
10633
10601
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10634
- "line": 1156,
10602
+ "line": 1160,
10635
10603
  "description": "Returns a merged query params meta object for a given set of routeInfos.\nUseful for knowing what query params are available for a given route hierarchy.",
10636
10604
  "access": "private",
10637
10605
  "tagname": "",
@@ -10653,7 +10621,7 @@
10653
10621
  },
10654
10622
  {
10655
10623
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10656
- "line": 1218,
10624
+ "line": 1222,
10657
10625
  "description": "Maps all query param keys to their fully scoped property name of the form\n`controllerName:propName`.",
10658
10626
  "access": "private",
10659
10627
  "tagname": "",
@@ -10685,7 +10653,7 @@
10685
10653
  },
10686
10654
  {
10687
10655
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10688
- "line": 1256,
10656
+ "line": 1260,
10689
10657
  "description": "Hydrates (adds/restores) any query params that have pre-existing values into\nthe given queryParams hash. This is what allows query params to be \"sticky\"\nand restore their last known values for their scope.",
10690
10658
  "access": "private",
10691
10659
  "tagname": "",
@@ -10712,7 +10680,7 @@
10712
10680
  },
10713
10681
  {
10714
10682
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10715
- "line": 1427,
10683
+ "line": 1431,
10716
10684
  "description": "Handles updating the paths and notifying any listeners of the URL\nchange.\n\nTriggers the router level `didTransition` hook.\n\nFor example, to notify google analytics when the route changes,\nyou could use this hook. (Note: requires also including GA scripts, etc.)\n\n```javascript\nimport config from './config/environment';\nimport EmberRouter from '@ember/routing/router';\nimport { service } from '@ember/service';\n\nlet Router = EmberRouter.extend({\n location: config.locationType,\n\n router: service(),\n\n didTransition: function() {\n this._super(...arguments);\n\n ga('send', 'pageview', {\n page: this.router.currentURL,\n title: this.router.currentRouteName,\n });\n }\n});\n```",
10717
10685
  "itemtype": "method",
10718
10686
  "name": "didTransition",
@@ -10724,7 +10692,7 @@
10724
10692
  },
10725
10693
  {
10726
10694
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10727
- "line": 1464,
10695
+ "line": 1468,
10728
10696
  "description": "Handles notifying any listeners of an impending URL\nchange.\n\nTriggers the router level `willTransition` hook.",
10729
10697
  "itemtype": "method",
10730
10698
  "name": "willTransition",
@@ -10736,7 +10704,7 @@
10736
10704
  },
10737
10705
  {
10738
10706
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10739
- "line": 1477,
10707
+ "line": 1481,
10740
10708
  "description": "Represents the current URL.",
10741
10709
  "itemtype": "property",
10742
10710
  "name": "url",
@@ -10748,7 +10716,7 @@
10748
10716
  },
10749
10717
  {
10750
10718
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10751
- "line": 1635,
10719
+ "line": 1639,
10752
10720
  "description": "Finds the name of the substate route if it exists for the given route. A\nsubstate route is of the form `route_state`, such as `foo_loading`.",
10753
10721
  "access": "private",
10754
10722
  "tagname": "",
@@ -10773,7 +10741,7 @@
10773
10741
  },
10774
10742
  {
10775
10743
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10776
- "line": 1656,
10744
+ "line": 1660,
10777
10745
  "description": "Finds the name of the state route if it exists for the given route. A state\nroute is of the form `route.state`, such as `foo.loading`. Properly Handles\n`application` named routes.",
10778
10746
  "access": "private",
10779
10747
  "tagname": "",
@@ -10798,7 +10766,7 @@
10798
10766
  },
10799
10767
  {
10800
10768
  "file": "packages/@ember/-internals/routing/lib/system/router.ts",
10801
- "line": 1678,
10769
+ "line": 1682,
10802
10770
  "description": "Determines whether or not a route has been defined by checking that the route\nis in the Router's map and the owner has a registration for that route.",
10803
10771
  "access": "private",
10804
10772
  "tagname": "",
@@ -12344,7 +12312,7 @@
12344
12312
  },
12345
12313
  {
12346
12314
  "file": "packages/@ember/-internals/runtime/lib/mixins/container_proxy.d.ts",
12347
- "line": 7,
12315
+ "line": 13,
12348
12316
  "class": "ContainerProxyMixin",
12349
12317
  "module": "ember",
12350
12318
  "namespace": "Ember"
@@ -13189,7 +13157,7 @@
13189
13157
  },
13190
13158
  {
13191
13159
  "file": "packages/@ember/-internals/runtime/lib/mixins/registry_proxy.d.ts",
13192
- "line": 7,
13160
+ "line": 30,
13193
13161
  "class": "RegistryProxyMixin",
13194
13162
  "module": "@ember/object"
13195
13163
  },
@@ -14395,7 +14363,7 @@
14395
14363
  },
14396
14364
  {
14397
14365
  "file": "packages/@ember/-internals/views/lib/system/event_dispatcher.d.ts",
14398
- "line": 8,
14366
+ "line": 9,
14399
14367
  "class": "Ember.EventDispatcher",
14400
14368
  "module": "ember"
14401
14369
  },
@@ -14673,7 +14641,7 @@
14673
14641
  },
14674
14642
  {
14675
14643
  "file": "packages/@ember/-internals/views/lib/views/core_view.ts",
14676
- "line": 39,
14644
+ "line": 35,
14677
14645
  "description": "If the view is currently inserted into the DOM of a parent view, this\nproperty will point to the parent of the view.",
14678
14646
  "itemtype": "property",
14679
14647
  "name": "parentView",
@@ -14687,7 +14655,7 @@
14687
14655
  },
14688
14656
  {
14689
14657
  "file": "packages/@ember/-internals/views/lib/views/core_view.ts",
14690
- "line": 78,
14658
+ "line": 74,
14691
14659
  "description": "Override the default event firing from `Evented` to\nalso call methods with the given name.",
14692
14660
  "itemtype": "method",
14693
14661
  "name": "trigger",
@@ -14705,15 +14673,31 @@
14705
14673
  "namespace": "Ember"
14706
14674
  },
14707
14675
  {
14708
- "file": "packages/@ember/application/lib/application.d.ts",
14709
- "line": 17,
14676
+ "file": "packages/@ember/application/lib/application.ts",
14677
+ "line": 185,
14678
+ "description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
14679
+ "itemtype": "method",
14680
+ "name": "buildRegistry",
14681
+ "static": 1,
14682
+ "params": [
14683
+ {
14684
+ "name": "namespace",
14685
+ "description": "the application for which to\n build the registry",
14686
+ "type": "Application"
14687
+ }
14688
+ ],
14689
+ "return": {
14690
+ "description": "the built registry",
14691
+ "type": "Ember.Registry"
14692
+ },
14693
+ "access": "private",
14694
+ "tagname": "",
14710
14695
  "class": "Application",
14711
- "module": "ember",
14712
- "namespace": "Ember"
14696
+ "module": "@ember/application"
14713
14697
  },
14714
14698
  {
14715
- "file": "packages/@ember/application/lib/application.js",
14716
- "line": 185,
14699
+ "file": "packages/@ember/application/lib/application.ts",
14700
+ "line": 220,
14717
14701
  "description": "The root DOM element of the Application. This can be specified as an\nelement or a [selector string](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Selectors#reference_table_of_selectors).\n\nThis is the element that will be passed to the Application's,\n`eventDispatcher`, which sets up the listeners for event delegation. Every\nview in your application should be a child of the element you specify here.",
14718
14702
  "itemtype": "property",
14719
14703
  "name": "rootElement",
@@ -14725,8 +14709,8 @@
14725
14709
  "module": "@ember/application"
14726
14710
  },
14727
14711
  {
14728
- "file": "packages/@ember/application/lib/application.js",
14729
- "line": 200,
14712
+ "file": "packages/@ember/application/lib/application.ts",
14713
+ "line": 235,
14730
14714
  "itemtype": "property",
14731
14715
  "name": "_document",
14732
14716
  "type": "Document | null",
@@ -14737,8 +14721,8 @@
14737
14721
  "module": "@ember/application"
14738
14722
  },
14739
14723
  {
14740
- "file": "packages/@ember/application/lib/application.js",
14741
- "line": 209,
14724
+ "file": "packages/@ember/application/lib/application.ts",
14725
+ "line": 244,
14742
14726
  "description": "The `Ember.EventDispatcher` responsible for delegating events to this\napplication's views.\n\nThe event dispatcher is created by the application at initialization time\nand sets up event listeners on the DOM element described by the\napplication's `rootElement` property.\n\nSee the documentation for `Ember.EventDispatcher` for more information.",
14743
14727
  "itemtype": "property",
14744
14728
  "name": "eventDispatcher",
@@ -14750,8 +14734,8 @@
14750
14734
  "module": "@ember/application"
14751
14735
  },
14752
14736
  {
14753
- "file": "packages/@ember/application/lib/application.js",
14754
- "line": 226,
14737
+ "file": "packages/@ember/application/lib/application.ts",
14738
+ "line": 261,
14755
14739
  "description": "The DOM events for which the event dispatcher should listen.\n\nBy default, the application's `Ember.EventDispatcher` listens\nfor a set of standard DOM events, such as `mousedown` and\n`keyup`, and delegates them to your application's `Ember.View`\ninstances.\n\nIf you would like additional bubbling events to be delegated to your\nviews, set your `Application`'s `customEvents` property\nto a hash containing the DOM event name as the key and the\ncorresponding view method name as the value. Setting an event to\na value of `null` will prevent a default event listener from being\nadded for that event.\n\nTo add new events to be listened to:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // add support for the paste event\n paste: 'paste'\n }\n});\n```\n\nTo prevent default events from being listened to:\n\n```app/app.js\nimport Application from '@ember/application';\n\nlet App = Application.extend({\n customEvents: {\n // remove support for mouseenter / mouseleave events\n mouseenter: null,\n mouseleave: null\n }\n});\n```",
14756
14740
  "itemtype": "property",
14757
14741
  "name": "customEvents",
@@ -14763,8 +14747,8 @@
14763
14747
  "module": "@ember/application"
14764
14748
  },
14765
14749
  {
14766
- "file": "packages/@ember/application/lib/application.js",
14767
- "line": 274,
14750
+ "file": "packages/@ember/application/lib/application.ts",
14751
+ "line": 309,
14768
14752
  "description": "Whether the application should automatically start routing and render\ntemplates to the `rootElement` on DOM ready. While default by true,\nother environments such as FastBoot or a testing harness can set this\nproperty to `false` and control the precise timing and behavior of the boot\nprocess.",
14769
14753
  "itemtype": "property",
14770
14754
  "name": "autoboot",
@@ -14776,8 +14760,8 @@
14776
14760
  "module": "@ember/application"
14777
14761
  },
14778
14762
  {
14779
- "file": "packages/@ember/application/lib/application.js",
14780
- "line": 288,
14763
+ "file": "packages/@ember/application/lib/application.ts",
14764
+ "line": 323,
14781
14765
  "description": "Whether the application should be configured for the legacy \"globals mode\".\nUnder this mode, the Application object serves as a global namespace for all\nclasses.\n\n```javascript\nimport Application from '@ember/application';\nimport Component from '@ember/component';\n\nlet App = Application.create({\n ...\n});\n\nApp.Router.reopen({\n location: 'none'\n});\n\nApp.Router.map({\n ...\n});\n\nApp.MyComponent = Component.extend({\n ...\n});\n```\n\nThis flag also exposes other internal APIs that assumes the existence of\na special \"default instance\", like `App.__container__.lookup(...)`.\n\nThis option is currently not configurable, its value is derived from\nthe `autoboot` flag – disabling `autoboot` also implies opting-out of\nglobals mode support, although they are ultimately orthogonal concerns.\n\nSome of the global modes features are already deprecated in 1.x. The\nexistence of this flag is to untangle the globals mode code paths from\nthe autoboot code paths, so that these legacy features can be reviewed\nfor deprecation/removal separately.\n\nForcing the (autoboot=true, _globalsMode=false) here and running the tests\nwould reveal all the places where we are still relying on these legacy\nbehavior internally (mostly just tests).",
14782
14766
  "itemtype": "property",
14783
14767
  "name": "_globalsMode",
@@ -14789,21 +14773,20 @@
14789
14773
  "module": "@ember/application"
14790
14774
  },
14791
14775
  {
14792
- "file": "packages/@ember/application/lib/application.js",
14793
- "line": 337,
14776
+ "file": "packages/@ember/application/lib/application.ts",
14777
+ "line": 372,
14794
14778
  "description": "An array of application instances created by `buildInstance()`. Used\ninternally to ensure that all instances get destroyed.",
14795
14779
  "itemtype": "property",
14796
14780
  "name": "_applicationInstances",
14797
14781
  "type": "Array",
14798
- "default": "null",
14799
14782
  "access": "private",
14800
14783
  "tagname": "",
14801
14784
  "class": "Application",
14802
14785
  "module": "@ember/application"
14803
14786
  },
14804
14787
  {
14805
- "file": "packages/@ember/application/lib/application.js",
14806
- "line": 376,
14788
+ "file": "packages/@ember/application/lib/application.ts",
14789
+ "line": 422,
14807
14790
  "description": "Create an ApplicationInstance for this application.",
14808
14791
  "access": "public",
14809
14792
  "tagname": "",
@@ -14817,8 +14800,8 @@
14817
14800
  "module": "@ember/application"
14818
14801
  },
14819
14802
  {
14820
- "file": "packages/@ember/application/lib/application.js",
14821
- "line": 399,
14803
+ "file": "packages/@ember/application/lib/application.ts",
14804
+ "line": 447,
14822
14805
  "description": "Start tracking an ApplicationInstance for this application.\nUsed when the ApplicationInstance is created.",
14823
14806
  "access": "private",
14824
14807
  "tagname": "",
@@ -14828,8 +14811,8 @@
14828
14811
  "module": "@ember/application"
14829
14812
  },
14830
14813
  {
14831
- "file": "packages/@ember/application/lib/application.js",
14832
- "line": 410,
14814
+ "file": "packages/@ember/application/lib/application.ts",
14815
+ "line": 458,
14833
14816
  "description": "Stop tracking an ApplicationInstance for this application.\nUsed when the ApplicationInstance is about to be destroyed.",
14834
14817
  "access": "private",
14835
14818
  "tagname": "",
@@ -14839,8 +14822,8 @@
14839
14822
  "module": "@ember/application"
14840
14823
  },
14841
14824
  {
14842
- "file": "packages/@ember/application/lib/application.js",
14843
- "line": 421,
14825
+ "file": "packages/@ember/application/lib/application.ts",
14826
+ "line": 471,
14844
14827
  "description": "Enable the legacy globals mode by allowing this application to act\nas a global namespace. See the docs on the `_globalsMode` property\nfor details.\n\nMost of these features are already deprecated in 1.x, so we can\nstop using them internally and try to remove them.",
14845
14828
  "access": "private",
14846
14829
  "tagname": "",
@@ -14850,8 +14833,8 @@
14850
14833
  "module": "@ember/application"
14851
14834
  },
14852
14835
  {
14853
- "file": "packages/@ember/application/lib/application.js",
14854
- "line": 465,
14836
+ "file": "packages/@ember/application/lib/application.ts",
14837
+ "line": 518,
14855
14838
  "description": "Automatically kick-off the boot process for the application once the\nDOM has become ready.\n\nThe initialization itself is scheduled on the actions queue which\nensures that code-loading finishes before booting.\n\nIf you are asynchronously loading code, you should call `deferReadiness()`\nto defer booting, and then call `advanceReadiness()` once all of your code\nhas finished loading.",
14856
14839
  "access": "private",
14857
14840
  "tagname": "",
@@ -14861,8 +14844,8 @@
14861
14844
  "module": "@ember/application"
14862
14845
  },
14863
14846
  {
14864
- "file": "packages/@ember/application/lib/application.js",
14865
- "line": 492,
14847
+ "file": "packages/@ember/application/lib/application.ts",
14848
+ "line": 547,
14866
14849
  "description": "This is the autoboot flow:\n\n1. Boot the app by calling `this.boot()`\n2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n3. Boot the instance by calling `instance.boot()`\n4. Invoke the `App.ready()` callback\n5. Kick-off routing on the instance\n\nIdeally, this is all we would need to do:\n\n```javascript\n_autoBoot() {\n this.boot().then(() => {\n let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n return instance.boot();\n }).then((instance) => {\n App.ready();\n instance.startRouting();\n });\n}\n```\n\nUnfortunately, we cannot actually write this because we need to participate\nin the \"synchronous\" boot process. While the code above would work fine on\nthe initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\nboot a new instance synchronously (see the documentation on `_bootSync()`\nfor details).\n\nBecause of this restriction, the actual logic of this method is located\ninside `didBecomeReady()`.",
14867
14850
  "access": "private",
14868
14851
  "tagname": "",
@@ -14872,8 +14855,8 @@
14872
14855
  "module": "@ember/application"
14873
14856
  },
14874
14857
  {
14875
- "file": "packages/@ember/application/lib/application.js",
14876
- "line": 537,
14858
+ "file": "packages/@ember/application/lib/application.ts",
14859
+ "line": 592,
14877
14860
  "description": "Use this to defer readiness until some condition is true.\n\nExample:\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create();\n\nApp.deferReadiness();\n\nfetch('/auth-token')\n.then(response => response.json())\n.then(data => {\n App.token = data.token;\n App.advanceReadiness();\n});\n```\n\nThis allows you to perform asynchronous setup logic and defer\nbooting your application until the setup has finished.\n\nHowever, if the setup requires a loading UI, it might be better\nto use the router for this purpose.",
14878
14861
  "itemtype": "method",
14879
14862
  "name": "deferReadiness",
@@ -14883,8 +14866,8 @@
14883
14866
  "module": "@ember/application"
14884
14867
  },
14885
14868
  {
14886
- "file": "packages/@ember/application/lib/application.js",
14887
- "line": 587,
14869
+ "file": "packages/@ember/application/lib/application.ts",
14870
+ "line": 642,
14888
14871
  "description": "Call `advanceReadiness` after any asynchronous setup logic has completed.\nEach call to `deferReadiness` must be matched by a call to `advanceReadiness`\nor the application will never become ready and routing will not begin.",
14889
14872
  "itemtype": "method",
14890
14873
  "name": "advanceReadiness",
@@ -14897,8 +14880,8 @@
14897
14880
  "module": "@ember/application"
14898
14881
  },
14899
14882
  {
14900
- "file": "packages/@ember/application/lib/application.js",
14901
- "line": 624,
14883
+ "file": "packages/@ember/application/lib/application.ts",
14884
+ "line": 681,
14902
14885
  "description": "Initialize the application and return a promise that resolves with the `Application`\nobject when the boot process is complete.\n\nRun any application initializers and run the application load hook. These hooks may\nchoose to defer readiness. For example, an authentication hook might want to defer\nreadiness until the auth token has been retrieved.\n\nBy default, this method is called automatically on \"DOM ready\"; however, if autoboot\nis disabled, this is automatically called when the first application instance is\ncreated via `visit`.",
14903
14886
  "access": "public",
14904
14887
  "tagname": "",
@@ -14912,8 +14895,8 @@
14912
14895
  "module": "@ember/application"
14913
14896
  },
14914
14897
  {
14915
- "file": "packages/@ember/application/lib/application.js",
14916
- "line": 662,
14898
+ "file": "packages/@ember/application/lib/application.ts",
14899
+ "line": 723,
14917
14900
  "description": "Unfortunately, a lot of existing code assumes the booting process is\n\"synchronous\". Specifically, a lot of tests assumes the last call to\n`app.advanceReadiness()` or `app.reset()` will result in the app being\nfully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this assumption,\nso we created the asynchronous version above that returns a promise. But until\nwe have migrated all the code, we would have to expose this method for use\n*internally* in places where we need to boot an app \"synchronously\".",
14918
14901
  "access": "private",
14919
14902
  "tagname": "",
@@ -14921,8 +14904,8 @@
14921
14904
  "module": "@ember/application"
14922
14905
  },
14923
14906
  {
14924
- "file": "packages/@ember/application/lib/application.js",
14925
- "line": 701,
14907
+ "file": "packages/@ember/application/lib/application.ts",
14908
+ "line": 762,
14926
14909
  "description": "Reset the application. This is typically used only in tests. It cleans up\nthe application in the following order:\n\n1. Deactivate existing routes\n2. Destroy all objects in the container\n3. Create a new application container\n4. Re-route to the existing url\n\nTypical Example:\n\n```javascript\nimport Application from '@ember/application';\nlet App;\n\nrun(function() {\n App = Application.create();\n});\n\nmodule('acceptance test', {\n setup: function() {\n App.reset();\n }\n});\n\ntest('first test', function() {\n // App is freshly reset\n});\n\ntest('second test', function() {\n // App is again freshly reset\n});\n```\n\nAdvanced Example:\n\nOccasionally you may want to prevent the app from initializing during\nsetup. This could enable extra configuration, or enable asserting prior\nto the app becoming ready.\n\n```javascript\nimport Application from '@ember/application';\nlet App;\n\nrun(function() {\n App = Application.create();\n});\n\nmodule('acceptance test', {\n setup: function() {\n run(function() {\n App.reset();\n App.deferReadiness();\n });\n }\n});\n\ntest('first test', function() {\n ok(true, 'something before app is initialized');\n\n run(function() {\n App.advanceReadiness();\n });\n\n ok(true, 'something after app is initialized');\n});\n```",
14927
14910
  "itemtype": "method",
14928
14911
  "name": "reset",
@@ -14932,8 +14915,8 @@
14932
14915
  "module": "@ember/application"
14933
14916
  },
14934
14917
  {
14935
- "file": "packages/@ember/application/lib/application.js",
14936
- "line": 804,
14918
+ "file": "packages/@ember/application/lib/application.ts",
14919
+ "line": 866,
14937
14920
  "access": "private",
14938
14921
  "tagname": "",
14939
14922
  "itemtype": "method",
@@ -14942,8 +14925,8 @@
14942
14925
  "module": "@ember/application"
14943
14926
  },
14944
14927
  {
14945
- "file": "packages/@ember/application/lib/application.js",
14946
- "line": 854,
14928
+ "file": "packages/@ember/application/lib/application.ts",
14929
+ "line": 919,
14947
14930
  "description": "Called when the Application has become ready, immediately before routing\nbegins. The call will be delayed until the DOM has become ready.",
14948
14931
  "itemtype": "event",
14949
14932
  "name": "ready",
@@ -14953,8 +14936,8 @@
14953
14936
  "module": "@ember/application"
14954
14937
  },
14955
14938
  {
14956
- "file": "packages/@ember/application/lib/application.js",
14957
- "line": 879,
14939
+ "file": "packages/@ember/application/lib/application.ts",
14940
+ "line": 944,
14958
14941
  "description": "Boot a new instance of `ApplicationInstance` for the current\napplication and navigate it to the given `url`. Returns a `Promise` that\nresolves with the instance when the initial routing and rendering is\ncomplete, or rejects with any error that occurred during the boot process.\n\nWhen `autoboot` is disabled, calling `visit` would first cause the\napplication to boot, which runs the application initializers.\n\nThis method also takes a hash of boot-time configuration options for\ncustomizing the instance's behavior. See the documentation on\n`ApplicationInstance.BootOptions` for details.\n\n`ApplicationInstance.BootOptions` is an interface class that exists\npurely to document the available options; you do not need to construct it\nmanually. Simply pass a regular JavaScript object containing of the\ndesired options:\n\n```javascript\nMyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n```\n\n### Supported Scenarios\n\nWhile the `BootOptions` class exposes a large number of knobs, not all\ncombinations of them are valid; certain incompatible combinations might\nresult in unexpected behavior.\n\nFor example, booting the instance in the full browser environment\nwhile specifying a foreign `document` object (e.g. `{ isBrowser: true,\ndocument: iframe.contentDocument }`) does not work correctly today,\nlargely due to Ember's jQuery dependency.\n\nCurrently, there are three officially supported scenarios/configurations.\nUsages outside of these scenarios are not guaranteed to work, but please\nfeel free to file bug reports documenting your experience and any issues\nyou encountered to help expand support.\n\n#### Browser Applications (Manual Boot)\n\nThe setup is largely similar to how Ember works out-of-the-box. Normally,\nEmber will boot a default instance for your Application on \"DOM ready\".\nHowever, you can customize this behavior by disabling `autoboot`.\n\nFor example, this allows you to render a miniture demo of your application\ninto a specific area on your marketing website:\n\n```javascript\nimport MyApp from 'my-app';\n\n$(function() {\n let App = MyApp.create({ autoboot: false });\n\n let options = {\n // Override the router's location adapter to prevent it from updating\n // the URL in the address bar\n location: 'none',\n\n // Override the default `rootElement` on the app to render into a\n // specific `div` on the page\n rootElement: '#demo'\n };\n\n // Start the app at the special demo URL\n App.visit('/demo', options);\n});\n```\n\nOr perhaps you might want to boot two instances of your app on the same\npage for a split-screen multiplayer experience:\n\n```javascript\nimport MyApp from 'my-app';\n\n$(function() {\n let App = MyApp.create({ autoboot: false });\n\n let sessionId = MyApp.generateSessionID();\n\n let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n\n Promise.all([player1, player2]).then(() => {\n // Both apps have completed the initial render\n $('#loading').fadeOut();\n });\n});\n```\n\nDo note that each app instance maintains their own registry/container, so\nthey will run in complete isolation by default.\n\n#### Server-Side Rendering (also known as FastBoot)\n\nThis setup allows you to run your Ember app in a server environment using\nNode.js and render its content into static HTML for SEO purposes.\n\n```javascript\nconst HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n\nfunction renderURL(url) {\n let dom = new SimpleDOM.Document();\n let rootElement = dom.body;\n let options = { isBrowser: false, document: dom, rootElement: rootElement };\n\n return MyApp.visit(options).then(instance => {\n try {\n return HTMLSerializer.serialize(rootElement.firstChild);\n } finally {\n instance.destroy();\n }\n });\n}\n```\n\nIn this scenario, because Ember does not have access to a global `document`\nobject in the Node.js environment, you must provide one explicitly. In practice,\nin the non-browser environment, the stand-in `document` object only needs to\nimplement a limited subset of the full DOM API. The `SimpleDOM` library is known\nto work.\n\nSince there is no DOM access in the non-browser environment, you must also\nspecify a DOM `Element` object in the same `document` for the `rootElement` option\n(as opposed to a selector string like `\"body\"`).\n\nSee the documentation on the `isBrowser`, `document` and `rootElement` properties\non `ApplicationInstance.BootOptions` for details.\n\n#### Server-Side Resource Discovery\n\nThis setup allows you to run the routing layer of your Ember app in a server\nenvironment using Node.js and completely disable rendering. This allows you\nto simulate and discover the resources (i.e. AJAX requests) needed to fulfill\na given request and eagerly \"push\" these resources to the client.\n\n```app/initializers/network-service.js\nimport BrowserNetworkService from 'app/services/network/browser';\nimport NodeNetworkService from 'app/services/network/node';\n\n// Inject a (hypothetical) service for abstracting all AJAX calls and use\n// the appropriate implementation on the client/server. This also allows the\n// server to log all the AJAX calls made during a particular request and use\n// that for resource-discovery purpose.\n\nexport function initialize(application) {\n if (window) { // browser\n application.register('service:network', BrowserNetworkService);\n } else { // node\n application.register('service:network', NodeNetworkService);\n }\n};\n\nexport default {\n name: 'network-service',\n initialize: initialize\n};\n```\n\n```app/routes/post.js\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\n// An example of how the (hypothetical) service is used in routes.\n\nexport default class IndexRoute extends Route {\n @service network;\n\n model(params) {\n return this.network.fetch(`/api/posts/${params.post_id}.json`);\n }\n\n afterModel(post) {\n if (post.isExternalContent) {\n return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n } else {\n return post;\n }\n }\n}\n```\n\n```javascript\n// Finally, put all the pieces together\n\nfunction discoverResourcesFor(url) {\n return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n let networkService = instance.lookup('service:network');\n return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n });\n}\n```",
14959
14942
  "access": "public",
14960
14943
  "tagname": "",
@@ -14980,30 +14963,7 @@
14980
14963
  "module": "@ember/application"
14981
14964
  },
14982
14965
  {
14983
- "file": "packages/@ember/application/lib/application.js",
14984
- "line": 1100,
14985
- "description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
14986
- "itemtype": "method",
14987
- "name": "buildRegistry",
14988
- "static": 1,
14989
- "params": [
14990
- {
14991
- "name": "namespace",
14992
- "description": "the application for which to\n build the registry",
14993
- "type": "Application"
14994
- }
14995
- ],
14996
- "return": {
14997
- "description": "the built registry",
14998
- "type": "Ember.Registry"
14999
- },
15000
- "access": "private",
15001
- "tagname": "",
15002
- "class": "Application",
15003
- "module": "@ember/application"
15004
- },
15005
- {
15006
- "file": "packages/@ember/application/lib/lazy_load.js",
14966
+ "file": "packages/@ember/application/lib/lazy_load.ts",
15007
14967
  "line": 14,
15008
14968
  "description": "Detects when a specific package of Ember (e.g. 'Application')\nhas fully loaded and is available for extension.\n\nThe provided `callback` will be called with the `name` passed\nresolved from a string into the object:\n\n``` javascript\nimport { onLoad } from '@ember/application';\n\nonLoad('Ember.Application' function(hbars) {\n hbars.registerHelper(...);\n});\n```",
15009
14969
  "itemtype": "method",
@@ -15027,7 +14987,7 @@
15027
14987
  "module": "@ember/application"
15028
14988
  },
15029
14989
  {
15030
- "file": "packages/@ember/application/lib/lazy_load.js",
14990
+ "file": "packages/@ember/application/lib/lazy_load.ts",
15031
14991
  "line": 47,
15032
14992
  "description": "Called when an Ember.js package (e.g Application) has finished\nloading. Triggers any callbacks registered for this event.",
15033
14993
  "itemtype": "method",
@@ -15051,8 +15011,8 @@
15051
15011
  "module": "@ember/application"
15052
15012
  },
15053
15013
  {
15054
- "file": "packages/@ember/application/instance.js",
15055
- "line": 36,
15014
+ "file": "packages/@ember/application/instance.ts",
15015
+ "line": 53,
15056
15016
  "description": "The `Application` for which this is an instance.",
15057
15017
  "itemtype": "property",
15058
15018
  "name": "application",
@@ -15063,20 +15023,8 @@
15063
15023
  "module": "@ember/application"
15064
15024
  },
15065
15025
  {
15066
- "file": "packages/@ember/application/instance.js",
15067
- "line": 44,
15068
- "description": "The DOM events for which the event dispatcher should listen.\n\nBy default, the application's `Ember.EventDispatcher` listens\nfor a set of standard DOM events, such as `mousedown` and\n`keyup`, and delegates them to your application's `Ember.View`\ninstances.",
15069
- "access": "private",
15070
- "tagname": "",
15071
- "itemtype": "property",
15072
- "name": "customEvents",
15073
- "type": "Object",
15074
- "class": "ApplicationInstance",
15075
- "module": "@ember/application"
15076
- },
15077
- {
15078
- "file": "packages/@ember/application/instance.js",
15079
- "line": 57,
15026
+ "file": "packages/@ember/application/instance.ts",
15027
+ "line": 61,
15080
15028
  "description": "The root DOM element of the Application as an element or a\nCSS selector.",
15081
15029
  "access": "private",
15082
15030
  "tagname": "",
@@ -15087,8 +15035,8 @@
15087
15035
  "module": "@ember/application"
15088
15036
  },
15089
15037
  {
15090
- "file": "packages/@ember/application/instance.js",
15091
- "line": 81,
15038
+ "file": "packages/@ember/application/instance.ts",
15039
+ "line": 85,
15092
15040
  "description": "Overrides the base `EngineInstance._bootSync` method with concerns relevant\nto booting application (instead of engine) instances.\n\nThis method should only contain synchronous boot concerns. Asynchronous\nboot concerns should eventually be moved to the `boot` method, which\nreturns a promise.\n\nUntil all boot code has been made asynchronous, we need to continue to\nexpose this method for use *internally* in places where we need to boot an\ninstance synchronously.",
15093
15041
  "access": "private",
15094
15042
  "tagname": "",
@@ -15096,8 +15044,8 @@
15096
15044
  "module": "@ember/application"
15097
15045
  },
15098
15046
  {
15099
- "file": "packages/@ember/application/instance.js",
15100
- "line": 133,
15047
+ "file": "packages/@ember/application/instance.ts",
15048
+ "line": 145,
15101
15049
  "description": "This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\nwhen it has finished creating the root View. By default, we simply take the\nview and append it to the `rootElement` specified on the Application.\n\nIn cases like FastBoot and testing, we can override this hook and implement\ncustom behavior, such as serializing to a string and sending over an HTTP\nsocket rather than appending to DOM.",
15102
15050
  "params": [
15103
15051
  {
@@ -15113,8 +15061,8 @@
15113
15061
  "module": "@ember/application"
15114
15062
  },
15115
15063
  {
15116
- "file": "packages/@ember/application/instance.js",
15117
- "line": 150,
15064
+ "file": "packages/@ember/application/instance.ts",
15065
+ "line": 162,
15118
15066
  "description": "Tells the router to start routing. The router will ask the location for the\ncurrent URL of the page to determine the initial URL to start routing to.\nTo start the app at a specific URL, call `handleURL` instead.",
15119
15067
  "access": "private",
15120
15068
  "tagname": "",
@@ -15122,8 +15070,8 @@
15122
15070
  "module": "@ember/application"
15123
15071
  },
15124
15072
  {
15125
- "file": "packages/@ember/application/instance.js",
15126
- "line": 161,
15073
+ "file": "packages/@ember/application/instance.ts",
15074
+ "line": 173,
15127
15075
  "description": "Sets up the router, initializing the child router and configuring the\nlocation before routing begins.\n\nBecause setup should only occur once, multiple calls to `setupRouter`\nbeyond the first call have no effect.\n\nThis is commonly used in order to confirm things that rely on the router\nare functioning properly from tests that are primarily rendering related.\n\nFor example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n`setupRenderingTest` calling `this.owner.setupRouter()` would allow that\nrendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\nhave the correct URL.",
15128
15076
  "access": "public",
15129
15077
  "tagname": "",
@@ -15131,8 +15079,8 @@
15131
15079
  "module": "@ember/application"
15132
15080
  },
15133
15081
  {
15134
- "file": "packages/@ember/application/instance.js",
15135
- "line": 182,
15082
+ "file": "packages/@ember/application/instance.ts",
15083
+ "line": 194,
15136
15084
  "description": "Directs the router to route to a particular URL. This is useful in tests,\nfor example, to tell the app to start at a particular URL.",
15137
15085
  "params": [
15138
15086
  {
@@ -15147,16 +15095,16 @@
15147
15095
  "module": "@ember/application"
15148
15096
  },
15149
15097
  {
15150
- "file": "packages/@ember/application/instance.js",
15151
- "line": 194,
15098
+ "file": "packages/@ember/application/instance.ts",
15099
+ "line": 206,
15152
15100
  "access": "private",
15153
15101
  "tagname": "",
15154
15102
  "class": "ApplicationInstance",
15155
15103
  "module": "@ember/application"
15156
15104
  },
15157
15105
  {
15158
- "file": "packages/@ember/application/instance.js",
15159
- "line": 208,
15106
+ "file": "packages/@ember/application/instance.ts",
15107
+ "line": 222,
15160
15108
  "description": "Returns the current URL of the app instance. This is useful when your\napp does not update the browsers URL bar (i.e. it uses the `'none'`\nlocation adapter).",
15161
15109
  "access": "public",
15162
15110
  "tagname": "",
@@ -15168,8 +15116,8 @@
15168
15116
  "module": "@ember/application"
15169
15117
  },
15170
15118
  {
15171
- "file": "packages/@ember/application/instance.js",
15172
- "line": 223,
15119
+ "file": "packages/@ember/application/instance.ts",
15120
+ "line": 237,
15173
15121
  "description": "Navigate the instance to a particular URL. This is useful in tests, for\nexample, or to tell the app to start at a particular URL. This method\nreturns a promise that resolves with the app instance when the transition\nis complete, or rejects if the transion was aborted due to an error.",
15174
15122
  "access": "public",
15175
15123
  "tagname": "",
@@ -15188,8 +15136,8 @@
15188
15136
  "module": "@ember/application"
15189
15137
  },
15190
15138
  {
15191
- "file": "packages/@ember/application/instance.js",
15192
- "line": 283,
15139
+ "file": "packages/@ember/application/instance.ts",
15140
+ "line": 296,
15193
15141
  "access": "private",
15194
15142
  "tagname": "",
15195
15143
  "itemtype": "method",
@@ -15210,8 +15158,8 @@
15210
15158
  "module": "@ember/application"
15211
15159
  },
15212
15160
  {
15213
- "file": "packages/@ember/application/instance.js",
15214
- "line": 329,
15161
+ "file": "packages/@ember/application/instance.ts",
15162
+ "line": 339,
15215
15163
  "description": "Interactive mode: whether we need to set up event delegation and invoke\nlifecycle callbacks on Components.",
15216
15164
  "itemtype": "property",
15217
15165
  "name": "isInteractive",
@@ -15224,8 +15172,8 @@
15224
15172
  "namespace": "ApplicationInstance"
15225
15173
  },
15226
15174
  {
15227
- "file": "packages/@ember/application/instance.js",
15228
- "line": 340,
15175
+ "file": "packages/@ember/application/instance.ts",
15176
+ "line": 350,
15229
15177
  "itemtype": "property",
15230
15178
  "name": "_renderMode",
15231
15179
  "type": "string",
@@ -15237,8 +15185,8 @@
15237
15185
  "namespace": "ApplicationInstance"
15238
15186
  },
15239
15187
  {
15240
- "file": "packages/@ember/application/instance.js",
15241
- "line": 348,
15188
+ "file": "packages/@ember/application/instance.ts",
15189
+ "line": 358,
15242
15190
  "description": "Run in a full browser environment.\n\nWhen this flag is set to `false`, it will disable most browser-specific\nand interactive features. Specifically:\n\n* It does not use `jQuery` to append the root view; the `rootElement`\n (either specified as a subsequent option or on the application itself)\n must already be an `Element` in the given `document` (as opposed to a\n string selector).\n\n* It does not set up an `EventDispatcher`.\n\n* It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n\n* It sets the `location` option to `\"none\"`. (If you would like to use\n the location adapter specified in the app's router instead, you can also\n specify `{ location: null }` to specifically opt-out.)",
15243
15191
  "itemtype": "property",
15244
15192
  "name": "isBrowser",
@@ -15251,8 +15199,22 @@
15251
15199
  "namespace": "ApplicationInstance"
15252
15200
  },
15253
15201
  {
15254
- "file": "packages/@ember/application/instance.js",
15255
- "line": 383,
15202
+ "file": "packages/@ember/application/instance.ts",
15203
+ "line": 384,
15204
+ "description": "If present, overrides the router's `location` property with this\nvalue. This is useful for environments where trying to modify the\nURL would be inappropriate.",
15205
+ "itemtype": "property",
15206
+ "name": "location",
15207
+ "type": "string",
15208
+ "default": "null",
15209
+ "access": "public",
15210
+ "tagname": "",
15211
+ "class": "ApplicationInstance.BootOptions",
15212
+ "module": "@ember/application",
15213
+ "namespace": "ApplicationInstance"
15214
+ },
15215
+ {
15216
+ "file": "packages/@ember/application/instance.ts",
15217
+ "line": 396,
15256
15218
  "description": "Disable rendering completely.\n\nWhen this flag is set to `false`, it will disable the entire rendering\npipeline. Essentially, this puts the app into \"routing-only\" mode. No\ntemplates will be rendered, and no Components will be created.",
15257
15219
  "itemtype": "property",
15258
15220
  "name": "shouldRender",
@@ -15265,8 +15227,8 @@
15265
15227
  "namespace": "ApplicationInstance"
15266
15228
  },
15267
15229
  {
15268
- "file": "packages/@ember/application/instance.js",
15269
- "line": 405,
15230
+ "file": "packages/@ember/application/instance.ts",
15231
+ "line": 410,
15270
15232
  "description": "If present, render into the given `Document` object instead of the\nglobal `window.document` object.\n\nIn practice, this is only useful in non-browser environment or in\nnon-interactive mode, because Ember's `jQuery` dependency is\nimplicitly bound to the current document, causing event delegation\nto not work properly when the app is rendered into a foreign\ndocument object (such as an iframe's `contentDocument`).\n\nIn non-browser mode, this could be a \"`Document`-like\" object as\nEmber only interact with a small subset of the DOM API in non-\ninteractive mode. While the exact requirements have not yet been\nformalized, the `SimpleDOM` library's implementation is known to\nwork.",
15271
15233
  "itemtype": "property",
15272
15234
  "name": "document",
@@ -15279,8 +15241,8 @@
15279
15241
  "namespace": "ApplicationInstance"
15280
15242
  },
15281
15243
  {
15282
- "file": "packages/@ember/application/instance.js",
15283
- "line": 432,
15244
+ "file": "packages/@ember/application/instance.ts",
15245
+ "line": 433,
15284
15246
  "description": "If present, overrides the application's `rootElement` property on\nthe instance. This is useful for testing environment, where you\nmight want to append the root view to a fixture area.\n\nIn non-browser mode, because Ember does not have access to jQuery,\nthis options must be specified as a DOM `Element` object instead of\na selector string.\n\nSee the documentation on `Application`'s `rootElement` for\ndetails.",
15285
15247
  "itemtype": "property",
15286
15248
  "name": "rootElement",
@@ -15292,20 +15254,6 @@
15292
15254
  "module": "@ember/application",
15293
15255
  "namespace": "ApplicationInstance"
15294
15256
  },
15295
- {
15296
- "file": "packages/@ember/application/instance.js",
15297
- "line": 457,
15298
- "description": "If present, overrides the router's `location` property with this\nvalue. This is useful for environments where trying to modify the\nURL would be inappropriate.",
15299
- "itemtype": "property",
15300
- "name": "location",
15301
- "type": "string",
15302
- "default": "null",
15303
- "access": "public",
15304
- "tagname": "",
15305
- "class": "ApplicationInstance.BootOptions",
15306
- "module": "@ember/application",
15307
- "namespace": "ApplicationInstance"
15308
- },
15309
15257
  {
15310
15258
  "file": "packages/@ember/canary-features/index.ts",
15311
15259
  "line": 31,
@@ -15878,8 +15826,77 @@
15878
15826
  "module": "@ember/engine"
15879
15827
  },
15880
15828
  {
15881
- "file": "packages/@ember/engine/index.js",
15882
- "line": 53,
15829
+ "file": "packages/@ember/engine/index.ts",
15830
+ "line": 61,
15831
+ "description": "The goal of initializers should be to register dependencies and injections.\nThis phase runs once. Because these initializers may load code, they are\nallowed to defer application readiness and advance it. If you need to access\nthe container or store you should use an InstanceInitializer that will be run\nafter all initializers and therefore after all code is loaded and the app is\nready.\n\nInitializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the initializer is registered.\nThis must be a unique name, as trying to register two initializers with the\nsame name will result in an error.\n\n```app/initializer/named-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running namedInitializer!');\n}\n\nexport default {\n name: 'named-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\nAn example of ordering initializers, we create an initializer named `first`:\n\n```app/initializer/first.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('First initializer!');\n}\n\nexport default {\n name: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: First initializer!\n```\n\nWe add another initializer named `second`, specifying that it should run\nafter the initializer named `first`:\n\n```app/initializer/second.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Second initializer!');\n}\n\nexport default {\n name: 'second',\n after: 'first',\n initialize\n};\n```\n\n```\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nAfterwards we add a further initializer named `pre`, this time specifying\nthat it should run before the initializer named `first`:\n\n```app/initializer/pre.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Pre initializer!');\n}\n\nexport default {\n name: 'pre',\n before: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nFinally we add an initializer named `post`, specifying it should run after\nboth the `first` and the `second` initializers:\n\n```app/initializer/post.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Post initializer!');\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n// DEBUG: Post initializer!\n```\n\n* `initialize` is a callback function that receives one argument,\n `application`, on which you can operate.\n\nExample of using `application` to register an adapter:\n\n```app/initializer/api-adapter.js\nimport ApiAdapter from '../utils/api-adapter';\n\nexport function initialize(application) {\n application.register('api-adapter:main', ApiAdapter);\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```",
15832
+ "itemtype": "method",
15833
+ "name": "initializer",
15834
+ "params": [
15835
+ {
15836
+ "name": "initializer",
15837
+ "description": "",
15838
+ "type": "Object"
15839
+ }
15840
+ ],
15841
+ "access": "public",
15842
+ "tagname": "",
15843
+ "class": "Engine",
15844
+ "module": "@ember/engine"
15845
+ },
15846
+ {
15847
+ "file": "packages/@ember/engine/index.ts",
15848
+ "line": 208,
15849
+ "description": "Instance initializers run after all initializers have run. Because\ninstance initializers run after the app is fully set up. We have access\nto the store, container, and other items. However, these initializers run\nafter code has loaded and are not allowed to defer readiness.\n\nInstance initializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the instanceInitializer is\nregistered. This must be a unique name, as trying to register two\ninstanceInitializer with the same name will result in an error.\n\n```app/initializer/named-instance-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running named-instance-initializer!');\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\n* See Application.initializer for discussion on the usage of before\nand after.\n\nExample instanceInitializer to preload data into the store.\n\n```app/initializer/preload-data.js\n\nexport function initialize(application) {\n var userConfig, userConfigEncoded, store;\n // We have a HTML escaped JSON representation of the user's basic\n // configuration generated server side and stored in the DOM of the main\n // index.html file. This allows the app to have access to a set of data\n // without making any additional remote calls. Good for basic data that is\n // needed for immediate rendering of the page. Keep in mind, this data,\n // like all local models and data can be manipulated by the user, so it\n // should not be relied upon for security or authorization.\n\n // Grab the encoded data from the meta tag\n userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n\n // Unescape the text, then parse the resulting JSON into a real object\n userConfig = JSON.parse(unescape(userConfigEncoded));\n\n // Lookup the store\n store = application.lookup('service:store');\n\n // Push the encoded JSON into the store\n store.pushPayload(userConfig);\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```",
15850
+ "itemtype": "method",
15851
+ "name": "instanceInitializer",
15852
+ "params": [
15853
+ {
15854
+ "name": "instanceInitializer",
15855
+ "description": ""
15856
+ }
15857
+ ],
15858
+ "access": "public",
15859
+ "tagname": "",
15860
+ "class": "Engine",
15861
+ "module": "@ember/engine"
15862
+ },
15863
+ {
15864
+ "file": "packages/@ember/engine/index.ts",
15865
+ "line": 284,
15866
+ "description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
15867
+ "itemtype": "method",
15868
+ "name": "buildRegistry",
15869
+ "static": 1,
15870
+ "params": [
15871
+ {
15872
+ "name": "namespace",
15873
+ "description": "the application for which to\n build the registry",
15874
+ "type": "Application"
15875
+ }
15876
+ ],
15877
+ "return": {
15878
+ "description": "the built registry",
15879
+ "type": "Ember.Registry"
15880
+ },
15881
+ "access": "private",
15882
+ "tagname": "",
15883
+ "class": "Engine",
15884
+ "module": "@ember/engine"
15885
+ },
15886
+ {
15887
+ "file": "packages/@ember/engine/index.ts",
15888
+ "line": 324,
15889
+ "description": "Set this to provide an alternate class to `DefaultResolver`",
15890
+ "itemtype": "property",
15891
+ "name": "resolver",
15892
+ "access": "public",
15893
+ "tagname": "",
15894
+ "class": "Engine",
15895
+ "module": "@ember/engine"
15896
+ },
15897
+ {
15898
+ "file": "packages/@ember/engine/index.ts",
15899
+ "line": 337,
15883
15900
  "description": "A private flag indicating whether an engine's initializers have run yet.",
15884
15901
  "access": "private",
15885
15902
  "tagname": "",
@@ -15889,8 +15906,8 @@
15889
15906
  "module": "@ember/engine"
15890
15907
  },
15891
15908
  {
15892
- "file": "packages/@ember/engine/index.js",
15893
- "line": 61,
15909
+ "file": "packages/@ember/engine/index.ts",
15910
+ "line": 345,
15894
15911
  "description": "Ensure that initializers are run once, and only once, per engine.",
15895
15912
  "access": "private",
15896
15913
  "tagname": "",
@@ -15900,8 +15917,8 @@
15900
15917
  "module": "@ember/engine"
15901
15918
  },
15902
15919
  {
15903
- "file": "packages/@ember/engine/index.js",
15904
- "line": 74,
15920
+ "file": "packages/@ember/engine/index.ts",
15921
+ "line": 358,
15905
15922
  "description": "Create an EngineInstance for this engine.",
15906
15923
  "access": "public",
15907
15924
  "tagname": "",
@@ -15915,8 +15932,8 @@
15915
15932
  "module": "@ember/engine"
15916
15933
  },
15917
15934
  {
15918
- "file": "packages/@ember/engine/index.js",
15919
- "line": 87,
15935
+ "file": "packages/@ember/engine/index.ts",
15936
+ "line": 370,
15920
15937
  "description": "Build and configure the registry for the current engine.",
15921
15938
  "access": "private",
15922
15939
  "tagname": "",
@@ -15930,8 +15947,8 @@
15930
15947
  "module": "@ember/engine"
15931
15948
  },
15932
15949
  {
15933
- "file": "packages/@ember/engine/index.js",
15934
- "line": 100,
15950
+ "file": "packages/@ember/engine/index.ts",
15951
+ "line": 383,
15935
15952
  "access": "private",
15936
15953
  "tagname": "",
15937
15954
  "itemtype": "method",
@@ -15940,8 +15957,8 @@
15940
15957
  "module": "@ember/engine"
15941
15958
  },
15942
15959
  {
15943
- "file": "packages/@ember/engine/index.js",
15944
- "line": 108,
15960
+ "file": "packages/@ember/engine/index.ts",
15961
+ "line": 391,
15945
15962
  "access": "private",
15946
15963
  "tagname": "",
15947
15964
  "itemtype": "method",
@@ -15950,8 +15967,8 @@
15950
15967
  "module": "@ember/engine"
15951
15968
  },
15952
15969
  {
15953
- "file": "packages/@ember/engine/index.js",
15954
- "line": 116,
15970
+ "file": "packages/@ember/engine/index.ts",
15971
+ "line": 399,
15955
15972
  "access": "private",
15956
15973
  "tagname": "",
15957
15974
  "itemtype": "method",
@@ -15960,8 +15977,8 @@
15960
15977
  "module": "@ember/engine"
15961
15978
  },
15962
15979
  {
15963
- "file": "packages/@ember/engine/index.js",
15964
- "line": 127,
15980
+ "file": "packages/@ember/engine/index.ts",
15981
+ "line": 413,
15965
15982
  "access": "private",
15966
15983
  "tagname": "",
15967
15984
  "since": "1.12.0",
@@ -15971,99 +15988,52 @@
15971
15988
  "module": "@ember/engine"
15972
15989
  },
15973
15990
  {
15974
- "file": "packages/@ember/engine/index.js",
15975
- "line": 158,
15976
- "description": "The goal of initializers should be to register dependencies and injections.\nThis phase runs once. Because these initializers may load code, they are\nallowed to defer application readiness and advance it. If you need to access\nthe container or store you should use an InstanceInitializer that will be run\nafter all initializers and therefore after all code is loaded and the app is\nready.\n\nInitializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the initializer is registered.\nThis must be a unique name, as trying to register two initializers with the\nsame name will result in an error.\n\n```app/initializer/named-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running namedInitializer!');\n}\n\nexport default {\n name: 'named-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\nAn example of ordering initializers, we create an initializer named `first`:\n\n```app/initializer/first.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('First initializer!');\n}\n\nexport default {\n name: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: First initializer!\n```\n\nWe add another initializer named `second`, specifying that it should run\nafter the initializer named `first`:\n\n```app/initializer/second.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Second initializer!');\n}\n\nexport default {\n name: 'second',\n after: 'first',\n initialize\n};\n```\n\n```\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nAfterwards we add a further initializer named `pre`, this time specifying\nthat it should run before the initializer named `first`:\n\n```app/initializer/pre.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Pre initializer!');\n}\n\nexport default {\n name: 'pre',\n before: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nFinally we add an initializer named `post`, specifying it should run after\nboth the `first` and the `second` initializers:\n\n```app/initializer/post.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Post initializer!');\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n// DEBUG: Post initializer!\n```\n\n* `initialize` is a callback function that receives one argument,\n `application`, on which you can operate.\n\nExample of using `application` to register an adapter:\n\n```app/initializer/api-adapter.js\nimport ApiAdapter from '../utils/api-adapter';\n\nexport function initialize(application) {\n application.register('api-adapter:main', ApiAdapter);\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```",
15977
- "itemtype": "method",
15978
- "name": "initializer",
15979
- "params": [
15980
- {
15981
- "name": "initializer",
15982
- "description": "",
15983
- "type": "Object"
15984
- }
15985
- ],
15986
- "access": "public",
15987
- "tagname": "",
15988
- "class": "Engine",
15989
- "module": "@ember/engine"
15990
- },
15991
- {
15992
- "file": "packages/@ember/engine/index.js",
15993
- "line": 305,
15994
- "description": "Instance initializers run after all initializers have run. Because\ninstance initializers run after the app is fully set up. We have access\nto the store, container, and other items. However, these initializers run\nafter code has loaded and are not allowed to defer readiness.\n\nInstance initializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the instanceInitializer is\nregistered. This must be a unique name, as trying to register two\ninstanceInitializer with the same name will result in an error.\n\n```app/initializer/named-instance-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running named-instance-initializer!');\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\n* See Application.initializer for discussion on the usage of before\nand after.\n\nExample instanceInitializer to preload data into the store.\n\n```app/initializer/preload-data.js\n\nexport function initialize(application) {\n var userConfig, userConfigEncoded, store;\n // We have a HTML escaped JSON representation of the user's basic\n // configuration generated server side and stored in the DOM of the main\n // index.html file. This allows the app to have access to a set of data\n // without making any additional remote calls. Good for basic data that is\n // needed for immediate rendering of the page. Keep in mind, this data,\n // like all local models and data can be manipulated by the user, so it\n // should not be relied upon for security or authorization.\n\n // Grab the encoded data from the meta tag\n userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n\n // Unescape the text, then parse the resulting JSON into a real object\n userConfig = JSON.parse(unescape(userConfigEncoded));\n\n // Lookup the store\n store = application.lookup('service:store');\n\n // Push the encoded JSON into the store\n store.pushPayload(userConfig);\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```",
15995
- "itemtype": "method",
15996
- "name": "instanceInitializer",
15997
- "params": [
15998
- {
15999
- "name": "instanceInitializer",
16000
- "description": ""
16001
- }
16002
- ],
16003
- "access": "public",
15991
+ "file": "packages/@ember/engine/index.ts",
15992
+ "line": 447,
15993
+ "description": "This function defines the default lookup rules for container lookups:\n\n* templates are looked up on `Ember.TEMPLATES`\n* other names are looked up on the application after classifying the name.\n For example, `controller:post` looks up `App.PostController` by default.\n* if the default lookup fails, look for registered classes on the container\n\nThis allows the application to register default injections in the container\nthat could be overridden by the normal naming convention.",
15994
+ "access": "private",
16004
15995
  "tagname": "",
16005
- "class": "Engine",
16006
- "module": "@ember/engine"
16007
- },
16008
- {
16009
- "file": "packages/@ember/engine/index.js",
16010
- "line": 378,
16011
- "description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
16012
15996
  "itemtype": "method",
16013
- "name": "buildRegistry",
16014
- "static": 1,
15997
+ "name": "resolverFor",
16015
15998
  "params": [
16016
15999
  {
16017
16000
  "name": "namespace",
16018
- "description": "the application for which to\n build the registry",
16019
- "type": "Application"
16001
+ "description": "the namespace to look for classes",
16002
+ "type": "Ember.Enginer"
16020
16003
  }
16021
16004
  ],
16022
16005
  "return": {
16023
- "description": "the built registry",
16024
- "type": "Ember.Registry"
16006
+ "description": "the resolved value for a given lookup",
16007
+ "type": "*"
16025
16008
  },
16026
- "access": "private",
16027
- "tagname": "",
16028
- "class": "Engine",
16029
- "module": "@ember/engine"
16030
- },
16031
- {
16032
- "file": "packages/@ember/engine/index.js",
16033
- "line": 418,
16034
- "description": "Set this to provide an alternate class to `DefaultResolver`",
16035
- "itemtype": "property",
16036
- "name": "resolver",
16037
- "access": "public",
16038
- "tagname": "",
16039
16009
  "class": "Engine",
16040
16010
  "module": "@ember/engine"
16041
16011
  },
16042
16012
  {
16043
- "file": "packages/@ember/engine/index.js",
16044
- "line": 427,
16045
- "description": "This function defines the default lookup rules for container lookups:\n\n* templates are looked up on `Ember.TEMPLATES`\n* other names are looked up on the application after classifying the name.\n For example, `controller:post` looks up `App.PostController` by default.\n* if the default lookup fails, look for registered classes on the container\n\nThis allows the application to register default injections in the container\nthat could be overridden by the normal naming convention.",
16013
+ "file": "packages/@ember/engine/instance.ts",
16014
+ "line": 39,
16046
16015
  "access": "private",
16047
16016
  "tagname": "",
16048
16017
  "itemtype": "method",
16049
- "name": "resolverFor",
16018
+ "name": "setupRegistry",
16050
16019
  "params": [
16051
16020
  {
16052
- "name": "namespace",
16053
- "description": "the namespace to look for classes",
16054
- "type": "Ember.Namespace"
16021
+ "name": "registry",
16022
+ "description": "",
16023
+ "type": "Registry"
16024
+ },
16025
+ {
16026
+ "name": "options",
16027
+ "description": "",
16028
+ "type": "BootOptions"
16055
16029
  }
16056
16030
  ],
16057
- "return": {
16058
- "description": "the resolved value for a given lookup",
16059
- "type": "*"
16060
- },
16061
- "class": "Engine",
16031
+ "class": "EngineInstance",
16062
16032
  "module": "@ember/engine"
16063
16033
  },
16064
16034
  {
16065
- "file": "packages/@ember/engine/instance.js",
16066
- "line": 29,
16035
+ "file": "packages/@ember/engine/instance.ts",
16036
+ "line": 47,
16067
16037
  "description": "The base `Engine` for which this is an instance.",
16068
16038
  "itemtype": "property",
16069
16039
  "name": "engine",
@@ -16074,8 +16044,8 @@
16074
16044
  "module": "@ember/engine"
16075
16045
  },
16076
16046
  {
16077
- "file": "packages/@ember/engine/instance.js",
16078
- "line": 62,
16047
+ "file": "packages/@ember/engine/instance.ts",
16048
+ "line": 84,
16079
16049
  "description": "Initialize the `EngineInstance` and return a promise that resolves\nwith the instance itself when the boot process is complete.\n\nThe primary task here is to run any registered instance initializers.\n\nSee the documentation on `BootOptions` for the options it takes.",
16080
16050
  "access": "public",
16081
16051
  "tagname": "",
@@ -16096,8 +16066,8 @@
16096
16066
  "module": "@ember/engine"
16097
16067
  },
16098
16068
  {
16099
- "file": "packages/@ember/engine/instance.js",
16100
- "line": 85,
16069
+ "file": "packages/@ember/engine/instance.ts",
16070
+ "line": 109,
16101
16071
  "description": "Unfortunately, a lot of existing code assumes booting an instance is\nsynchronous – specifically, a lot of tests assume the last call to\n`app.advanceReadiness()` or `app.reset()` will result in a new instance\nbeing fully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this\nassumption, so we created the asynchronous version above that returns a\npromise. But until we have migrated all the code, we would have to expose\nthis method for use *internally* in places where we need to boot an instance\nsynchronously.",
16102
16072
  "access": "private",
16103
16073
  "tagname": "",
@@ -16105,8 +16075,8 @@
16105
16075
  "module": "@ember/engine"
16106
16076
  },
16107
16077
  {
16108
- "file": "packages/@ember/engine/instance.js",
16109
- "line": 124,
16078
+ "file": "packages/@ember/engine/instance.ts",
16079
+ "line": 150,
16110
16080
  "description": "Unregister a factory.\n\nOverrides `RegistryProxy#unregister` in order to clear any cached instances\nof the unregistered factory.",
16111
16081
  "access": "public",
16112
16082
  "tagname": "",
@@ -16123,8 +16093,8 @@
16123
16093
  "module": "@ember/engine"
16124
16094
  },
16125
16095
  {
16126
- "file": "packages/@ember/engine/instance.js",
16127
- "line": 139,
16096
+ "file": "packages/@ember/engine/instance.ts",
16097
+ "line": 167,
16128
16098
  "description": "Build a new `EngineInstance` that's a child of this instance.\n\nEngines must be registered by name with their parent engine\n(or application).",
16129
16099
  "access": "private",
16130
16100
  "tagname": "",
@@ -16150,8 +16120,8 @@
16150
16120
  "module": "@ember/engine"
16151
16121
  },
16152
16122
  {
16153
- "file": "packages/@ember/engine/instance.js",
16154
- "line": 167,
16123
+ "file": "packages/@ember/engine/instance.ts",
16124
+ "line": 197,
16155
16125
  "description": "Clone dependencies shared between an engine instance and its parent.",
16156
16126
  "access": "private",
16157
16127
  "tagname": "",
@@ -16160,28 +16130,6 @@
16160
16130
  "class": "EngineInstance",
16161
16131
  "module": "@ember/engine"
16162
16132
  },
16163
- {
16164
- "file": "packages/@ember/engine/instance.js",
16165
- "line": 200,
16166
- "access": "private",
16167
- "tagname": "",
16168
- "itemtype": "method",
16169
- "name": "setupRegistry",
16170
- "params": [
16171
- {
16172
- "name": "registry",
16173
- "description": "",
16174
- "type": "Registry"
16175
- },
16176
- {
16177
- "name": "options",
16178
- "description": "",
16179
- "type": "BootOptions"
16180
- }
16181
- ],
16182
- "class": "EngineInstance",
16183
- "module": "@ember/engine"
16184
- },
16185
16133
  {
16186
16134
  "file": "packages/@ember/helper/index.ts",
16187
16135
  "line": 5,
@@ -18464,7 +18412,7 @@
18464
18412
  "warnings": [
18465
18413
  {
18466
18414
  "message": "replacing incorrect tag: returns with return",
18467
- "line": " packages/@ember/-internals/container/lib/container.ts:188"
18415
+ "line": " packages/@ember/-internals/container/lib/container.ts:183"
18468
18416
  },
18469
18417
  {
18470
18418
  "message": "unknown tag: internal",
@@ -18516,7 +18464,7 @@
18516
18464
  },
18517
18465
  {
18518
18466
  "message": "Missing item type\nThis is deprecated in favor of explicit injection of dependencies.\n\nReference: https://deprecations.emberjs.com/v3.x#toc_implicit-injections\n```\n\n@private\n@method injection\n@param {String} factoryName\n@param {String} property\n@param {String} injectionName\n@deprecated",
18519
- "line": " packages/@ember/-internals/container/lib/registry.ts:448"
18467
+ "line": " packages/@ember/-internals/container/lib/registry.ts:440"
18520
18468
  },
18521
18469
  {
18522
18470
  "message": "Missing item type\nThe `change` and `input` actions need to be overridden in the `Input`\nsubclass. Unfortunately, some ember-source builds currently uses babel\nloose mode to transpile its classes. Having the `@action` decorator on the\nsuper class creates a getter on the prototype, and when the subclass\noverrides the method, the loose mode transpilation would emit something\nlike `Subclass.prototype['change'] = function change() { ... }`, which\nfails because `prototype['change']` is getter-only/readonly. The correct\nsolution is to use `Object.defineProperty(prototype, 'change', ...)` but\nthat requires disabling loose mode. For now, the workaround is to add the\ndecorator only on the subclass. This is more of a configuration issue on\nour own builds and doesn't really affect apps.",
@@ -18580,11 +18528,11 @@
18580
18528
  },
18581
18529
  {
18582
18530
  "message": "Missing item type",
18583
- "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:107"
18531
+ "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:109"
18584
18532
  },
18585
18533
  {
18586
18534
  "message": "Missing item type",
18587
- "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:115"
18535
+ "line": " packages/@ember/-internals/glimmer/lib/views/outlet.ts:117"
18588
18536
  },
18589
18537
  {
18590
18538
  "message": "Missing item type",
@@ -18844,19 +18792,19 @@
18844
18792
  },
18845
18793
  {
18846
18794
  "message": "Missing item type\nFinds the name of the substate route if it exists for the given route. A\nsubstate route is of the form `route_state`, such as `foo_loading`.",
18847
- "line": " packages/@ember/-internals/routing/lib/system/router.ts:1635"
18795
+ "line": " packages/@ember/-internals/routing/lib/system/router.ts:1639"
18848
18796
  },
18849
18797
  {
18850
18798
  "message": "Missing item type\nFinds the name of the state route if it exists for the given route. A state\nroute is of the form `route.state`, such as `foo.loading`. Properly Handles\n`application` named routes.",
18851
- "line": " packages/@ember/-internals/routing/lib/system/router.ts:1656"
18799
+ "line": " packages/@ember/-internals/routing/lib/system/router.ts:1660"
18852
18800
  },
18853
18801
  {
18854
18802
  "message": "Missing item type\nDetermines whether or not a route has been defined by checking that the route\nis in the Router's map and the owner has a registration for that route.",
18855
- "line": " packages/@ember/-internals/routing/lib/system/router.ts:1678"
18803
+ "line": " packages/@ember/-internals/routing/lib/system/router.ts:1682"
18856
18804
  },
18857
18805
  {
18858
18806
  "message": "Missing item type",
18859
- "line": " packages/@ember/-internals/runtime/lib/mixins/container_proxy.d.ts:7"
18807
+ "line": " packages/@ember/-internals/runtime/lib/mixins/container_proxy.d.ts:13"
18860
18808
  },
18861
18809
  {
18862
18810
  "message": "Missing item type\nThis mixin allows for Ember objects to subscribe to and emit events.",
@@ -18932,7 +18880,7 @@
18932
18880
  },
18933
18881
  {
18934
18882
  "message": "Missing item type",
18935
- "line": " packages/@ember/-internals/runtime/lib/mixins/registry_proxy.d.ts:7"
18883
+ "line": " packages/@ember/-internals/runtime/lib/mixins/registry_proxy.d.ts:30"
18936
18884
  },
18937
18885
  {
18938
18886
  "message": "Missing item type",
@@ -18952,47 +18900,43 @@
18952
18900
  },
18953
18901
  {
18954
18902
  "message": "Missing item type",
18955
- "line": " packages/@ember/-internals/views/lib/system/event_dispatcher.d.ts:8"
18956
- },
18957
- {
18958
- "message": "Missing item type",
18959
- "line": " packages/@ember/application/lib/application.d.ts:17"
18903
+ "line": " packages/@ember/-internals/views/lib/system/event_dispatcher.d.ts:9"
18960
18904
  },
18961
18905
  {
18962
18906
  "message": "Missing item type\nUnfortunately, a lot of existing code assumes the booting process is\n\"synchronous\". Specifically, a lot of tests assumes the last call to\n`app.advanceReadiness()` or `app.reset()` will result in the app being\nfully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this assumption,\nso we created the asynchronous version above that returns a promise. But until\nwe have migrated all the code, we would have to expose this method for use\n*internally* in places where we need to boot an app \"synchronously\".",
18963
- "line": " packages/@ember/application/lib/application.js:662"
18907
+ "line": " packages/@ember/application/lib/application.ts:723"
18964
18908
  },
18965
18909
  {
18966
18910
  "message": "Missing item type\nOverrides the base `EngineInstance._bootSync` method with concerns relevant\nto booting application (instead of engine) instances.\n\nThis method should only contain synchronous boot concerns. Asynchronous\nboot concerns should eventually be moved to the `boot` method, which\nreturns a promise.\n\nUntil all boot code has been made asynchronous, we need to continue to\nexpose this method for use *internally* in places where we need to boot an\ninstance synchronously.",
18967
- "line": " packages/@ember/application/instance.js:81"
18911
+ "line": " packages/@ember/application/instance.ts:85"
18968
18912
  },
18969
18913
  {
18970
18914
  "message": "Missing item type\nThis hook is called by the root-most Route (a.k.a. the ApplicationRoute)\nwhen it has finished creating the root View. By default, we simply take the\nview and append it to the `rootElement` specified on the Application.\n\nIn cases like FastBoot and testing, we can override this hook and implement\ncustom behavior, such as serializing to a string and sending over an HTTP\nsocket rather than appending to DOM.",
18971
- "line": " packages/@ember/application/instance.js:133"
18915
+ "line": " packages/@ember/application/instance.ts:145"
18972
18916
  },
18973
18917
  {
18974
18918
  "message": "Missing item type\nTells the router to start routing. The router will ask the location for the\ncurrent URL of the page to determine the initial URL to start routing to.\nTo start the app at a specific URL, call `handleURL` instead.",
18975
- "line": " packages/@ember/application/instance.js:150"
18919
+ "line": " packages/@ember/application/instance.ts:162"
18976
18920
  },
18977
18921
  {
18978
18922
  "message": "Missing item type\nSets up the router, initializing the child router and configuring the\nlocation before routing begins.\n\nBecause setup should only occur once, multiple calls to `setupRouter`\nbeyond the first call have no effect.\n\nThis is commonly used in order to confirm things that rely on the router\nare functioning properly from tests that are primarily rendering related.\n\nFor example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n`setupRenderingTest` calling `this.owner.setupRouter()` would allow that\nrendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\nhave the correct URL.",
18979
- "line": " packages/@ember/application/instance.js:161"
18923
+ "line": " packages/@ember/application/instance.ts:173"
18980
18924
  },
18981
18925
  {
18982
18926
  "message": "Missing item type\nDirects the router to route to a particular URL. This is useful in tests,\nfor example, to tell the app to start at a particular URL.",
18983
- "line": " packages/@ember/application/instance.js:182"
18927
+ "line": " packages/@ember/application/instance.ts:194"
18984
18928
  },
18985
18929
  {
18986
18930
  "message": "Missing item type",
18987
- "line": " packages/@ember/application/instance.js:194"
18931
+ "line": " packages/@ember/application/instance.ts:206"
18988
18932
  },
18989
18933
  {
18990
18934
  "message": "Missing item type\nReturns the current URL of the app instance. This is useful when your\napp does not update the browsers URL bar (i.e. it uses the `'none'`\nlocation adapter).",
18991
- "line": " packages/@ember/application/instance.js:208"
18935
+ "line": " packages/@ember/application/instance.ts:222"
18992
18936
  },
18993
18937
  {
18994
18938
  "message": "Missing item type\nNavigate the instance to a particular URL. This is useful in tests, for\nexample, or to tell the app to start at a particular URL. This method\nreturns a promise that resolves with the app instance when the transition\nis complete, or rejects if the transion was aborted due to an error.",
18995
- "line": " packages/@ember/application/instance.js:223"
18939
+ "line": " packages/@ember/application/instance.ts:237"
18996
18940
  },
18997
18941
  {
18998
18942
  "message": "Missing item type",
@@ -19000,7 +18944,7 @@
19000
18944
  },
19001
18945
  {
19002
18946
  "message": "Missing item type\nUnfortunately, a lot of existing code assumes booting an instance is\nsynchronous – specifically, a lot of tests assume the last call to\n`app.advanceReadiness()` or `app.reset()` will result in a new instance\nbeing fully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this\nassumption, so we created the asynchronous version above that returns a\npromise. But until we have migrated all the code, we would have to expose\nthis method for use *internally* in places where we need to boot an instance\nsynchronously.",
19003
- "line": " packages/@ember/engine/instance.js:85"
18947
+ "line": " packages/@ember/engine/instance.ts:109"
19004
18948
  },
19005
18949
  {
19006
18950
  "message": "Missing item type",