-
-
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.
- Loading branch information
Showing
184 changed files
with
12,212 additions
and
1,867 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
- v4-main | ||
|
||
env: | ||
TURBO_API: http://127.0.0.1:9080 | ||
|
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
- v4-main | ||
|
||
env: | ||
TURBO_API: http://127.0.0.1:9080 | ||
|
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
Large diffs are not rendered by default.
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from '@ember-data/adapter/json-api'; |
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,12 +1,11 @@ | ||
import '@ember-data/request-utils/deprecation-support'; | ||
import 'ember-data'; | ||
|
||
import setupContainer from 'ember-data/setup-container'; | ||
|
||
/* | ||
This code initializes EmberData in an Ember application. | ||
*/ | ||
export default { | ||
name: 'ember-data', | ||
initialize(application) { | ||
application.registerOptionsForType('serializer', { singleton: false }); | ||
application.registerOptionsForType('adapter', { singleton: false }); | ||
}, | ||
initialize: setupContainer, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* exists only for things that historically used "after" or "before" */ | ||
export default { | ||
name: 'ember-data', | ||
initialize() {}, | ||
}; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from '@ember-data/serializer/json'; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from '@ember-data/serializer/json-api'; |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default } from '@ember-data/serializer/rest'; |
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
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,17 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { default } from '@ember-data/adapter'; | ||
|
||
deprecate( | ||
'Importing from `ember-data/adapter` is deprecated. Please import from `@ember-data/adapter` instead.', | ||
false, | ||
{ | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
} | ||
); |
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,17 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { default } from '@ember-data/adapter/json-api'; | ||
|
||
deprecate( | ||
'Importing from `ember-data/adapters/json-api` is deprecated. Please import from `@ember-data/adapter/json-api` instead.', | ||
false, | ||
{ | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
} | ||
); |
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,17 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { default } from '@ember-data/adapter/rest'; | ||
|
||
deprecate( | ||
'Importing from `ember-data/adapters/rest` is deprecated. Please import from `@ember-data/adapter/rest` instead.', | ||
false, | ||
{ | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
} | ||
); |
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,13 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { attr as default } from '@ember-data/model'; | ||
|
||
deprecate('Importing from `ember-data/attr` is deprecated. Please import from `@ember-data/model` instead.', false, { | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
}); |
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,13 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { default } from '@ember-data/model'; | ||
|
||
deprecate('Importing from `ember-data/model` is deprecated. Please import from `@ember-data/model` instead.', false, { | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
}); |
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,17 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { belongsTo, hasMany } from '@ember-data/model'; | ||
|
||
deprecate( | ||
'Importing from `ember-data/relationships` is deprecated. Please import from `@ember-data/model` instead.', | ||
false, | ||
{ | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
} | ||
); |
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,17 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { default } from '@ember-data/serializer'; | ||
|
||
deprecate( | ||
'Importing from `ember-data/serializer` is deprecated. Please import from `@ember-data/serializer` instead.', | ||
false, | ||
{ | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
} | ||
); |
16 changes: 0 additions & 16 deletions
16
packages/-ember-data/src/serializers/embedded-records-mixin.ts
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,17 +1 @@ | ||
import { deprecate } from '@ember/debug'; | ||
|
||
export { EmbeddedRecordsMixin as default } from '@ember-data/serializer/rest'; | ||
|
||
deprecate( | ||
'Importing from `ember-data/serializers/embedded-records-mixin` is deprecated. Please import from `@ember-data/serializer/rest` instead.', | ||
false, | ||
{ | ||
id: 'ember-data:deprecate-legacy-imports', | ||
for: 'ember-data', | ||
until: '6.0', | ||
since: { | ||
enabled: '5.2', | ||
available: '5.2', | ||
}, | ||
} | ||
); |
Oops, something went wrong.