From 80f251ed0501a954a8cef1fea4faa0de65b86b3d Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Wed, 22 May 2024 00:36:07 -0700 Subject: [PATCH] fixup docs --- packages/build-config/src/deprecation-versions.ts | 4 ++++ tests/docs/fixtures/expected.js | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/packages/build-config/src/deprecation-versions.ts b/packages/build-config/src/deprecation-versions.ts index ee2bed7895c..648d0c01e3a 100644 --- a/packages/build-config/src/deprecation-versions.ts +++ b/packages/build-config/src/deprecation-versions.ts @@ -416,5 +416,9 @@ export const DEPRECATE_STORE_EXTENDS_EMBER_OBJECT = '5.4'; * - `SchemaService.attributesDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method * - `SchemaService.relationshipsDefinitionFor` method is deprecated in favor of the `SchemaService.fields` method * + * @property ENABLE_LEGACY_SCHEMA_SERVICE + * @since 5.4 + * @until 6.0 + * @public */ export const ENABLE_LEGACY_SCHEMA_SERVICE = '5.4'; diff --git a/tests/docs/fixtures/expected.js b/tests/docs/fixtures/expected.js index 4785b53d051..e566e10750d 100644 --- a/tests/docs/fixtures/expected.js +++ b/tests/docs/fixtures/expected.js @@ -80,6 +80,7 @@ module.exports = { '(public) @warp-drive/build-config/deprecations CurrentDeprecations#DEPRECATE_NON_UNIQUE_PAYLOADS', '(public) @warp-drive/build-config/deprecations CurrentDeprecations#DEPRECATE_RELATIONSHIP_REMOTE_UPDATE_CLEARING_LOCAL_STATE', '(public) @warp-drive/build-config/deprecations CurrentDeprecations#DEPRECATE_STORE_EXTENDS_EMBER_OBJECT', + '(public) @warp-drive/build-config/deprecations CurrentDeprecations#ENABLE_LEGACY_SCHEMA_SERVICE', '(public) @ember-data/legacy-compat/builders @ember-data/legacy-compat/builders#findAll', '(public) @ember-data/legacy-compat/builders @ember-data/legacy-compat/builders#findRecord', '(public) @ember-data/legacy-compat/builders @ember-data/legacy-compat/builders#query', @@ -542,6 +543,19 @@ module.exports = { '(public) @ember-data/store SchemaService#attributesDefinitionFor', '(public) @ember-data/store SchemaService#doesTypeExist', '(public) @ember-data/store SchemaService#relationshipsDefinitionFor', + '(public) @ember-data/store SchemaService#derivation', + '(public) @ember-data/store SchemaService#fields', + '(public) @ember-data/store SchemaService#hasResource', + '(public) @ember-data/store SchemaService#hasTrait', + '(public) @ember-data/store SchemaService#hashFn', + '(public) @ember-data/store SchemaService#registerDerivations', + '(public) @ember-data/store SchemaService#registerHashFn', + '(public) @ember-data/store SchemaService#registerResource', + '(public) @ember-data/store SchemaService#registerResources', + '(public) @ember-data/store SchemaService#registerTransformations', + '(public) @ember-data/store SchemaService#resource', + '(public) @ember-data/store SchemaService#resourceHasTrait', + '(public) @ember-data/store SchemaService#transformation', '(public) @ember-data/store Snapshot#adapterOptions', '(public) @ember-data/store Snapshot#attr', '(public) @ember-data/store Snapshot#attributes',