/**
 * This module defines a mapping between supported GET request query parameter
 * arguments and their corresponding mixin, if available.
 */
'use strict';

var filterMixins = require( './filters' );
var parameterMixins = require( './parameters' );

// `.context`, `.embed`, and `.edit` (a shortcut for `context(edit, true)`) are
// supported by default in WPRequest, as is the base `.param` method. Any GET
// argument parameters not covered here must be set directly by using `.param`.
module.exports = {
	after: { after: parameterMixins.after },
	author: { author: parameterMixins.author },
	before: { before: parameterMixins.before },
	filter: filterMixins,
	parent: { parent: parameterMixins.parent },
	post: { forPost: parameterMixins.forPost },
	slug: { slug: parameterMixins.slug, name: parameterMixins.name }
};

/**
 * This module defines a mapping between supported GET request query parameter
 * arguments and their corresponding mixin, if available.
 */
'use strict';

var filterMixins = require( './filters' );
var parameterMixins = require( './parameters' );

// `.context`, `.embed`, and `.edit` (a shortcut for `context(edit, true)`) are
// supported by default in WPRequest, as is the base `.param` method. Any GET
// argument parameters not covered here must be set directly by using `.param`.
module.exports = {
	after: { after: parameterMixins.after },
	author: { author: parameterMixins.author },
	before: { before: parameterMixins.before },
	filter: filterMixins,
	parent: { parent: parameterMixins.parent },
	post: { forPost: parameterMixins.forPost }
};

Remove removed mixins from mixin list
Remove removed mixins from mixin list
