diff --git a/src/extension-support/reporter-scope.js b/src/extension-support/reporter-scope.js index 159d4b1c..6157d1c5 100644 --- a/src/extension-support/reporter-scope.js +++ b/src/extension-support/reporter-scope.js @@ -1,6 +1,18 @@ +/** + * Indicate the scope for a reporter's value. + * @enum {string} + */ const ReporterScope = { + /** + * This reporter's value is global and does not depend on context. + */ GLOBAL: 'global', - SPRITE: 'sprite' + + /** + * This reporter's value is specific to a particular target/sprite. + * Another target may have a different value or may not even have a value. + */ + TARGET: 'target' }; module.exports = ReporterScope;