Adjustments to match template for new Krill API
diff --git a/dev/js/src/match.js b/dev/js/src/match.js
index d3aee67..f6fbd41 100644
--- a/dev/js/src/match.js
+++ b/dev/js/src/match.js
@@ -10,8 +10,9 @@
*/
define([
'match/info',
+ 'match/reference',
'util'
-], function (infoClass) {
+], function (infoClass, refClass) {
// Localization values
var loc = KorAP.Locale;
diff --git a/dev/js/src/match/reference.js b/dev/js/src/match/reference.js
new file mode 100644
index 0000000..978930c
--- /dev/null
+++ b/dev/js/src/match/reference.js
@@ -0,0 +1,27 @@
+/*
+ author, editor title, subTitle textSigle
+ in corpusAuthor (corpusEditor), corpusTitle, corpusSubTitle, corpusSigle
+ in docAuthor (docEditor), docTitle, docSubTitle, docSigle
+ publisher
+ reference
+ creationDate
+ foundries
+ keywords
+ textClass
+ textColumn
+ textDomain
+ textType
+ textTypeArt
+ textTypeRef
+ language
+ license
+ pages
+ pubDate
+ layerInfo
+ tokenSource
+ biblEditionStatement
+ fileEditionStatement
+*/
+define(function () {
+ return;
+});
diff --git a/dev/js/src/vc/array.js b/dev/js/src/vc/array.js
index 6473a48..f640ed2 100644
--- a/dev/js/src/vc/array.js
+++ b/dev/js/src/vc/array.js
@@ -1,36 +1,39 @@
define(function () {
return [
- ['author', 'string'],
- ['biblEditionStatement', 'string'],
- ['corpusAuthor', 'string'],
- ['corpusEditor', 'string'],
- ['corpusSigle', 'string'],
- ['corpusSubTitle', 'string'],
- ['corpusTitle', 'string'],
- ['creationDate', 'date'],
- ['docAuthor', 'string'],
- ['docEditor', 'string'],
- ['docSigle', 'string'],
- ['docSubTitle', 'string'],
- ['docTitle', 'string'],
- ['editor', 'string'],
- ['fileEditionStatement', 'string'],
- ['keywords', 'string'],
- ['language', 'string'],
- ['license', 'string'],
- ['pages', 'string'],
- ['pubDate', 'date'],
- ['publisher', 'string'],
- ['pubPlace', 'date'],
- ['reference', 'string'],
- ['subTitle', 'string'],
- ['textClass', 'string'],
- ['textColumn', 'string'],
- ['textDomain', 'string'],
- ['textSigle', 'string'],
- ['textType', 'string'],
- ['textTypeArt', 'string'],
- ['textTypeRef', 'string'],
- ['title', 'string']
+ // layerInfo // stored
+ // tokenSource // stored
+ ['author', 'string'], // text
+ // ['biblEditionStatement', 'string'], // stored
+ ['corpusAuthor', 'string'], // text
+ // ['corpusEditor', 'string'], // stored
+ ['corpusSigle', 'string'], // string
+ ['corpusSubTitle', 'string'], // text
+ ['corpusTitle', 'string'], // text
+ ['creationDate', 'date'], // int
+ ['docAuthor', 'string'], // text
+ // ['docEditor', 'string'], // stored
+ ['docSigle', 'string'], // string
+ ['docSubTitle', 'string'], // text
+ ['docTitle', 'string'], // text
+ // ['editor', 'string'], // stored
+ // ['fileEditionStatement', 'string'], // stored
+ ['foundries', 'string'], // keywords
+ ['keywords', 'string'], // keywords
+ ['language', 'string'], // string
+ ['license', 'string'], // string
+ // ['pages', 'string'], // stored
+ ['pubDate', 'date'], // int
+ // ['publisher', 'string'], // stored
+ ['pubPlace', 'date'], // string
+ // ['reference', 'string'], // stored
+ ['subTitle', 'string'], // text
+ ['textClass', 'string'], // keyword
+ ['textColumn', 'string'], // string
+ ['textDomain', 'string'], // string
+ ['textSigle', 'string'], // string
+ ['textType', 'string'], // string
+ ['textTypeArt', 'string'], // string
+ ['textTypeRef', 'string'], // string
+ ['title', 'string'] // text
]
});