2018-03-13 21:42:38 +00:00
|
|
|
// Copied from source since it isn't exposed to import
|
|
|
|
// https://github.com/emberjs/ember.js/blob/v2.18.2/packages/ember-routing/lib/system/query_params.js
|
|
|
|
import EmberObject from '@ember/object';
|
2020-06-10 13:49:16 +00:00
|
|
|
import classic from 'ember-classic-decorator';
|
2018-03-13 21:42:38 +00:00
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
@classic
|
|
|
|
class QueryParams extends EmberObject {
|
|
|
|
isQueryParams = true;
|
|
|
|
values = null;
|
|
|
|
}
|
2018-03-13 21:42:38 +00:00
|
|
|
|
|
|
|
export const qpBuilder = values => QueryParams.create({ values });
|
|
|
|
|
|
|
|
export default QueryParams;
|