diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json
new file mode 100644
index 000000000..77c648f60
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json
@@ -0,0 +1,45 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1-",
+ "type": "class",
+ "attributes": {
+ "name": "",
+ "shortname": "",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/ember",
+ "namespace": "",
+ "file": "../ember/src/-private/await.gts",
+ "line": 53,
+ "description": "The component allow you to utilize reactive control flow\nfor asynchronous states in your application.\n\nAwait is ideal for handling \"boundaries\", outside which some state is\nstill allowed to be unresolved and within which it MUST be resolved.\n\n```gjs\nimport { Await } from '@warp-drive/ember';\n\n\n \n <:pending>\n \n \n\n <:error as |error|>\n \n \n\n <:success as |result|>\n
\n ⚠️ This is LEGACY documentation for a feature that is no longer encouraged to be used.\n If starting a new app or thinking of implementing a new adapter, consider writing a\n Handler instead to be used with the RequestManager\n
\n
\n\n The following documentation describes the methods an\n adapter should implement with descriptions around when an\n application might expect these methods to be called.\n\n Methods that are not required are marked as **optional**.",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 39,
+ "description": "`adapter.findRecord` takes a request for a resource of a given `type` and `id` combination\nand should return a `Promise` which fulfills with data for a single resource matching that\n`type` and `id`.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method with the\n`requestType` set to `findRecord`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data for the record.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\n`adapter.findRecord` is called whenever the `store` needs to load, reload, or backgroundReload\nthe resource data for a given `type` and `id`.",
+ "itemtype": "method",
+ "name": "findRecord",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "id",
+ "description": "",
+ "type": "String"
+ },
+ {
+ "name": "snapshot",
+ "description": "",
+ "type": "Snapshot"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 68,
+ "description": "`adapter.findAll` takes a request for resources of a given `type` and should return\n a `Promise` which fulfills with a collection of resource data matching that `type`.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `findAll`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing records for `type`. Existing records for the `type` will not be removed.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\n`adapter.findAll` is called whenever `store.findAll` is asked to reload or backgroundReload.\nThe records in the response are merged with the contents of the store. Existing records for\nthe `type` will not be removed.\n\nSee also `shouldReloadAll` and `shouldBackgroundReloadAll`",
+ "itemtype": "method",
+ "name": "findAll",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "sinceToken",
+ "description": "This parameter is no longer used and will always be null.",
+ "type": "Null"
+ },
+ {
+ "name": "snapshotRecordArray",
+ "description": "an object containing any passed in options,\n adapterOptions, and the ability to access a snapshot for each existing record of the type.",
+ "type": "SnapshotRecordArray"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 105,
+ "description": "`adapter.query` takes a request for resources of a given `type` and should return\n a `Promise` which fulfills with a collection of resource data matching that `type`.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `query`, which should return a `JSON:API` document.\n\nAs with `findAll`, the final result after normalization to `JSON:API` will be added to\nstore via `store.push` where it will merge with any existing records for `type`.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\n`adapter.query` is called whenever `store.query` is called or a previous query result is\nasked to reload.\n\nExisting records for the `type` will not be removed. The key difference is in the result\nreturned by the `store`. For `findAll` the result is all known records of the `type`,\nwhile for `query` it will only be the records returned from `adapter.query`.",
+ "itemtype": "method",
+ "name": "query",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "query",
+ "description": "",
+ "type": "Object"
+ },
+ {
+ "name": "recordArray",
+ "description": "",
+ "type": "CollectionRecordArray"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 144,
+ "description": "`adapter.queryRecord` takes a request for resource of a given `type` and should return\n a `Promise` which fulfills with data for a single resource matching that `type`.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `queryRecord`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data for the returned record.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.",
+ "itemtype": "method",
+ "name": "queryRecord",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "query",
+ "description": ""
+ },
+ {
+ "name": "options",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 174,
+ "description": "`adapter.createRecord` takes a request to create a resource of a given `type` and should\nreturn a `Promise` which fulfills with data for the newly created resource.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `createRecord`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data for the record.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\nIf the adapter rejects or throws an error the record will enter an error state and the attributes\nthat had attempted to be saved will still be considered dirty.\n\n### InvalidErrors\n\nWhen rejecting a `createRecord` request due to validation issues during save (typically a 422 status code),\nyou may throw an `InvalidError`.\n\nThrowing an `InvalidError` makes per-attribute errors available for records to use in the UI as needed.\nRecords can also use this information to mark themselves as being in an `invalid` state.\nFor more reading [see the RecordData Errors RFC](https://emberjs.github.io/rfcs/0465-record-data-errors.html)\n\n```js\nlet error = new Error(errorMessage);\n\n// these two properties combined\n// alert EmberData to this error being for\n// invalid properties on the record during\n// the request\nerror.isAdapterError = true;\nerror.code = 'InvalidError';\n\n// A JSON:API formatted array of errors\n// See https://jsonapi.org/format/#errors\nerror.errors = [];\n\nthrow error;\n```",
+ "itemtype": "method",
+ "name": "createRecord",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "snapshot",
+ "description": "",
+ "type": "Snapshot"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 227,
+ "description": "`adapter.updateRecord` takes a request to update a resource of a given `type` and should\nreturn a `Promise` which fulfills with the updated data for the resource.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `updateRecord`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data for the record.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\nIf the adapter rejects or throws an error the record will enter an error state and the attributes\nthat had attempted to be saved will still be considered dirty.\n\n### InvalidErrors\n\nWhen rejecting a `createRecord` request due to validation issues during save (typically a 422 status code),\nyou may throw an `InvalidError`.\n\nThrowing an `InvalidError` makes per-attribute errors available for records to use in the UI as needed.\nRecords can also use this information to mark themselves as being in an `invalid` state.\nFor more reading [see the RecordData Errors RFC](https://emberjs.github.io/rfcs/0465-record-data-errors.html)\n\n```js\nlet error = new Error(errorMessage);\n\n// these two properties combined\n// alert EmberData to this error being for\n// invalid properties on the record during\n// the request\nerror.isAdapterError = true;\nerror.code = 'InvalidError';\n\n// A JSON:API formatted array of errors\n// See https://jsonapi.org/format/#errors\nerror.errors = [];\n\nthrow error;\n```",
+ "itemtype": "method",
+ "name": "updateRecord",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "snapshot",
+ "description": "",
+ "type": "Snapshot"
+ }
+ ],
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 279,
+ "description": "`adapter.deleteRecord` takes a request to delete a resource of a given `type` and\nshould return a `Promise` which resolves when that deletion is complete.\n\nUsually the response will be empty, but you may include additional updates in the\nresponse. The response will be fed to the associated serializer's `normalizeResponse` method\nwith the `requestType` set to `deleteRecord`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\nIf the adapter rejects or errors the record will need to be saved again once the reason\nfor the error is addressed in order to persist the deleted state.",
+ "itemtype": "method",
+ "name": "deleteRecord",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "snapshot",
+ "description": "A Snapshot containing the record's current data",
+ "type": "Snapshot"
+ }
+ ],
+ "return": {
+ "description": ""
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 307,
+ "description": "`adapter.findBelongsTo` takes a request to fetch a related resource located at a\n`relatedLink` and should return a `Promise` which fulfills with data for a single\n resource.\n\n⚠️ This method is only called if the store previously received relationship information for a resource\ncontaining a [related link](https://jsonapi.org/format/#document-resource-object-related-resource-links).\n\nIf the cache does not have a `link` for the relationship then `findRecord` will be used if a `type` and `id`\nfor the related resource is known.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `findBelongsTo`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.",
+ "itemtype": "method",
+ "name": "findBelongsTo [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshot",
+ "description": "A Snapshot containing the parent record's current data",
+ "type": "Snapshot"
+ },
+ {
+ "name": "relatedLink",
+ "description": "The link at which the associated resource might be found",
+ "type": "String"
+ },
+ {
+ "name": "relationship",
+ "description": "",
+ "type": "RelationshipSchema"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 344,
+ "description": "`adapter.findHasMany` takes a request to fetch a related resource collection located\n at a `relatedLink` and should return a `Promise` which fulfills with data for that\n collection.\n\n⚠️ This method is only called if the store previously received relationship information for a resource\ncontaining a [related link](https://jsonapi.org/format/#document-resource-object-related-resource-links).\n\nIf the cache does not have a `link` for the relationship but the `type` and `id` of\nrelated resources are known then `findRecord` will be used for each individual related\nresource.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `findHasMany`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.",
+ "itemtype": "method",
+ "name": "findhasMany [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshot",
+ "description": "A Snapshot containing the parent record's current data",
+ "type": "Snapshot"
+ },
+ {
+ "name": "relatedLink",
+ "description": "The link at which the associated resource collection might be found",
+ "type": "String"
+ },
+ {
+ "name": "relationship",
+ "description": "",
+ "type": "RelationshipSchema"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 382,
+ "description": "⚠️ This Method is only called if `coalesceFindRequests` is `true`. The array passed to it is determined\nby the adapter's `groupRecordsForFindMany` method, and will be called once per group returned.\n\n`adapter.findMany` takes a request to fetch a collection of resources and should return a\n`Promise` which fulfills with data for that collection.\n\nThe response will be fed to the associated serializer's `normalizeResponse` method\n with the `requestType` set to `findMany`, which should return a `JSON:API` document.\n\nThe final result after normalization to `JSON:API` will be added to store via `store.push` where\nit will merge with any existing data.\n\n⚠️ If the adapter's response resolves to a false-y value, the associated `serializer.normalizeResponse`\ncall will NOT be made. In this scenario you may need to do at least a minimum amount of response\nprocessing within the adapter.\n\nSee also `groupRecordsForFindMany` and `coalesceFindRequests`",
+ "itemtype": "method",
+ "name": "findMany [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "ids",
+ "description": "An array of the ids of the resources to fetch",
+ "type": "Array"
+ },
+ {
+ "name": "snapshots",
+ "description": "An array of snapshots of the available data for the resources to fetch",
+ "type": "Array"
+ }
+ ],
+ "return": {
+ "description": "a promise resolving with resource data to feed to the associated serializer",
+ "type": "Promise"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 413,
+ "description": "This method provides the ability to generate an ID to assign to a new record whenever `store.createRecord`\nis called if no `id` was provided.\n\nAlternatively you can pass an id into the call to `store.createRecord` directly.\n\n```js\nlet id = generateNewId(type);\nlet newRecord = store.createRecord(type, { id });\n```",
+ "itemtype": "method",
+ "name": "generateIdForRecord [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "type",
+ "description": "The type (or modelName) of record being created",
+ "type": "String"
+ },
+ {
+ "name": "properties",
+ "description": "the properties passed as the second arg to `store.createRecord`"
+ }
+ ],
+ "return": {
+ "description": "a string ID that should be unique (no other models of `type` in the cache should have this `id`)",
+ "type": "String"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 453,
+ "description": "⚠️ This Method is only called if `coalesceFindRequests` is `true`.\n\nThis method allows for you to split pending requests for records into multiple `findMany`\nrequests. It receives an array of snapshots where each snapshot represents a unique record\nrequested via `store.findRecord` during the most recent `runloop` that was not found in the\ncache or needs to be reloaded. It should return an array of groups.\n\nA group is an array of snapshots meant to be fetched together by a single `findMany` request.\n\nBy default if this method is not implemented EmberData will call `findMany` once with all\nrequested records as a single group when `coalesceFindRequests` is `true`.\n\nSee also `findMany` and `coalesceFindRequests`",
+ "itemtype": "method",
+ "name": "groupRecordsForFindMany [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshots",
+ "description": "An array of snapshots",
+ "type": "Array"
+ }
+ ],
+ "return": {
+ "description": "An array of Snapshot arrays",
+ "type": "Array>"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 477,
+ "description": "When a record is already available in the store and is requested again via `store.findRecord`,\nand `reload` is not specified as an option in the request, this method is called to determine\nwhether the record should be reloaded prior to returning the result.\n\nIf `reload` is specified as an option in the request (`true` or `false`) this method will not\nbe called.\n\n```js\nstore.findRecord('user', '1', { reload: false })\n```\n\nThe default behavior if this method is not implemented and the option is not specified is to\nnot reload, the same as a return of `false`.\n\nSee also the documentation for `shouldBackgroundReloadRecord` which defaults to `true`.",
+ "itemtype": "method",
+ "name": "shouldReloadRecord [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshot",
+ "description": "A Snapshot containing the record's current data",
+ "type": "Snapshot"
+ }
+ ],
+ "return": {
+ "description": "true if the record should be reloaded immediately, false otherwise",
+ "type": "Boolean"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 503,
+ "description": "When `store.findAll()` is called without a `reload` option, the adapter\nis presented the opportunity to trigger a new request for records of that type.\n\nIf `reload` is specified as an option in the request (`true` or `false`) this method will not\nbe called.\n\n```js\nstore.findAll('user', { reload: false })\n```\n\nThe default behavior if this method is not implemented and the option is not specified is to\nnot reload, the same as a return of `false`.\n\nNote: the Promise returned by `store.findAll` resolves to the same LiveArray instance\nreturned by `store.peekAll` for that type, and will include all records in the store for\nthe given type, including any previously existing records not returned by the reload request.",
+ "itemtype": "method",
+ "name": "shouldReloadAll [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshotArray",
+ "description": "",
+ "type": "SnapshotRecordArray"
+ }
+ ],
+ "return": {
+ "description": "true if the a new request for all records of the type in SnapshotRecordArray should be made immediately, false otherwise",
+ "type": "Boolean"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 530,
+ "description": "When a record is already available in the store and is requested again via `store.findRecord`,\nand the record does not need to be reloaded prior to return, this method provides the ability\nto specify whether a refresh of the data for the reload should be scheduled to occur in the background.\n\nUsers may explicitly declare a record should/should not be background reloaded by passing\n`backgroundReload: true` or `backgroundReload: false` as an option to the request respectively.\n\n```js\nstore.findRecord('user', '1', { backgroundReload: false })\n```\n\nIf the `backgroundReload` option is not present, this method will be called to determine whether\na backgroundReload should be performed.\n\nThe default behavior if this method is not implemented and the option was not specified is to\nbackground reload, the same as a return of `true`.",
+ "itemtype": "method",
+ "name": "shouldBackgroundReloadRecord [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshot",
+ "description": "A Snapshot containing the record's current data",
+ "type": "Snapshot"
+ }
+ ],
+ "return": {
+ "description": "true if the record should be reloaded in the background, false otherwise",
+ "type": "Boolean"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 557,
+ "description": "When `store.findAll()` is called and a `reload` is not initiated, the adapter\nis presented the opportunity to trigger a new non-blocking (background) request for\nrecords of that type\n\nUsers may explicitly declare that this background request should/should not occur by passing\n`backgroundReload: true` or `backgroundReload: false` as an option to the request respectively.\n\n```js\nstore.findAll('user', { backgroundReload: false })\n```\n\nThe default behavior if this method is not implemented and the option is not specified is to\nperform a reload, the same as a return of `true`.",
+ "itemtype": "method",
+ "name": "shouldBackgroundReloadAll [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "snapshotArray",
+ "description": "",
+ "type": "SnapshotRecordArray"
+ }
+ ],
+ "return": {
+ "description": "true if the a new request for all records of the type in SnapshotRecordArray should be made in the background, false otherwise",
+ "type": "Boolean"
+ },
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 581,
+ "description": "In some situations the adapter may need to perform cleanup when destroyed,\nthat cleanup can be done in `destroy`.\n\nIf not implemented, the store does not inform the adapter of destruction.",
+ "itemtype": "method",
+ "name": "destroy [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ }
+ ],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-adapter-interface.ts",
+ "line": 434,
+ "description": "If your adapter implements `findMany`, setting this to `true` will cause `findRecord`\nrequests triggered within the same `runloop` to be coalesced into one or more calls\nto `adapter.findMany`. The number of calls made and the records contained in each call\ncan be tuned by your adapter's `groupRecordsForHasMany` method.\n\nImplementing coalescing using this flag and the associated methods does not always offer\nthe right level of correctness, timing control or granularity. If your application would\nbe better suited coalescing across multiple types, coalescing for longer than a single runloop,\nor with a more custom request structure, coalescing within your application adapter may prove\nmore effective.",
+ "itemtype": "property",
+ "name": "coalesceFindRequests [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "type": "{boolean} true if the requests to find individual records should be coalesced, false otherwise",
+ "class": " Adapter",
+ "module": "@ember-data/experimental-preview-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/experimental-preview-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Cache.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Cache.json
new file mode 100644
index 000000000..57a8d0997
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Cache.json
@@ -0,0 +1,787 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- Cache",
+ "type": "class",
+ "attributes": {
+ "name": " Cache",
+ "shortname": " Cache",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember-data/experimental-preview-types",
+ "namespace": "",
+ "file": "../core-types/src/cache.ts",
+ "line": 39,
+ "description": "The interface for EmberData Caches.\n\nA Cache handles in-memory storage of Document and Resource\ndata.",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 61,
+ "description": "Cache the response to a request\n\nUnlike `store.push` which has UPSERT\nsemantics, `put` has `replace` semantics similar to\nthe `http` method `PUT`\n\nthe individually cacheable resource data it may contain\nshould upsert, but the document data surrounding it should\nfully replace any existing information\n\nNote that in order to support inserting arbitrary data\nto the cache that did not originate from a request `put`\nshould expect to sometimes encounter a document with only\na `content` member and therefor must not assume the existence\nof `request` and `response` on the document.",
+ "itemtype": "method",
+ "name": "put",
+ "params": [
+ {
+ "name": "doc",
+ "description": "",
+ "type": "StructuredDocument"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "ResourceDocument"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 85,
+ "description": "Update the \"remote\" or \"canonical\" (persisted) state of the Cache\nby merging new information into the existing state.",
+ "itemtype": "method",
+ "name": "patch",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "op",
+ "description": "the operation(s) to perform",
+ "type": "Operation | Operation[]"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 96,
+ "description": "Update the \"local\" or \"current\" (unpersisted) state of the Cache",
+ "itemtype": "method",
+ "name": "mutate",
+ "params": [
+ {
+ "name": "mutation",
+ "description": "",
+ "type": "Mutation"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 106,
+ "description": "Peek resource data from the Cache.\n\nIn development, if the return value\nis JSON the return value\nwill be deep-cloned and deep-frozen\nto prevent mutation thereby enforcing cache\nImmutability.\n\nThis form of peek is useful for implementations\nthat want to feed raw-data from cache to the UI\nor which want to interact with a blob of data\ndirectly from the presentation cache.\n\nAn implementation might want to do this because\nde-referencing records which read from their own\nblob is generally safer because the record does\nnot require retainining connections to the Store\nand Cache to present data on a per-field basis.\n\nThis generally takes the place of `getAttr` as\nan API and may even take the place of `getRelationship`\ndepending on implementation specifics, though this\nlatter usage is less recommended due to the advantages\nof the Graph handling necessary entanglements and\nnotifications for relational data.",
+ "itemtype": "method",
+ "name": "peek",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier | StableDocumentIdentifier"
+ }
+ ],
+ "return": {
+ "description": "the known resource data",
+ "type": "ResourceDocument | ResourceBlob | null"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 141,
+ "description": "Peek remote resource data from the Cache.\n\nThis will give the data provided from the server without any local changes.\n\nIn development, if the return value\nis JSON the return value\nwill be deep-cloned and deep-frozen\nto prevent mutation thereby enforcing cache\nImmutability.\n\nThis form of peek is useful for implementations\nthat want to feed raw-data from cache to the UI\nor which want to interact with a blob of data\ndirectly from the presentation cache.\n\nAn implementation might want to do this because\nde-referencing records which read from their own\nblob is generally safer because the record does\nnot require retainining connections to the Store\nand Cache to present data on a per-field basis.\n\nThis generally takes the place of `getAttr` as\nan API and may even take the place of `getRelationship`\ndepending on implementation specifics, though this\nlatter usage is less recommended due to the advantages\nof the Graph handling necessary entanglements and\nnotifications for relational data.",
+ "itemtype": "method",
+ "name": "peek",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier | StableDocumentIdentifier"
+ }
+ ],
+ "return": {
+ "description": "the known resource data",
+ "type": "ResourceDocument | ResourceBlob | null"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 178,
+ "description": "Peek the Cache for the existing request data associated with\na cacheable request\n\nThis is effectively the reverse of `put` for a request in\nthat it will return the the request, response, and content\nwhereas `peek` will return just the `content`.",
+ "itemtype": "method",
+ "name": "peekRequest",
+ "params": [
+ {
+ "name": "UNKNOWN",
+ "description": "",
+ "type": "StableDocumentIdentifier"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "StructuredDocument | null"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 193,
+ "description": "Push resource data from a remote source into the cache for this identifier",
+ "itemtype": "method",
+ "name": "upsert",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "data",
+ "description": ""
+ },
+ {
+ "name": "hasRecord",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "if `hasRecord` is true then calculated key changes should be returned",
+ "type": "Void | string[]"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 208,
+ "description": "Create a fork of the cache from the current state.\n\nApplications should typically not call this method themselves,\npreferring instead to fork at the Store level, which will\nutilize this method to fork the cache.",
+ "itemtype": "method",
+ "name": "fork",
+ "access": "public",
+ "tagname": "",
+ "return": {
+ "description": "Promise"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 221,
+ "description": "Merge a fork back into a parent Cache.\n\nApplications should typically not call this method themselves,\npreferring instead to merge at the Store level, which will\nutilize this method to merge the caches.",
+ "itemtype": "method",
+ "name": "merge",
+ "params": [
+ {
+ "name": "cache",
+ "description": "",
+ "type": "Cache"
+ }
+ ],
+ "access": "public",
+ "tagname": "",
+ "return": {
+ "description": "Promise"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 235,
+ "description": "Generate the list of changes applied to all\nrecord in the store.\n\nEach individual resource or document that has\nbeen mutated should be described as an individual\n`Change` entry in the returned array.\n\nA `Change` is described by an object containing up to\nthree properties: (1) the `identifier` of the entity that\nchanged; (2) the `op` code of that change being one of\n`upsert` or `remove`, and if the op is `upsert` a `patch`\ncontaining the data to merge into the cache for the given\nentity.\n\nThis `patch` is opaque to the Store but should be understood\nby the Cache and may expect to be utilized by an Adapter\nwhen generating data during a `save` operation.\n\nIt is generally recommended that the `patch` contain only\nthe updated state, ignoring fields that are unchanged\n\n```ts\ninterface Change {\n identifier: StableRecordIdentifier | StableDocumentIdentifier;\n op: 'upsert' | 'remove';\n patch?: unknown;\n}\n```",
+ "itemtype": "method",
+ "name": "diff",
+ "access": "public",
+ "tagname": "",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 273,
+ "description": "Serialize the entire contents of the Cache into a Stream\nwhich may be fed back into a new instance of the same Cache\nvia `cache.hydrate`.",
+ "itemtype": "method",
+ "name": "dump",
+ "return": {
+ "description": "",
+ "type": "Promise"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 284,
+ "description": "hydrate a Cache from a Stream with content previously serialized\nfrom another instance of the same Cache, resolving when hydration\nis complete.\n\nThis method should expect to be called both in the context of restoring\nthe Cache during application rehydration after SSR **AND** at unknown\ntimes during the lifetime of an already booted application when it is\ndesired to bulk-load additional information into the cache. This latter\nbehavior supports optimizing pre/fetching of data for route transitions\nvia data-only SSR modes.",
+ "itemtype": "method",
+ "name": "hydrate",
+ "params": [
+ {
+ "name": "stream",
+ "description": "",
+ "type": "ReadableStream"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Promise"
+ },
+ "access": "public",
+ "tagname": "",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 306,
+ "description": "[LIFECYCLE] Signal to the cache that a new record has been instantiated on the client\n\nIt returns properties from options that should be set on the record during the create\nprocess. This return value behavior is deprecated.",
+ "itemtype": "method",
+ "name": "clientDidCreate",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "createArgs",
+ "description": ""
+ }
+ ],
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 319,
+ "description": "[LIFECYCLE] Signals to the cache that a resource\nwill be part of a save transaction.",
+ "itemtype": "method",
+ "name": "willCommit",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 329,
+ "description": "[LIFECYCLE] Signals to the cache that a resource\nwas successfully updated as part of a save transaction.",
+ "itemtype": "method",
+ "name": "didCommit",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "- the primary identifier that was operated on"
+ },
+ {
+ "name": "data",
+ "description": "- a document in the cache format containing any updated data"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "SingleResourceDataDocument"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 341,
+ "description": "[LIFECYCLE] Signals to the cache that a resource\nwas update via a save transaction failed.",
+ "itemtype": "method",
+ "name": "commitWasRejected",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "errors",
+ "description": ""
+ }
+ ],
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 352,
+ "description": "[LIFECYCLE] Signals to the cache that all data for a resource\nshould be cleared.\n\nThis method is a candidate to become a mutation",
+ "itemtype": "method",
+ "name": "unloadRecord",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 367,
+ "description": "Retrieve the data for an attribute from the cache",
+ "itemtype": "method",
+ "name": "getAttr",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "field",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Unknown"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 378,
+ "description": "Retrieve remote state without any local changes for a specific attribute",
+ "itemtype": "method",
+ "name": "getRemoteAttr",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "field",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Unknown"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 389,
+ "description": "Mutate the data for an attribute in the cache\n\nThis method is a candidate to become a mutation",
+ "itemtype": "method",
+ "name": "setAttr",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "field",
+ "description": ""
+ },
+ {
+ "name": "value",
+ "description": ""
+ }
+ ],
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 402,
+ "description": "Query the cache for the changed attributes of a resource.\n\nReturns a map of field names to tuples of [old, new] values\n\n```\n{ : [, ] }\n```",
+ "itemtype": "method",
+ "name": "changedAttrs",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "{ : [, ] }",
+ "type": "Record"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 418,
+ "description": "Query the cache for whether any mutated attributes exist",
+ "itemtype": "method",
+ "name": "hasChangedAttrs",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 428,
+ "description": "Tell the cache to discard any uncommitted mutations to attributes\n\nThis method is a candidate to become a mutation",
+ "itemtype": "method",
+ "name": "rollbackAttrs",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "the names of fields that were restored",
+ "type": "String[]"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 440,
+ "description": "Query the cache for the changes to relationships of a resource.\n\nReturns a map of relationship names to RelationshipDiff objects.\n\n```ts\ntype RelationshipDiff =\n | {\n kind: 'collection';\n remoteState: StableRecordIdentifier[];\n additions: Set;\n removals: Set;\n localState: StableRecordIdentifier[];\n reordered: boolean;\n }\n | {\n kind: 'resource';\n remoteState: StableRecordIdentifier | null;\n localState: StableRecordIdentifier | null;\n };\n ```",
+ "itemtype": "method",
+ "name": "changedRelationships",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Map"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 469,
+ "description": "Query the cache for whether any mutated attributes exist",
+ "itemtype": "method",
+ "name": "hasChangedRelationships",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 479,
+ "description": "Tell the cache to discard any uncommitted mutations to relationships.\n\nThis will also discard the change on any appropriate inverses.\n\nThis method is a candidate to become a mutation",
+ "itemtype": "method",
+ "name": "rollbackRelationships",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier"
+ }
+ ],
+ "return": {
+ "description": "the names of relationships that were restored",
+ "type": "String[]"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 493,
+ "description": "Query the cache for the current state of a relationship property",
+ "itemtype": "method",
+ "name": "getRelationship",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier"
+ },
+ {
+ "name": "field",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "resource relationship object"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 508,
+ "description": "Query the cache for the server state of a relationship property without any local changes",
+ "itemtype": "method",
+ "name": "getRelationship",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableRecordIdentifier"
+ },
+ {
+ "name": "field",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "resource relationship object"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 526,
+ "description": "Update the cache state for the given resource to be marked\nas locally deleted, or remove such a mark.\n\nThis method is a candidate to become a mutation",
+ "itemtype": "method",
+ "name": "setIsDeleted",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ },
+ {
+ "name": "isDeleted",
+ "description": "",
+ "type": "Boolean"
+ }
+ ],
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 539,
+ "description": "Query the cache for any validation errors applicable to the given resource.",
+ "itemtype": "method",
+ "name": "getErrors",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "JsonApiError[]"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 549,
+ "description": "Query the cache for whether a given resource has any available data",
+ "itemtype": "method",
+ "name": "isEmpty",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 559,
+ "description": "Query the cache for whether a given resource was created locally and not\nyet persisted.",
+ "itemtype": "method",
+ "name": "isNew",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 570,
+ "description": "Query the cache for whether a given resource is marked as deleted (but not\nnecessarily persisted yet).",
+ "itemtype": "method",
+ "name": "isDeleted",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 581,
+ "description": "Query the cache for whether a given resource has been deleted and that deletion\nhas also been persisted.",
+ "itemtype": "method",
+ "name": "isDeletionCommitted",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": ""
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ }
+ ],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/cache.ts",
+ "line": 49,
+ "description": "The Cache Version that this implementation implements.",
+ "type": "{'2'}",
+ "access": "public",
+ "tagname": "",
+ "itemtype": "property",
+ "name": "version",
+ "class": " Cache",
+ "module": "@ember-data/experimental-preview-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/experimental-preview-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CacheHandler.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CacheHandler.json
new file mode 100644
index 000000000..34eed1751
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CacheHandler.json
@@ -0,0 +1,67 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- CacheHandler",
+ "type": "class",
+ "attributes": {
+ "name": " CacheHandler",
+ "shortname": " CacheHandler",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember-data/request",
+ "namespace": "",
+ "file": "../request/src/-private/types.ts",
+ "line": 232,
+ "description": "The CacheHandler is identical to other handlers ecxept that it\nis allowed to return a value synchronously. This is useful for\nfeatures like reducing microtask queueing when de-duping.\n\nA RequestManager may only have one CacheHandler, registered via\n`manager.useCache(CacheHandler)`.",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/request/src/-private/types.ts",
+ "line": 244,
+ "description": "Method to implement to handle requests. Receives the request\ncontext and a nextFn to call to pass-along the request to\nother handlers.",
+ "itemtype": "method",
+ "name": "request",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "context",
+ "description": ""
+ },
+ {
+ "name": "next",
+ "description": ""
+ }
+ ],
+ "class": " CacheHandler",
+ "module": "@ember-data/request"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/request",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CachePolicy.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CachePolicy.json
new file mode 100644
index 000000000..16bd174db
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CachePolicy.json
@@ -0,0 +1,169 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- CachePolicy",
+ "type": "class",
+ "attributes": {
+ "name": " CachePolicy",
+ "shortname": " CachePolicy",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember-data/store",
+ "namespace": "",
+ "file": "../store/src/-private/cache-handler/types.ts",
+ "line": 6,
+ "description": "A service which an application may provide to the store via\nthe store's `lifetimes` property to configure the behavior\nof the CacheHandler.\n\nThe default behavior for request lifetimes is to never expire\nunless manually refreshed via `cacheOptions.reload` or `cacheOptions.backgroundReload`.\n\nImplementing this service allows you to programatically define\nwhen a request should be considered expired.",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/store/src/-private/cache-handler/types.ts",
+ "line": 21,
+ "description": "Invoked to determine if the request may be fulfilled from cache\nif possible.\n\nNote, this is only invoked if the request has a cache-key.\n\nIf no cache entry is found or the entry is hard expired,\nthe request will be fulfilled from the configured request handlers\nand the cache will be updated before returning the response.",
+ "itemtype": "method",
+ "name": "isHardExpired",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableDocumentIdentifier"
+ },
+ {
+ "name": "store",
+ "description": "",
+ "type": "Store"
+ }
+ ],
+ "return": {
+ "description": "true if the request is considered hard expired",
+ "type": "Boolean"
+ },
+ "class": " CachePolicy",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-private/cache-handler/types.ts",
+ "line": 38,
+ "description": "Invoked if `isHardExpired` is false to determine if the request\nshould be update behind the scenes if cache data is already available.\n\nNote, this is only invoked if the request has a cache-key.\n\nIf true, the request will be fulfilled from cache while a backgrounded\nrequest is made to update the cache via the configured request handlers.",
+ "itemtype": "method",
+ "name": "isSoftExpired",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableDocumentIdentifier"
+ },
+ {
+ "name": "store",
+ "description": "",
+ "type": "Store"
+ }
+ ],
+ "return": {
+ "description": "true if the request is considered soft expired",
+ "type": "Boolean"
+ },
+ "class": " CachePolicy",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-private/cache-handler/types.ts",
+ "line": 55,
+ "description": "Invoked when a request will be sent to the configured request handlers.\nThis is invoked for both foreground and background requests.\n\nNote, this is invoked regardless of whether the request has a cache-key.",
+ "itemtype": "method",
+ "name": "willRequest [Optional]",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "request",
+ "description": "",
+ "type": "ImmutableRequestInfo"
+ },
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableDocumentIdentifier | null"
+ },
+ {
+ "name": "store",
+ "description": "",
+ "type": "Store"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "class": " CachePolicy",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-private/cache-handler/types.ts",
+ "line": 70,
+ "description": "Invoked when a request has been fulfilled from the configured request handlers.\nThis is invoked for both foreground and background requests once the cache has\nbeen updated.\n\nNote, this is invoked regardless of whether the request has a cache-key.\n\nIt is best practice to notify the store of any requests marked as invalidated\nso that request subscriptions can reload when needed.\n\n```ts\nstore.notifications.notify(identifier, 'invalidated');\n```\n\nThis allows anything subscribed to the request to be notified of the change\n\ne.g.\n\n```ts\nstore.notifications.subscribe(identifier, (_, type) => {\n if (type === 'invalidated') {\n // do update\n }\n});\n```\n\nNote,",
+ "itemtype": "method",
+ "name": "didRequest [Optional]",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "request",
+ "description": "",
+ "type": "ImmutableRequestInfo"
+ },
+ {
+ "name": "response",
+ "description": "",
+ "type": "ImmutableResponse"
+ },
+ {
+ "name": "identifier",
+ "description": "",
+ "type": "StableDocumentIdentifier | null"
+ },
+ {
+ "name": "store",
+ "description": "",
+ "type": "Store"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "class": " CachePolicy",
+ "module": "@ember-data/store"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/store",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Handler.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Handler.json
new file mode 100644
index 000000000..31dc08fa8
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Handler.json
@@ -0,0 +1,67 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- Handler",
+ "type": "class",
+ "attributes": {
+ "name": " Handler",
+ "shortname": " Handler",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember-data/request",
+ "namespace": "",
+ "file": "../request/src/-private/types.ts",
+ "line": 107,
+ "description": "Requests are fulfilled by handlers. A handler receives the request context\nas well as a `next` function with which to pass along a request to the next\nhandler if it so chooses.\n\nA handler may be any object with a `request` method. This allows both stateful and non-stateful\nhandlers to be utilized.\n\nIf a handler calls `next`, it receives a `Future` which resolves to a `StructuredDocument`\nthat it can then compose how it sees fit with its own response.\n\n```ts\ntype NextFn
): T;\n}\n```\n\n`RequestContext` contains a readonly version of the RequestInfo as well as a few methods for building up the `StructuredDocument` and `Future` that will be part of the response.\n\n```ts\ninterface RequestContext {\n readonly request: RequestInfo;\n\n setStream(stream: ReadableStream | Promise): void;\n setResponse(response: Response | ResponseInfo): void;\n}\n```\n\nA basic `fetch` handler with support for streaming content updates while\nthe download is still underway might look like the following, where we use\n[`response.clone()`](https://developer.mozilla.org/en-US/docs/Web/API/Response/clone) to `tee` the `ReadableStream` into two streams.\n\nA more efficient handler might read from the response stream, building up the\nresponse content before passing along the chunk downstream.\n\n```ts\nconst FetchHandler = {\n async request(context) {\n const response = await fetch(context.request);\n context.setResponse(reponse);\n context.setStream(response.clone().body);\n\n return response.json();\n }\n}\n```\n\n### Stream Currying\n\n`RequestManager.request` and `next` differ from `fetch` in one **crucial detail** in that the outer Promise resolves only once the response stream has been processed.\n\nFor context, it helps to understand a few of the use-cases that RequestManager\nis intended to allow.\n\n- to manage and return streaming content (such as video files)\n- to fulfill a request from multiple sources or by splitting one request into multiple requests\n - for instance one API call for a user and another for the user's friends\n - or e.g. fulfilling part of the request from one source (one API, in-memory, localStorage, IndexedDB etc.) and the rest from another source (a different API, a WebWorker, etc.)\n- to coalesce multiple requests\n- to decorate a request with additional info\n - e.g. an Auth handler that ensures the correct tokens or headers or cookies are attached.\n\n----\n\n`await fetch()` resolves at the moment headers are received. This allows for the body of the request to be processed as a stream by application\ncode *while chunks are still being received by the browser*.\n\nWhen an app chooses to `await response.json()` what occurs is the browser reads the stream to completion and then returns the result. Additionally, this stream may only be read **once**.\n\nThe `RequestManager` preserves this ability to subscribe to and utilize the stream by either the application or the handler – thereby delivering the full power and flexibility of native APIs – without restricting developers in ways that lead to complicated workarounds.\n\nEach handler may call `setStream` only once, but may do so *at any time* until the promise that the handler returns has resolved. The associated promise returned by calling `future.getStream` will resolve with the stream set by `setStream` if that method is called, or `null` if that method\nhas not been called by the time that the handler's request method has resolved.\n\nHandlers that do not create a stream of their own, but which call `next`, should defensively pipe the stream forward. While this is not required (see automatic currying below) it is better to do so in most cases as otherwise the stream may not become available to downstream handlers or the application until the upstream handler has fully read it.\n\n```ts\ncontext.setStream(future.getStream());\n```\n\nHandlers that either call `next` multiple times or otherwise have reason to create multiple fetch requests should either choose to return no stream, meaningfully combine the streams, or select a single prioritized stream.\n\nOf course, any handler may choose to read and handle the stream, and return either no stream or a different stream in the process.\n\n### Automatic Currying of Stream and Response\n\nIn order to simplify the common case for handlers which decorate a request, if `next` is called only a single time and `setResponse` was never called by the handler, the response set by the next handler in the chain will be applied to that handler's outcome. For instance, this makes the following pattern possible `return (await next()).content;`.\n\nSimilarly, if `next` is called only a single time and neither `setStream` nor `getStream` was called, we automatically curry the stream from the future returned by `next` onto the future returned by the handler.\n\nFinally, if the return value of a handler is a `Future`, we curry `content` and `errors` as well, thus enabling the simplest form `return next()`.\n\nIn the case of the `Future` being returned, `Stream` proxying is automatic and immediate and does not wait for the `Future` to resolve.\n\n### Handler Order\n\nRequest handlers are registered by configuring the manager via `use`\n\n```ts\nconst manager = new RequestManager()\n .use([Handler1, Handler2]);\n```\n\nHandlers will be invoked in the order they are registered (\"fifo\", first-in first-out), and may only be registered up until the first request is made. It is recommended but not required to register all handlers at one time in order to ensure explicitly visible handler ordering.",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/request/src/-private/types.ts",
+ "line": 219,
+ "description": "Method to implement to handle requests. Receives the request\ncontext and a nextFn to call to pass-along the request to\nother handlers.",
+ "itemtype": "method",
+ "name": "request",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "context",
+ "description": ""
+ },
+ {
+ "name": "next",
+ "description": ""
+ }
+ ],
+ "class": " Handler",
+ "module": "@ember-data/request"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/request",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- SchemaService.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- SchemaService.json
new file mode 100644
index 000000000..352659715
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- SchemaService.json
@@ -0,0 +1,400 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- SchemaService",
+ "type": "class",
+ "attributes": {
+ "name": " SchemaService",
+ "shortname": " SchemaService",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember-data/store",
+ "namespace": "",
+ "file": "../store/src/-types/q/schema-service.ts",
+ "line": 24,
+ "description": "The SchemaService provides the ability to query for information about the structure\nof any resource type.\n\nApplications can provide any implementation of the SchemaService they please so long\nas it conforms to this interface.\n\nThe design of the service means that schema information could be lazily populated,\nderived-on-demand, or progressively enhanced during the course of an application's runtime.\nThe primary requirement is merely that any information the service needs to correctly\nrespond to an inquest is available by the time it is asked.\n\nThe `@ember-data/model` package provides an implementation of this service which\nmakes use of your model classes as the source of information to respond to queries\nabout resource schema. While this is useful, this may not be ideal for your application.\nFor instance, Schema information could be sideloaded or pre-flighted for API calls,\nresulting in no need to bundle and ship potentially large and expensive JSON\nor large Javascript based Models to pull information from.\n\nTo register a custom schema implementation, implement the store's `createSchemaService`\nhook to return an instance of your service.\n\n```ts\nimport Store from '@ember-data/store';\nimport CustomSchemas from './custom-schemas';\n\nexport default class extends Store {\n createSchemaService() {\n return new CustomSchemas();\n }\n}\n```\n\nAt runtime, both the `Store` and the `CacheCapabilitiesManager` provide\naccess to this service via the `schema` property.\n\n```ts\nexport default class extends Component {\n @service store;\n\n get fields() {\n return this.store\n .schema\n .fields(this.args.dataType);\n }\n}\n```",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 76,
+ "description": "DEPRECATED - use `hasResource` instead\n\nQueries whether the SchemaService recognizes `type` as a resource type",
+ "itemtype": "method",
+ "name": "doesTypeExist",
+ "access": "public",
+ "tagname": "",
+ "deprecated": true,
+ "params": [
+ {
+ "name": "type",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 89,
+ "description": "Queries whether the SchemaService recognizes `type` as a resource type",
+ "itemtype": "method",
+ "name": "hasResource",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "resource",
+ "type": "StableRecordIdentifier| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 99,
+ "description": "Queries whether the SchemaService recognizes `type` as a resource trait",
+ "itemtype": "method",
+ "name": "hasTrait",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "type",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 109,
+ "description": "Queries whether the given resource has the given trait",
+ "itemtype": "method",
+ "name": "resourceHasTrait",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "resource",
+ "type": "StableRecordIdentifier| type: string"
+ },
+ {
+ "name": "trait",
+ "description": "",
+ "type": "String"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Boolean"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 120,
+ "description": "Queries for the fields of a given resource type or resource identity.\n\nShould error if the resource type is not recognized.",
+ "itemtype": "method",
+ "name": "fields",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "resource",
+ "type": "StableRecordIdentifier| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Map"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 132,
+ "description": "Returns the transformation registered with the name provided\nby `field.type`. Validates that the field is a valid transformable.",
+ "itemtype": "method",
+ "name": "transformation",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "field",
+ "type": "TransformableField| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Transformation"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 143,
+ "description": "Returns the hash function registered with the name provided\nby `field.type`. Validates that the field is a valid HashField.",
+ "itemtype": "method",
+ "name": "hashFn",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "field",
+ "type": "HashField| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "HashFn"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 154,
+ "description": "Returns the derivation registered with the name provided\nby `field.type`. Validates that the field is a valid DerivedField.",
+ "itemtype": "method",
+ "name": "derivation",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "field",
+ "type": "DerivedField| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Derivation"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 165,
+ "description": "Returns the schema for the provided resource type.",
+ "itemtype": "method",
+ "name": "resource",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "}",
+ "description": "resource",
+ "type": "StableRecordIdentifier| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "ResourceSchema"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 175,
+ "description": "Enables registration of multiple ResourceSchemas at once.\n\nThis can be useful for either pre-loading schema information\nor for registering schema information delivered by API calls\nor other sources just-in-time.",
+ "itemtype": "method",
+ "name": "registerResources",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "schemas",
+ "description": ""
+ }
+ ],
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 188,
+ "description": "Enables registration of a single ResourceSchema.\n\nThis can be useful for either pre-loading schema information\nor for registering schema information delivered by API calls\nor other sources just-in-time.",
+ "itemtype": "method",
+ "name": "registerResource",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "schema",
+ "description": "",
+ "type": "ResourceSchema"
+ }
+ ],
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 201,
+ "description": "Enables registration of a transformation.\n\nThe transformation can later be retrieved by the name\nattached to it's `[Type]` property.",
+ "itemtype": "method",
+ "name": "registerTransformations",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "transform",
+ "description": "",
+ "type": "Transformation"
+ }
+ ],
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 213,
+ "description": "Enables registration of a derivation.\n\nThe derivation can later be retrieved by the name\nattached to it's `[Type]` property.",
+ "itemtype": "method",
+ "name": "registerDerivations",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "derivation",
+ "description": "",
+ "type": "Derivation"
+ }
+ ],
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 225,
+ "description": "Enables registration of a hashing function\n\nThe hashing function can later be retrieved by the name\nattached to it's `[Type]` property.",
+ "itemtype": "method",
+ "name": "registerHashFn",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "hashfn",
+ "description": "",
+ "type": "HashFn"
+ }
+ ],
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 237,
+ "description": "DEPRECATED - use `fields` instead\n\nReturns definitions for all properties of the specified resource\nthat are considered \"attributes\". Generally these are properties\nthat are not related to book-keeping state on the client and do\nnot represent a linkage to another resource.\n\nThe return value should be a dictionary of key:value pairs\nwhere the `key` is the attribute or property's name and `value`\nis an object with at least the property `name` which should also\nmatch `key`.\n\nOptionally, this object may also specify `type`, which should\nbe a string reference to a `transform`, and `options` which\nshould be dictionary in which any key:value pairs are permissable.\n\nFor instance, when using `@ember-data/model`, the following attribute\ndefinition:\n\n```ts\nclass extends Model {\n @attr('string', { defaultValue: 'hello' }) greeting;\n @attr('date') birthday;\n @attr firstName;\n}\n```\n\nWould be returned as:\n\n```js\n{\n greeting: { name: 'greeting', type: 'string', options: { defaultValue: 'hello' } },\n birthday: { name: 'birthday', type: 'date' },\n firstName: { name: 'firstName' }\n}\n```",
+ "itemtype": "method",
+ "name": "attributesDefinitionFor",
+ "access": "public",
+ "tagname": "",
+ "deprecated": true,
+ "params": [
+ {
+ "name": "}",
+ "description": "identifier",
+ "type": "RecordIdentifier| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "AttributesSchema"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 283,
+ "description": "DEPRECATED - use `fields` instead\n\nReturns definitions for all properties of the specified resource\nthat are considered \"relationships\". Generally these are properties\nthat represent a linkage to another resource.\n\nThe return value should be a dictionary of key:value pairs\nwhere the `key` is the relationship or property's name and `value`\nis an object with at least the following properties:\n\n- `name` which should also match the `key` used in the dictionary.\n- `kind` which should be either `belongsTo` or `hasMany`\n- `type` which should be the related resource's string \"type\"\n- `options` which should be a dictionary allowing any key but with\n at least the below keys present.\n\n- `options.async` a boolean representing whether data for this relationship is\n typically loaded on-demand.\n- `options.inverse` a string or null representing the field name / key of the\n corresponding relationship on the inverse resource.\n\nAdditionally the following options properties are optional. See [Polymorphic Relationships](https://rfcs.emberjs.com/id/0793-polymporphic-relations-without-inheritance)\n\n- `options.polymorphic` a boolean representing whether multiple resource types\n can be used to satisfy this relationship.\n- `options.as` a string representing the abstract type that the concrete side of\n a relationship must specify when fulfilling a polymorphic inverse.\n\nFor example, the following Model using @ember-data/model would generate this relationships\ndefinition by default:\n\n```js\nclass User extends Model {\n @belongsTo('user', { async: false, inverse: null }) bestFriend;\n @hasMany('user', { async: true, inverse: 'friends' }) friends;\n @hasMany('pet', { async: false, polymorphic: true, inverse: 'owner' }) pets;\n}\n```\n\nWhich would be returned as\n\n```js\n{\n bestFriend: {\n name: 'bestFriend',\n kind: 'belongsTo',\n type: 'user',\n options: {\n async: false,\n inverse: null\n }\n },\n friends: {\n name: 'friends',\n kind: 'hasMany',\n type: 'user',\n options: {\n async: true,\n inverse: 'friends'\n }\n },\n pets: {\n name: 'pets',\n kind: 'hasMany',\n type: 'pet',\n options: {\n async: false,\n polymorphic: true,\n inverse: 'owner'\n }\n },\n}\n```",
+ "itemtype": "method",
+ "name": "relationshipsDefinitionFor",
+ "access": "public",
+ "tagname": "",
+ "deprecated": true,
+ "params": [
+ {
+ "name": "}",
+ "description": "identifier",
+ "type": "RecordIdentifier| type: string"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "RelationshipsSchema"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ },
+ {
+ "file": "../packages/store/src/-types/q/schema-service.ts",
+ "line": 366,
+ "description": "Returns all known resource types",
+ "itemtype": "method",
+ "name": "resourceTypes",
+ "access": "public",
+ "tagname": "",
+ "return": {
+ "description": "",
+ "type": "String[]"
+ },
+ "class": " SchemaService",
+ "module": "@ember-data/store"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/store",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Serializer.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Serializer.json
new file mode 100644
index 000000000..82208b9cb
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- Serializer.json
@@ -0,0 +1,223 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- Serializer",
+ "type": "class",
+ "attributes": {
+ "name": " Serializer",
+ "shortname": " Serializer",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@ember-data/experimental-preview-types",
+ "namespace": "",
+ "file": "../legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 25,
+ "description": "
\n
\n ⚠️ This is LEGACY documentation for a feature that is no longer encouraged to be used.\n If starting a new app or thinking of implementing a new adapter, consider writing a\n Handler instead to be used with the RequestManager\n
\n
\n\n The following documentation describes the methods an application\n serializer should implement with descriptions around when an\n application might expect these methods to be called.\n\n Methods that are not required are marked as **optional**.",
+ "access": "public",
+ "tagname": "",
+ "methods": [
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 44,
+ "description": "This method is responsible for normalizing the value resolved from the promise returned\nby an Adapter request into the format expected by the `Store`.\n\nThe output should be a [JSON:API Document](https://jsonapi.org/format/#document-structure)\nwith the following additional restrictions:\n\n- `type` should be formatted in the `singular` `dasherized` `lowercase` form\n- `members` (the property names of attributes and relationships) should be formatted\n to match their definition in the corresponding `Model` definition. Typically this\n will be `camelCase`.\n- [`lid`](https://github.com/emberjs/rfcs/blob/main/text/0403-ember-data-identifiers.md) is\n a valid optional sibling to `id` and `type` in both [Resources](https://jsonapi.org/format/#document-resource-objects)\n and [Resource Identifier Objects](https://jsonapi.org/format/#document-resource-identifier-objects)",
+ "itemtype": "method",
+ "name": "normalizeResponse",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "rawPayload",
+ "description": "The raw JSON response data returned from an API request.\n This correlates to the value the promise returned by the adapter method that performed\n the request resolved to.",
+ "type": "JSONObject"
+ },
+ {
+ "name": "id",
+ "description": "For a findRecord request, this is the id initially provided\n in the call to store.findRecord. Else this value is null.",
+ "type": "String|null"
+ },
+ {
+ "name": "requestType",
+ "description": "The\n type of request the Adapter had been asked to perform.",
+ "type": "'findRecord' | 'queryRecord' | 'findAll' | 'findBelongsTo' | 'findHasMany' | 'findMany' | 'query' | 'createRecord' | 'deleteRecord' | 'updateRecord'"
+ }
+ ],
+ "return": {
+ "description": "a document following the structure of a JSON:API Document.",
+ "type": "JsonApiDocument"
+ },
+ "class": " Serializer",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 92,
+ "description": "This method is responsible for serializing an individual record\nvia a [Snapshot](Snapshot) into the format expected by the API.\n\nThis method is called by `snapshot.serialize()`.\n\nWhen using `Model`, this method is called by `record.serialize()`.\n\nWhen using `JSONAPIAdapter` or `RESTAdapter` this method is called\nby `updateRecord` and `createRecord` if `Serializer.serializeIntoHash`\nis not implemented.",
+ "itemtype": "method",
+ "name": "serialize",
+ "access": "public",
+ "tagname": "",
+ "params": [
+ {
+ "name": "snapshot",
+ "description": "A Snapshot for the record to serialize",
+ "type": "Snapshot"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "type": "Object",
+ "optional": true
+ }
+ ],
+ "class": " Serializer",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 111,
+ "description": "This method is intended to normalize data into a [JSON:API Document](https://jsonapi.org/format/#document-structure)\nwith a data member containing a single [Resource](https://jsonapi.org/format/#document-resource-objects).\n\n- `type` should be formatted in the singular, dasherized and lowercase form\n- `members` (the property names of attributes and relationships) should be formatted\n to match their definition in the corresponding `Model` definition. Typically this\n will be `camelCase`.\n- [`lid`](https://github.com/emberjs/rfcs/blob/main/text/0403-ember-data-identifiers.md) is\n a valid optional sibling to `id` and `type` in both [Resources](https://jsonapi.org/format/#document-resource-objects)\n and [Resource Identifier Objects](https://jsonapi.org/format/#document-resource-identifier-objects)\n\nThis method is called by the `Store` when `store.normalize(modelName, payload)` is\ncalled. It is recommended to use `store.serializerFor(modelName).normalizeResponse`\nover `store.normalize`.\n\nThis method may be called when also using the `RESTSerializer`\nwhen `serializer.pushPayload` is called by `store.pushPayload`.\nHowever, it is recommended to use `store.push` over `store.pushPayload` after normalizing\nthe payload directly.\n\nExample:\n```js\nfunction pushPayload(store, modelName, rawPayload) {\n const ModelClass = store.modelFor(modelName);\n const serializer = store.serializerFor(modelName);\n const jsonApiPayload = serializer.normalizeResponse(store, ModelClass, rawPayload, null, 'query');\n\n return store.push(jsonApiPayload);\n}\n```\n\nThis method may be called when also using the `JSONAPISerializer`\nwhen normalizing included records. If mixing serializer usage in this way\nwe recommend implementing this method, but caution that it may lead\nto unexpected mixing of formats.\n\nThis method may also be called when normalizing embedded relationships when\nusing the `EmbeddedRecordsMixin`. If using this mixin in a serializer in\nyour application we recommend implementing this method, but caution that\nit may lead to unexpected mixing of formats.",
+ "itemtype": "method",
+ "name": "normalize [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "rawPayload",
+ "description": "Some raw JSON data to be normalized into a JSON:API Resource.",
+ "type": "JSONObject"
+ },
+ {
+ "name": "prop",
+ "description": "When called by the EmbeddedRecordsMixin this param will be the\n property at which the object provided as rawPayload was found.",
+ "type": "String",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "A JSON:API Document\n containing a single JSON:API Resource\n as its primary data.",
+ "type": "SingleResourceDocument"
+ },
+ "class": " Serializer",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 167,
+ "description": "When using `JSONAPIAdapter` or `RESTAdapter` this method is called\nby `adapter.updateRecord` and `adapter.createRecord` if `serializer.serializeIntoHash`\nis implemented. If this method is not implemented, `serializer.serialize`\nwill be called in this case.\n\nYou can use this method to customize the root keys serialized into the payload.\nThe hash property should be modified by reference.\n\nFor instance, your API may expect resources to be keyed by underscored type in the payload:\n\n```js\n{\n _user: {\n type: 'user',\n id: '1'\n }\n}\n```\n\nWhich when using these adapters can be achieved by implementing this method similar\nto the following:\n\n```js\nserializeIntoHash(hash, ModelClass, snapshot, options) {\n hash[`_${snapshot.modelName}`] = this.serialize(snapshot, options).data;\n}\n```",
+ "itemtype": "method",
+ "name": "serializeIntoHash [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "hash",
+ "description": "A top most object of the request payload onto\n which to append the serialized record"
+ },
+ {
+ "name": "schema",
+ "description": "An object with methods for accessing information about\n the type, attributes and relationships of the primary type associated with the request.",
+ "type": "ModelSchema"
+ },
+ {
+ "name": "snapshot",
+ "description": "A Snapshot for the record to serialize",
+ "type": "Snapshot"
+ },
+ {
+ "name": "options",
+ "description": "",
+ "optional": true
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "class": " Serializer",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 209,
+ "description": "This method allows for normalization of data when `store.pushPayload` is called\nand should be implemented if you want to use that method.\n\nThe method is responsible for pushing new data to the store using `store.push`\nonce any necessary normalization has occurred, and no data in the store will be\nupdated unless it does so.\n\nThe normalized form pushed to the store should be a [JSON:API Document](https://jsonapi.org/format/#document-structure)\nwith the following additional restrictions:\n\n- `type` should be formatted in the singular, dasherized and lowercase form\n- `members` (the property names of attributes and relationships) should be formatted\n to match their definition in the corresponding `Model` definition. Typically this\n will be `camelCase`.\n- [`lid`](https://github.com/emberjs/rfcs/blob/main/text/0403-ember-data-identifiers.md) is\n a valid optional sibling to `id` and `type` in both [Resources](https://jsonapi.org/format/#document-resource-objects)\n and [Resource Identifier Objects](https://jsonapi.org/format/#document-resource-identifier-objects)\n\nIf you need better control over normalization or want access to the records being added or updated\nin the store, we recommended using `store.push` over `store.pushPayload` after normalizing\nthe payload directly. This can even take advantage of an existing serializer for the format\nthe data is in, for example:\n\n```js\nfunction pushPayload(store, modelName, rawPayload) {\n const ModelClass = store.modelFor(modelName);\n const serializer = store.serializerFor(modelName);\n const jsonApiPayload = serializer.normalizeResponse(store, ModelClass, rawPayload, null, 'query');\n\n return store.push(jsonApiPayload);\n}\n```",
+ "itemtype": "method",
+ "name": "pushPayload [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "params": [
+ {
+ "name": "store",
+ "description": "The store service that initiated the request being normalized",
+ "type": "Store"
+ },
+ {
+ "name": "rawPayload",
+ "description": "The raw JSON response data returned from an API request.\n This JSON should be in the API format expected by the serializer.",
+ "type": "Object"
+ }
+ ],
+ "return": {
+ "description": "",
+ "type": "Void"
+ },
+ "class": " Serializer",
+ "module": "@ember-data/experimental-preview-types"
+ },
+ {
+ "file": "../packages/legacy-compat/src/legacy-network-handler/minimum-serializer-interface.ts",
+ "line": 253,
+ "description": "In some situations the serializer may need to perform cleanup when destroyed,\nthat cleanup can be done in `destroy`.\n\nIf not implemented, the store does not inform the serializer of destruction.",
+ "itemtype": "method",
+ "name": "destroy [OPTIONAL]",
+ "access": "public",
+ "tagname": "",
+ "optional": 1,
+ "class": " Serializer",
+ "module": "@ember-data/experimental-preview-types"
+ }
+ ],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@ember-data/experimental-preview-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json
new file mode 100644
index 000000000..1d6bb36af
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json
@@ -0,0 +1,45 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1-",
+ "type": "class",
+ "attributes": {
+ "name": "",
+ "shortname": "",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/ember",
+ "namespace": "",
+ "file": "../ember/src/-private/request.gts",
+ "line": 186,
+ "description": "The `` component is a powerful tool for managing data fetching and\nstate in your Ember application. It provides a declarative approach to reactive\ncontrol-flow for managing requests and state in your application.\n\nThe `` component is ideal for handling \"boundaries\", outside which some\nstate is still allowed to be unresolved and within which it MUST be resolved.\n\n## Request States\n\n`` has five states, only one of which will be active and rendered at a time.\n\n- `idle`: The component is waiting to be given a request to monitor\n- `loading`: The request is in progress\n- `error`: The request failed\n- `content`: The request succeeded\n- `cancelled`: The request was cancelled\n\nAdditionally, the `content` state has a `refresh` method that can be used to\nrefresh the request in the background, which is available as a sub-state of\nthe `content` state.\n\nAs with the `` component, if no error block is provided and the request\nrejects, the error will be thrown. Cancellation errors are swallowed instead of\nrethrown if no error block or cancellation block is present.\n\n```gts\nimport { Request } from '@warp-drive/ember';\n\n\n \n <:loading as |state|>\n \n \n \n\n <:error as |error state|>\n \n \n \n\n <:content as |data state|>\n
\n \n \n\n <:idle>\n \n \n\n \n\n```\n\n## Streaming Data\n\nThe loading state exposes the download `ReadableStream` instance for consumption\n\n```gjs\nimport { Request } from '@warp-drive/ember';\n\n\n \n <:loading as |state|>\n \n \n\n <:error as |error|>\n \n \n \n\n```\n\n## Retry\n\nCancelled and error'd requests may be retried by calling the `retry` method.\n\nRetry will restart the state progression, using the loading, error, cancelled,\nand content blocks as appropriate.\n\n## Reloading\n\nThe `reload` method will force the request to be fully re-executed, bypassing\ncache and restarting the state progression through the loading, error, and\ncontent blocks as appropriate.\n\nBackground reload (refresh) is a special substate of the content state that\nallows you to refresh the request in the background. This is useful for when\nyou want to update the data in the background without blocking the UI.\n\nReload and refresh are available as methods on the `content` state.\n\n```gjs\nimport { Request } from '@warp-drive/ember';\n\n\n \n <:content as |data state|>\n
{{data.title}}
\n {{#if state.isBackgroundReloading}}\n \n \n {{/if}}\n\n \n \n \n \n\n```\n\n## Advanced Reloading\n\nWe can nest our usage of `` to handle more advanced\nreloading scenarios.\n\n```gjs\nimport { Request } from '@warp-drive/ember';\n\n\n \n <:cancelled>\n
The Request Cancelled
\n \n\n <:error as |error|>\n \n \n\n <:content as |result state|>\n \n \n \n\n
{{result.title}}
\n\n \n \n \n\n```\n\n## Autorefresh\n\n`` supports automatic refresh and reload under certain conditions.\n\n- `online`: This occurs when a browser window or tab comes back to the foreground\n after being backgrounded or when the network reports as being online after\n having been offline.\n- `interval`: This occurs when a specified amount of time has passed.\n- `invalid`: This occurs when the store emits a notification that the request\n has become invalid.\n\nYou can specify when autorefresh should occur by setting the `autorefresh` arg\nto `true` or a comma-separated list of the above values.\n\nA value of `true` is equivalent to `'online,invalid'`.\n\nBy default, an autorefresh will only occur if the browser was backgrounded or\noffline for more than 30s before coming back available. This amount of time can\nbe tweaked by setting the number of milliseconds via `@autorefreshThreshold`.\n\nThis arg also controls the interval at which the request will be refreshed\nif the `interval` autorefresh type is enabled.\n\nFinally, the behavior of the request initiated by autorefresh can be adjusted\nby setting the `autorefreshBehavior` arg to `'refresh'`, `'reload'`, or `'policy'`.\n\n- `'refresh'`: Refresh the request in the background\n- `'reload'`: Force a reload of the request\n- `'policy'` (**default**): Let the store's configured CachePolicy decide whether to\n reload, refresh, or do nothing.\n\nMore advanced refresh and reload behaviors can be created by passing the reload and\nrefresh actions into another component. For instance, refresh could be set up on a\ntimer or on a websocket subscription.\n\n\n```gjs\nimport { Request } from '@warp-drive/ember';\n\n\n \n <:content as |result state|>\n
{{result.title}}
\n\n \n \n \n \n\n```\n\nIf a matching request is refreshed or reloaded by any other component,\nthe `Request` component will react accordingly.\n\n## Deduping\n\nThe store dedupes requests by identity. If a request is made for the same identity\nfrom multiple `` components, even if the request is not referentially the\nsame, only one actual request will be made.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/ember",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json
new file mode 100644
index 000000000..1c57d548a
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-.json
@@ -0,0 +1,45 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1-",
+ "type": "class",
+ "attributes": {
+ "name": "",
+ "shortname": "",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/ember",
+ "namespace": "",
+ "file": "../ember/src/-private/await.gts",
+ "line": 18,
+ "description": "The `` component is used to throw an error in a template.\n\nThat's all it does. So don't use it unless the application should\nthrow an error if it reaches this point in the template.\n\n```handlebars\n\n```",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/ember",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- ArrayField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- ArrayField.json
new file mode 100644
index 000000000..da5aa587f
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- ArrayField.json
@@ -0,0 +1,94 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- ArrayField",
+ "type": "class",
+ "attributes": {
+ "name": " ArrayField",
+ "shortname": " ArrayField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 550,
+ "description": "Represents a field whose value is an array\nof primitive values.\n\nIf the array's elements are not primitive\nvalues, use 'schema-array' instead.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 561,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'array'",
+ "access": "public",
+ "tagname": "",
+ "class": " ArrayField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 569,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " ArrayField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 577,
+ "description": "The name of a transform to pass each item\nin the array through before displaying or\nor serializing it.",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String | undefined",
+ "access": "public",
+ "tagname": "",
+ "class": " ArrayField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 587,
+ "description": "Options to pass to the transform, if any\n\nMust comply to the specific transform's options\nschema.",
+ "itemtype": "property",
+ "name": "options",
+ "type": "ObjectValue | undefined",
+ "access": "public",
+ "tagname": "",
+ "class": " ArrayField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CollectionField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CollectionField.json
new file mode 100644
index 000000000..ea1dccbb6
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- CollectionField.json
@@ -0,0 +1,82 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- CollectionField",
+ "type": "class",
+ "attributes": {
+ "name": " CollectionField",
+ "shortname": " CollectionField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 874,
+ "description": "Represents a field that is a reference to\na collection of other resources, potentially\npaginate.\n\nSUPPORT FOR THIS FEATURE IS NOT YET IMPLEMENTED\nBY SchemaRecord",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 886,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'collection'",
+ "access": "public",
+ "tagname": "",
+ "class": " CollectionField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 894,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " CollectionField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 902,
+ "description": "The name of the resource that this field\nrefers to. In the case of a polymorphic\nrelationship, this should be the trait\nor abstract type.",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " CollectionField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- DerivedField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- DerivedField.json
new file mode 100644
index 000000000..7097defe6
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- DerivedField.json
@@ -0,0 +1,94 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- DerivedField",
+ "type": "class",
+ "attributes": {
+ "name": " DerivedField",
+ "shortname": " DerivedField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 713,
+ "description": "Represents a field whose value is derived\nfrom other fields in the schema.\n\nThe value is read-only, and is not stored\nin the cache, nor is it sent to the server.\n\nUsage of derived fields should be minimized\nto scenarios where the derivation is known\nto be safe. For instance, derivations that\nrequired fields that are not always loaded\nor that require access to related resources\nthat may not be loaded should be avoided.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 731,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'derived'",
+ "access": "public",
+ "tagname": "",
+ "class": " DerivedField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 739,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " DerivedField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 747,
+ "description": "The name of the derivation to use.\n\nDerivations are functions that take the\nrecord, options, and the name of the field\nas arguments, and return the derived value.\n\nDerivations are memoized, and are only\nrecomputed when the fields they depend on\nchange.\n\nDerivations are not stored in the cache,\nand are not sent to the server.\n\nDerivation functions must be explicitly\nregistered with the schema service.",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " DerivedField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 769,
+ "description": "Options to pass to the derivation, if any\n\nMust comply to the specific derivation's\noptions schema.",
+ "itemtype": "property",
+ "name": "options",
+ "type": "ObjectValue | undefined",
+ "access": "public",
+ "tagname": "",
+ "class": " DerivedField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- FieldSchema.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- FieldSchema.json
new file mode 100644
index 000000000..e668bfe3f
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- FieldSchema.json
@@ -0,0 +1,45 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- FieldSchema",
+ "type": "class",
+ "attributes": {
+ "name": " FieldSchema",
+ "shortname": " FieldSchema",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 1689,
+ "description": "A union of all possible LegacyMode and PolarisMode\nfield schemas.\n\nYou likely will want to use PolarisModeFieldSchema,\nLegacyModeFieldSchema, or ObjectFieldSchema instead\nas appropriate as they are more specific and will\nprovide better guidance around what is valid.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": []
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- GenericField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- GenericField.json
new file mode 100644
index 000000000..2480d15db
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- GenericField.json
@@ -0,0 +1,94 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- GenericField",
+ "type": "class",
+ "attributes": {
+ "name": " GenericField",
+ "shortname": " GenericField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 6,
+ "description": "A generic \"field\" that can be used to define\nprimitive value fields.\n\nReplaces \"attribute\" for primitive value fields.\nCan also be used to eject from deep-tracking of\nobjects or arrays.\n\nA major difference between \"field\" and \"attribute\"\nis that \"type\" points to a legacy transform on\n\"attribute\" that a serializer *might* use, while\n\"type\" points to a new-style transform on \"field\"\nthat a record implmentation *must* use.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 24,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'field'",
+ "access": "public",
+ "tagname": "",
+ "class": " GenericField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 32,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " GenericField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 40,
+ "description": "the name of the transform to use, if any",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String | undefined",
+ "access": "public",
+ "tagname": "",
+ "class": " GenericField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 48,
+ "description": "Options to pass to the transform, if any\n\nMust comply to the specific transform's options\nschema.",
+ "itemtype": "property",
+ "name": "options",
+ "type": "ObjectValue | undefined",
+ "access": "public",
+ "tagname": "",
+ "class": " GenericField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- HashField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- HashField.json
new file mode 100644
index 000000000..2465f0f24
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- HashField.json
@@ -0,0 +1,94 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- HashField",
+ "type": "class",
+ "attributes": {
+ "name": " HashField",
+ "shortname": " HashField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 302,
+ "description": "Represents a specialized field whose computed value\nwill be used as the primary key of a schema-object\nfor serializability and comparison purposes.\n\nThis field functions similarly to derived fields in that\nit is non-settable, derived state but differs in that\nit is only able to compute off of cache state and is given\nno access to a record instance.\n\nThis means that if a hashing function wants to compute its value\ntaking into account transformations and derivations it must\nperform those itself.\n\nA schema-array can declare its \"key\" value to be `@hash` if\na schema-object has such a field.\n\nOnly one hash field is permittable per schema-object, and\nit should be placed in the `ResourceSchema`'s `@id` field\nin place of an `IdentityField`.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 327,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'@hash'",
+ "access": "public",
+ "tagname": "",
+ "class": " HashField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 335,
+ "description": "The name of the field that serves as the\nhash for the resource.\n\nOnly required if access to this value by\nthe UI is desired, it can be `null` otherwise.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String | null",
+ "access": "public",
+ "tagname": "",
+ "class": " HashField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 347,
+ "description": "The name of a function to run to compute the hash.\nThe function will only have access to the cached\ndata for the record.",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " HashField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 357,
+ "description": "Any options that should be provided to the hash\nfunction.",
+ "itemtype": "property",
+ "name": "options",
+ "type": "ObjectValue | undefined",
+ "access": "public",
+ "tagname": "",
+ "class": " HashField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- IdentityField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- IdentityField.json
new file mode 100644
index 000000000..31bf0d748
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- IdentityField.json
@@ -0,0 +1,70 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- IdentityField",
+ "type": "class",
+ "attributes": {
+ "name": " IdentityField",
+ "shortname": " IdentityField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 268,
+ "description": "Represents a field whose value is the primary\nkey of the resource.\n\nThis allows any field to serve as the primary\nkey while still being able to drive identity\nneeds within the system.\n\nThis is useful for resources that use for instance\n'uuid', 'urn' or 'entityUrn' or 'primaryKey' as their\nprimary key field instead of 'id'.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 284,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'@id'",
+ "access": "public",
+ "tagname": "",
+ "class": " IdentityField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 292,
+ "description": "The name of the field that serves as the\nprimary key for the resource.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " IdentityField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyAliasField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyAliasField.json
new file mode 100644
index 000000000..9ce202452
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyAliasField.json
@@ -0,0 +1,94 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- LegacyAliasField",
+ "type": "class",
+ "attributes": {
+ "name": " LegacyAliasField",
+ "shortname": " LegacyAliasField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 60,
+ "description": "A field that can be used to alias one key to another\nkey present in the cache version of the resource.\n\nUnlike DerivedField, an AliasField may write to its\nsource when a record is in an editable mode.\n\nAliasFields may utilize a transform, specified by type,\nto pre/post process the field.\n\nAn AliasField may also specify a `kind` via options.\n`kind` may be any other valid field kind other than\n\n- `@hash`\n- `@id`\n- `@local`\n- `derived`\n\nThis allows an AliasField to rename any field in the cache.\n\nAlias fields are generally intended to be used to support migrating\nbetween different schemas, though there are times where they are useful\nas a form of advanced derivation when used with a transform. For instance,\nan AliasField could be used to expose both a string and a Date version of the\nsame field, with both being capable of being written to.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 90,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'alias'",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAliasField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 98,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAliasField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 106,
+ "description": "Always null (for now)",
+ "itemtype": "property",
+ "name": "type",
+ "type": "Null",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAliasField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 114,
+ "description": "The field def for which this is an alias.",
+ "itemtype": "property",
+ "name": "options",
+ "type": "GenericField | ObjectField | SchemaObjectField | ArrayField | SchemaArrayField | LegacyAttributeField | LegacyBelongsToField | LegacyHasManyField",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAliasField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyAttributeField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyAttributeField.json
new file mode 100644
index 000000000..1deb6863c
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyAttributeField.json
@@ -0,0 +1,82 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- LegacyAttributeField",
+ "type": "class",
+ "attributes": {
+ "name": " LegacyAttributeField",
+ "shortname": " LegacyAttributeField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 978,
+ "description": "> [!CAUTION]\n> This Field is LEGACY\n> It cannot be used with PolarisMode\n\nA generic \"field\" that can be used to define\nprimitive value fields.\n\nIf the field points to an object or array,\nit will not be deep-tracked.\n\nTransforms when defined are legacy transforms\nthat a serializer *might* use, but their usage\nis not guaranteed.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 997,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'attribute'",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAttributeField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1005,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAttributeField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1012,
+ "description": "The name of the transform to use, if any",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String | undefined | null",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyAttributeField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyBelongsToField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyBelongsToField.json
new file mode 100644
index 000000000..8a178fb94
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyBelongsToField.json
@@ -0,0 +1,82 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- LegacyBelongsToField",
+ "type": "class",
+ "attributes": {
+ "name": " LegacyBelongsToField",
+ "shortname": " LegacyBelongsToField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 1030,
+ "description": "> [!CAUTION]\n> This Field is LEGACY\n\nRepresents a field that is a reference to\nanother resource.\n\nThis is the legacy version of the `ResourceField`.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1043,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'belongsTo'",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyBelongsToField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1051,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyBelongsToField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1059,
+ "description": "The name of the resource that this field\nrefers to. In the case of a polymorphic\nrelationship, this should be the trait\nor abstract type.",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyBelongsToField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyHasManyField.json b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyHasManyField.json
new file mode 100644
index 000000000..7315d1983
--- /dev/null
+++ b/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1- LegacyHasManyField.json
@@ -0,0 +1,82 @@
+{
+ "data": {
+ "id": "ember-data-5.4.1- LegacyHasManyField",
+ "type": "class",
+ "attributes": {
+ "name": " LegacyHasManyField",
+ "shortname": " LegacyHasManyField",
+ "classitems": [],
+ "plugins": [],
+ "extensions": [],
+ "plugin_for": [],
+ "extension_for": [],
+ "module": "@warp-drive/core-types",
+ "namespace": "",
+ "file": "../core-types/src/schema/fields.ts",
+ "line": 1315,
+ "description": "> [!CAUTION]\n> This Field is LEGACY\n\nRepresents a field that is a reference to\na collection of other resources.\n\nThis is the legacy version of the `CollectionField`.",
+ "access": "public",
+ "tagname": "",
+ "methods": [],
+ "events": [],
+ "properties": [
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1328,
+ "description": "The kind of field this is.",
+ "itemtype": "property",
+ "name": "kind",
+ "type": "'hasMany'",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyHasManyField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1336,
+ "description": "The name of the field.",
+ "itemtype": "property",
+ "name": "name",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyHasManyField",
+ "module": "@warp-drive/core-types"
+ },
+ {
+ "file": "../packages/core-types/src/schema/fields.ts",
+ "line": 1344,
+ "description": "the name of the resource that this field\nrefers to. In the case of a polymorphic\nrelationship, this should be the trait\nor abstract type.",
+ "itemtype": "property",
+ "name": "type",
+ "type": "String",
+ "access": "public",
+ "tagname": "",
+ "class": " LegacyHasManyField",
+ "module": "@warp-drive/core-types"
+ }
+ ]
+ },
+ "relationships": {
+ "parent-class": {
+ "data": null
+ },
+ "descendants": {
+ "data": []
+ },
+ "module": {
+ "data": {
+ "id": "ember-data-5.4.1-@warp-drive/core-types",
+ "type": "module"
+ }
+ },
+ "project-version": {
+ "data": {
+ "id": "ember-data-5.4.1",
+ "type": "project-version"
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/json-docs/ember-data/5.4.1/classes/ember-data-5.4.1-