` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\nSpecifically, this means that the template will be rendered as \"outer HTML\".\n\nIn apps, this method will usually be inserted by build-time tooling the handles converting `.hbs` files into component Javascript modules and\nwould not be directly written by the application author.\n\nAddons may want to use this method directly to ensure that a template-only component is treated consistently in all Ember versions (Ember versions\nbefore 4.0 have a \"template-only-glimmer-components\" optional feature that causes a standalone `.hbs` file to be interpreted differently).",
+ "example": [
+ "\n\n```js\nimport templateOnly from '@ember/component/template-only';\n\nexport default templateOnly();\n```"
+ ],
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "templateOnly",
+ "params": [
+ {
+ "name": "moduleName",
+ "description": "the module name that the template only component represents, this will be used for debugging purposes",
+ "type": "String"
+ }
+ ],
+ "category": [
+ "EMBER_GLIMMER_SET_COMPONENT_TEMPLATE"
+ ],
+ "class": "@ember/component/template-only",
+ "module": "@ember/component/template-only"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/component/template-only",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/debug.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/debug.json
new file mode 100644
index 000000000..e24cd0408
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/debug.json
@@ -0,0 +1,341 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/debug",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/debug",
+ "shortname": "@ember/debug",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/debug",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/metal/lib/computed.ts",
+ "line": 919,
+ "description": "Allows checking if a given property on an object is a computed property. For the most part,\nthis doesn't matter (you would normally just access the property directly and use its value),\nbut for some tooling specific scenarios (e.g. the ember-inspector) it is important to\ndifferentiate if a property is a computed property or a \"normal\" property.\n\nThis will work on either a class's prototype or an instance itself.",
+ "static": 1,
+ "itemtype": "method",
+ "name": "isComputed",
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/debug",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/debug/lib/assert.ts",
+ "line": 16,
+ "description": "Verify that a certain expectation is met, or throw a exception otherwise.\n\nThis is useful for communicating assumptions in the code to other human\nreaders as well as catching bugs that accidentally violates these\nexpectations.\n\nAssertions are removed from production builds, so they can be freely added\nfor documentation and debugging purposes without worries of incuring any\nperformance penalty. However, because of that, they should not be used for\nchecks that could reasonably fail during normal usage. Furthermore, care\nshould be taken to avoid accidentally relying on side-effects produced from\nevaluating the condition itself, since the code will not run in production.\n\n```javascript\nimport { assert } from '@ember/debug';\n\n// Test for truthiness\nassert('Must pass a string', typeof str === 'string');\n\n// Fail unconditionally\nassert('This code path should never be run');\n```",
+ "itemtype": "method",
+ "name": "assert",
+ "static": 1,
+ "params": [
+ {
+ "name": "description",
+ "description": "Describes the expectation. This will become the\n text of the Error thrown if the assertion fails.",
+ "type": "String"
+ },
+ {
+ "name": "condition",
+ "description": "Must be truthy for the assertion to pass. If\n falsy, an exception will be thrown.",
+ "type": "Any"
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "since": "1.0.0",
+ "class": "@ember/debug",
+ "module": "@ember/controller"
+ },
+ {
+ "file": "packages/@ember/debug/lib/capture-render-tree.ts",
+ "line": 8,
+ "description": "Ember Inspector calls this function to capture the current render tree.\n\nIn production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\nbefore loading Ember.",
+ "access": "private",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "captureRenderTree",
+ "params": [
+ {
+ "name": "app",
+ "description": "An `ApplicationInstance`.",
+ "type": "ApplicationInstance"
+ }
+ ],
+ "since": "3.14.0",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/lib/deprecate.ts",
+ "line": 39,
+ "description": "Allows for runtime registration of handler functions that override the default deprecation behavior.\nDeprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\nThe following example demonstrates its usage by registering a handler that throws an error if the\nmessage contains the word \"should\", otherwise defers to the default handler.\n\n```javascript\nimport { registerDeprecationHandler } from '@ember/debug';\n\nregisterDeprecationHandler((message, options, next) => {\n if (message.indexOf('should') !== -1) {\n throw new Error(`Deprecation message with should: ${message}`);\n } else {\n // defer to whatever handler was registered before this one\n next(message, options);\n }\n});\n```\n\nThe handler function takes the following arguments:\n\n
\n -
message - The message received from the deprecation call. \n -
options - An object passed in with the deprecation call containing additional information including: \n \n -
id - An id of the deprecation in the form of package-name.specific-deprecation. \n -
until - The Ember version number the feature and deprecation will be removed in. \n
\n -
next - A function that calls into the previously registered handler. \n
",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "registerDeprecationHandler",
+ "params": [
+ {
+ "name": "handler",
+ "description": "A function to handle deprecation calls.",
+ "type": "Function"
+ }
+ ],
+ "since": "2.1.0",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/lib/deprecate.ts",
+ "line": 185,
+ "description": "Display a deprecation warning with the provided message and a stack trace\n(Chrome and Firefox only).\n\nEmber itself leverages [Semantic Versioning](https://semver.org) to aid\nprojects in keeping up with changes to the framework. Before any\nfunctionality or API is removed, it first flows linearly through a\ndeprecation staging process. The staging process currently contains two\nstages: available and enabled.\n\nDeprecations are initially released into the 'available' stage.\nDeprecations will stay in this stage until the replacement API has been\nmarked as a recommended practice via the RFC process and the addon\necosystem has generally adopted the change.\n\nOnce a deprecation meets the above criteria, it will move into the\n'enabled' stage where it will remain until the functionality or API is\neventually removed.\n\nFor application and addon developers, \"available\" deprecations are not\nurgent and \"enabled\" deprecations require action.\n\n* In a production build, this method is defined as an empty function (NOP).\nUses of this method in Ember itself are stripped from the ember.prod.js build.\n\n```javascript\nimport { deprecate } from '@ember/debug';\n\ndeprecate(\n 'Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.',\n false,\n {\n id: 'ember-polyfills.deprecate-assign',\n until: '5.0.0',\n url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign',\n for: 'ember-source',\n since: {\n available: '4.0.0',\n enabled: '4.0.0',\n },\n }\n);\n```",
+ "itemtype": "method",
+ "name": "deprecate",
+ "params": [
+ {
+ "name": "message",
+ "description": "A description of the deprecation.",
+ "type": "String"
+ },
+ {
+ "name": "test",
+ "description": "A boolean. If falsy, the deprecation will be displayed.",
+ "type": "Boolean"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object",
+ "props": [
+ {
+ "name": "id",
+ "description": "A unique id for this deprecation. The id can be\n used by Ember debugging tools to change the behavior (raise, log or silence)\n for that specific deprecation. The id should be namespaced by dots, e.g.\n \"view.helper.select\".",
+ "type": "String"
+ },
+ {
+ "name": "until",
+ "description": "The version of Ember when this deprecation\n warning will be removed.",
+ "type": "String"
+ },
+ {
+ "name": "for",
+ "description": "A namespace for the deprecation, usually the package name",
+ "type": "String"
+ },
+ {
+ "name": "since",
+ "description": "Describes when the deprecation became available and enabled.",
+ "type": "Object"
+ },
+ {
+ "name": "url",
+ "description": "An optional url to the transition guide on the\n emberjs.com website.",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "since": "1.0.0",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/lib/inspect.ts",
+ "line": 14,
+ "description": "Convenience method to inspect an object. This method will attempt to\nconvert the object into a useful string description.\n\nIt is a pretty simple implementation. If you want something more robust,\nuse something like JSDump: https://github.com/NV/jsDump",
+ "itemtype": "method",
+ "name": "inspect",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "The object you want to inspect.",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "A description of the object",
+ "type": "String"
+ },
+ "since": "1.4.0",
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/lib/warn.ts",
+ "line": 29,
+ "description": "Allows for runtime registration of handler functions that override the default warning behavior.\nWarnings are invoked by calls made to [@ember/debug/warn](/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\nThe following example demonstrates its usage by registering a handler that does nothing overriding Ember's\ndefault warning behavior.\n\n```javascript\nimport { registerWarnHandler } from '@ember/debug';\n\n// next is not called, so no warnings get the default behavior\nregisterWarnHandler(() => {});\n```\n\nThe handler function takes the following arguments:\n\n
\n -
message - The message received from the warn call. \n -
options - An object passed in with the warn call containing additional information including: \n \n -
id - An id of the warning in the form of package-name.specific-warning. \n
\n -
next - A function that calls into the previously registered handler. \n
",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "registerWarnHandler",
+ "params": [
+ {
+ "name": "handler",
+ "description": "A function to handle warnings.",
+ "type": "Function"
+ }
+ ],
+ "since": "2.1.0",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/lib/warn.ts",
+ "line": 76,
+ "description": "Display a warning with the provided message.\n\n* In a production build, this method is defined as an empty function (NOP).\nUses of this method in Ember itself are stripped from the ember.prod.js build.\n\n```javascript\nimport { warn } from '@ember/debug';\nimport tomsterCount from './tomster-counter'; // a module in my project\n\n// Log a warning if we have more than 3 tomsters\nwarn('Too many tomsters!', tomsterCount <= 3, {\n id: 'ember-debug.too-many-tomsters'\n});\n```",
+ "itemtype": "method",
+ "name": "warn",
+ "static": 1,
+ "params": [
+ {
+ "name": "message",
+ "description": "A warning to display.",
+ "type": "String"
+ },
+ {
+ "name": "test",
+ "description": "An optional boolean. If falsy, the warning\n will be displayed. If `test` is an object, the `test` parameter can\n be used as the `options` parameter and the warning is displayed.",
+ "type": "Boolean|Object"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object",
+ "props": [
+ {
+ "name": "id",
+ "description": "The `id` can be used by Ember debugging tools\n to change the behavior (raise, log, or silence) for that specific warning.\n The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"",
+ "type": "String"
+ }
+ ]
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "since": "1.0.0",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/index.ts",
+ "line": 147,
+ "description": "Display a debug notice.\n\nCalls to this function are not invoked in production builds.\n\n```javascript\nimport { debug } from '@ember/debug';\n\ndebug('I\\'m a debug notice!');\n```",
+ "itemtype": "method",
+ "name": "debug",
+ "static": 1,
+ "params": [
+ {
+ "name": "message",
+ "description": "A debug message to display.",
+ "type": "String"
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/index.ts",
+ "line": 168,
+ "description": "Display an info notice.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.",
+ "itemtype": "method",
+ "name": "info",
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/index.ts",
+ "line": 187,
+ "description": "Alias an old, deprecated method with its new counterpart.\n\nDisplay a deprecation warning with the provided message and a stack trace\n(Chrome and Firefox only) when the assigned method is called.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport { deprecateFunc } from '@ember/debug';\n\noldMethod = deprecateFunc('Please use the new, updated method', options, newMethod);\n```",
+ "itemtype": "method",
+ "name": "deprecateFunc",
+ "static": 1,
+ "params": [
+ {
+ "name": "message",
+ "description": "A description of the deprecation.",
+ "type": "String"
+ },
+ {
+ "name": "options",
+ "description": "The options object for `deprecate`.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "func",
+ "description": "The new function called to replace its deprecated counterpart.",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": "A new function that wraps the original function with a deprecation warning",
+ "type": "Function"
+ },
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ },
+ {
+ "file": "packages/@ember/debug/index.ts",
+ "line": 232,
+ "description": "Run a function meant for debugging.\n\nCalls to this function are removed from production builds, so they can be\nfreely added for documentation and debugging purposes without worries of\nincuring any performance penalty.\n\n```javascript\nimport Component from '@ember/component';\nimport { runInDebug } from '@ember/debug';\n\nrunInDebug(() => {\n Component.reopen({\n didInsertElement() {\n console.log(\"I'm happy\");\n }\n });\n});\n```",
+ "itemtype": "method",
+ "name": "runInDebug",
+ "static": 1,
+ "params": [
+ {
+ "name": "func",
+ "description": "The function to be executed.",
+ "type": "Function"
+ }
+ ],
+ "since": "1.5.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/debug",
+ "module": "@ember/debug"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/debug",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/destroyable.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/destroyable.json
new file mode 100644
index 000000000..d5552a4ad
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/destroyable.json
@@ -0,0 +1,206 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/destroyable",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/destroyable",
+ "shortname": "@ember/destroyable",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/destroyable",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 31,
+ "description": "This function is used to associate a destroyable object with a parent. When the parent\nis destroyed, all registered children will also be destroyed.\n\n```js\nclass CustomSelect extends Component {\n constructor(...args) {\n super(...args);\n\n // obj is now a child of the component. When the component is destroyed,\n // obj will also be destroyed, and have all of its destructors triggered.\n this.obj = associateDestroyableChild(this, {});\n }\n}\n```\n\nReturns the associated child for convenience.",
+ "itemtype": "method",
+ "name": "associateDestroyableChild",
+ "params": [
+ {
+ "name": "parent",
+ "description": "the destroyable to entangle the child destroyables lifetime with",
+ "type": "Object|Function"
+ },
+ {
+ "name": "child",
+ "description": "the destroyable to be entangled with the parents lifetime",
+ "type": "Object|Function"
+ }
+ ],
+ "return": {
+ "description": "the child argument",
+ "type": "Object|Function"
+ },
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 58,
+ "description": "Receives a destroyable, and returns true if the destroyable has begun destroying. Otherwise returns\nfalse.\n\n ```js\n let obj = {};\n isDestroying(obj); // false\n destroy(obj);\n isDestroying(obj); // true\n // ...sometime later, after scheduled destruction\n isDestroyed(obj); // true\n isDestroying(obj); // true\n ```",
+ "itemtype": "method",
+ "name": "isDestroying",
+ "params": [
+ {
+ "name": "destroyable",
+ "description": "the object to check",
+ "type": "Object|Function"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 80,
+ "description": "Receives a destroyable, and returns true if the destroyable has finished destroying. Otherwise\nreturns false.\n\n```js\nlet obj = {};\n\nisDestroyed(obj); // false\ndestroy(obj);\n\n// ...sometime later, after scheduled destruction\n\nisDestroyed(obj); // true\n```",
+ "itemtype": "method",
+ "name": "isDestroyed",
+ "params": [
+ {
+ "name": "destroyable",
+ "description": "the object to check",
+ "type": "Object|Function"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 103,
+ "description": "Initiates the destruction of a destroyable object. It runs all associated destructors, and then\ndestroys all children recursively.\n\n```js\nlet obj = {};\n\nregisterDestructor(obj, () => console.log('destroyed!'));\n\ndestroy(obj); // this will schedule the destructor to be called\n\n// ...some time later, during scheduled destruction\n\n// destroyed!\n```\n\nDestruction via `destroy()` follows these steps:\n\n1, Mark the destroyable such that `isDestroying(destroyable)` returns `true`\n2, Call `destroy()` on each of the destroyable's associated children\n3, Schedule calling the destroyable's destructors\n4, Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`\n\nThis results in the entire tree of destroyables being first marked as destroying,\nthen having all of their destructors called, and finally all being marked as isDestroyed.\nThere won't be any in between states where some items are marked as `isDestroying` while\ndestroying, while others are not.",
+ "itemtype": "method",
+ "name": "destroy",
+ "params": [
+ {
+ "name": "destroyable",
+ "description": "the object to destroy",
+ "type": "Object|Function"
+ }
+ ],
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 138,
+ "description": "This function asserts that all objects which have associated destructors or associated children\nhave been destroyed at the time it is called. It is meant to be a low level hook that testing\nframeworks can use to hook into and validate that all destroyables have in fact been destroyed.\n\nThis function requires that `enableDestroyableTracking` was called previously, and is only\navailable in non-production builds.",
+ "itemtype": "method",
+ "name": "assertDestroyablesDestroyed",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 152,
+ "description": "This function instructs the destroyable system to keep track of all destroyables (their\nchildren, destructors, etc). This enables a future usage of `assertDestroyablesDestroyed`\nto be used to ensure that all destroyable tasks (registered destructors and associated children)\nhave completed when `assertDestroyablesDestroyed` is called.",
+ "itemtype": "method",
+ "name": "enableDestroyableTracking",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 164,
+ "description": "Receives a destroyable object and a destructor function, and associates the\nfunction with it. When the destroyable is destroyed with destroy, or when its\nparent is destroyed, the destructor function will be called.\n\n```js\nimport Component from '@glimmer/component';\nimport { registerDestructor } from '@ember/destroyable';\n\nclass Modal extends Component {\n @service resize;\n\n constructor(...args) {\n super(...args);\n\n this.resize.register(this, this.layout);\n\n registerDestructor(this, () => this.resize.unregister(this));\n }\n}\n```\n\nMultiple destructors can be associated with a given destroyable, and they can be\nassociated over time, allowing libraries to dynamically add destructors as needed.\n`registerDestructor` also returns the associated destructor function, for convenience.\n\nThe destructor function is passed a single argument, which is the destroyable itself.\nThis allows the function to be reused multiple times for many destroyables, rather\nthan creating a closure function per destroyable.\n\n```js\nimport Component from '@glimmer/component';\nimport { registerDestructor } from '@ember/destroyable';\n\nfunction unregisterResize(instance) {\n instance.resize.unregister(instance);\n}\n\nclass Modal extends Component {\n @service resize;\n\n constructor(...args) {\n super(...args);\n\n this.resize.register(this, this.layout);\n\n registerDestructor(this, unregisterResize);\n }\n}\n```",
+ "itemtype": "method",
+ "name": "registerDestructor",
+ "params": [
+ {
+ "name": "destroyable",
+ "description": "the destroyable to register the destructor function with",
+ "type": "Object|Function"
+ },
+ {
+ "name": "destructor",
+ "description": "the destructor to run when the destroyable object is destroyed",
+ "type": "Function"
+ }
+ ],
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ },
+ {
+ "file": "packages/@ember/destroyable/index.ts",
+ "line": 229,
+ "description": "Receives a destroyable and a destructor function, and de-associates the destructor\nfrom the destroyable.\n\n```js\nimport Component from '@glimmer/component';\nimport { registerDestructor, unregisterDestructor } from '@ember/destroyable';\n\nclass Modal extends Component {\n @service modals;\n\n constructor(...args) {\n super(...args);\n\n this.modals.add(this);\n\n this.modalDestructor = registerDestructor(this, () => this.modals.remove(this));\n }\n\n @action pinModal() {\n unregisterDestructor(this, this.modalDestructor);\n }\n}\n```",
+ "itemtype": "method",
+ "name": "unregisterDestructor",
+ "params": [
+ {
+ "name": "destroyable",
+ "description": "the destroyable to unregister the destructor function from",
+ "type": "Object|Function"
+ },
+ {
+ "name": "destructor",
+ "description": "the destructor to remove from the destroyable",
+ "type": "Function"
+ }
+ ],
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/destroyable",
+ "module": "@ember/destroyable"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/destroyable",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/engine.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/engine.json
new file mode 100644
index 000000000..42027237b
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/engine.json
@@ -0,0 +1,87 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/engine",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/engine",
+ "shortname": "@ember/engine",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/engine",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/engine/lib/engine-parent.ts",
+ "line": 8,
+ "description": "`getEngineParent` retrieves an engine instance's parent instance.",
+ "itemtype": "method",
+ "name": "getEngineParent",
+ "params": [
+ {
+ "name": "engine",
+ "description": "An engine instance.",
+ "type": "EngineInstance"
+ }
+ ],
+ "return": {
+ "description": "The parent engine instance.",
+ "type": "EngineInstance"
+ },
+ "static": 1,
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/engine",
+ "module": "@ember/engine"
+ },
+ {
+ "file": "packages/@ember/engine/lib/engine-parent.ts",
+ "line": 22,
+ "description": "`setEngineParent` sets an engine instance's parent instance.",
+ "itemtype": "method",
+ "name": "setEngineParent",
+ "params": [
+ {
+ "name": "engine",
+ "description": "An engine instance.",
+ "type": "EngineInstance"
+ },
+ {
+ "name": "parent",
+ "description": "The parent engine instance.",
+ "type": "EngineInstance"
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/engine",
+ "module": "@ember/engine"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/engine",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/helper.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/helper.json
new file mode 100644
index 000000000..d4c9be9c6
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/helper.json
@@ -0,0 +1,210 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/helper",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/helper",
+ "shortname": "@ember/helper",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "ember",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/helpers/array.ts",
+ "line": 5,
+ "description": "Use the `{{array}}` helper to create an array to pass as an option to your\ncomponents.\n\n```handlebars\n
\n```\n or\n```handlebars\n{{my-component people=(array\n 'Tom Dale'\n 'Yehuda Katz'\n this.myOtherPerson)\n}}\n```\n\nWould result in an object such as:\n\n```js\n['Tom Dale', 'Yehuda Katz', this.get('myOtherPerson')]\n```\n\nWhere the 3rd item in the array is bound to updates of the `myOtherPerson` property.",
+ "itemtype": "method",
+ "name": "array",
+ "params": [
+ {
+ "name": "options",
+ "description": "",
+ "type": "Array"
+ }
+ ],
+ "return": {
+ "description": "Array",
+ "type": "Array"
+ },
+ "since": "3.8.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/helper",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/helpers/concat.ts",
+ "line": 5,
+ "description": "Concatenates the given arguments into a string.\n\nExample:\n\n```handlebars\n{{some-component name=(concat firstName \" \" lastName)}}\n\n{{! would pass name=\"
\" to the component}}\n```\n\nor for angle bracket invocation, you actually don't need concat at all.\n\n```handlebars\n\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "concat",
+ "since": "1.13.0",
+ "class": "@ember/helper",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/helpers/fn.ts",
+ "line": 5,
+ "description": "The `fn` helper allows you to ensure a function that you are passing off\nto another component, helper, or modifier has access to arguments that are\navailable in the template.\n\nFor example, if you have an `each` helper looping over a number of items, you\nmay need to pass a function that expects to receive the item as an argument\nto a component invoked within the loop. Here's how you could use the `fn`\nhelper to pass both the function and its arguments together:\n\n ```handlebars {data-filename=app/templates/components/items-listing.hbs}\n{{#each @items as |item|}}\n \n{{/each}}\n```\n\n```js {data-filename=app/components/items-list.js}\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class ItemsList extends Component {\n @action\n handleSelected(item) {\n // ...snip...\n }\n}\n```\n\nIn this case the `display-item` component will receive a normal function\nthat it can invoke. When it invokes the function, the `handleSelected`\nfunction will receive the `item` and any arguments passed, thanks to the\n`fn` helper.\n\nLet's take look at what that means in a couple circumstances:\n\n- When invoked as `this.args.select()` the `handleSelected` function will\n receive the `item` from the loop as its first and only argument.\n- When invoked as `this.args.select('foo')` the `handleSelected` function\n will receive the `item` from the loop as its first argument and the\n string `'foo'` as its second argument.\n\nIn the example above, we used `@action` to ensure that `handleSelected` is\nproperly bound to the `items-list`, but let's explore what happens if we\nleft out `@action`:\n\n```js {data-filename=app/components/items-list.js}\nimport Component from '@glimmer/component';\n\nexport default class ItemsList extends Component {\n handleSelected(item) {\n // ...snip...\n }\n}\n```\n\nIn this example, when `handleSelected` is invoked inside the `display-item`\ncomponent, it will **not** have access to the component instance. In other\nwords, it will have no `this` context, so please make sure your functions\nare bound (via `@action` or other means) before passing into `fn`!\n\nSee also [partial application](https://en.wikipedia.org/wiki/Partial_application).",
+ "itemtype": "method",
+ "name": "fn",
+ "access": "public",
+ "tagname": "",
+ "since": "3.11.0",
+ "class": "@ember/helper",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/helpers/get.ts",
+ "line": 5,
+ "description": "Dynamically look up a property on an object or an element in an array.\nThe second argument to `{{get}}` should have a string or number value,\nalthough it can be bound.\n\nFor example, these two usages are equivalent:\n\n```js {data-filename=app/components/developer-detail.js}\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n name: \"Sandi Metz\",\n language: \"Ruby\"\n }\n}\n```\n\n```handlebars\n{{this.developer.name}}\n{{get this.developer \"name\"}}\n```\n\nIf there were several facts about a person, the `{{get}}` helper can dynamically\npick one:\n\n```handlebars {data-filename=app/templates/application.hbs}\n\n```\n\n```handlebars\n{{get this.developer @factName}}\n```\n\nFor a more complex example, this template would allow the user to switch\nbetween showing the user's name and preferred coding language with a click:\n\n```js {data-filename=app/components/developer-detail.js}\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n name: \"Sandi Metz\",\n language: \"Ruby\"\n }\n\n @tracked currentFact = 'name'\n\n @action\n showFact(fact) {\n this.currentFact = fact;\n }\n}\n```\n\n```js {data-filename=app/components/developer-detail.js}\n{{get this.developer this.currentFact}}\n\n\n\n```\n\nThe `{{get}}` helper can also respect mutable values itself. For example:\n\n```js {data-filename=app/components/developer-detail.js}\n\n\n\n\n```\n\nWould allow the user to swap what fact is being displayed, and also edit\nthat fact via a two-way mutable binding.\n\nThe `{{get}}` helper can also be used for array element access via index.\nThis would display the value of the first element in the array `this.names`:\n\n```handlebars\n{{get this.names 0}}\n```\n\nArray element access also works with a dynamic second argument:\n\n```handlebars\n{{get this.names @index}}\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "get",
+ "since": "2.1.0",
+ "class": "@ember/helper",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/helpers/hash.ts",
+ "line": 5,
+ "description": "Use the `{{hash}}` helper to create a hash to pass as an option to your\ncomponents. This is specially useful for contextual components where you can\njust yield a hash:\n\n```handlebars\n{{yield (hash\n name='Sarah'\n title=office\n)}}\n```\n\nWould result in an object such as:\n\n```js\n{ name: 'Sarah', title: this.get('office') }\n```\n\nWhere the `title` is bound to updates of the `office` property.\n\nNote that the hash is an empty object with no prototype chain, therefore\ncommon methods like `toString` are not available in the resulting hash.\nIf you need to use such a method, you can use the `call` or `apply`\napproach:\n\n```js\nfunction toString(obj) {\n return Object.prototype.toString.apply(obj);\n}\n```",
+ "itemtype": "method",
+ "name": "hash",
+ "params": [
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "Hash",
+ "type": "Object"
+ },
+ "since": "2.3.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/helper",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/helper/index.ts",
+ "line": 17,
+ "description": "`capabilities` returns a capabilities configuration which can be used to modify\nthe behavior of the manager. Manager capabilities _must_ be provided using the\n`capabilities` function, as the underlying implementation can change over time.\n\nThe first argument to capabilities is a version string, which is the version of\nEmber that the capabilities were defined in. Ember can add new versions at any\ntime, and these may have entirely different behaviors, but it will not remove\nold versions until the next major version.\n\n```js\ncapabilities('3.23');\n```\n\nThe second argument is an object of capabilities and boolean values indicating\nwhether they are enabled or disabled.\n\n```js\ncapabilities('3.23', {\n hasValue: true,\n hasDestructor: true,\n});\n```\n\nIf no value is specified, then the default value will be used.\n\n### `3.23` capabilities\n\n#### `hasDestroyable`\n\n- Default value: false\n\nDetermines if the helper has a destroyable to include in the destructor\nhierarchy. If enabled, the `getDestroyable` hook will be called, and its result\nwill be associated with the destroyable parent block.\n\n#### `hasValue`\n\n- Default value: false\n\nDetermines if the helper has a value which can be used externally. The helper's\n`getValue` hook will be run whenever the value of the helper is accessed if this\ncapability is enabled.",
+ "itemtype": "method",
+ "name": "capabilities",
+ "static": 1,
+ "params": [
+ {
+ "name": "managerApiVersion",
+ "description": "The version of capabilities that are being used",
+ "type": "String"
+ },
+ {
+ "name": "options",
+ "description": "The capabilities values"
+ }
+ ],
+ "return": {
+ "description": "The capabilities object instance",
+ "type": "Capabilities"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/helper",
+ "module": "@ember/helper"
+ },
+ {
+ "file": "packages/@ember/helper/index.ts",
+ "line": 71,
+ "description": "Sets the helper manager for an object or function.\n\n```js\nsetHelperManager((owner) => new ClassHelperManager(owner), Helper)\n```\n\nWhen a value is used as a helper in a template, the helper manager is looked up\non the object by walking up its prototype chain and finding the first helper\nmanager. This manager then receives the value and can create and manage an\ninstance of a helper from it. This provides a layer of indirection that allows\nusers to design high-level helper APIs, without Ember needing to worry about the\ndetails. High-level APIs can be experimented with and iterated on while the\ncore of Ember helpers remains stable, and new APIs can be introduced gradually\nover time to existing code bases.\n\n`setHelperManager` receives two arguments:\n\n1. A factory function, which receives the `owner` and returns an instance of a\n helper manager.\n2. A helper definition, which is the object or function to associate the factory function with.\n\nThe first time the object is looked up, the factory function will be called to\ncreate the helper manager. It will be cached, and in subsequent lookups the\ncached helper manager will be used instead.\n\nOnly one helper manager is guaranteed to exist per `owner` and per usage of\n`setHelperManager`, so many helpers will end up using the same instance of the\nhelper manager. As such, you should only store state that is related to the\nmanager itself. If you want to store state specific to a particular helper\ndefinition, you should assign a unique helper manager to that helper. In\ngeneral, most managers should either be stateless, or only have the `owner` they\nwere created with as state.\n\nHelper managers must fulfill the following interface (This example uses\n[TypeScript interfaces](https://www.typescriptlang.org/docs/handbook/interfaces.html)\nfor precision, you do not need to write helper managers using TypeScript):\n\n```ts\ninterface HelperManager {\n capabilities: HelperCapabilities;\n\n createHelper(definition: HelperDefinition, args: TemplateArgs): HelperStateBucket;\n\n getValue?(bucket: HelperStateBucket): unknown;\n\n runEffect?(bucket: HelperStateBucket): void;\n\n getDestroyable?(bucket: HelperStateBucket): object;\n}\n```\n\nThe capabilities property _must_ be provided using the `capabilities()` function\nimported from the same module as `setHelperManager`:\n\n```js\nimport { capabilities } from '@ember/helper';\n\nclass MyHelperManager {\n capabilities = capabilities('3.21.0', { hasValue: true });\n\n // ...snip...\n}\n```\n\nBelow is a description of each of the methods on the interface and their\nfunctions.\n\n#### `createHelper`\n\n`createHelper` is a required hook on the HelperManager interface. The hook is\npassed the definition of the helper that is currently being created, and is\nexpected to return a _state bucket_. This state bucket is what represents the\ncurrent state of the helper, and will be passed to the other lifecycle hooks at\nappropriate times. It is not necessarily related to the definition of the\nhelper itself - for instance, you could return an object _containing_ an\ninstance of the helper:\n\n```js\nclass MyManager {\n createHelper(Definition, args) {\n return {\n instance: new Definition(args);\n };\n }\n}\n```\n\nThis allows the manager to store metadata that it doesn't want to expose to the\nuser.\n\nThis hook is _not_ autotracked - changes to tracked values used within this hook\nwill _not_ result in a call to any of the other lifecycle hooks. This is because\nit is unclear what should happen if it invalidates, and rather than make a\ndecision at this point, the initial API is aiming to allow as much expressivity\nas possible. This could change in the future with changes to capabilities and\ntheir behaviors.\n\nIf users do want to autotrack some values used during construction, they can\neither create the instance of the helper in `runEffect` or `getValue`, or they\ncan use the `cache` API to autotrack the `createHelper` hook themselves. This\nprovides maximum flexibility and expressiveness to manager authors.\n\nThis hook has the following timing semantics:\n\n**Always**\n- called as discovered during DOM construction\n- called in definition order in the template\n\n#### `getValue`\n\n`getValue` is an optional hook that should return the value of the helper. This\nis the value that is returned from the helper and passed into the template.\n\nThis hook is called when the value is requested from the helper (e.g. when the\ntemplate is rendering and the helper value is needed). The hook is autotracked,\nand will rerun whenever any tracked values used inside of it are updated.\nOtherwise it does not rerun.\n\n> Note: This means that arguments which are not _consumed_ within the hook will\n> not trigger updates.\n\nThis hook is only called for helpers with the `hasValue` capability enabled.\nThis hook has the following timing semantics:\n\n**Always**\n- called the first time the helper value is requested\n- called after autotracked state has changed\n\n**Never**\n- called if the `hasValue` capability is disabled\n\n#### `runEffect`\n\n`runEffect` is an optional hook that should run the effect that the helper is\napplying, setting it up or updating it.\n\nThis hook is scheduled to be called some time after render and prior to paint.\nThere is not a guaranteed, 1-to-1 relationship between a render pass and this\nhook firing. For instance, multiple render passes could occur, and the hook may\nonly trigger once. It may also never trigger if it was dirtied in one render\npass and then destroyed in the next.\n\nThe hook is autotracked, and will rerun whenever any tracked values used inside\nof it are updated. Otherwise it does not rerun.\n\nThe hook is also run during a time period where state mutations are _disabled_\nin Ember. Any tracked state mutation will throw an error during this time,\nincluding changes to tracked properties, changes made using `set`, updates\nto computed properties, etc. This is meant to prevent infinite rerenders and\nother antipatterns.\n\nThis hook is only called for helpers with the `hasScheduledEffect` capability\nenabled. This hook is also not called in SSR currently, though this could be\nadded as a capability in the future. It has the following timing semantics:\n\n**Always**\n- called after the helper was first created, if the helper has not been\n destroyed since creation\n- called after autotracked state has changed, if the helper has not been\n destroyed during render\n\n**Never**\n- called if the `hasScheduledEffect` capability is disabled\n- called in SSR\n\n#### `getDestroyable`\n\n`getDestroyable` is an optional hook that users can use to register a\ndestroyable object for the helper. This destroyable will be registered to the\ncontaining block or template parent, and will be destroyed when it is destroyed.\nSee the [Destroyables RFC](https://github.com/emberjs/rfcs/blob/master/text/0580-destroyables.md)\nfor more details.\n\n`getDestroyable` is only called if the `hasDestroyable` capability is enabled.\n\nThis hook has the following timing semantics:\n\n**Always**\n- called immediately after the `createHelper` hook is called\n\n**Never**\n- called if the `hasDestroyable` capability is disabled",
+ "itemtype": "method",
+ "name": "setHelperManager",
+ "static": 1,
+ "params": [
+ {
+ "name": "factory",
+ "description": "A factory function which receives an optional owner, and returns a helper manager",
+ "type": "Function"
+ },
+ {
+ "name": "definition",
+ "description": "The definition to associate the manager factory with",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "The definition passed into setHelperManager",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/helper",
+ "module": "@ember/helper"
+ },
+ {
+ "file": "packages/@ember/helper/index.ts",
+ "line": 265,
+ "description": "The `invokeHelper` function can be used to create a helper instance in\nJavaScript.\n\nTo access a helper's value you have to use `getValue` from\n`@glimmer/tracking/primitives/cache`.\n\n```js\n// app/components/data-loader.js\nimport Component from '@glimmer/component';\nimport { getValue } from '@glimmer/tracking/primitives/cache';\nimport Helper from '@ember/component/helper';\nimport { invokeHelper } from '@ember/helper';\n\nclass PlusOne extends Helper {\n compute([number]) {\n return number + 1;\n }\n}\n\nexport default class PlusOneComponent extends Component {\n plusOne = invokeHelper(this, PlusOne, () => {\n return {\n positional: [this.args.number],\n };\n });\n\n get value() {\n return getValue(this.plusOne);\n }\n}\n```\n```js\n{{this.value}}\n```\n\nIt receives three arguments:\n\n* `context`: The parent context of the helper. When the parent is torn down and\n removed, the helper will be as well.\n* `definition`: The definition of the helper.\n* `computeArgs`: An optional function that produces the arguments to the helper.\n The function receives the parent context as an argument, and must return an\n object with a `positional` property that is an array and/or a `named`\n property that is an object.\n\nAnd it returns a Cache instance that contains the most recent value of the\nhelper. You can access the helper using `getValue()` like any other cache. The\ncache is also destroyable, and using the `destroy()` function on it will cause\nthe helper to be torn down.\n\nNote that using `getValue()` on helpers that have scheduled effects will not\ntrigger the effect early. Effects will continue to run at their scheduled time.",
+ "itemtype": "method",
+ "name": "invokeHelper",
+ "static": 1,
+ "params": [
+ {
+ "name": "context",
+ "description": "The parent context of the helper",
+ "type": "Object"
+ },
+ {
+ "name": "definition",
+ "description": "The helper definition",
+ "type": "Object"
+ },
+ {
+ "name": "computeArgs",
+ "description": "An optional function that produces args",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": ""
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/helper",
+ "module": "@ember/helper"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-ember",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/instrumentation.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/instrumentation.json
new file mode 100644
index 000000000..6ae82d73b
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/instrumentation.json
@@ -0,0 +1,138 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/instrumentation",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/instrumentation",
+ "shortname": "@ember/instrumentation",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/instrumentation",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/instrumentation/index.ts",
+ "line": 120,
+ "description": "Notifies event's subscribers, calls `before` and `after` hooks.",
+ "itemtype": "method",
+ "name": "instrument",
+ "static": 1,
+ "params": [
+ {
+ "name": "name",
+ "description": "Namespaced event name.",
+ "type": "String",
+ "optional": true
+ },
+ {
+ "name": "payload",
+ "description": "",
+ "type": "Object"
+ },
+ {
+ "name": "callback",
+ "description": "Function that you're instrumenting.",
+ "type": "Function"
+ },
+ {
+ "name": "binding",
+ "description": "Context that instrument function is called with.",
+ "type": "Object"
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/instrumentation",
+ "module": "@ember/instrumentation"
+ },
+ {
+ "file": "packages/@ember/instrumentation/index.ts",
+ "line": 273,
+ "description": "Subscribes to a particular event or instrumented block of code.",
+ "itemtype": "method",
+ "name": "subscribe",
+ "static": 1,
+ "params": [
+ {
+ "name": "pattern",
+ "description": "Namespaced event name.",
+ "type": "String",
+ "optional": true
+ },
+ {
+ "name": "object",
+ "description": "Before and After hooks.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Subscriber"
+ },
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/instrumentation",
+ "module": "@ember/instrumentation"
+ },
+ {
+ "file": "packages/@ember/instrumentation/index.ts",
+ "line": 313,
+ "description": "Unsubscribes from a particular event or instrumented block of code.",
+ "itemtype": "method",
+ "name": "unsubscribe",
+ "static": 1,
+ "params": [
+ {
+ "name": "subscriber",
+ "description": "",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/instrumentation",
+ "module": "@ember/instrumentation"
+ },
+ {
+ "file": "packages/@ember/instrumentation/index.ts",
+ "line": 336,
+ "description": "Resets `Instrumentation` by flushing list of subscribers.",
+ "itemtype": "method",
+ "name": "reset",
+ "static": 1,
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/instrumentation",
+ "module": "@ember/instrumentation"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/instrumentation",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object.json
new file mode 100644
index 000000000..c827923ee
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object.json
@@ -0,0 +1,521 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object",
+ "shortname": "@ember/object",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/metal/lib/computed.ts",
+ "line": 731,
+ "description": "This helper returns a new property descriptor that wraps the passed\ncomputed property function. You can use this helper to define properties with\nnative decorator syntax, mixins, or via `defineProperty()`.\n\nExample:\n\n```js\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor() {\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n @computed('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nlet client = new Person();\n\nclient.fullName; // 'Betty Jones'\n\nset(client, 'lastName', 'Fuller');\nclient.fullName; // 'Betty Fuller'\n```\n\nClassic Class Example:\n\n```js\nimport EmberObject, { computed } from '@ember/object';\n\nlet Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n fullName: computed('firstName', 'lastName', function() {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n })\n});\n\nlet client = Person.create();\n\nclient.get('fullName'); // 'Betty Jones'\n\nclient.set('lastName', 'Fuller');\nclient.get('fullName'); // 'Betty Fuller'\n```\n\nYou can also provide a setter, either directly on the class using native class\nsyntax, or by passing a hash with `get` and `set` functions.\n\nExample:\n\n```js\nimport { computed, set } from '@ember/object';\n\nclass Person {\n constructor() {\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n @computed('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n\n set fullName(value) {\n let [firstName, lastName] = value.split(/\\s+/);\n\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n\n return value;\n }\n}\n\nlet client = new Person();\n\nclient.fullName; // 'Betty Jones'\n\nset(client, 'lastName', 'Fuller');\nclient.fullName; // 'Betty Fuller'\n```\n\nClassic Class Example:\n\n```js\nimport EmberObject, { computed } from '@ember/object';\n\nlet Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n\n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n\n fullName: computed('firstName', 'lastName', {\n get(key) {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(/\\s+/);\n this.setProperties({ firstName, lastName });\n return value;\n }\n })\n});\n\nlet client = Person.create();\nclient.get('firstName'); // 'Betty'\n\nclient.set('fullName', 'Carroll Fuller');\nclient.get('firstName'); // 'Carroll'\n```\n\nWhen passed as an argument, the `set` function should accept two parameters,\n`key` and `value`. The value returned from `set` will be the new value of the\nproperty.\n\n_Note: This is the preferred way to define computed properties when writing third-party\nlibraries that depend on or use Ember, since there is no guarantee that the user\nwill have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._",
+ "itemtype": "method",
+ "name": "computed",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKeys*",
+ "description": "Optional dependent keys that trigger this computed property.",
+ "type": "String",
+ "optional": true
+ },
+ {
+ "name": "func",
+ "description": "The computed property function.",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": "property decorator instance",
+ "type": "ComputedDecorator"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/get_properties.ts",
+ "line": 6,
+ "description": "To get multiple properties at once, call `getProperties`\nwith an object followed by a list of strings or an array:\n\n```javascript\nimport { getProperties } from '@ember/object';\n\ngetProperties(record, 'firstName', 'lastName', 'zipCode');\n// { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n```\n\nis equivalent to:\n\n```javascript\nimport { getProperties } from '@ember/object';\n\ngetProperties(record, ['firstName', 'lastName', 'zipCode']);\n// { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n```",
+ "itemtype": "method",
+ "name": "getProperties",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "",
+ "type": "Object"
+ },
+ {
+ "name": "list",
+ "description": "of keys to get",
+ "type": "String...|Array"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/properties.ts",
+ "line": 13,
+ "description": "NOTE: This is a low-level method used by other parts of the API. You almost\nnever want to call this method directly. Instead you should use\n`mixin()` to define new properties.\n\nDefines a property on an object. This method works much like the ES5\n`Object.defineProperty()` method except that it can also accept computed\nproperties and other special descriptors.\n\nNormally this method takes only three parameters. However if you pass an\ninstance of `Descriptor` as the third param then you can pass an\noptional value as the fourth parameter. This is often more efficient than\ncreating new descriptor hashes for each property.\n\n## Examples\n\n```javascript\nimport { defineProperty, computed } from '@ember/object';\n\n// ES5 compatible mode\ndefineProperty(contact, 'firstName', {\n writable: true,\n configurable: false,\n enumerable: true,\n value: 'Charles'\n});\n\n// define a simple property\ndefineProperty(contact, 'lastName', undefined, 'Jolley');\n\n// define a computed property\ndefineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n return this.firstName+' '+this.lastName;\n}));\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "defineProperty",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "the object to define this property on. This may be a prototype.",
+ "type": "Object"
+ },
+ {
+ "name": "keyName",
+ "description": "the name of the property",
+ "type": "String"
+ },
+ {
+ "name": "desc",
+ "description": "an instance of `Descriptor` (typically a\n computed property) or an ES5 descriptor.\n You must provide this or `data` but not both.",
+ "type": "Descriptor",
+ "optional": true
+ },
+ {
+ "name": "data",
+ "description": "something other than a descriptor, that will\n become the explicit value of this property.",
+ "type": "*",
+ "optional": true
+ }
+ ],
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_events.ts",
+ "line": 32,
+ "description": "This function is called just after an object property has changed.\nIt will notify any observers and clear caches among other things.\n\nNormally you will not need to call this method directly but if for some\nreason you can't directly watch a property you can invoke this method\nmanually.",
+ "itemtype": "method",
+ "name": "notifyPropertyChange",
+ "params": [
+ {
+ "name": "obj",
+ "description": "The object with the property that will change",
+ "type": "Object"
+ },
+ {
+ "name": "keyName",
+ "description": "The property key (or path) that will change.",
+ "type": "String"
+ },
+ {
+ "name": "_meta",
+ "description": "The objects meta.",
+ "type": "Meta",
+ "optional": true
+ },
+ {
+ "name": "value",
+ "description": "The new value to set for the property",
+ "type": "Unknown",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "since": "3.1.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_events.ts",
+ "line": 83,
+ "itemtype": "method",
+ "name": "beginPropertyChanges",
+ "chainable": 1,
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_events.ts",
+ "line": 93,
+ "itemtype": "method",
+ "name": "endPropertyChanges",
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_events.ts",
+ "line": 105,
+ "description": "Make a series of property changes together in an\nexception-safe way.\n\n```javascript\nEmber.changeProperties(function() {\n obj1.set('foo', mayBlowUpWhenSet);\n obj2.set('bar', baz);\n});\n```",
+ "itemtype": "method",
+ "name": "changeProperties",
+ "params": [
+ {
+ "name": "callback",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_get.ts",
+ "line": 51,
+ "description": "Gets the value of a property on an object. If the property is computed,\nthe function will be invoked. If the property is not defined but the\nobject implements the `unknownProperty` method then that will be invoked.\n\n```javascript\nimport { get } from '@ember/object';\nget(obj, \"name\");\n```\n\nIf you plan to run on IE8 and older browsers then you should use this\nmethod anytime you want to retrieve a property on an object that you don't\nknow for sure is private. (Properties beginning with an underscore '_'\nare considered private.)\n\nOn all newer browsers, you only need to use this method to retrieve\nproperties if the property might not be defined on the object and you want\nto respect the `unknownProperty` handler. Otherwise you can ignore this\nmethod.\n\nNote that if the object itself is `undefined`, this method will throw\nan error.",
+ "itemtype": "method",
+ "name": "get",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "The object to retrieve from.",
+ "type": "Object"
+ },
+ {
+ "name": "keyName",
+ "description": "The property key to retrieve",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "the property value or `null`.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_set.ts",
+ "line": 17,
+ "description": "Sets the value of a property on an object, respecting computed properties\nand notifying observers and other listeners of the change.\nIf the specified property is not defined on the object and the object\nimplements the `setUnknownProperty` method, then instead of setting the\nvalue of the property on the object, its `setUnknownProperty` handler\nwill be invoked with the two parameters `keyName` and `value`.\n\n```javascript\nimport { set } from '@ember/object';\nset(obj, \"name\", value);\n```",
+ "itemtype": "method",
+ "name": "set",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "The object to modify.",
+ "type": "Object"
+ },
+ {
+ "name": "keyName",
+ "description": "The property key to set",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "The value to set",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "the passed value.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/property_set.ts",
+ "line": 121,
+ "description": "Error-tolerant form of `set`. Will not blow up if any part of the\nchain is `undefined`, `null`, or destroyed.\n\nThis is primarily used when syncing bindings, which may try to update after\nan object has been destroyed.\n\n```javascript\nimport { trySet } from '@ember/object';\n\nlet obj = { name: \"Zoey\" };\ntrySet(obj, \"contacts.twitter\", \"@emberjs\");\n```",
+ "itemtype": "method",
+ "name": "trySet",
+ "static": 1,
+ "params": [
+ {
+ "name": "root",
+ "description": "The object to modify.",
+ "type": "Object"
+ },
+ {
+ "name": "path",
+ "description": "The property path to set",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "The value to set",
+ "type": "Object"
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/set_properties.ts",
+ "line": 6,
+ "description": "Set a list of properties on an object. These properties are set inside\na single `beginPropertyChanges` and `endPropertyChanges` batch, so\nobservers will be buffered.\n\n```javascript\nimport EmberObject from '@ember/object';\nlet anObject = EmberObject.create();\n\nanObject.setProperties({\n firstName: 'Stanley',\n lastName: 'Stuart',\n age: 21\n});\n```",
+ "itemtype": "method",
+ "name": "setProperties",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "properties",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "properties"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 620,
+ "description": "Creates a new subclass.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n say(thing) {\n alert(thing);\n }\n});\n```\n\nThis defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n\nYou can also create a subclass from any existing class by calling its `extend()` method.\nFor example, you might want to create a subclass of Ember's built-in `Component` class:\n\n```javascript\nimport Component from '@ember/component';\n\nconst PersonComponent = Component.extend({\n tagName: 'li',\n classNameBindings: ['isAdministrator']\n});\n```\n\nWhen defining a subclass, you can override methods but still access the\nimplementation of your parent class by calling the special `_super()` method:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n say(thing) {\n let name = this.get('name');\n alert(`${name} says: ${thing}`);\n }\n});\n\nconst Soldier = Person.extend({\n say(thing) {\n this._super(`${thing}, sir!`);\n },\n march(numberOfHours) {\n alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n }\n});\n\nlet yehuda = Soldier.create({\n name: 'Yehuda Katz'\n});\n\nyehuda.say('Yes'); // alerts \"Yehuda Katz says: Yes, sir!\"\n```\n\nThe `create()` on line #17 creates an *instance* of the `Soldier` class.\nThe `extend()` on line #8 creates a *subclass* of `Person`. Any instance\nof the `Person` class will *not* have the `march()` method.\n\nYou can also pass `Mixin` classes to add additional properties to the subclass.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport Mixin from '@ember/object/mixin';\n\nconst Person = EmberObject.extend({\n say(thing) {\n alert(`${this.get('name')} says: ${thing}`);\n }\n});\n\nconst SingingMixin = Mixin.create({\n sing(thing) {\n alert(`${this.get('name')} sings: la la la ${thing}`);\n }\n});\n\nconst BroadwayStar = Person.extend(SingingMixin, {\n dance() {\n alert(`${this.get('name')} dances: tap tap tap tap `);\n }\n});\n```\n\nThe `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.",
+ "itemtype": "method",
+ "name": "extend",
+ "static": 1,
+ "params": [
+ {
+ "name": "mixins",
+ "description": "One or more Mixin classes",
+ "type": "Mixin",
+ "optional": true,
+ "multiple": true
+ },
+ {
+ "name": "arguments",
+ "description": "Object containing values to use within the new class",
+ "type": "Object",
+ "optional": true,
+ "multiple": true
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 724,
+ "description": "Creates an instance of a class. Accepts either no arguments, or an object\ncontaining values to initialize the newly instantiated object with.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n helloWorld() {\n alert(`Hi, my name is ${this.get('name')}`);\n }\n});\n\nlet tom = Person.create({\n name: 'Tom Dale'\n});\n\ntom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n```\n\n`create` will call the `init` function if defined during\n`AnyObject.extend`\n\nIf no arguments are passed to `create`, it will not set values to the new\ninstance during initialization:\n\n```javascript\nlet noName = Person.create();\nnoName.helloWorld(); // alerts undefined\n```\n\nNOTE: For performance reasons, you cannot declare methods or computed\nproperties during `create`. You should instead declare methods and computed\nproperties when using `extend`.",
+ "itemtype": "method",
+ "name": "create",
+ "static": 1,
+ "params": [
+ {
+ "name": "arguments",
+ "description": "",
+ "optional": true,
+ "multiple": true
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 809,
+ "description": "Augments a constructor's prototype with additional\nproperties and functions:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst MyObject = EmberObject.extend({\n name: 'an object'\n});\n\no = MyObject.create();\no.get('name'); // 'an object'\n\nMyObject.reopen({\n say(msg) {\n console.log(msg);\n }\n});\n\no2 = MyObject.create();\no2.say('hello'); // logs \"hello\"\n\no.say('goodbye'); // logs \"goodbye\"\n```\n\nTo add functions and properties to the constructor itself,\nsee `reopenClass`",
+ "itemtype": "method",
+ "name": "reopen",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 863,
+ "description": "Augments a constructor's own properties and functions:\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst MyObject = EmberObject.extend({\n name: 'an object'\n});\n\nMyObject.reopenClass({\n canBuild: false\n});\n\nMyObject.canBuild; // false\no = MyObject.create();\n```\n\nIn other words, this creates static properties and functions for the class.\nThese are only available on the class and not on any instance of that class.\n\n```javascript\nimport EmberObject from '@ember/object';\n\nconst Person = EmberObject.extend({\n name: '',\n sayHello() {\n alert(`Hello. My name is ${this.get('name')}`);\n }\n});\n\nPerson.reopenClass({\n species: 'Homo sapiens',\n\n createPerson(name) {\n return Person.create({ name });\n }\n});\n\nlet tom = Person.create({\n name: 'Tom Dale'\n});\nlet yehuda = Person.createPerson('Yehuda Katz');\n\ntom.sayHello(); // \"Hello. My name is Tom Dale\"\nyehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\nalert(Person.species); // \"Homo sapiens\"\n```\n\nNote that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\nvariables. They are only valid on `Person`.\n\nTo add functions and properties to instances of\na constructor by extending the constructor's prototype\nsee `reopen`",
+ "itemtype": "method",
+ "name": "reopenClass",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 949,
+ "description": "In some cases, you may want to annotate computed properties with additional\nmetadata about how they function or what values they operate on. For\nexample, computed property functions may close over variables that are then\nno longer available for introspection.\n\nYou can pass a hash of these values to a computed property like this:\n\n```javascript\nimport { computed } from '@ember/object';\n\nperson: computed(function() {\n let personId = this.get('personId');\n return Person.create({ id: personId });\n}).meta({ type: Person })\n```\n\nOnce you've done this, you can retrieve the values saved to the computed\nproperty from your class like this:\n\n```javascript\nMyClass.metaForProperty('person');\n```\n\nThis will return the original hash that was passed to `meta()`.",
+ "static": 1,
+ "itemtype": "method",
+ "name": "metaForProperty",
+ "params": [
+ {
+ "name": "key",
+ "description": "property name",
+ "type": "String"
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 992,
+ "description": "Iterate over each computed property for the class, passing its name\nand any associated metadata (see `metaForProperty`) to the callback.",
+ "static": 1,
+ "itemtype": "method",
+ "name": "eachComputedProperty",
+ "params": [
+ {
+ "name": "callback",
+ "description": "",
+ "type": "Function"
+ },
+ {
+ "name": "binding",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 1084,
+ "description": "Provides lookup-time type validation for injected properties.",
+ "access": "private",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "_onLookup",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/core.ts",
+ "line": 1105,
+ "description": "Returns a hash of property names and container names that injected\nproperties will lookup on the container lazily.",
+ "itemtype": "method",
+ "name": "_lazyInjections",
+ "return": {
+ "description": "Hash of all lazy injected property keys to container names",
+ "type": "Object"
+ },
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/object",
+ "module": "@ember/object/core"
+ },
+ {
+ "file": "packages/@ember/object/index.ts",
+ "line": 51,
+ "description": "Decorator that turns the target function into an Action which can be accessed\ndirectly by reference.\n\n```js\nimport Component from '@ember/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class Tooltip extends Component {\n @tracked isShowing = false;\n\n @action\n toggleShowing() {\n this.isShowing = !this.isShowing;\n }\n}\n```\n```handlebars\n\n\n\n{{#if isShowing}}\n \n I'm a tooltip!\n
\n{{/if}}\n```\n\nIt also binds the function directly to the instance, so it can be used in any\ncontext and will correctly refer to the class it came from:\n\n```js\nimport Component from '@ember/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class Tooltip extends Component {\n constructor() {\n super(...arguments);\n\n // this.toggleShowing is still bound correctly when added to\n // the event listener\n document.addEventListener('click', this.toggleShowing);\n }\n\n @tracked isShowing = false;\n\n @action\n toggleShowing() {\n this.isShowing = !this.isShowing;\n }\n}\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "action",
+ "static": 1,
+ "params": [
+ {
+ "name": "callback",
+ "description": "The function to turn into an action,\n when used in classic classes",
+ "type": "Function|undefined"
+ }
+ ],
+ "return": {
+ "description": "property decorator instance",
+ "type": "PropertyDecorator"
+ },
+ "class": "@ember/object",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/index.ts",
+ "line": 240,
+ "description": "Specify a method that observes property changes.\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { observer } from '@ember/object';\n\nexport default EmberObject.extend({\n valueObserver: observer('value', function() {\n // Executes whenever the \"value\" property changes\n })\n});\n```\n\nAlso available as `Function.prototype.observes` if prototype extensions are\nenabled.",
+ "itemtype": "method",
+ "name": "observer",
+ "params": [
+ {
+ "name": "propertyNames",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ },
+ {
+ "name": "func",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": "func"
+ },
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "class": "@ember/object",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/compat.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/compat.json
new file mode 100644
index 000000000..e9d20f262
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/compat.json
@@ -0,0 +1,64 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/compat",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/compat",
+ "shortname": "@ember/object/compat",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/object/compat.ts",
+ "line": 40,
+ "description": "`@dependentKeyCompat` is decorator that can be used on _native getters_ that\nuse tracked properties. It exposes the getter to Ember's classic computed\nproperty and observer systems, so they can watch it for changes. It can be\nused in both native and classic classes.\n\nNative Example:\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { computed, set } from '@ember/object';\n\nclass Person {\n @tracked firstName;\n @tracked lastName;\n\n @dependentKeyCompat\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n}\n\nclass Profile {\n constructor(person) {\n set(this, 'person', person);\n }\n\n @computed('person.fullName')\n get helloMessage() {\n return `Hello, ${this.person.fullName}!`;\n }\n}\n```\n\nClassic Example:\n\n```js\nimport { tracked } from '@glimmer/tracking';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport EmberObject, { computed, observer, set } from '@ember/object';\n\nconst Person = EmberObject.extend({\n firstName: tracked(),\n lastName: tracked(),\n\n fullName: dependentKeyCompat(function() {\n return `${this.firstName} ${this.lastName}`;\n }),\n});\n\nconst Profile = EmberObject.extend({\n person: null,\n\n helloMessage: computed('person.fullName', function() {\n return `Hello, ${this.person.fullName}!`;\n }),\n\n onNameUpdated: observer('person.fullName', function() {\n console.log('person name updated!');\n }),\n});\n```\n\n`dependentKeyCompat()` can receive a getter function or an object containing\n`get`/`set` methods when used in classic classes, like computed properties.\n\nIn general, only properties which you _expect_ to be watched by older,\nuntracked clases should be marked as dependency compatible. The decorator is\nmeant as an interop layer for parts of Ember's older classic APIs, and should\nnot be applied to every possible getter/setter in classes. The number of\ndependency compatible getters should be _minimized_ wherever possible. New\napplication code should not need to use `@dependentKeyCompat`, since it is\nonly for interoperation with older code.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "dependentKeyCompat",
+ "static": 1,
+ "params": [
+ {
+ "name": "desc",
+ "description": "A property descriptor containing\n the getter and setter (when used in\n classic classes)",
+ "type": "PropertyDescriptor|undefined"
+ }
+ ],
+ "return": {
+ "description": "property decorator instance",
+ "type": "PropertyDecorator"
+ },
+ "class": "@ember/object/compat",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/computed.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/computed.json
new file mode 100644
index 000000000..5f441d185
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/computed.json
@@ -0,0 +1,903 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/computed",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/computed",
+ "shortname": "@ember/object/computed",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/metal/lib/expand_properties.ts",
+ "line": 9,
+ "description": "Expands `pattern`, invoking `callback` for each expansion.\n\nThe only pattern supported is brace-expansion, anything else will be passed\nonce to `callback` directly.\n\nExample\n\n```js\nimport { expandProperties } from '@ember/object/computed';\n\nfunction echo(arg){ console.log(arg); }\n\nexpandProperties('foo.bar', echo); //=> 'foo.bar'\nexpandProperties('{foo,bar}', echo); //=> 'foo', 'bar'\nexpandProperties('foo.{bar,baz}', echo); //=> 'foo.bar', 'foo.baz'\nexpandProperties('{foo,bar}.baz', echo); //=> 'foo.baz', 'bar.baz'\nexpandProperties('foo.{bar,baz}.[]', echo) //=> 'foo.bar.[]', 'foo.baz.[]'\nexpandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\nexpandProperties('{foo}.bar.{baz}') //=> 'foo.bar.baz'\n```",
+ "itemtype": "method",
+ "name": "expandProperties",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "pattern",
+ "description": "The property pattern to expand.",
+ "type": "String"
+ },
+ {
+ "name": "callback",
+ "description": "The callback to invoke. It is invoked once per\nexpansion, and is passed the expansion.",
+ "type": "Function"
+ }
+ ],
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 60,
+ "description": "A computed property macro that returns true if the value of the dependent\nproperty is null, an empty string, empty array, or empty function.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { empty } from '@ember/object/computed';\n\nclass ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n @empty('todos') isDone;\n}\n\nlet todoList = new ToDoList(\n ['Unit Test', 'Documentation', 'Release']\n);\n\ntodoList.isDone; // false\nset(todoList, 'todos', []);\ntodoList.isDone; // true\n```",
+ "since": "1.6.0",
+ "itemtype": "method",
+ "name": "empty",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if the value\nof the dependent property is null, an empty string, empty array, or empty\nfunction and false if the underlying value is not empty.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 109,
+ "description": "A computed property that returns true if the value of the dependent property\nis NOT null, an empty string, empty array, or empty function.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { notEmpty } from '@ember/object/computed';\n\nclass Hamster {\n constructor(backpack) {\n set(this, 'backpack', backpack);\n }\n\n @notEmpty('backpack') hasStuff\n}\n\nlet hamster = new Hamster(\n ['Food', 'Sleeping Bag', 'Tent']\n);\n\nhamster.hasStuff; // true\nset(hamster, 'backpack', []);\nhamster.hasStuff; // false\n```",
+ "itemtype": "method",
+ "name": "notEmpty",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if original\nvalue for property is not empty.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 155,
+ "description": "A computed property that returns true if the value of the dependent property\nis null or undefined. This avoids errors from JSLint complaining about use of\n==, which can be technically confusing.\n\n```javascript\nimport { set } from '@ember/object';\nimport { none } from '@ember/object/computed';\n\nclass Hamster {\n @none('food') isHungry;\n}\n\nlet hamster = new Hamster();\n\nhamster.isHungry; // true\n\nset(hamster, 'food', 'Banana');\nhamster.isHungry; // false\n\nset(hamster, 'food', null);\nhamster.isHungry; // true\n```",
+ "itemtype": "method",
+ "name": "none",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if original\nvalue for property is null or undefined.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 198,
+ "description": "A computed property that returns the inverse boolean value of the original\nvalue for the dependent property.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { not } from '@ember/object/computed';\n\nclass User {\n loggedIn = false;\n\n @not('loggedIn') isAnonymous;\n}\n\nlet user = new User();\n\nuser.isAnonymous; // true\nset(user, 'loggedIn', true);\nuser.isAnonymous; // false\n```",
+ "itemtype": "method",
+ "name": "not",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns inverse of the\noriginal value for property",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 240,
+ "description": "A computed property that converts the provided dependent property into a\nboolean value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { bool } from '@ember/object/computed';\n\n\nclass Hamster {\n @bool('numBananas') hasBananas\n}\n\nlet hamster = new Hamster();\n\nhamster.hasBananas; // false\n\nset(hamster, 'numBananas', 0);\nhamster.hasBananas; // false\n\nset(hamster, 'numBananas', 1);\nhamster.hasBananas; // true\n\nset(hamster, 'numBananas', null);\nhamster.hasBananas; // false\n```",
+ "itemtype": "method",
+ "name": "bool",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which converts to boolean the\noriginal value for property",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 288,
+ "description": "A computed property which matches the original value for the dependent\nproperty against a given RegExp, returning `true` if the value matches the\nRegExp and `false` if it does not.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { match } from '@ember/object/computed';\n\nclass User {\n @match('email', /^.+@.+\\..+$/) hasValidEmail;\n}\n\nlet user = new User();\n\nuser.hasValidEmail; // false\n\nset(user, 'email', '');\nuser.hasValidEmail; // false\n\nset(user, 'email', 'ember_hamster@example.com');\nuser.hasValidEmail; // true\n```",
+ "itemtype": "method",
+ "name": "match",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "regexp",
+ "description": "",
+ "type": "RegExp"
+ }
+ ],
+ "return": {
+ "description": "computed property which match the original value\nfor property against a given RegExp",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 335,
+ "description": "A computed property that returns true if the provided dependent property is\nequal to the given value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { equal } from '@ember/object/computed';\n\nclass Hamster {\n @equal('percentCarrotsEaten', 100) satisfied;\n}\n\nlet hamster = new Hamster();\n\nhamster.satisfied; // false\n\nset(hamster, 'percentCarrotsEaten', 100);\nhamster.satisfied; // true\n\nset(hamster, 'percentCarrotsEaten', 50);\nhamster.satisfied; // false\n```",
+ "itemtype": "method",
+ "name": "equal",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "",
+ "type": "String|Number|Object"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if the\noriginal value for property is equal to the given value.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 380,
+ "description": "A computed property that returns true if the provided dependent property is\ngreater than the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { gt } from '@ember/object/computed';\n\nclass Hamster {\n @gt('numBananas', 10) hasTooManyBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 11);\nhamster.hasTooManyBananas; // true\n```",
+ "itemtype": "method",
+ "name": "gt",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "",
+ "type": "Number"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if the\noriginal value for property is greater than given value.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 425,
+ "description": "A computed property that returns true if the provided dependent property is\ngreater than or equal to the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { gte } from '@ember/object/computed';\n\nclass Hamster {\n @gte('numBananas', 10) hasTooManyBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.hasTooManyBananas; // false\n\nset(hamster, 'numBananas', 10);\nhamster.hasTooManyBananas; // true\n```",
+ "itemtype": "method",
+ "name": "gte",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "",
+ "type": "Number"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if the\noriginal value for property is greater or equal then given value.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 470,
+ "description": "A computed property that returns true if the provided dependent property is\nless than the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { lt } from '@ember/object/computed';\n\nclass Hamster {\n @lt('numBananas', 3) needsMoreBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.needsMoreBananas; // true\n\nset(hamster, 'numBananas', 3);\nhamster.needsMoreBananas; // false\n\nset(hamster, 'numBananas', 2);\nhamster.needsMoreBananas; // true\n```",
+ "itemtype": "method",
+ "name": "lt",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "",
+ "type": "Number"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if the\noriginal value for property is less then given value.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 515,
+ "description": "A computed property that returns true if the provided dependent property is\nless than or equal to the provided value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { lte } from '@ember/object/computed';\n\nclass Hamster {\n @lte('numBananas', 3) needsMoreBananas;\n}\n\nlet hamster = new Hamster();\n\nhamster.needsMoreBananas; // true\n\nset(hamster, 'numBananas', 5);\nhamster.needsMoreBananas; // false\n\nset(hamster, 'numBananas', 3);\nhamster.needsMoreBananas; // true\n```",
+ "itemtype": "method",
+ "name": "lte",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "",
+ "type": "Number"
+ }
+ ],
+ "return": {
+ "description": "computed property which returns true if the\noriginal value for property is less or equal than given value.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 560,
+ "description": "A computed property that performs a logical `and` on the original values for\nthe provided dependent properties.\n\nYou may pass in more than two properties and even use property brace\nexpansion. The computed property will return the first falsy value or last\ntruthy value just like JavaScript's `&&` operator.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { and } from '@ember/object/computed';\n\nclass Hamster {\n @and('hasTent', 'hasBackpack') readyForCamp;\n @and('hasWalkingStick', 'hasBackpack') readyForHike;\n}\n\nlet tomster = new Hamster();\n\ntomster.readyForCamp; // false\n\nset(tomster, 'hasTent', true);\ntomster.readyForCamp; // false\n\nset(tomster, 'hasBackpack', true);\ntomster.readyForCamp; // true\n\nset(tomster, 'hasBackpack', 'Yes');\ntomster.readyForCamp; // 'Yes'\n\nset(tomster, 'hasWalkingStick', null);\ntomster.readyForHike; // null\n```",
+ "itemtype": "method",
+ "name": "and",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ }
+ ],
+ "return": {
+ "description": "computed property which performs a logical `and` on\nthe values of all the original values for properties.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 606,
+ "description": "A computed property which performs a logical `or` on the original values for\nthe provided dependent properties.\n\nYou may pass in more than two properties and even use property brace\nexpansion. The computed property will return the first truthy value or last\nfalsy value just like JavaScript's `||` operator.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { or } from '@ember/object/computed';\n\nclass Hamster {\n @or('hasJacket', 'hasUmbrella') readyForRain;\n @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n}\n\nlet tomster = new Hamster();\n\ntomster.readyForRain; // undefined\n\nset(tomster, 'hasUmbrella', true);\ntomster.readyForRain; // true\n\nset(tomster, 'hasJacket', 'Yes');\ntomster.readyForRain; // 'Yes'\n\nset(tomster, 'hasSunscreen', 'Check');\ntomster.readyForBeach; // 'Check'\n```",
+ "itemtype": "method",
+ "name": "or",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ }
+ ],
+ "return": {
+ "description": "computed property which performs a logical `or` on\nthe values of all the original values for properties.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 649,
+ "description": "Creates a new property that is an alias for another property on an object.\nCalls to `get` or `set` this property behave as though they were called on the\noriginal property.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { alias } from '@ember/object/computed';\n\nclass Person {\n name = 'Alex Matchneer';\n\n @alias('name') nomen;\n}\n\nlet alex = new Person();\n\nalex.nomen; // 'Alex Matchneer'\nalex.name; // 'Alex Matchneer'\n\nset(alex, 'nomen', '@machty');\nalex.name; // '@machty'\n```",
+ "itemtype": "method",
+ "name": "alias",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which creates an alias to the\noriginal value for property.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 684,
+ "description": "Where the `alias` computed macro aliases `get` and `set`, and allows for\nbidirectional data flow, the `oneWay` computed macro only provides an aliased\n`get`. The `set` will not mutate the upstream property, rather causes the\ncurrent property to become the value set. This causes the downstream property\nto permanently diverge from the upstream property.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { oneWay }from '@ember/object/computed';\n\nclass User {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @oneWay('firstName') nickName;\n}\n\nlet teddy = new User('Teddy', 'Zeenny');\n\nteddy.nickName; // 'Teddy'\n\nset(teddy, 'nickName', 'TeddyBear');\nteddy.firstName; // 'Teddy'\nteddy.nickName; // 'TeddyBear'\n```",
+ "itemtype": "method",
+ "name": "oneWay",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which creates a one way computed\nproperty to the original value for property.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 732,
+ "description": "This is a more semantically meaningful alias of the `oneWay` computed macro,\nwhose name is somewhat ambiguous as to which direction the data flows.",
+ "itemtype": "method",
+ "name": "reads",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which creates a one way computed\n property to the original value for property.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 745,
+ "description": "Where `oneWay` computed macro provides oneWay bindings, the `readOnly`\ncomputed macro provides a readOnly one way binding. Very often when using\nthe `oneWay` macro one does not also want changes to propagate back up, as\nthey will replace the value.\n\nThis prevents the reverse flow, and also throws an exception when it occurs.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { readOnly } from '@ember/object/computed';\n\nclass User {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n\n @readOnly('firstName') nickName;\n});\n\nlet teddy = new User('Teddy', 'Zeenny');\n\nteddy.nickName; // 'Teddy'\n\nset(teddy, 'nickName', 'TeddyBear'); // throws Exception\n// throw new EmberError('Cannot Set: nickName on: ' );`\n\nteddy.firstName; // 'Teddy'\n```",
+ "itemtype": "method",
+ "name": "readOnly",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computed property which creates a one way computed\nproperty to the original value for property.",
+ "type": "ComputedProperty"
+ },
+ "since": "1.5.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/computed_macros.ts",
+ "line": 796,
+ "description": "Creates a new property that is an alias for another property on an object.\nCalls to `get` or `set` this property behave as though they were called on the\noriginal property, but also print a deprecation warning.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { deprecatingAlias } from '@ember/object/computed';\n\nclass Hamster {\n @deprecatingAlias('cavendishCount', {\n id: 'hamster.deprecate-banana',\n until: '3.0.0'\n })\n bananaCount;\n}\n\nlet hamster = new Hamster();\n\nset(hamster, 'bananaCount', 5); // Prints a deprecation warning.\nhamster.cavendishCount; // 5\n```",
+ "itemtype": "method",
+ "name": "deprecatingAlias",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "options",
+ "description": "Options for `deprecate`.",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "computed property which creates an alias with a\ndeprecation to the original value for property.",
+ "type": "ComputedProperty"
+ },
+ "since": "1.7.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 76,
+ "description": "A computed property that returns the sum of the values in the dependent array.\n\nExample:\n\n```javascript\nimport { sum } from '@ember/object/computed';\n\nclass Invoice {\n lineItems = [1.00, 2.50, 9.99];\n\n @sum('lineItems') total;\n}\n\nlet invoice = new Invoice();\n\ninvoice.total; // 13.49\n```",
+ "itemtype": "method",
+ "name": "sum",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computes the sum of all values in the\ndependentKey's array",
+ "type": "ComputedProperty"
+ },
+ "since": "1.4.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 113,
+ "description": "A computed property that calculates the maximum value in the dependent array.\nThis will return `-Infinity` when the dependent array is empty.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { mapBy, max } from '@ember/object/computed';\n\nclass Person {\n children = [];\n\n @mapBy('children', 'age') childAges;\n @max('childAges') maxChildAge;\n}\n\nlet lordByron = new Person();\n\nlordByron.maxChildAge; // -Infinity\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.maxChildAge; // 7\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.maxChildAge; // 8\n```\n\nIf the types of the arguments are not numbers, they will be converted to\nnumbers and the type of the return value will always be `Number`. For example,\nthe max of a list of Date objects will be the highest timestamp as a `Number`.\nThis behavior is consistent with `Math.max`.",
+ "itemtype": "method",
+ "name": "max",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computes the largest value in the dependentKey's\narray",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 177,
+ "description": "A computed property that calculates the minimum value in the dependent array.\nThis will return `Infinity` when the dependent array is empty.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { mapBy, min } from '@ember/object/computed';\n\nclass Person {\n children = [];\n\n @mapBy('children', 'age') childAges;\n @min('childAges') minChildAge;\n}\n\nlet lordByron = Person.create({ children: [] });\n\nlordByron.minChildAge; // Infinity\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.minChildAge; // 7\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.minChildAge; // 5\n```\n\nIf the types of the arguments are not numbers, they will be converted to\nnumbers and the type of the return value will always be `Number`. For example,\nthe min of a list of Date objects will be the lowest timestamp as a `Number`.\nThis behavior is consistent with `Math.min`.",
+ "itemtype": "method",
+ "name": "min",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computes the smallest value in the dependentKey's array",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 240,
+ "description": "Returns an array mapped via the callback\n\nThe callback method you provide should have the following signature:\n- `item` is the current item in the iteration.\n- `index` is the integer index of the current item in the iteration.\n\n```javascript\nfunction mapCallback(item, index);\n```\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { map } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @map('chores', function(chore, index) {\n return `${chore.toUpperCase()}!`;\n })\n excitingChores;\n});\n\nlet hamster = new Hamster(['clean', 'write more unit tests']);\n\nhamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n```\n\nYou can optionally pass an array of additional dependent keys as the second\nparameter to the macro, if your map function relies on any external values:\n\n```javascript\nimport { set } from '@ember/object';\nimport { map } from '@ember/object/computed';\n\nclass Hamster {\n shouldUpperCase = false;\n\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @map('chores', ['shouldUpperCase'], function(chore, index) {\n if (this.shouldUpperCase) {\n return `${chore.toUpperCase()}!`;\n } else {\n return `${chore}!`;\n }\n })\n excitingChores;\n}\n\nlet hamster = new Hamster(['clean', 'write more unit tests']);\n\nhamster.excitingChores; // ['clean!', 'write more unit tests!']\n\nset(hamster, 'shouldUpperCase', true);\nhamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n```",
+ "itemtype": "method",
+ "name": "map",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "additionalDependentKeys",
+ "description": "optional array of additional\ndependent keys",
+ "type": "Array",
+ "optional": true
+ },
+ {
+ "name": "callback",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": "an array mapped via the callback",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 364,
+ "description": "Returns an array mapped to the specified key.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { mapBy } from '@ember/object/computed';\n\nclass Person {\n children = [];\n\n @mapBy('children', 'age') childAges;\n}\n\nlet lordByron = new Person();\n\nlordByron.childAges; // []\n\nset(lordByron, 'children', [\n {\n name: 'Augusta Ada Byron',\n age: 7\n }\n]);\nlordByron.childAges; // [7]\n\nset(lordByron, 'children', [\n ...lordByron.children,\n {\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }\n]);\nlordByron.childAges; // [7, 5, 8]\n```",
+ "itemtype": "method",
+ "name": "mapBy",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "propertyKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "an array mapped to the specified key",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 431,
+ "description": "Filters the array by the callback, like the `Array.prototype.filter` method.\n\nThe callback method you provide should have the following signature:\n- `item` is the current item in the iteration.\n- `index` is the integer index of the current item in the iteration.\n- `array` is the dependant array itself.\n\n```javascript\nfunction filterCallback(item, index, array);\n```\n\nIn the callback, return a truthy value that coerces to true to keep the\nelement, or a falsy to reject it.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { filter } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @filter('chores', function(chore, index, array) {\n return !chore.done;\n })\n remainingChores;\n}\n\nlet hamster = Hamster.create([\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n]);\n\nhamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n```\n\nYou can also use `@each.property` in your dependent key, the callback will\nstill use the underlying array:\n\n```javascript\nimport { set } from '@ember/object';\nimport { filter } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @filter('chores.@each.done', function(chore, index, array) {\n return !chore.done;\n })\n remainingChores;\n}\n\nlet hamster = new Hamster([\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n]);\nhamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n\nset(hamster.chores[2], 'done', true);\nhamster.remainingChores; // []\n```\n\nFinally, you can optionally pass an array of additional dependent keys as the\nsecond parameter to the macro, if your filter function relies on any external\nvalues:\n\n```javascript\nimport { filter } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n doneKey = 'finished';\n\n @filter('chores', ['doneKey'], function(chore, index, array) {\n return !chore[this.doneKey];\n })\n remainingChores;\n}\n\nlet hamster = new Hamster([\n { name: 'cook', finished: true },\n { name: 'clean', finished: true },\n { name: 'write more unit tests', finished: false }\n]);\n\nhamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n```",
+ "itemtype": "method",
+ "name": "filter",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "additionalDependentKeys",
+ "description": "optional array of additional dependent keys",
+ "type": "Array",
+ "optional": true
+ },
+ {
+ "name": "callback",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": "the filtered array",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 601,
+ "description": "Filters the array by the property and value.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { filterBy } from '@ember/object/computed';\n\nclass Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n\n @filterBy('chores', 'done', false) remainingChores;\n}\n\nlet hamster = new Hamster([\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n]);\n\nhamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n```",
+ "itemtype": "method",
+ "name": "filterBy",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "propertyKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "value",
+ "description": "",
+ "type": "*"
+ }
+ ],
+ "return": {
+ "description": "the filtered array",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 657,
+ "description": "A computed property which returns a new array with all the unique elements\nfrom one or more dependent arrays.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { uniq } from '@ember/object/computed';\n\nclass Hamster {\n constructor(fruits) {\n set(this, 'fruits', fruits);\n }\n\n @uniq('fruits') uniqueFruits;\n}\n\nlet hamster = new Hamster([\n 'banana',\n 'grape',\n 'kale',\n 'banana'\n]);\n\nhamster.uniqueFruits; // ['banana', 'grape', 'kale']\n```",
+ "itemtype": "method",
+ "name": "uniq",
+ "static": 1,
+ "params": [
+ {
+ "name": "propertyKey",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ }
+ ],
+ "return": {
+ "description": "computes a new array with all the\nunique elements from the dependent array",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 728,
+ "description": "A computed property which returns a new array with all the unique elements\nfrom an array, with uniqueness determined by specific key.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { uniqBy } from '@ember/object/computed';\n\nclass Hamster {\n constructor(fruits) {\n set(this, 'fruits', fruits);\n }\n\n @uniqBy('fruits', 'id') uniqueFruits;\n}\n\nlet hamster = new Hamster([\n { id: 1, 'banana' },\n { id: 2, 'grape' },\n { id: 3, 'peach' },\n { id: 1, 'banana' }\n]);\n\nhamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n```",
+ "itemtype": "method",
+ "name": "uniqBy",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "propertyKey",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computes a new array with all the\nunique elements from the dependent array",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 782,
+ "description": "A computed property which returns a new array with all the unique elements\nfrom one or more dependent arrays.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { union } from '@ember/object/computed';\n\nclass Hamster {\n constructor(fruits, vegetables) {\n set(this, 'fruits', fruits);\n set(this, 'vegetables', vegetables);\n }\n\n @union('fruits', 'vegetables') uniqueFruits;\n});\n\nlet hamster = new, Hamster(\n [\n 'banana',\n 'grape',\n 'kale',\n 'banana',\n 'tomato'\n ],\n [\n 'tomato',\n 'carrot',\n 'lettuce'\n ]\n);\n\nhamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n```",
+ "itemtype": "method",
+ "name": "union",
+ "static": 1,
+ "params": [
+ {
+ "name": "propertyKey",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ }
+ ],
+ "return": {
+ "description": "computes a new array with all the unique elements\nfrom one or more dependent arrays.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 829,
+ "description": "A computed property which returns a new array with all the elements\ntwo or more dependent arrays have in common.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { intersect } from '@ember/object/computed';\n\nclass FriendGroups {\n constructor(adaFriends, charlesFriends) {\n set(this, 'adaFriends', adaFriends);\n set(this, 'charlesFriends', charlesFriends);\n }\n\n @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n}\n\nlet groups = new FriendGroups(\n ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n);\n\ngroups.friendsInCommon; // ['William King', 'Mary Somerville']\n```",
+ "itemtype": "method",
+ "name": "intersect",
+ "static": 1,
+ "params": [
+ {
+ "name": "propertyKey",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ }
+ ],
+ "return": {
+ "description": "computes a new array with all the duplicated\nelements from the dependent arrays",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 910,
+ "description": "A computed property which returns a new array with all the properties from the\nfirst dependent array that are not in the second dependent array.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { setDiff } from '@ember/object/computed';\n\nclass Hamster {\n constructor(likes, fruits) {\n set(this, 'likes', likes);\n set(this, 'fruits', fruits);\n }\n\n @setDiff('likes', 'fruits') wants;\n}\n\nlet hamster = new Hamster(\n [\n 'banana',\n 'grape',\n 'kale'\n ],\n [\n 'grape',\n 'kale',\n ]\n);\n\nhamster.wants; // ['banana']\n```",
+ "itemtype": "method",
+ "name": "setDiff",
+ "static": 1,
+ "params": [
+ {
+ "name": "setAProperty",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "setBProperty",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "computes a new array with all the items from the\nfirst dependent array that are not in the second dependent array",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 980,
+ "description": "A computed property that returns the array of values for the provided\ndependent properties.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { collect } from '@ember/object/computed';\n\nclass Hamster {\n @collect('hat', 'shirt') clothes;\n}\n\nlet hamster = new Hamster();\n\nhamster.clothes; // [null, null]\n\nset(hamster, 'hat', 'Camp Hat');\nset(hamster, 'shirt', 'Camp Shirt');\nhamster.clothes; // ['Camp Hat', 'Camp Shirt']\n```",
+ "itemtype": "method",
+ "name": "collect",
+ "static": 1,
+ "params": [
+ {
+ "name": "dependentKey",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ }
+ ],
+ "return": {
+ "description": "computed property which maps values of all passed\nin properties to an array.",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/object/lib/computed/reduce_computed_macros.ts",
+ "line": 1039,
+ "description": "A computed property which returns a new array with all the properties from the\nfirst dependent array sorted based on a property or sort function. The sort\nmacro can be used in two different ways:\n\n1. By providing a sort callback function\n2. By providing an array of keys to sort the array\n\nIn the first form, the callback method you provide should have the following\nsignature:\n\n```javascript\nfunction sortCallback(itemA, itemB);\n```\n\n- `itemA` the first item to compare.\n- `itemB` the second item to compare.\n\nThis function should return negative number (e.g. `-1`) when `itemA` should\ncome before `itemB`. It should return positive number (e.g. `1`) when `itemA`\nshould come after `itemB`. If the `itemA` and `itemB` are equal this function\nshould return `0`.\n\nTherefore, if this function is comparing some numeric values, simple `itemA -\nitemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\nseries of `if`.\n\nExample:\n\n```javascript\nimport { set } from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nclass ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n // using a custom sort function\n @sort('todos', function(a, b){\n if (a.priority > b.priority) {\n return 1;\n } else if (a.priority < b.priority) {\n return -1;\n }\n\n return 0;\n })\n priorityTodos;\n}\n\nlet todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n]);\n\ntodoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n```\n\nYou can also optionally pass an array of additional dependent keys as the\nsecond parameter, if your sort function is dependent on additional values that\ncould changes:\n\n```js\nimport EmberObject, { set } from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nclass ToDoList {\n sortKey = 'priority';\n\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n // using a custom sort function\n @sort('todos', ['sortKey'], function(a, b){\n if (a[this.sortKey] > b[this.sortKey]) {\n return 1;\n } else if (a[this.sortKey] < b[this.sortKey]) {\n return -1;\n }\n\n return 0;\n })\n sortedTodos;\n});\n\nlet todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n]);\n\ntodoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n```\n\nIn the second form, you should provide the key of the array of sort values as\nthe second parameter:\n\n```javascript\nimport { set } from '@ember/object';\nimport { sort } from '@ember/object/computed';\n\nclass ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n\n // using standard ascending sort\n todosSorting = ['name'];\n @sort('todos', 'todosSorting') sortedTodos;\n\n // using descending sort\n todosSortingDesc = ['name:desc'];\n @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n}\n\nlet todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n]);\n\ntodoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\ntodoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n```",
+ "itemtype": "method",
+ "name": "sort",
+ "static": 1,
+ "params": [
+ {
+ "name": "itemsKey",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "sortDefinitionOrDependentKeys",
+ "description": "The key of the sort definition (an array of sort properties),\nthe sort function, or an array of additional dependent keys",
+ "type": "String|Function|Array"
+ },
+ {
+ "name": "sortDefinition",
+ "description": "the sort function (when used with additional dependent keys)",
+ "type": "Function?"
+ }
+ ],
+ "return": {
+ "description": "computes a new sorted array based on the sort\nproperty array or callback function",
+ "type": "ComputedProperty"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/computed",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/evented.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/evented.json
new file mode 100644
index 000000000..685a652cd
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/evented.json
@@ -0,0 +1,70 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/evented",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/evented",
+ "shortname": "@ember/object/evented",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/metal/lib/events.ts",
+ "line": 180,
+ "description": "Define a property as a function that should be executed when\na specified event or events are triggered.\n\n``` javascript\nimport EmberObject from '@ember/object';\nimport { on } from '@ember/object/evented';\nimport { sendEvent } from '@ember/object/events';\n\nlet Job = EmberObject.extend({\n logCompleted: on('completed', function() {\n console.log('Job completed!');\n })\n});\n\nlet job = Job.create();\n\nsendEvent(job, 'completed'); // Logs 'Job completed!'\n ```",
+ "itemtype": "method",
+ "name": "on",
+ "static": 1,
+ "params": [
+ {
+ "name": "eventNames",
+ "description": "",
+ "type": "String",
+ "multiple": true
+ },
+ {
+ "name": "func",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "return": {
+ "description": "the listener function, passed as last argument to on(...)",
+ "type": "Function"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/evented",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/events.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/events.json
new file mode 100644
index 000000000..3bb1679b9
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/events.json
@@ -0,0 +1,199 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/events",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/events",
+ "shortname": "@ember/object/events",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/metal/lib/deprecate_property.ts",
+ "line": 10,
+ "description": "Used internally to allow changing properties in a backwards compatible way, and print a helpful\ndeprecation warning.",
+ "itemtype": "method",
+ "name": "deprecateProperty",
+ "params": [
+ {
+ "name": "object",
+ "description": "The object to add the deprecated property to.",
+ "type": "Object"
+ },
+ {
+ "name": "deprecatedKey",
+ "description": "The property to add (and print deprecation warnings upon accessing).",
+ "type": "String"
+ },
+ {
+ "name": "newKey",
+ "description": "The property that will be aliased.",
+ "type": "String"
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "since": "1.7.0",
+ "class": "@ember/object/events",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/events.ts",
+ "line": 28,
+ "description": "Add an event listener",
+ "itemtype": "method",
+ "name": "addListener",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "eventName",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "target",
+ "description": "A target object or a function",
+ "type": "Object|Function"
+ },
+ {
+ "name": "method",
+ "description": "A function or the name of a function to be called on `target`",
+ "type": "Function|String"
+ },
+ {
+ "name": "once",
+ "description": "A flag whether a function should only be called once",
+ "type": "Boolean"
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/events",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/events.ts",
+ "line": 62,
+ "description": "Remove an event listener\n\nArguments should match those passed to `addListener`.",
+ "itemtype": "method",
+ "name": "removeListener",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "eventName",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "target",
+ "description": "A target object or a function",
+ "type": "Object|Function"
+ },
+ {
+ "name": "method",
+ "description": "A function or the name of a function to be called on `target`",
+ "type": "Function|String"
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/events",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/events.ts",
+ "line": 105,
+ "description": "Send an event. The execution of suspended listeners\nis skipped, and once listeners are removed. A listener without\na target is executed on the passed object. If an array of actions\nis not passed, the actions stored on the passed object are invoked.",
+ "itemtype": "method",
+ "name": "sendEvent",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "eventName",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "params",
+ "description": "Optional parameters for each listener.",
+ "type": "Array"
+ }
+ ],
+ "return": {
+ "description": "if the event was delivered to one or more actions",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/events",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/events.ts",
+ "line": 162,
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "hasListeners",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "eventName",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "if `obj` has listeners for event `eventName`",
+ "type": "Boolean"
+ },
+ "class": "@ember/object/events",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/internals.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/internals.json
new file mode 100644
index 000000000..d0f35b449
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/internals.json
@@ -0,0 +1,94 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/internals",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/internals",
+ "shortname": "@ember/object/internals",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/utils/lib/guid.ts",
+ "line": 55,
+ "description": "Generates a new guid, optionally saving the guid to the object that you\npass in. You will rarely need to use this method. Instead you should\ncall `guidFor(obj)`, which return an existing guid if available.",
+ "access": "private",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "generateGuid",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "Object the guid will be used for. If passed in, the guid will\n be saved on the object and reused whenever you pass the same object\n again.\n\n If no object is passed, just generate a new guid.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "prefix",
+ "description": "Prefix to place in front of the guid. Useful when you want to\n separate the guid into separate namespaces.",
+ "type": "String",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "the guid",
+ "type": "String"
+ },
+ "class": "@ember/object/internals",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/utils/lib/guid.ts",
+ "line": 84,
+ "description": "Returns a unique id for the object. If the object does not yet have a guid,\none will be assigned to it. You can call this on any object,\n`EmberObject`-based or not.\n\nYou can also use this method on DOM Element objects.",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "guidFor",
+ "params": [
+ {
+ "name": "obj",
+ "description": "any object, string, number, Element, or primitive",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "the unique guid for this instance.",
+ "type": "String"
+ },
+ "class": "@ember/object/internals",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/mixin.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/mixin.json
new file mode 100644
index 000000000..5fe9d9f30
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/mixin.json
@@ -0,0 +1,118 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/mixin",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/mixin",
+ "shortname": "@ember/object/mixin",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object/mixin",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/object/mixin.ts",
+ "line": 580,
+ "itemtype": "method",
+ "name": "create",
+ "static": 1,
+ "params": [
+ {
+ "name": "arguments",
+ "description": "",
+ "multiple": true
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/mixin",
+ "module": "@ember/object/mixin"
+ },
+ {
+ "file": "packages/@ember/object/mixin.ts",
+ "line": 613,
+ "itemtype": "method",
+ "name": "reopen",
+ "params": [
+ {
+ "name": "arguments",
+ "description": "",
+ "multiple": true
+ }
+ ],
+ "access": "private",
+ "tagname": "",
+ "internal": "",
+ "class": "@ember/object/mixin",
+ "module": "@ember/object/mixin"
+ },
+ {
+ "file": "packages/@ember/object/mixin.ts",
+ "line": 636,
+ "itemtype": "method",
+ "name": "apply",
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "applied object"
+ },
+ "access": "private",
+ "tagname": "",
+ "internal": "",
+ "class": "@ember/object/mixin",
+ "module": "@ember/object/mixin"
+ },
+ {
+ "file": "packages/@ember/object/mixin.ts",
+ "line": 657,
+ "itemtype": "method",
+ "name": "detect",
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "access": "private",
+ "tagname": "",
+ "internal": "",
+ "class": "@ember/object/mixin",
+ "module": "@ember/object/mixin"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/mixin",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/observers.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/observers.json
new file mode 100644
index 000000000..6aeb4ee02
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/object/observers.json
@@ -0,0 +1,107 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object/observers",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/object/observers",
+ "shortname": "@ember/object/observers",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/object",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/metal/lib/observer.ts",
+ "line": 27,
+ "itemtype": "method",
+ "name": "addObserver",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "path",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "target",
+ "description": "",
+ "type": "Object|Function"
+ },
+ {
+ "name": "method",
+ "description": "",
+ "type": "Function|String",
+ "optional": true
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/observers",
+ "module": "@ember/object"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/observer.ts",
+ "line": 55,
+ "itemtype": "method",
+ "name": "removeObserver",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": ""
+ },
+ {
+ "name": "path",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "target",
+ "description": "",
+ "type": "Object|Function"
+ },
+ {
+ "name": "method",
+ "description": "",
+ "type": "Function|String",
+ "optional": true
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/object/observers",
+ "module": "@ember/object"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/object",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/owner.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/owner.json
new file mode 100644
index 000000000..d94452fd0
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/owner.json
@@ -0,0 +1,285 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/owner",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/owner",
+ "shortname": "@ember/owner",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/owner",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 545,
+ "description": "`setOwner` forces a new owner on a given object instance. This is primarily\nuseful in some testing cases.",
+ "itemtype": "method",
+ "name": "setOwner",
+ "static": 1,
+ "params": [
+ {
+ "name": "object",
+ "description": "An object instance.",
+ "type": "Object"
+ },
+ {
+ "name": "object",
+ "description": "The new owner object of the object instance.",
+ "type": "Owner"
+ }
+ ],
+ "since": "2.3.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 575,
+ "description": "Returns an object that can be used to provide an owner to a\nmanually created instance.\n\nExample:\n\n```\nimport { getOwner } from '@ember/application';\n\nlet owner = getOwner(this);\n\nUser.create(\n owner.ownerInjection(),\n { username: 'rwjblue' }\n)\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "ownerInjection",
+ "since": "2.3.0",
+ "return": {
+ "description": "",
+ "type": "Object"
+ },
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 607,
+ "description": "Given a fullName return the corresponding factory.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "resolveRegistration",
+ "params": [
+ {
+ "name": "fullName",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "fullName's factory",
+ "type": "Function"
+ },
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 617,
+ "description": "Unregister a factory.\n\n```javascript\nimport Application from '@ember/application';\nimport EmberObject from '@ember/object';\n\nlet App = Application.create();\nlet User = EmberObject.extend();\nApp.register('model:user', User);\n\nApp.resolveRegistration('model:user').create() instanceof User //=> true\n\nApp.unregister('model:user')\nApp.resolveRegistration('model:user') === undefined //=> true\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "unregister",
+ "params": [
+ {
+ "name": "fullName",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 640,
+ "description": "Check if a factory is registered.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "hasRegistration",
+ "params": [
+ {
+ "name": "fullName",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 650,
+ "description": "Return a specific registered option for a particular factory.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "registeredOption",
+ "params": [
+ {
+ "name": "fullName",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "optionName",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "options",
+ "type": "Object"
+ },
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 664,
+ "description": "Register options for a particular factory.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "registerOptions",
+ "params": [
+ {
+ "name": "fullName",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 674,
+ "description": "Return registered options for a particular factory.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "registeredOptions",
+ "params": [
+ {
+ "name": "fullName",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "options",
+ "type": "Object"
+ },
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 684,
+ "description": "Allow registering options for all factories of a type.\n\n```javascript\nimport Application from '@ember/application';\n\nlet App = Application.create();\nlet appInstance = App.buildInstance();\n\n// if all of type `connection` must not be singletons\nappInstance.registerOptionsForType('connection', { singleton: false });\n\nappInstance.register('connection:twitter', TwitterConnection);\nappInstance.register('connection:facebook', FacebookConnection);\n\nlet twitter = appInstance.lookup('connection:twitter');\nlet twitter2 = appInstance.lookup('connection:twitter');\n\ntwitter === twitter2; // => false\n\nlet facebook = appInstance.lookup('connection:facebook');\nlet facebook2 = appInstance.lookup('connection:facebook');\n\nfacebook === facebook2; // => false\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "registerOptionsForType",
+ "params": [
+ {
+ "name": "type",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/-internals/owner/index.ts",
+ "line": 717,
+ "description": "Return the registered options for all factories of a type.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "registeredOptionsForType",
+ "params": [
+ {
+ "name": "type",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "options",
+ "type": "Object"
+ },
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ },
+ {
+ "file": "packages/@ember/owner/index.ts",
+ "line": 41,
+ "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```js {data-filename=app/components/play-audio.js}\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\nimport { getOwner } from '@ember/owner';\n\n// Usage:\n//\n// \n//\nexport default class extends Component {\n get audioService() {\n return getOwner(this)?.lookup(`service:${this.args.audioType}`);\n }\n\n @action\n onPlay() {\n this.audioService?.play(this.args.audioFile);\n }\n}\n```",
+ "itemtype": "method",
+ "name": "getOwner",
+ "static": 1,
+ "params": [
+ {
+ "name": "object",
+ "description": "An object with an owner.",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "An owner object.",
+ "type": "Object"
+ },
+ "since": "2.3.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/owner",
+ "module": "@ember/owner"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/owner",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/reactive/collections.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/reactive/collections.json
new file mode 100644
index 000000000..5a1a8ee57
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/reactive/collections.json
@@ -0,0 +1,323 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/reactive/collections",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/reactive/collections",
+ "shortname": "@ember/reactive/collections",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/reactive/collections",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/reactive/collections.ts",
+ "line": 8,
+ "description": "A utility for creating tracked arrays, copying the original data so that\nmutations to the tracked data don't mutate the original untracked data.\n\n`trackedArray` can be used in templates and in JavaScript via import.\nAll property accesses entangle with that property, all property sets dirty\nthat property, and changes to the collection only render what changed\nwithout causing unneeded renders.\n\nSee [MDN for more information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)",
+ "example": [
+ "\n```javascript\nimport { trackedArray } from '@ember/reactive/collections';\nimport { on } from '@ember/modifier';\nimport { fn } from '@ember/helper';\n\nconst nonTrackedArray = [1, 2, 3];\nconst addTo = (arr) => arr.push(Math.random());\n\n\n {{#let (trackedArray nonTrackedArray) as |arr|}}\n {{#each arr as |datum|}}\n {{datum}}\n {{/each}}\n\n \n {{/let}}\n\n```"
+ ],
+ "itemtype": "method",
+ "name": "trackedArray",
+ "static": 1,
+ "params": [
+ {
+ "name": "data",
+ "description": "The initial array data to track",
+ "type": "Array",
+ "optional": true
+ },
+ {
+ "name": "options",
+ "description": "Optional configuration",
+ "type": "Object",
+ "optional": true,
+ "props": [
+ {
+ "name": "equals",
+ "description": "Custom equality function (defaults to Object.is)",
+ "type": "Function",
+ "optional": true
+ },
+ {
+ "name": "description",
+ "description": "Description for debugging purposes",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "return": {
+ "description": "A tracked array that updates reactively",
+ "type": "Array"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/reactive/collections",
+ "module": "@ember/reactive/collections"
+ },
+ {
+ "file": "packages/@ember/reactive/collections.ts",
+ "line": 51,
+ "description": "A utility for creating tracked objects, copying the original data so that\nmutations to the tracked data don't mutate the original untracked data.\n\n`trackedObject` can be used in templates and in JavaScript via import.\nAll property accesses entangle with that property, all property sets dirty\nthat property, and changes to the collection only render what changed\nwithout causing unneeded renders.\n\nSee [MDN for more information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)",
+ "example": [
+ "\n```gjs\nimport { trackedObject } from '@ember/reactive/collections';\nimport { on } from '@ember/modifier';\nimport { fn } from '@ember/helper';\n\nconst nonTrackedObject = { a: 1 };\nconst addTo = (obj) => obj[Math.random()] = Math.random();\n\n\n {{#let (trackedObject nonTrackedObject) as |obj|}}\n {{#each-in obj as |key value|}}\n {{key}} => {{value}}
\n {{/each-in}}\n\n \n {{/let}}\n\n```"
+ ],
+ "itemtype": "method",
+ "name": "trackedObject",
+ "static": 1,
+ "params": [
+ {
+ "name": "data",
+ "description": "The initial object data to track",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "options",
+ "description": "Optional configuration",
+ "type": "Object",
+ "optional": true,
+ "props": [
+ {
+ "name": "equals",
+ "description": "Custom equality function (defaults to Object.is)",
+ "type": "Function",
+ "optional": true
+ },
+ {
+ "name": "description",
+ "description": "Description for debugging purposes",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "return": {
+ "description": "A tracked object that updates reactively",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/reactive/collections",
+ "module": "@ember/reactive/collections"
+ },
+ {
+ "file": "packages/@ember/reactive/collections.ts",
+ "line": 94,
+ "description": "A utility for creating tracked sets, copying the original data so that\nmutations to the tracked data don't mutate the original untracked data.\n\n`trackedSet` can be used in templates and in JavaScript via import.\nAll property accesses entangle with that property, all property sets dirty\nthat property, and changes to the collection only render what changed\nwithout causing unneeded renders.\n\nSee [MDN for more information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set)",
+ "example": [
+ "\n```gjs\nimport { trackedSet } from '@ember/reactive/collections';\nimport { on } from '@ember/modifier';\nimport { fn } from '@ember/helper';\n\nconst nonTrackedSet = new Set();\nnonTrackedSet.add(1);\nconst addTo = (set) => set.add(Math.random());\n\n\n {{#let (trackedSet nonTrackedSet) as |set|}}\n {{#each set as |value|}}\n {{value}}
\n {{/each}}\n\n \n {{/let}}\n\n```"
+ ],
+ "itemtype": "method",
+ "name": "trackedSet",
+ "static": 1,
+ "params": [
+ {
+ "name": "data",
+ "description": "The initial Set data to track",
+ "type": "Set",
+ "optional": true
+ },
+ {
+ "name": "options",
+ "description": "Optional configuration",
+ "type": "Object",
+ "optional": true,
+ "props": [
+ {
+ "name": "equals",
+ "description": "Custom equality function (defaults to Object.is)",
+ "type": "Function",
+ "optional": true
+ },
+ {
+ "name": "description",
+ "description": "Description for debugging purposes",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "return": {
+ "description": "A tracked Set that updates reactively",
+ "type": "Set"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/reactive/collections",
+ "module": "@ember/reactive/collections"
+ },
+ {
+ "file": "packages/@ember/reactive/collections.ts",
+ "line": 138,
+ "description": "A utility for creating tracked weak sets, copying the original data so that\nmutations to the tracked data don't mutate the original untracked data.\n\n`trackedWeakSet` can be used in templates and in JavaScript via import.\nAll property accesses entangle with that property, all property sets dirty\nthat property, and changes to the collection only render what changed\nwithout causing unneeded renders.\n\nWeakSets hold weak references to their values, allowing garbage collection\nwhen objects are no longer referenced elsewhere.\n\nSee [MDN for more information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet)",
+ "example": [
+ "\n```gjs\nimport { trackedWeakSet } from '@ember/reactive/collections';\nimport { on } from '@ember/modifier';\nimport { fn } from '@ember/helper';\n\nconst nonTrackedWeakSet = new WeakSet();\n\n\n {{#let (trackedWeakSet nonTrackedWeakSet) as |weakSet|}}\n {{log weakSet}}\n {{/let}}\n\n```"
+ ],
+ "itemtype": "method",
+ "name": "trackedWeakSet",
+ "static": 1,
+ "params": [
+ {
+ "name": "data",
+ "description": "The initial WeakSet data to track",
+ "type": "WeakSet",
+ "optional": true
+ },
+ {
+ "name": "options",
+ "description": "Optional configuration",
+ "type": "Object",
+ "optional": true,
+ "props": [
+ {
+ "name": "equals",
+ "description": "Custom equality function (defaults to Object.is)",
+ "type": "Function",
+ "optional": true
+ },
+ {
+ "name": "description",
+ "description": "Description for debugging purposes",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "return": {
+ "description": "A tracked WeakSet that updates reactively",
+ "type": "WeakSet"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/reactive/collections",
+ "module": "@ember/reactive/collections"
+ },
+ {
+ "file": "packages/@ember/reactive/collections.ts",
+ "line": 179,
+ "description": "A utility for creating tracked maps, copying the original data so that\nmutations to the tracked data don't mutate the original untracked data.\n\n`trackedMap` can be used in templates and in JavaScript via import.\nAll property accesses entangle with that property, all property sets dirty\nthat property, and changes to the collection only render what changed\nwithout causing unneeded renders.\n\nSee [MDN for more information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)",
+ "example": [
+ "\n```gjs\nimport { trackedMap } from '@ember/reactive/collections';\nimport { on } from '@ember/modifier';\nimport { fn } from '@ember/helper';\n\nconst nonTrackedMap = new Map();\nnonTrackedMap.set('a', 1);\nconst addTo = (map) => map.set(Math.random(), Math.random());\n\n\n {{#let (trackedMap nonTrackedMap) as |map|}}\n {{#each-in map as |key value|}}\n {{key}} => {{value}}
\n {{/each-in}}\n\n \n {{/let}}\n\n```"
+ ],
+ "itemtype": "method",
+ "name": "trackedMap",
+ "static": 1,
+ "params": [
+ {
+ "name": "data",
+ "description": "The initial Map data to track",
+ "type": "Map",
+ "optional": true
+ },
+ {
+ "name": "options",
+ "description": "Optional configuration",
+ "type": "Object",
+ "optional": true,
+ "props": [
+ {
+ "name": "equals",
+ "description": "Custom equality function (defaults to Object.is)",
+ "type": "Function",
+ "optional": true
+ },
+ {
+ "name": "description",
+ "description": "Description for debugging purposes",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "return": {
+ "description": "A tracked Map that updates reactively",
+ "type": "Map"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/reactive/collections",
+ "module": "@ember/reactive/collections"
+ },
+ {
+ "file": "packages/@ember/reactive/collections.ts",
+ "line": 223,
+ "description": "A utility for creating tracked weak maps, copying the original data so that\nmutations to the tracked data don't mutate the original untracked data.\n\n`trackedWeakMap` can be used in templates and in JavaScript via import.\nAll property accesses entangle with that property, all property sets dirty\nthat property, and changes to the collection only render what changed\nwithout causing unneeded renders.\n\nWeakMaps hold weak references to their keys, allowing garbage collection\nwhen key objects are no longer referenced elsewhere.\n\nSee [MDN for more information](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap)",
+ "example": [
+ "\n```gjs\nimport { trackedWeakMap } from '@ember/reactive/collections';\nimport { on } from '@ember/modifier';\nimport { fn } from '@ember/helper';\n\nconst nonTrackedWeakMap = new WeakMap();\n\n\n {{#let (trackedWeakMap nonTrackedWeakMap) as |weakMap|}}\n {{log weakMap}}\n {{/let}}\n\n```"
+ ],
+ "itemtype": "method",
+ "name": "trackedWeakMap",
+ "static": 1,
+ "params": [
+ {
+ "name": "data",
+ "description": "The initial WeakMap data to track",
+ "type": "WeakMap",
+ "optional": true
+ },
+ {
+ "name": "options",
+ "description": "Optional configuration",
+ "type": "Object",
+ "optional": true,
+ "props": [
+ {
+ "name": "equals",
+ "description": "Custom equality function (defaults to Object.is)",
+ "type": "Function",
+ "optional": true
+ },
+ {
+ "name": "description",
+ "description": "Description for debugging purposes",
+ "type": "String",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "return": {
+ "description": "A tracked WeakMap that updates reactively",
+ "type": "WeakMap"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/reactive/collections",
+ "module": "@ember/reactive/collections"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/reactive/collections",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/renderer.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/renderer.json
new file mode 100644
index 000000000..66f3f456a
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/renderer.json
@@ -0,0 +1,139 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/renderer",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/renderer",
+ "shortname": "@ember/renderer",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/renderer",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/renderer.ts",
+ "line": 564,
+ "description": "Render a component into a DOM element.",
+ "itemtype": "method",
+ "name": "renderComponent",
+ "static": 1,
+ "params": [
+ {
+ "name": "component",
+ "description": "The component to render.",
+ "type": "Object"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object",
+ "props": [
+ {
+ "name": "into",
+ "description": "Where to render the component in to.",
+ "type": "Element"
+ },
+ {
+ "name": "owner",
+ "description": "Optionally specify the owner to use. This will be used for injections, and overall cleanup.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "env",
+ "description": "Optional renderer configuration",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "args",
+ "description": "Optionally pass args in to the component. These may be reactive as long as it is an object or object-like",
+ "type": "Object",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/renderer",
+ "module": "@ember/renderer"
+ },
+ {
+ "file": "packages/@ember/renderer/index.ts",
+ "line": 66,
+ "description": "Render a component into a DOM element.\n\nSee also: [RFC#1099](https://github.com/emberjs/rfcs/blob/main/text/1099-renderComponent.md)",
+ "itemtype": "method",
+ "name": "renderComponent",
+ "static": 1,
+ "params": [
+ {
+ "name": "component",
+ "description": "The component to render.",
+ "type": "Object"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object",
+ "props": [
+ {
+ "name": "into",
+ "description": "Where to render the component in to.",
+ "type": "Element"
+ },
+ {
+ "name": "owner",
+ "description": "Optionally specify the owner to use. This will be used for injections, and overall cleanup.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "env",
+ "description": "Optional renderer configuration",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "args",
+ "description": "Optionally pass args in to the component. These may be reactive as long as it is an object or object-like",
+ "type": "Object",
+ "optional": true
+ }
+ ]
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/renderer",
+ "module": "@ember/renderer"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/renderer",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/routing.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/routing.json
new file mode 100644
index 000000000..2d79f15aa
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/routing.json
@@ -0,0 +1,55 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/routing",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/routing",
+ "shortname": "@ember/routing",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/routing",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/components/link-to.ts",
+ "line": 267,
+ "description": "An opaque interface which can be imported and used in strict-mode\ntemplates to call .\n\nSee [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).",
+ "itemtype": "method",
+ "name": "LinkTo",
+ "see": [
+ "{Ember.Templates.components.LinkTo}"
+ ],
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/routing",
+ "module": "@ember/routing"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/routing",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/routing/location.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/routing/location.json
new file mode 100644
index 000000000..a0e6c4ac1
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/routing/location.json
@@ -0,0 +1,40 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/routing/location",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/routing/location",
+ "shortname": "@ember/routing/location",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/routing/location",
+ "namespace": "",
+ "methods": [],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/routing/location",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/runloop.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/runloop.json
new file mode 100644
index 000000000..75a87c666
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/runloop.json
@@ -0,0 +1,498 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/runloop",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/runloop",
+ "shortname": "@ember/runloop",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/runloop",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 108,
+ "description": "Runs the passed target and method inside of a RunLoop, ensuring any\ndeferred actions including bindings and views updates are flushed at the\nend.\n\nNormally you should not need to invoke this method yourself. However if\nyou are implementing raw event handlers when interfacing with other\nlibraries or plugins, you should probably wrap all of your code inside this\ncall.\n\n```javascript\nimport { run } from '@ember/runloop';\n\nrun(function() {\n // code to be executed within a RunLoop\n});\n```",
+ "itemtype": "method",
+ "name": "run",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to call",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Any additional arguments you wish to pass to the method.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "return value from invoking the passed function.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 153,
+ "description": "If no run-loop is present, it creates a new one. If a run loop is\npresent it will queue itself to run on the existing run-loops action\nqueue.\n\nPlease note: This is not for normal usage, and should be used sparingly.\n\nIf invoked when not within a run loop:\n\n```javascript\nimport { join } from '@ember/runloop';\n\njoin(function() {\n // creates a new run-loop\n});\n```\n\nAlternatively, if called within an existing run loop:\n\n```javascript\nimport { run, join } from '@ember/runloop';\n\nrun(function() {\n // creates a new run-loop\n\n join(function() {\n // joins with the existing run-loop, and queues for invocation on\n // the existing run-loops action queue.\n });\n});\n```",
+ "itemtype": "method",
+ "name": "join",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to call",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Any additional arguments you wish to pass to the method.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "Return value from invoking the passed function. Please note,\nwhen called within an existing loop, no return value is possible.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 212,
+ "description": "Allows you to specify which context to call the specified function in while\nadding the execution of that function to the Ember run loop. This ability\nmakes this method a great way to asynchronously integrate third-party libraries\ninto your Ember application.\n\n`bind` takes two main arguments, the desired context and the function to\ninvoke in that context. Any additional arguments will be supplied as arguments\nto the function that is passed in.\n\nLet's use the creation of a TinyMCE component as an example. Currently,\nTinyMCE provides a setup configuration option we can use to do some processing\nafter the TinyMCE instance is initialized but before it is actually rendered.\nWe can use that setup option to do some additional setup for our component.\nThe component itself could look something like the following:\n\n```js {data-filename=app/components/rich-text-editor.js}\nimport Component from '@ember/component';\nimport { on } from '@ember/object/evented';\nimport { bind } from '@ember/runloop';\n\nexport default Component.extend({\n initializeTinyMCE: on('didInsertElement', function() {\n tinymce.init({\n selector: '#' + this.$().prop('id'),\n setup: bind(this, this.setupEditor)\n });\n }),\n\n didInsertElement() {\n tinymce.init({\n selector: '#' + this.$().prop('id'),\n setup: bind(this, this.setupEditor)\n });\n }\n\n setupEditor(editor) {\n this.set('editor', editor);\n\n editor.on('change', function() {\n console.log('content changed!');\n });\n }\n});\n```\n\nIn this example, we use `bind` to bind the setupEditor method to the\ncontext of the RichTextEditor component and to have the invocation of that\nmethod be safely handled and executed by the Ember run loop.",
+ "itemtype": "method",
+ "name": "bind",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to call",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Any additional arguments you wish to pass to the method.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "returns a new function that will always have a particular context",
+ "type": "Function"
+ },
+ "since": "1.4.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 334,
+ "description": "Begins a new RunLoop. Any deferred actions invoked after the begin will\nbe buffered until you invoke a matching call to `end()`. This is\na lower-level way to use a RunLoop instead of using `run()`.\n\n```javascript\nimport { begin, end } from '@ember/runloop';\n\nbegin();\n// code to be executed within a RunLoop\nend();\n```",
+ "itemtype": "method",
+ "name": "begin",
+ "static": 1,
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 357,
+ "description": "Ends a RunLoop. This must be called sometime after you call\n`begin()` to flush any deferred actions. This is a lower-level way\nto use a RunLoop instead of using `run()`.\n\n```javascript\nimport { begin, end } from '@ember/runloop';\n\nbegin();\n// code to be executed within a RunLoop\nend();\n```",
+ "itemtype": "method",
+ "name": "end",
+ "static": 1,
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 380,
+ "description": "Adds the passed target/method and any optional arguments to the named\nqueue to be executed at the end of the RunLoop. If you have not already\nstarted a RunLoop when calling this method one will be started for you\nautomatically.\n\nAt the end of a RunLoop, any methods scheduled in this way will be invoked.\nMethods will be invoked in an order matching the named queues defined in\nthe `queues` property.\n\n```javascript\nimport { schedule } from '@ember/runloop';\n\nschedule('afterRender', this, function() {\n // this will be executed in the 'afterRender' queue\n console.log('scheduled on afterRender queue');\n});\n\nschedule('actions', this, function() {\n // this will be executed in the 'actions' queue\n console.log('scheduled on actions queue');\n});\n\n// Note the functions will be run in order based on the run queues order.\n// Output would be:\n// scheduled on actions queue\n// scheduled on afterRender queue\n```",
+ "itemtype": "method",
+ "name": "schedule",
+ "static": 1,
+ "params": [
+ {
+ "name": "queue",
+ "description": "The name of the queue to schedule against. Default queues is 'actions'",
+ "type": "String"
+ },
+ {
+ "name": "target",
+ "description": "target object to use as the context when invoking a method.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke. If you pass a string it\n will be resolved on the target object at the time the scheduled item is\n invoked allowing you to change the target function.",
+ "type": "String|Function"
+ },
+ {
+ "name": "arguments*",
+ "description": "Optional arguments to be passed to the queued method.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "*"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 453,
+ "description": "Invokes the passed target/method and optional arguments after a specified\nperiod of time. The last parameter of this method must always be a number\nof milliseconds.\n\nYou should use this method whenever you need to run some action after a\nperiod of time instead of using `setTimeout()`. This method will ensure that\nitems that expire during the same script execution cycle all execute\ntogether, which is often more efficient than using a real setTimeout.\n\n```javascript\nimport { later } from '@ember/runloop';\n\nlater(myContext, function() {\n // code here will execute within a RunLoop in about 500ms with this == myContext\n}, 500);\n```",
+ "itemtype": "method",
+ "name": "later",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to invoke",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Optional arguments to pass to the timeout.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "wait",
+ "description": "Number of milliseconds to wait.",
+ "type": "Number"
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "*"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 501,
+ "description": "Schedule a function to run one time during the current RunLoop. This is equivalent\n to calling `scheduleOnce` with the \"actions\" queue.",
+ "itemtype": "method",
+ "name": "once",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "The target of the method to invoke.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Optional arguments to pass to the timeout.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 532,
+ "description": "Schedules a function to run one time in a given queue of the current RunLoop.\nCalling this method with the same queue/target/method combination will have\nno effect (past the initial call).\n\nNote that although you can pass optional arguments these will not be\nconsidered when looking for duplicates. New arguments will replace previous\ncalls.\n\n```javascript\nimport { run, scheduleOnce } from '@ember/runloop';\n\nfunction sayHi() {\n console.log('hi');\n}\n\nrun(function() {\n scheduleOnce('afterRender', myContext, sayHi);\n scheduleOnce('afterRender', myContext, sayHi);\n // sayHi will only be executed once, in the afterRender queue of the RunLoop\n});\n```\n\nAlso note that for `scheduleOnce` to prevent additional calls, you need to\npass the same function instance. The following case works as expected:\n\n```javascript\nfunction log() {\n console.log('Logging only once');\n}\n\nfunction scheduleIt() {\n scheduleOnce('actions', myContext, log);\n}\n\nscheduleIt();\nscheduleIt();\n```\n\nBut this other case will schedule the function multiple times:\n\n```javascript\nimport { scheduleOnce } from '@ember/runloop';\n\nfunction scheduleIt() {\n scheduleOnce('actions', myContext, function() {\n console.log('Closure');\n });\n}\n\nscheduleIt();\nscheduleIt();\n\n// \"Closure\" will print twice, even though we're using `scheduleOnce`,\n// because the function we pass to it won't match the\n// previously scheduled operation.\n```\n\nAvailable queues, and their order, can be found at `queues`",
+ "itemtype": "method",
+ "name": "scheduleOnce",
+ "static": 1,
+ "params": [
+ {
+ "name": "queue",
+ "description": "The name of the queue to schedule against. Default queues is 'actions'.",
+ "type": "String",
+ "optional": true
+ },
+ {
+ "name": "target",
+ "description": "The target of the method to invoke.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Optional arguments to pass to the timeout.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 626,
+ "description": "Schedules an item to run from within a separate run loop, after\ncontrol has been returned to the system. This is equivalent to calling\n`later` with a wait time of 1ms.\n\n```javascript\nimport { next } from '@ember/runloop';\n\nnext(myContext, function() {\n // code to be executed in the next run loop,\n // which will be scheduled after the current one\n});\n```\n\nMultiple operations scheduled with `next` will coalesce\ninto the same later run loop, along with any other operations\nscheduled by `later` that expire right around the same\ntime that `next` operations will fire.\n\nNote that there are often alternatives to using `next`.\nFor instance, if you'd like to schedule an operation to happen\nafter all DOM element operations have completed within the current\nrun loop, you can make use of the `afterRender` run loop queue (added\nby the `ember-views` package, along with the preceding `render` queue\nwhere all the DOM element operations happen).\n\nExample:\n\n```js {data-filename=app/components/my-component.js}\nimport Component from '@ember/component';\nimport { scheduleOnce } from '@ember/runloop';\n\nexport default class MyComponent extends Component {\n didInsertElement() {\n super.didInsertElement();\n scheduleOnce('afterRender', this, 'processChildElements');\n },\n\n processChildElements() {\n // ... do something with component's child component\n // elements after they've finished rendering, which\n // can't be done within this component's\n // `didInsertElement` hook because that gets run\n // before the child elements have been added to the DOM.\n }\n}\n```\n\nOne benefit of the above approach compared to using `next` is\nthat you will be able to perform DOM/CSS operations before unprocessed\nelements are rendered to the screen, which may prevent flickering or\nother artifacts caused by delaying processing until after rendering.\n\nThe other major benefit to the above approach is that `next`\nintroduces an element of non-determinism, which can make things much\nharder to test, due to its reliance on `setTimeout`; it's much harder\nto guarantee the order of scheduled operations when they are scheduled\noutside of the current run loop, i.e. with `next`.",
+ "itemtype": "method",
+ "name": "next",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to invoke",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Optional arguments to pass to the timeout.",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 711,
+ "description": "Cancels a scheduled item. Must be a value returned by `later()`,\n`once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n`throttle()`.\n\n```javascript\nimport {\n next,\n cancel,\n later,\n scheduleOnce,\n once,\n throttle,\n debounce\n} from '@ember/runloop';\n\nlet runNext = next(myContext, function() {\n // will not be executed\n});\n\ncancel(runNext);\n\nlet runLater = later(myContext, function() {\n // will not be executed\n}, 500);\n\ncancel(runLater);\n\nlet runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n // will not be executed\n});\n\ncancel(runScheduleOnce);\n\nlet runOnce = once(myContext, function() {\n // will not be executed\n});\n\ncancel(runOnce);\n\nlet throttle = throttle(myContext, function() {\n // will not be executed\n}, 1, false);\n\ncancel(throttle);\n\nlet debounce = debounce(myContext, function() {\n // will not be executed\n}, 1);\n\ncancel(debounce);\n\nlet debounceImmediate = debounce(myContext, function() {\n // will be executed since we passed in true (immediate)\n}, 100, true);\n\n// the 100ms delay until this method can be called again will be canceled\ncancel(debounceImmediate);\n```",
+ "itemtype": "method",
+ "name": "cancel",
+ "static": 1,
+ "params": [
+ {
+ "name": "timer",
+ "description": "Timer object to cancel",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "true if canceled or false/undefined if it wasn't found",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 782,
+ "description": "Delay calling the target method until the debounce period has elapsed\nwith no additional debounce calls. If `debounce` is called again before\nthe specified time has elapsed, the timer is reset and the entire period\nmust pass again before the target method is called.\n\nThis method should be used when an event may be called multiple times\nbut the action should only be called once when the event is done firing.\nA common example is for scroll events where you only want updates to\nhappen once scrolling has ceased.\n\n```javascript\nimport { debounce } from '@ember/runloop';\n\nfunction whoRan() {\n console.log(this.name + ' ran.');\n}\n\nlet myContext = { name: 'debounce' };\n\ndebounce(myContext, whoRan, 150);\n\n// less than 150ms passes\ndebounce(myContext, whoRan, 150);\n\n// 150ms passes\n// whoRan is invoked with context myContext\n// console logs 'debounce ran.' one time.\n```\n\nImmediate allows you to run the function immediately, but debounce\nother calls for this function until the wait time has elapsed. If\n`debounce` is called again before the specified time has elapsed,\nthe timer is reset and the entire period must pass again before\nthe method can be called again.\n\n```javascript\nimport { debounce } from '@ember/runloop';\n\nfunction whoRan() {\n console.log(this.name + ' ran.');\n}\n\nlet myContext = { name: 'debounce' };\n\ndebounce(myContext, whoRan, 150, true);\n\n// console logs 'debounce ran.' one time immediately.\n// 100ms passes\ndebounce(myContext, whoRan, 150, true);\n\n// 150ms passes and nothing else is logged to the console and\n// the debouncee is no longer being watched\ndebounce(myContext, whoRan, 150, true);\n\n// console logs 'debounce ran.' one time immediately.\n// 150ms passes and nothing else is logged to the console and\n// the debouncee is no longer being watched\n```",
+ "itemtype": "method",
+ "name": "debounce",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to invoke",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Optional arguments to pass to the timeout.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "wait",
+ "description": "Number of milliseconds to wait.",
+ "type": "Number"
+ },
+ {
+ "name": "immediate",
+ "description": "Trigger the function on the leading instead\n of the trailing edge of the wait interval. Defaults to false.",
+ "type": "Boolean"
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "Array"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ },
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 879,
+ "description": "Ensure that the target method is never called more frequently than\nthe specified spacing period. The target method is called immediately.\n\n```javascript\nimport { throttle } from '@ember/runloop';\n\nfunction whoRan() {\n console.log(this.name + ' ran.');\n}\n\nlet myContext = { name: 'throttle' };\n\nthrottle(myContext, whoRan, 150);\n// whoRan is invoked with context myContext\n// console logs 'throttle ran.'\n\n// 50ms passes\nthrottle(myContext, whoRan, 150);\n\n// 50ms passes\nthrottle(myContext, whoRan, 150);\n\n// 150ms passes\nthrottle(myContext, whoRan, 150);\n// whoRan is invoked with context myContext\n// console logs 'throttle ran.'\n```",
+ "itemtype": "method",
+ "name": "throttle",
+ "static": 1,
+ "params": [
+ {
+ "name": "target",
+ "description": "target of method to invoke",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "method",
+ "description": "The method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.",
+ "type": "Function|String"
+ },
+ {
+ "name": "args*",
+ "description": "Optional arguments to pass to the timeout.",
+ "type": "Object",
+ "optional": true
+ },
+ {
+ "name": "spacing",
+ "description": "Number of milliseconds to space out requests.",
+ "type": "Number"
+ },
+ {
+ "name": "immediate",
+ "description": "Trigger the function on the leading instead\n of the trailing edge of the wait interval. Defaults to true.",
+ "type": "Boolean"
+ }
+ ],
+ "return": {
+ "description": "Timer information for use in canceling, see `cancel`.",
+ "type": "Array"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/runloop"
+ }
+ ],
+ "events": [],
+ "properties": [
+ {
+ "file": "packages/@ember/runloop/index.ts",
+ "line": 61,
+ "description": "Array of named queues. This array determines the order in which queues\nare flushed at the end of the RunLoop. You can define your own queues by\nsimply adding the queue name to this array. Normally you should not need\nto inspect or modify this property.",
+ "itemtype": "property",
+ "name": "queues",
+ "type": "Array",
+ "default": "['actions', 'destroy']",
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/runloop",
+ "module": "@ember/routing/transition"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/runloop",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/service.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/service.json
new file mode 100644
index 000000000..6f37a46ea
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/service.json
@@ -0,0 +1,90 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/service",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/service",
+ "shortname": "@ember/service",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/service",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/service/index.ts",
+ "line": 11,
+ "itemtype": "method",
+ "name": "inject",
+ "static": 1,
+ "since": "1.10.0",
+ "params": [
+ {
+ "name": "name",
+ "description": "(optional) name of the service to inject, defaults to\n the property's name",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "injection decorator instance",
+ "type": "ComputedDecorator"
+ },
+ "access": "public",
+ "tagname": "",
+ "deprecated": true,
+ "deprecationMessage": "Please import `service` instead.",
+ "class": "@ember/service",
+ "module": "@ember/service"
+ },
+ {
+ "file": "packages/@ember/service/index.ts",
+ "line": 37,
+ "description": "Creates a property that lazily looks up a service in the container. There are\nno restrictions as to what objects a service can be injected into.\n\nExample:\n\n```js {data-filename=app/routes/application.js}\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class ApplicationRoute extends Route {\n @service('auth') authManager;\n\n model() {\n return this.authManager.findCurrentUser();\n }\n}\n```\n\nClassic Class Example:\n\n```js {data-filename=app/routes/application.js}\nimport Route from '@ember/routing/route';\nimport { service } from '@ember/service';\n\nexport default class ApplicationRoute extends Route {\n @service('auth') authManager;\n\n model() {\n return this.authManager.findCurrentUser();\n }\n}\n```\n\nThis example will create an `authManager` property on the application route\nthat looks up the `auth` service in the container, making it easily accessible\nin the `model` hook.",
+ "itemtype": "method",
+ "name": "service",
+ "static": 1,
+ "since": "4.1.0",
+ "params": [
+ {
+ "name": "name",
+ "description": "(optional) name of the service to inject, defaults to\n the property's name",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "injection decorator instance",
+ "type": "ComputedDecorator"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/service",
+ "module": "@ember/service"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/service",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/template.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/template.json
new file mode 100644
index 000000000..fb7526e06
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/template.json
@@ -0,0 +1,146 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/template",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/template",
+ "shortname": "@ember/template",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/template",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/utils/managers.ts",
+ "line": 6,
+ "description": "Associate a class with a component manager (an object that is responsible for\ncoordinating the lifecycle events that occurs when invoking, rendering and\nre-rendering a component).",
+ "itemtype": "method",
+ "name": "setComponentManager",
+ "params": [
+ {
+ "name": "factory",
+ "description": "a function to create the owner for an object",
+ "type": "Function"
+ },
+ {
+ "name": "obj",
+ "description": "the object to associate with the componetn manager",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "the same object passed in",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/template",
+ "module": "ember"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
+ "line": 106,
+ "description": "Use this method to indicate that a string should be rendered as HTML\nwhen the string is used in a template. To say this another way,\nstrings marked with `htmlSafe` will not be HTML escaped.\n\nA word of warning - The `htmlSafe` method does not make the string safe;\nit only tells the framework to treat the string as if it is safe to render\nas HTML. If a string contains user inputs or other untrusted\ndata, you must sanitize the string before using the `htmlSafe` method.\nOtherwise your code is vulnerable to\n[Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\nThere are many open source sanitization libraries to choose from,\nboth for front end and server-side sanitization.\n\n```javascript\nimport { htmlSafe } from '@ember/template';\n\nconst someTrustedOrSanitizedString = \"Hello!
\"\n\nhtmlSafe(someTrustedorSanitizedString)\n```",
+ "itemtype": "method",
+ "name": "htmlSafe",
+ "params": [
+ {
+ "name": "str",
+ "description": "The string to treat as trusted.",
+ "type": "String"
+ }
+ ],
+ "static": 1,
+ "return": {
+ "description": "A string that will not be HTML escaped by Handlebars.",
+ "type": "SafeString"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/template",
+ "module": "@ember/template"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
+ "line": 137,
+ "description": "Use this method to indicate that a string should be rendered as HTML\nwithout escaping when the string is used in a template. To say this another way,\nstrings marked with `trustHTML` will not be HTML escaped.\n\nA word of warning - The `trustHTML` method does not make the string safe;\nit only tells the framework to treat the string as if it is safe to render\nas HTML - that we trust its contents to be safe. If a string contains user inputs or other untrusted\ndata, you must sanitize the string before using the `trustHTML` method.\nOtherwise your code is vulnerable to\n[Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\nThere are many open source sanitization libraries to choose from,\nboth for front end and server-side sanitization.\n\n```glimmer-js\nimport { trustHTML } from '@ember/template';\n\nconst someTrustedOrSanitizedString = \"Hello!
\"\n\n\n {{trustHTML someTrustedOrSanitizedString}}\n\n```",
+ "itemtype": "method",
+ "name": "trustHTML",
+ "params": [
+ {
+ "name": "str",
+ "description": "The string to treat as trusted.",
+ "type": "String"
+ }
+ ],
+ "static": 1,
+ "return": {
+ "description": "A string that will not be HTML escaped by Handlebars.",
+ "type": "TrustedHTML"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/template",
+ "module": "@ember/template"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
+ "line": 177,
+ "description": "Detects if a string was decorated using `htmlSafe`.\n\n```javascript\nimport { htmlSafe, isHTMLSafe } from '@ember/template';\n\nlet plainString = 'plain string';\nlet safeString = htmlSafe('someValue
');\n\nisHTMLSafe(plainString); // false\nisHTMLSafe(safeString); // true\n```",
+ "itemtype": "method",
+ "name": "isHTMLSafe",
+ "static": 1,
+ "return": {
+ "description": "`true` if the string was decorated with `htmlSafe`, `false` otherwise.",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/template",
+ "module": "@ember/template"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
+ "line": 198,
+ "description": "Detects if a string was decorated using `trustHTML`.\n\n```javascript\nimport { trustHTML, isTrustedHTML } from '@ember/template';\n\nlet plainString = 'plain string';\nlet safeString = trustHTML('someValue
');\n\nisTrustedHTML(plainString); // false\nisTrustedHTML(safeString); // true\n```",
+ "itemtype": "method",
+ "name": "isTrustedHTML",
+ "static": 1,
+ "return": {
+ "description": "`true` if the string was decorated with `htmlSafe`, `false` otherwise.",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/template",
+ "module": "@ember/template"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/template",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/test.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/test.json
new file mode 100644
index 000000000..f858b38f5
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/test.json
@@ -0,0 +1,395 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/test",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/test",
+ "shortname": "@ember/test",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/test",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 64,
+ "description": "This hook defers the readiness of the application, so that you can start\nthe app when your tests are ready to run. It also sets the router's\nlocation to 'none', so that the window's location will not be modified\n(preventing both accidental leaking of state between tests and interference\nwith your testing framework). `setupForTesting` should only be called after\nsetting a custom `router` class (for example `App.Router = Router.extend(`).\n\nExample:\n\n```\nApp.setupForTesting();\n```",
+ "itemtype": "method",
+ "name": "setupForTesting",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ },
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 103,
+ "description": "This injects the test helpers into the `helperContainer` object. If an object is provided\nit will be used as the helperContainer. If `helperContainer` is not set it will default\nto `window`. If a function of the same name has already been defined it will be cached\n(so that it can be reset if the helper is removed with `unregisterHelper` or\n`removeTestHelpers`).\n\nAny callbacks registered with `onInjectHelpers` will be called once the\nhelpers have been injected.\n\nExample:\n```\nApp.injectTestHelpers();\n```",
+ "itemtype": "method",
+ "name": "injectTestHelpers",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ },
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 148,
+ "description": "This removes all helpers that have been registered, and resets and functions\nthat were overridden by the helpers.\n\nExample:\n\n```javascript\nApp.removeTestHelpers();\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "removeTestHelpers",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/current_path.ts",
+ "line": 9,
+ "description": "Returns the current path.\n\nExample:\n\n```javascript\nfunction validateURL() {\nequal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n}\n\nclick('#some-link-id').then(validateURL);\n```",
+ "itemtype": "method",
+ "name": "currentPath",
+ "return": {
+ "description": "The currently active path.",
+ "type": "Object"
+ },
+ "since": "1.5.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/current_route_name.ts",
+ "line": 8,
+ "description": "Returns the currently active route name.\n\nExample:\n\n```javascript\nfunction validateRouteName() {\nequal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n}\nvisit('/some/path').then(validateRouteName)\n```",
+ "itemtype": "method",
+ "name": "currentRouteName",
+ "return": {
+ "description": "The name of the currently active route.",
+ "type": "Object"
+ },
+ "since": "1.5.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/current_url.ts",
+ "line": 9,
+ "description": "Returns the current URL.\n\nExample:\n\n```javascript\nfunction validateURL() {\nequal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n}\n\nclick('#some-link-id').then(validateURL);\n```",
+ "itemtype": "method",
+ "name": "currentURL",
+ "return": {
+ "description": "The currently active URL.",
+ "type": "Object"
+ },
+ "since": "1.5.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/pause_test.ts",
+ "line": 9,
+ "description": "Resumes a test paused by `pauseTest`.",
+ "itemtype": "method",
+ "name": "resumeTest",
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/pause_test.ts",
+ "line": 22,
+ "description": "Pauses the current test - this is useful for debugging while testing or for test-driving.\nIt allows you to inspect the state of your application at any point.\nExample (The test will pause before clicking the button):\n\n```javascript\nvisit('/')\nreturn pauseTest();\nclick('.btn');\n```\n\nYou may want to turn off the timeout before pausing.\n\nqunit (timeout available to use as of 2.4.0):\n\n```\nvisit('/');\nassert.timeout(0);\nreturn pauseTest();\nclick('.btn');\n```\n\nmocha (timeout happens automatically as of ember-mocha v0.14.0):\n\n```\nvisit('/');\nthis.timeout(0);\nreturn pauseTest();\nclick('.btn');\n```",
+ "since": "1.9.0",
+ "itemtype": "method",
+ "name": "pauseTest",
+ "return": {
+ "description": "A promise that will never resolve",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/visit.ts",
+ "line": 6,
+ "description": "Loads a route, sets up any controllers, and renders any templates associated\nwith the route as though a real user had triggered the route change while\nusing your app.\n\nExample:\n\n```javascript\nvisit('posts/index').then(function() {\n // assert something\n});\n```",
+ "itemtype": "method",
+ "name": "visit",
+ "params": [
+ {
+ "name": "url",
+ "description": "the name of the route",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "RSVP.Promise"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/helpers/wait.ts",
+ "line": 12,
+ "description": "Causes the run loop to process any pending events. This is used to ensure that\nany async operations from other helpers (or your assertions) have been processed.\n\nThis is most often used as the return value for the helper functions (see 'click',\n'fillIn','visit',etc). However, there is a method to register a test helper which\nutilizes this method without the need to actually call `wait()` in your helpers.\n\nThe `wait` helper is built into `registerAsyncHelper` by default. You will not need\nto `return app.testHelpers.wait();` - the wait behavior is provided for you.\n\nExample:\n\n```javascript\nimport { registerAsyncHelper } from '@ember/test';\n\nregisterAsyncHelper('loginUser', function(app, username, password) {\n visit('secured/path/here')\n .fillIn('#username', username)\n .fillIn('#password', password)\n .click('.submit');\n});\n```",
+ "itemtype": "method",
+ "name": "wait",
+ "params": [
+ {
+ "name": "value",
+ "description": "The value to be returned.",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "Promise that resolves to the passed value.",
+ "type": "RSVP.Promise"
+ },
+ "access": "public",
+ "tagname": "",
+ "since": "1.0.0",
+ "class": "@ember/test",
+ "module": "ember"
+ },
+ {
+ "file": "packages/ember-testing/lib/test/helpers.ts",
+ "line": 16,
+ "description": "`registerHelper` is used to register a test helper that will be injected\nwhen `App.injectTestHelpers` is called.\n\nThe helper method will always be called with the current Application as\nthe first parameter.\n\nFor example:\n\n```javascript\nimport { registerHelper } from '@ember/test';\nimport { run } from '@ember/runloop';\n\nregisterHelper('boot', function(app) {\n run(app, app.advanceReadiness);\n});\n```\n\nThis helper can later be called without arguments because it will be\ncalled with `app` as the first parameter.\n\n```javascript\nimport Application from '@ember/application';\n\nApp = Application.create();\nApp.injectTestHelpers();\nboot();\n```",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "registerHelper",
+ "params": [
+ {
+ "name": "name",
+ "description": "The name of the helper method to add.",
+ "type": "String"
+ },
+ {
+ "name": "helperMethod",
+ "description": "",
+ "type": "Function"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "class": "@ember/test",
+ "module": "@ember/test"
+ },
+ {
+ "file": "packages/ember-testing/lib/test/helpers.ts",
+ "line": 63,
+ "description": "`registerAsyncHelper` is used to register an async test helper that will be injected\nwhen `App.injectTestHelpers` is called.\n\nThe helper method will always be called with the current Application as\nthe first parameter.\n\nFor example:\n\n```javascript\nimport { registerAsyncHelper } from '@ember/test';\nimport { run } from '@ember/runloop';\n\nregisterAsyncHelper('boot', function(app) {\n run(app, app.advanceReadiness);\n});\n```\n\nThe advantage of an async helper is that it will not run\nuntil the last async helper has completed. All async helpers\nafter it will wait for it complete before running.\n\n\nFor example:\n\n```javascript\nimport { registerAsyncHelper } from '@ember/test';\n\nregisterAsyncHelper('deletePost', function(app, postId) {\n click('.delete-' + postId);\n});\n\n// ... in your test\nvisit('/post/2');\ndeletePost(2);\nvisit('/post/3');\ndeletePost(3);\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "registerAsyncHelper",
+ "params": [
+ {
+ "name": "name",
+ "description": "The name of the helper method to add.",
+ "type": "String"
+ },
+ {
+ "name": "helperMethod",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "since": "1.2.0",
+ "class": "@ember/test",
+ "module": "@ember/test"
+ },
+ {
+ "file": "packages/ember-testing/lib/test/helpers.ts",
+ "line": 116,
+ "description": "Remove a previously added helper method.\n\nExample:\n\n```javascript\nimport { unregisterHelper } from '@ember/test';\n\nunregisterHelper('wait');\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "unregisterHelper",
+ "static": 1,
+ "params": [
+ {
+ "name": "name",
+ "description": "The helper to remove.",
+ "type": "String"
+ }
+ ],
+ "class": "@ember/test",
+ "module": "@ember/test"
+ },
+ {
+ "file": "packages/ember-testing/lib/test/waiters.ts",
+ "line": 7,
+ "description": "This allows ember-testing to play nicely with other asynchronous\nevents, such as an application that is waiting for a CSS3\ntransition or an IndexDB transaction. The waiter runs periodically\nafter each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\nuntil the returning result is truthy. After the waiters finish, the next async helper\nis executed and the process repeats.\n\nFor example:\n\n```javascript\nimport { registerWaiter } from '@ember/test';\n\nregisterWaiter(function() {\n return myPendingTransactions() === 0;\n});\n```\nThe `context` argument allows you to optionally specify the `this`\nwith which your callback will be invoked.\n\nFor example:\n\n```javascript\nimport { registerWaiter } from '@ember/test';\n\nregisterWaiter(MyDB, MyDB.hasPendingTransactions);\n```",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "registerWaiter",
+ "params": [
+ {
+ "name": "context",
+ "description": "(optional)",
+ "type": "Object"
+ },
+ {
+ "name": "callback",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "since": "1.2.0",
+ "class": "@ember/test",
+ "module": "@ember/test"
+ },
+ {
+ "file": "packages/ember-testing/lib/test/waiters.ts",
+ "line": 70,
+ "description": "`unregisterWaiter` is used to unregister a callback that was\nregistered with `registerWaiter`.",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "unregisterWaiter",
+ "params": [
+ {
+ "name": "context",
+ "description": "(optional)",
+ "type": "Object"
+ },
+ {
+ "name": "callback",
+ "description": "",
+ "type": "Function"
+ }
+ ],
+ "since": "1.2.0",
+ "class": "@ember/test",
+ "module": "@ember/test"
+ },
+ {
+ "file": "packages/ember-testing/lib/test/waiters.ts",
+ "line": 98,
+ "description": "Iterates through each registered test waiter, and invokes\nits callback. If any waiter returns false, this method will return\ntrue indicating that the waiters have not settled yet.\n\nThis is generally used internally from the acceptance/integration test\ninfrastructure.",
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "itemtype": "method",
+ "name": "checkWaiters",
+ "class": "@ember/test",
+ "module": "@ember/test"
+ }
+ ],
+ "events": [],
+ "properties": [
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 23,
+ "description": "This property contains the testing helpers for the current application. These\nare created once you call `injectTestHelpers` on your `Application`\ninstance. The included helpers are also available on the `window` object by\ndefault, but can be used from this object on the individual application also.",
+ "itemtype": "property",
+ "name": "testHelpers",
+ "type": "{Object}",
+ "default": "{}",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ },
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 36,
+ "description": "This property will contain the original methods that were registered\non the `helperContainer` before `injectTestHelpers` is called.\n\nWhen `removeTestHelpers` is called, these methods are restored to the\n`helperContainer`.",
+ "itemtype": "property",
+ "name": "originalMethods",
+ "type": "{Object}",
+ "default": "{}",
+ "access": "private",
+ "tagname": "",
+ "since": "1.3.0",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ },
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 51,
+ "description": "This property indicates whether or not this application is currently in\ntesting mode. This is set when `setupForTesting` is called on the current\napplication.",
+ "itemtype": "property",
+ "name": "testing",
+ "type": "{Boolean}",
+ "default": "false",
+ "since": "1.3.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ },
+ {
+ "file": "packages/ember-testing/lib/ext/application.ts",
+ "line": 91,
+ "description": "This will be used as the container to inject the test helpers into. By\ndefault the helpers are injected into `window`.",
+ "itemtype": "property",
+ "name": "helperContainer",
+ "type": "{Object} The object to be used for test helpers.",
+ "default": "window",
+ "since": "1.2.0",
+ "access": "private",
+ "tagname": "",
+ "class": "@ember/test",
+ "module": "ember",
+ "namespace": "Ember.Test"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/test",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/utils.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/utils.json
new file mode 100644
index 000000000..502614e37
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@ember/utils.json
@@ -0,0 +1,213 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/utils",
+ "type": "class",
+ "attributes": {
+ "name": "@ember/utils",
+ "shortname": "@ember/utils",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember/utils",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/utils/lib/compare.ts",
+ "line": 53,
+ "description": "Compares two javascript values and returns:\n\n - -1 if the first is smaller than the second,\n - 0 if both are equal,\n - 1 if the first is greater than the second.\n\n ```javascript\n import { compare } from '@ember/utils';\n\n compare('hello', 'hello'); // 0\n compare('abc', 'dfg'); // -1\n compare(2, 1); // 1\n ```\n\nIf the types of the two objects are different precedence occurs in the\nfollowing order, with types earlier in the list considered `<` types\nlater in the list:\n\n - undefined\n - null\n - boolean\n - number\n - string\n - array\n - object\n - instance\n - function\n - class\n - date\n\n ```javascript\n import { compare } from '@ember/utils';\n\n compare('hello', 50); // 1\n compare(50, 'hello'); // -1\n ```",
+ "itemtype": "method",
+ "name": "compare",
+ "static": 1,
+ "params": [
+ {
+ "name": "v",
+ "description": "First value to compare",
+ "type": "Object"
+ },
+ {
+ "name": "w",
+ "description": "Second value to compare",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "-1 if v < w, 0 if v = w and 1 if v > w.",
+ "type": "Number"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ },
+ {
+ "file": "packages/@ember/utils/lib/is-equal.ts",
+ "line": 4,
+ "description": "Compares two objects, returning true if they are equal.\n\n```javascript\nimport { isEqual } from '@ember/utils';\n\nisEqual('hello', 'hello'); // true\nisEqual(1, 2); // false\n```\n\n`isEqual` is a more specific comparison than a triple equal comparison.\nIt will call the `isEqual` instance method on the objects being\ncompared, allowing finer control over when objects should be considered\nequal to each other.\n\n```javascript\nimport { isEqual } from '@ember/utils';\nimport EmberObject from '@ember/object';\n\nclass Person extends EmberObject {\n isEqual(other: Person) { return this.ssn == other.ssn; }\n}\n\nlet personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\nlet personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n\nisEqual(personA, personB); // true\n```\n\nDue to the expense of array comparisons, collections will never be equal to\neach other even if each of their items are equal to each other.\n\n```javascript\nimport { isEqual } from '@ember/utils';\n\nisEqual([4, 2], [4, 2]); // false\n```",
+ "itemtype": "method",
+ "name": "isEqual",
+ "static": 1,
+ "params": [
+ {
+ "name": "a",
+ "description": "first object to compare",
+ "type": "Object"
+ },
+ {
+ "name": "b",
+ "description": "second object to compare",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ },
+ {
+ "file": "packages/@ember/utils/lib/is_blank.ts",
+ "line": 5,
+ "description": "A value is blank if it is empty or a whitespace string.\n\n```javascript\nimport { isBlank } from '@ember/utils';\n\nisBlank(null); // true\nisBlank(undefined); // true\nisBlank(''); // true\nisBlank([]); // true\nisBlank('\\n\\t'); // true\nisBlank(' '); // true\nisBlank({}); // false\nisBlank('\\n\\t Hello'); // false\nisBlank('Hello world'); // false\nisBlank([1,2,3]); // false\n```",
+ "itemtype": "method",
+ "name": "isBlank",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "Value to test",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "since": "1.5.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ },
+ {
+ "file": "packages/@ember/utils/lib/is_empty.ts",
+ "line": 6,
+ "description": "Verifies that a value is `null` or `undefined`, an empty string, or an empty\narray.\n\nConstrains the rules on `isNone` by returning true for empty strings and\nempty arrays.\n\nIf the value is an object with a `size` property of type number, it is used\nto check emptiness.\n\n```javascript\nisEmpty(null); // true\nisEmpty(undefined); // true\nisEmpty(''); // true\nisEmpty([]); // true\nisEmpty({ size: 0}); // true\nisEmpty({}); // false\nisEmpty('Adam Hawkins'); // false\nisEmpty([0,1,2]); // false\nisEmpty('\\n\\t'); // false\nisEmpty(' '); // false\nisEmpty({ size: 1 }) // false\nisEmpty({ size: () => 0 }) // false\n```",
+ "itemtype": "method",
+ "name": "isEmpty",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "Value to test",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ },
+ {
+ "file": "packages/@ember/utils/lib/is_none.ts",
+ "line": 4,
+ "description": "Returns true if the passed value is null or undefined. This avoids errors\nfrom JSLint complaining about use of ==, which can be technically\nconfusing.\n\n```javascript\nisNone(null); // true\nisNone(undefined); // true\nisNone(''); // false\nisNone([]); // false\nisNone(function() {}); // false\n```",
+ "itemtype": "method",
+ "name": "isNone",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "Value to test",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ },
+ {
+ "file": "packages/@ember/utils/lib/is_present.ts",
+ "line": 5,
+ "description": "A value is present if it not `isBlank`.\n\n```javascript\nisPresent(null); // false\nisPresent(undefined); // false\nisPresent(''); // false\nisPresent(' '); // false\nisPresent('\\n\\t'); // false\nisPresent([]); // false\nisPresent({ length: 0 }); // false\nisPresent(false); // true\nisPresent(true); // true\nisPresent('string'); // true\nisPresent(0); // true\nisPresent(function() {}); // true\nisPresent({}); // true\nisPresent('\\n\\t Hello'); // true\nisPresent([1, 2, 3]); // true\n```",
+ "itemtype": "method",
+ "name": "isPresent",
+ "static": 1,
+ "params": [
+ {
+ "name": "obj",
+ "description": "Value to test",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "since": "1.8.0",
+ "access": "public",
+ "tagname": "",
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ },
+ {
+ "file": "packages/@ember/utils/lib/type-of.ts",
+ "line": 40,
+ "description": "Returns a consistent type for the passed object.\n\nUse this instead of the built-in `typeof` to get the type of an item.\nIt will return the same result across all browsers and includes a bit\nmore detail. Here is what will be returned:\n\n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'class' | An Ember class (created using EmberObject.extend()) |\n | 'instance' | An Ember object instance |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object not inheriting from EmberObject |\n\nExamples:\n\n```javascript\nimport { A } from '@ember/array';\nimport { typeOf } from '@ember/utils';\nimport EmberObject from '@ember/object';\n\ntypeOf(); // 'undefined'\ntypeOf(null); // 'null'\ntypeOf(undefined); // 'undefined'\ntypeOf('michael'); // 'string'\ntypeOf(new String('michael')); // 'string'\ntypeOf(101); // 'number'\ntypeOf(new Number(101)); // 'number'\ntypeOf(true); // 'boolean'\ntypeOf(new Boolean(true)); // 'boolean'\ntypeOf(A); // 'function'\ntypeOf(A()); // 'array'\ntypeOf([1, 2, 90]); // 'array'\ntypeOf(/abc/); // 'regexp'\ntypeOf(new Date()); // 'date'\ntypeOf(event.target.files); // 'filelist'\ntypeOf(EmberObject.extend()); // 'class'\ntypeOf(EmberObject.create()); // 'instance'\ntypeOf(new Error('teamocil')); // 'error'\n\n// 'normal' JavaScript object\ntypeOf({ a: 'b' }); // 'object'\n```",
+ "itemtype": "method",
+ "name": "typeOf",
+ "params": [
+ {
+ "name": "item",
+ "description": "the item to check"
+ }
+ ],
+ "return": {
+ "description": "the type",
+ "type": "String"
+ },
+ "access": "public",
+ "tagname": "",
+ "static": 1,
+ "class": "@ember/utils",
+ "module": "@ember/utils"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@ember/utils",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-6.12.0-alpha.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@glimmer/tracking.json b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@glimmer/tracking.json
new file mode 100644
index 000000000..2ecd7468c
--- /dev/null
+++ b/json-docs/ember/6.12.0-alpha.1/classes/ember-6.12.0-alpha.1-@glimmer/tracking.json
@@ -0,0 +1,213 @@
+{
+ "data": {
+ "id": "ember-6.12.0-alpha.1-@glimmer/tracking",
+ "type": "class",
+ "attributes": {
+ "name": "@glimmer/tracking",
+ "shortname": "@glimmer/tracking",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@glimmer/tracking",
+ "namespace": "",
+ "methods": [
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts",
+ "line": 22,
+ "description": "Marks a property as tracked. By default, values that are rendered in Ember app\ntemplates are _static_, meaning that updates to them won't cause the\napplication to rerender. Marking a property as tracked means that when that\nproperty changes, any templates that used that property, directly or\nindirectly, will rerender. For instance, consider this component:\n\n```handlebars\nCount: {{this.count}}
\nTimes Ten: {{this.timesTen}}
\n\n \n
\n```\n\n```javascript\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\nimport { action } from '@ember/object';\n\nexport default class CounterComponent extends Component {\n @tracked count = 0;\n\n get timesTen() {\n return this.count * 10;\n }\n\n @action\n plusOne() {\n this.count += 1;\n }\n}\n```\n\nBoth the `{{this.count}}` and the `{{this.timesTen}}` properties in the\ntemplate will update whenever the button is clicked. Any tracked properties\nthat are used in any way to calculate a value that is used in the template\nwill cause a rerender when updated - this includes through method calls and\nother means:\n\n```javascript\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nclass Entry {\n @tracked name;\n @tracked phoneNumber;\n\n constructor(name, phoneNumber) {\n this.name = name;\n this.phoneNumber = phoneNumber;\n }\n}\n\nexport default class PhoneBookComponent extends Component {\n entries = [\n new Entry('Pizza Palace', 5551234),\n new Entry('1st Street Cleaners', 5554321),\n new Entry('Plants R Us', 5552468),\n ];\n\n // Any usage of this property will update whenever any of the names in the\n // entries arrays are updated\n get names() {\n return this.entries.map(e => e.name);\n }\n\n // Any usage of this property will update whenever any of the numbers in the\n // entries arrays are updated\n get numbers() {\n return this.getFormattedNumbers();\n }\n\n getFormattedNumbers() {\n return this.entries\n .map(e => e.phoneNumber)\n .map(number => {\n let numberString = '' + number;\n\n return numberString.slice(0, 3) + '-' + numberString.slice(3);\n });\n }\n}\n```\n\nIt's important to note that setting tracked properties will always trigger an\nupdate, even if the property is set to the same value as it was before.\n\n```js\nlet entry = new Entry('Pizza Palace', 5551234);\n\n// if entry was used when rendering, this would cause a rerender, even though\n// the name is being set to the same value as it was before\nentry.name = entry.name;\n```\n\n`tracked` can also be used with the classic Ember object model in a similar\nmanner to classic computed properties:\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nconst Entry = EmberObject.extend({\n name: tracked(),\n phoneNumber: tracked()\n});\n```\n\nOften this is unnecessary, but to ensure robust auto-tracking behavior it is\nadvisable to mark tracked state appropriately wherever possible.\n\nThis form of `tracked` also accepts an optional configuration object\ncontaining either an initial `value` or an `initializer` function (but not\nboth).\n\n```javascript\nimport EmberObject from '@ember/object';\nimport { tracked } from '@glimmer/tracking';\n\nconst Entry = EmberObject.extend({\n name: tracked({ value: 'Zoey' }),\n favoriteSongs: tracked({\n initializer: () => ['Raspberry Beret', 'Time After Time']\n })\n});\n```",
+ "itemtype": "method",
+ "name": "tracked",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/tracking"
+ },
+ {
+ "file": "packages/@ember/-internals/glimmer/lib/glimmer-tracking-docs.ts",
+ "line": 158,
+ "description": "Gives the getter a caching behavior. The return value of the getter\nwill be cached until any of the properties it is entangled with\nare invalidated. This is useful when a getter is expensive and\nused very often.\n\nFor instance, in this `GuestList` class, we have the `sortedGuests`\ngetter that sorts the guests alphabetically:\n\n```javascript\n import { tracked } from '@glimmer/tracking';\n\n class GuestList {\n @tracked guests = ['Zoey', 'Tomster'];\n\n get sortedGuests() {\n return this.guests.slice().sort()\n }\n }\n```\n\nEvery time `sortedGuests` is accessed, a new array will be created and sorted,\nbecause JavaScript getters do not cache by default. When the guest list\nis small, like the one in the example, this is not a problem. However, if\nthe guest list were to grow very large, it would mean that we would be doing\na large amount of work each time we accessed `sortedGuests`. With `@cached`,\nwe can cache the value instead:\n\n```javascript\n import { tracked, cached } from '@glimmer/tracking';\n\n class GuestList {\n @tracked guests = ['Zoey', 'Tomster'];\n\n @cached\n get sortedGuests() {\n return this.guests.slice().sort()\n }\n }\n```\n\nNow the `sortedGuests` getter will be cached based on autotracking.\nIt will only rerun and create a new sorted array when the guests tracked\nproperty is updated.\n\n\n### Tradeoffs\n\nOveruse is discouraged.\n\nIn general, you should avoid using `@cached` unless you have confirmed that\nthe getter you are decorating is computationally expensive, since `@cached`\nadds a small amount of overhead to the getter.\nWhile the individual costs are small, a systematic use of the `@cached`\ndecorator can add up to a large impact overall in your app.\nMany getters and tracked properties are only accessed once during rendering,\nand then never rerendered, so adding `@cached` when unnecessary can\nnegatively impact performance.\n\nAlso, `@cached` may rerun even if the values themselves have not changed,\nsince tracked properties will always invalidate.\nFor example updating an integer value from `5` to an other `5` will trigger\na rerun of the cached properties building from this integer.\n\nAvoiding a cache invalidation in this case is not something that can\nbe achieved on the `@cached` decorator itself, but rather when updating\nthe underlying tracked values, by applying some diff checking mechanisms:\n\n```javascript\nif (nextValue !== this.trackedProp) {\n this.trackedProp = nextValue;\n}\n```\n\nHere equal values won't update the property, therefore not triggering\nthe subsequent cache invalidations of the `@cached` properties who were\nusing this `trackedProp`.\n\nRemember that setting tracked data should only be done during initialization,\nor as the result of a user action. Setting tracked data during render\n(such as in a getter), is not supported.",
+ "itemtype": "method",
+ "name": "cached",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/tracking"
+ },
+ {
+ "file": "packages/@ember/-internals/metal/lib/cached.ts",
+ "line": 7,
+ "decorator": "Gives the getter a caching behavior. The return value of the getter\n will be cached until any of the properties it is entangled with\n are invalidated. This is useful when a getter is expensive and\n used very often.\n\n For instance, in this `GuestList` class, we have the `sortedGuests`\n getter that sorts the guests alphabetically:\n\n ```javascript\n import { tracked } from '---AT-PLACEHOLDER---glimmer/tracking';\n\n class GuestList {\n ---AT-PLACEHOLDER---tracked guests = ['Zoey', 'Tomster'];\n\n get sortedGuests() {\n return this.guests.slice().sort()\n }\n }\n ```\n\n Every time `sortedGuests` is accessed, a new array will be created and sorted,\n because JavaScript getters do not cache by default. When the guest list\n is small, like the one in the example, this is not a problem. However, if\n the guest list were to grow very large, it would mean that we would be doing\n a large amount of work each time we accessed `sortedGuests`. With `@cached`,\n we can cache the value instead:\n\n ```javascript\n import { tracked, cached } from '---AT-PLACEHOLDER---glimmer/tracking';\n\n class GuestList {\n ---AT-PLACEHOLDER---tracked guests = ['Zoey', 'Tomster'];\n\n ---AT-PLACEHOLDER---cached\n get sortedGuests() {\n return this.guests.slice().sort()\n }\n }\n ```\n\n Now the `sortedGuests` getter will be cached based on autotracking.\n It will only rerun and create a new sorted array when the guests tracked\n property is updated.\n\n\n ### Tradeoffs\n\n Overuse is discouraged.\n\n In general, you should avoid using `@cached` unless you have confirmed that\n the getter you are decorating is computationally expensive, since `@cached`\n adds a small amount of overhead to the getter.\n While the individual costs are small, a systematic use of the `@cached`\n decorator can add up to a large impact overall in your app.\n Many getters and tracked properties are only accessed once during rendering,\n and then never rerendered, so adding `@cached` when unnecessary can\n negatively impact performance.\n\n Also, `@cached` may rerun even if the values themselves have not changed,\n since tracked properties will always invalidate.\n For example updating an integer value from `5` to an other `5` will trigger\n a rerun of the cached properties building from this integer.\n\n Avoiding a cache invalidation in this case is not something that can\n be achieved on the `@cached` decorator itself, but rather when updating\n the underlying tracked values, by applying some diff checking mechanisms:\n\n ```javascript\n if (nextValue !== this.trackedProp) {\n this.trackedProp = nextValue;\n }\n ```\n\n Here equal values won't update the property, therefore not triggering\n the subsequent cache invalidations of the `@cached` properties who were\n using this `trackedProp`.\n\n Remember that setting tracked data should only be done during initialization, \n or as the result of a user action. Setting tracked data during render\n (such as in a getter), is not supported.",
+ "itemtype": "method",
+ "name": "cached",
+ "static": 1,
+ "access": "public",
+ "tagname": "",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/tracking/primitives/cache"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/component/template-only.ts",
+ "line": 59,
+ "description": "This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\nis able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\nwithout adding a wrapping `` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\nSpecifically, this means that the template will be rendered as \"outer HTML\".\n\nIn general, this method will be used by build time tooling and would not be directly written in an application. However,\nat times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\nto use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n`template-only-glimmer-components` optional feature.",
+ "example": [
+ "\n\n```js\nimport { templateOnlyComponent } from '@glimmer/runtime';\n\nexport default templateOnlyComponent();\n```"
+ ],
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "templateOnly",
+ "params": [
+ {
+ "name": "moduleName",
+ "description": "the module name that the template only component represents, this will be used for debugging purposes",
+ "type": "String"
+ }
+ ],
+ "category": [
+ "EMBER_GLIMMER_SET_COMPONENT_TEMPLATE"
+ ],
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/component"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/helpers/array.ts",
+ "line": 8,
+ "description": "Use the `{{array}}` helper to create an array to pass as an option to your\ncomponents.\n\n```handlebars\n
\n```\n or\n```handlebars\n{{my-component people=(array\n 'Tom Dale'\n 'Yehuda Katz'\n this.myOtherPerson)\n}}\n```\n\nWould result in an object such as:\n\n```js\n['Tom Dale', 'Yehuda Katz', this.get('myOtherPerson')]\n```\n\nWhere the 3rd item in the array is bound to updates of the `myOtherPerson` property.",
+ "itemtype": "method",
+ "name": "array",
+ "params": [
+ {
+ "name": "options",
+ "description": "",
+ "type": "Array"
+ }
+ ],
+ "return": {
+ "description": "Array",
+ "type": "Array"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/component"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/helpers/concat.ts",
+ "line": 18,
+ "description": "Concatenates the given arguments into a string.\n\nExample:\n\n```handlebars\n{{some-component name=(concat firstName \" \" lastName)}}\n\n{{! would pass name=\"
\" to the component}}\n```\n\nor for angle bracket invocation, you actually don't need concat at all.\n\n```handlebars\n\n```",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "concat",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/component"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/helpers/fn.ts",
+ "line": 13,
+ "description": "The `fn` helper allows you to ensure a function that you are passing off\nto another component, helper, or modifier has access to arguments that are\navailable in the template.\n\nFor example, if you have an `each` helper looping over a number of items, you\nmay need to pass a function that expects to receive the item as an argument\nto a component invoked within the loop. Here's how you could use the `fn`\nhelper to pass both the function and its arguments together:\n\n ```handlebars {data-filename=app/templates/components/items-listing.hbs}\n{{#each @items as |item|}}\n \n{{/each}}\n```\n\n```js {data-filename=app/components/items-list.js}\nimport Component from '@glimmer/component';\nimport { action } from '@ember/object';\n\nexport default class ItemsList extends Component {\n handleSelected = (item) => {\n // ...snip...\n }\n}\n```\n\nIn this case the `display-item` component will receive a normal function\nthat it can invoke. When it invokes the function, the `handleSelected`\nfunction will receive the `item` and any arguments passed, thanks to the\n`fn` helper.\n\nLet's take look at what that means in a couple circumstances:\n\n- When invoked as `this.args.select()` the `handleSelected` function will\n receive the `item` from the loop as its first and only argument.\n- When invoked as `this.args.select('foo')` the `handleSelected` function\n will receive the `item` from the loop as its first argument and the\n string `'foo'` as its second argument.\n\nIn the example above, we used an arrow function to ensure that\n`handleSelected` is properly bound to the `items-list`, but let's explore what\nhappens if we left out the arrow function:\n\n```js {data-filename=app/components/items-list.js}\nimport Component from '@glimmer/component';\n\nexport default class ItemsList extends Component {\n handleSelected(item) {\n // ...snip...\n }\n}\n```\n\nIn this example, when `handleSelected` is invoked inside the `display-item`\ncomponent, it will **not** have access to the component instance. In other\nwords, it will have no `this` context, so please make sure your functions\nare bound (via an arrow function or other means) before passing into `fn`!\n\nSee also [partial application](https://en.wikipedia.org/wiki/Partial_application).",
+ "itemtype": "method",
+ "name": "fn",
+ "access": "public",
+ "tagname": "",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/component"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/helpers/get.ts",
+ "line": 8,
+ "description": "Dynamically look up a property on an object. The second argument to `{{get}}`\nshould have a string value, although it can be bound.\n\nFor example, these two usages are equivalent:\n\n```js {data-filename=app/components/developer-detail.js}\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n name: \"Sandi Metz\",\n language: \"Ruby\"\n }\n}\n```\n\n```handlebars\n{{this.developer.name}}\n{{get this.developer \"name\"}}\n```\n\nIf there were several facts about a person, the `{{get}}` helper can dynamically\npick one:\n\n```handlebars {data-filename=app/templates/application.hbs}\n\n```\n\n```handlebars\n{{get this.developer @factName}}\n```\n\nFor a more complex example, this template would allow the user to switch\nbetween showing the user's height and weight with a click:\n\n```js {data-filename=app/components/developer-detail.js}\nimport Component from '@glimmer/component';\nimport { tracked } from '@glimmer/tracking';\n\nexport default class extends Component {\n @tracked developer = {\n name: \"Sandi Metz\",\n language: \"Ruby\"\n }\n\n @tracked currentFact = 'name'\n\n showFact = (fact) => {\n this.currentFact = fact;\n }\n}\n```\n\n```js {data-filename=app/components/developer-detail.js}\n{{get this.developer this.currentFact}}\n\n\n\n```\n\nThe `{{get}}` helper can also respect mutable values itself. For example:\n\n```js {data-filename=app/components/developer-detail.js}\n\n\n\n\n```\n\nWould allow the user to swap what fact is being displayed, and also edit\nthat fact via a two-way mutable binding.",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "method",
+ "name": "get",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/component"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/helpers/hash.ts",
+ "line": 8,
+ "description": "Use the `{{hash}}` helper to create a hash to pass as an option to your\ncomponents. This is specially useful for contextual components where you can\njust yield a hash:\n\n```handlebars\n{{yield (hash\n name='Sarah'\n title=office\n)}}\n```\n\nWould result in an object such as:\n\n```js\n{ name: 'Sarah', title: this.get('office') }\n```\n\nWhere the `title` is bound to updates of the `office` property.\n\nNote that the hash is an empty object with no prototype chain, therefore\ncommon methods like `toString` are not available in the resulting hash.\nIf you need to use such a method, you can use the `call` or `apply`\napproach:\n\n```js\nfunction toString(obj) {\n return Object.prototype.toString.apply(obj);\n}\n```",
+ "itemtype": "method",
+ "name": "hash",
+ "params": [
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "Hash",
+ "type": "Object"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": "@glimmer/tracking",
+ "module": "@glimmer/component"
+ },
+ {
+ "file": "packages/@glimmer/runtime/lib/modifiers/on.ts",
+ "line": 228,
+ "description": "The `{{on}}` modifier lets you easily add event listeners (it uses\n[EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\ninternally).\n\nFor example, if you'd like to run a function on your component when a `