-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [FIX DOCS] Docs updates for Packages to fix missing docs and broken links (#6449) * remove ember-data and DS namespace/module * eliminate usage of DS.Store in the documentation * improve Store documentation * configure Store docs to be the main docs for the @ember-data/store package * cleanup Model docs * fix adapter/serializer location and main docs * cleanup DS. usage in docs * Fix/ds docs (#6456) * [DOCS] Fix some links (#6507) Co-Authored-By: Gaurav Munjal <[email protected]> * fix lint
- Loading branch information
Showing
39 changed files
with
380 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,26 @@ | ||
/** | ||
@module @ember-data | ||
@main @ember-data | ||
*/ | ||
|
||
import Namespace from '@ember/application/namespace'; | ||
import Ember from 'ember'; | ||
import VERSION from 'ember-data/version'; | ||
|
||
/** | ||
@module ember-data | ||
*/ | ||
|
||
/** | ||
All Ember Data classes, methods and functions are defined inside of this namespace. | ||
@class DS | ||
@static | ||
*/ | ||
* @property VERSION | ||
* @public | ||
* @static | ||
* @for @ember-data | ||
*/ | ||
|
||
/** | ||
@property VERSION | ||
@type String | ||
@static | ||
*/ | ||
const DS = Namespace.create({ | ||
VERSION: VERSION, | ||
name: 'DS', | ||
}); | ||
|
||
if (Ember.libraries) { | ||
Ember.libraries.registerCoreLibrary('Ember Data', DS.VERSION); | ||
Ember.libraries.registerCoreLibrary('Ember Data', VERSION); | ||
} | ||
|
||
export default DS; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
/** | ||
@module ember-data | ||
*/ | ||
export { belongsTo, hasMany } from '@ember-data/model'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.