<filename>api_server/modules/marker_locations/test/marker_locations_test_constants.js<gh_stars>1-10
// test constants for testing the marker locations module

'use strict';

const MarkerLocationsAttributes = require(process.env.CSSVC_BACKEND_ROOT + '/api_server/modules/marker_locations/marker_locations_attributes');

const EXPECTED_MARKER_LOCATIONS_FIELDS = [
	'teamId',
	'streamId',
	'postId',
	'locations'
];

const UNSANITIZED_ATTRIBUTES = Object.keys(MarkerLocationsAttributes).filter(attribute => {
	return MarkerLocationsAttributes[attribute].serverOnly;
});

module.exports = {
	EXPECTED_MARKER_LOCATIONS_FIELDS,
	UNSANITIZED_ATTRIBUTES
};
