Added Environment container
This commit is contained in:
parent
207f6e82b0
commit
213c53fa4e
|
@ -0,0 +1,17 @@
|
|||
export default {
|
||||
|
||||
/**
|
||||
* A generic container for RecogitoJS/Annotorious
|
||||
* to store globally available environment info. The
|
||||
* most important piece of information is user auth
|
||||
* info. Example:
|
||||
*
|
||||
* user: { id, displayName, email, avatarURL }
|
||||
*
|
||||
* id ........... the host application user ID (should be a URI, but could be username) REQUIRED
|
||||
* displayName .. screen display or nickname OPTIONAL (id is used when empty)
|
||||
* email ........ OPTIONAL
|
||||
* avatarURL .... OPTIONAL + not supported at the moment
|
||||
*/
|
||||
|
||||
}
|
|
@ -1,3 +1,4 @@
|
|||
export { default as Environment } from './Environment';
|
||||
export { default as TextAnnotator } from './TextAnnotator';
|
||||
export { default as WebAnnotation } from './WebAnnotation';
|
||||
|
||||
|
|
Loading…
Reference in New Issue