feedsmith 2.8.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/common/config.cjs +100 -273
- package/dist/common/config.js +99 -272
- package/dist/common/parse.cjs +12 -14
- package/dist/common/parse.js +11 -13
- package/dist/common/types.d.cts +2 -1
- package/dist/common/types.d.ts +2 -1
- package/dist/common/utils.cjs +45 -18
- package/dist/common/utils.js +45 -18
- package/dist/feeds/atom/common/types.d.cts +0 -1
- package/dist/feeds/atom/common/types.d.ts +0 -1
- package/dist/feeds/atom/detect/index.cjs +4 -5
- package/dist/feeds/atom/detect/index.js +3 -4
- package/dist/feeds/atom/generate/config.cjs +3 -6
- package/dist/feeds/atom/generate/config.js +1 -3
- package/dist/feeds/atom/generate/index.cjs +5 -7
- package/dist/feeds/atom/generate/index.js +2 -4
- package/dist/feeds/atom/generate/utils.cjs +32 -34
- package/dist/feeds/atom/generate/utils.js +29 -31
- package/dist/feeds/atom/parse/config.cjs +7 -5
- package/dist/feeds/atom/parse/config.js +6 -5
- package/dist/feeds/atom/parse/index.cjs +6 -9
- package/dist/feeds/atom/parse/index.js +4 -7
- package/dist/feeds/atom/parse/utils.cjs +70 -80
- package/dist/feeds/atom/parse/utils.js +62 -72
- package/dist/feeds/json/detect/index.cjs +3 -5
- package/dist/feeds/json/detect/index.js +1 -3
- package/dist/feeds/json/generate/index.cjs +2 -4
- package/dist/feeds/json/generate/index.js +1 -3
- package/dist/feeds/json/generate/utils.cjs +2 -4
- package/dist/feeds/json/generate/utils.js +1 -3
- package/dist/feeds/json/parse/index.cjs +5 -7
- package/dist/feeds/json/parse/index.js +2 -4
- package/dist/feeds/json/parse/utils.cjs +2 -4
- package/dist/feeds/json/parse/utils.js +1 -3
- package/dist/feeds/rdf/detect/index.cjs +15 -6
- package/dist/feeds/rdf/detect/index.js +14 -5
- package/dist/feeds/rdf/parse/config.cjs +6 -4
- package/dist/feeds/rdf/parse/config.js +5 -4
- package/dist/feeds/rdf/parse/index.cjs +6 -9
- package/dist/feeds/rdf/parse/index.js +4 -7
- package/dist/feeds/rdf/parse/utils.cjs +28 -30
- package/dist/feeds/rdf/parse/utils.js +26 -28
- package/dist/feeds/rss/detect/index.cjs +2 -4
- package/dist/feeds/rss/detect/index.js +1 -3
- package/dist/feeds/rss/generate/config.cjs +3 -6
- package/dist/feeds/rss/generate/config.js +1 -3
- package/dist/feeds/rss/generate/index.cjs +5 -7
- package/dist/feeds/rss/generate/index.js +2 -4
- package/dist/feeds/rss/generate/utils.cjs +34 -36
- package/dist/feeds/rss/generate/utils.js +54 -56
- package/dist/feeds/rss/parse/config.cjs +30 -25
- package/dist/feeds/rss/parse/config.js +29 -25
- package/dist/feeds/rss/parse/index.cjs +6 -9
- package/dist/feeds/rss/parse/index.js +4 -7
- package/dist/feeds/rss/parse/utils.cjs +104 -96
- package/dist/feeds/rss/parse/utils.js +111 -103
- package/dist/index.cjs +16 -16
- package/dist/index.js +1 -2
- package/dist/namespaces/acast/common/config.cjs +18 -0
- package/dist/namespaces/acast/common/config.js +17 -0
- package/dist/namespaces/acast/generate/utils.cjs +2 -4
- package/dist/namespaces/acast/generate/utils.js +1 -3
- package/dist/namespaces/acast/parse/utils.cjs +10 -12
- package/dist/namespaces/acast/parse/utils.js +9 -11
- package/dist/namespaces/admin/common/config.cjs +11 -0
- package/dist/namespaces/admin/common/config.js +10 -0
- package/dist/namespaces/admin/generate/utils.cjs +2 -4
- package/dist/namespaces/admin/generate/utils.js +1 -3
- package/dist/namespaces/admin/parse/utils.cjs +4 -6
- package/dist/namespaces/admin/parse/utils.js +3 -5
- package/dist/namespaces/app/common/config.cjs +11 -0
- package/dist/namespaces/app/common/config.js +10 -0
- package/dist/namespaces/app/generate/utils.cjs +2 -4
- package/dist/namespaces/app/generate/utils.js +1 -3
- package/dist/namespaces/app/parse/utils.cjs +4 -6
- package/dist/namespaces/app/parse/utils.js +3 -5
- package/dist/namespaces/arxiv/common/config.cjs +16 -0
- package/dist/namespaces/arxiv/common/config.js +15 -0
- package/dist/namespaces/arxiv/generate/utils.cjs +2 -4
- package/dist/namespaces/arxiv/generate/utils.js +1 -3
- package/dist/namespaces/arxiv/parse/utils.cjs +6 -8
- package/dist/namespaces/arxiv/parse/utils.js +5 -7
- package/dist/namespaces/atom/common/config.cjs +11 -0
- package/dist/namespaces/atom/common/config.js +11 -0
- package/dist/namespaces/atom/common/types.d.cts +4 -3
- package/dist/namespaces/atom/common/types.d.ts +4 -3
- package/dist/namespaces/atom/generate/utils.cjs +5 -7
- package/dist/namespaces/atom/generate/utils.js +6 -8
- package/dist/namespaces/atom/parse/utils.cjs +2 -4
- package/dist/namespaces/atom/parse/utils.js +1 -3
- package/dist/namespaces/blogchannel/common/config.cjs +15 -0
- package/dist/namespaces/blogchannel/common/config.js +14 -0
- package/dist/namespaces/blogchannel/generate/utils.cjs +2 -4
- package/dist/namespaces/blogchannel/generate/utils.js +1 -3
- package/dist/namespaces/blogchannel/parse/utils.cjs +5 -7
- package/dist/namespaces/blogchannel/parse/utils.js +4 -6
- package/dist/namespaces/cc/common/config.cjs +25 -0
- package/dist/namespaces/cc/common/config.js +24 -0
- package/dist/namespaces/cc/generate/utils.cjs +2 -4
- package/dist/namespaces/cc/generate/utils.js +1 -3
- package/dist/namespaces/cc/parse/utils.cjs +13 -15
- package/dist/namespaces/cc/parse/utils.js +12 -14
- package/dist/namespaces/content/common/config.cjs +11 -0
- package/dist/namespaces/content/common/config.js +10 -0
- package/dist/namespaces/content/generate/utils.cjs +2 -4
- package/dist/namespaces/content/generate/utils.js +1 -3
- package/dist/namespaces/content/parse/utils.cjs +3 -5
- package/dist/namespaces/content/parse/utils.js +2 -4
- package/dist/namespaces/creativecommons/common/config.cjs +15 -0
- package/dist/namespaces/creativecommons/common/config.js +14 -0
- package/dist/namespaces/creativecommons/generate/utils.cjs +2 -4
- package/dist/namespaces/creativecommons/generate/utils.js +1 -3
- package/dist/namespaces/creativecommons/parse/utils.cjs +3 -5
- package/dist/namespaces/creativecommons/parse/utils.js +2 -4
- package/dist/namespaces/dc/common/config.cjs +35 -0
- package/dist/namespaces/dc/common/config.js +34 -0
- package/dist/namespaces/dc/common/types.d.cts +15 -30
- package/dist/namespaces/dc/common/types.d.ts +15 -30
- package/dist/namespaces/dc/generate/utils.cjs +2 -4
- package/dist/namespaces/dc/generate/utils.js +1 -3
- package/dist/namespaces/dc/parse/utils.cjs +30 -32
- package/dist/namespaces/dc/parse/utils.js +29 -31
- package/dist/namespaces/dcterms/common/config.cjs +75 -0
- package/dist/namespaces/dcterms/common/config.js +74 -0
- package/dist/namespaces/dcterms/common/types.d.cts +55 -110
- package/dist/namespaces/dcterms/common/types.d.ts +55 -110
- package/dist/namespaces/dcterms/generate/utils.cjs +2 -4
- package/dist/namespaces/dcterms/generate/utils.js +1 -3
- package/dist/namespaces/dcterms/parse/utils.cjs +91 -93
- package/dist/namespaces/dcterms/parse/utils.js +90 -92
- package/dist/namespaces/feedpress/common/config.cjs +25 -0
- package/dist/namespaces/feedpress/common/config.js +24 -0
- package/dist/namespaces/feedpress/generate/utils.cjs +2 -4
- package/dist/namespaces/feedpress/generate/utils.js +1 -3
- package/dist/namespaces/feedpress/parse/utils.cjs +7 -9
- package/dist/namespaces/feedpress/parse/utils.js +6 -8
- package/dist/namespaces/geo/common/config.cjs +10 -0
- package/dist/namespaces/geo/common/config.js +9 -0
- package/dist/namespaces/geo/generate/utils.cjs +2 -4
- package/dist/namespaces/geo/generate/utils.js +1 -3
- package/dist/namespaces/geo/parse/utils.cjs +5 -7
- package/dist/namespaces/geo/parse/utils.js +4 -6
- package/dist/namespaces/georss/common/config.cjs +22 -0
- package/dist/namespaces/georss/common/config.js +21 -0
- package/dist/namespaces/georss/generate/utils.cjs +2 -4
- package/dist/namespaces/georss/generate/utils.js +1 -3
- package/dist/namespaces/georss/parse/utils.cjs +8 -10
- package/dist/namespaces/georss/parse/utils.js +7 -9
- package/dist/namespaces/googleplay/common/config.cjs +22 -0
- package/dist/namespaces/googleplay/common/config.js +21 -0
- package/dist/namespaces/googleplay/generate/utils.cjs +2 -4
- package/dist/namespaces/googleplay/generate/utils.js +1 -3
- package/dist/namespaces/googleplay/parse/utils.cjs +10 -12
- package/dist/namespaces/googleplay/parse/utils.js +9 -11
- package/dist/namespaces/itunes/common/config.cjs +24 -0
- package/dist/namespaces/itunes/common/config.js +23 -0
- package/dist/namespaces/itunes/common/types.d.cts +7 -14
- package/dist/namespaces/itunes/common/types.d.ts +7 -14
- package/dist/namespaces/itunes/generate/utils.cjs +2 -4
- package/dist/namespaces/itunes/generate/utils.js +1 -3
- package/dist/namespaces/itunes/parse/utils.cjs +26 -28
- package/dist/namespaces/itunes/parse/utils.js +25 -27
- package/dist/namespaces/media/common/config.cjs +49 -0
- package/dist/namespaces/media/common/config.js +48 -0
- package/dist/namespaces/media/common/types.d.cts +1 -2
- package/dist/namespaces/media/common/types.d.ts +1 -2
- package/dist/namespaces/media/generate/utils.cjs +2 -4
- package/dist/namespaces/media/generate/utils.js +1 -3
- package/dist/namespaces/media/parse/utils.cjs +21 -23
- package/dist/namespaces/media/parse/utils.js +20 -22
- package/dist/namespaces/opensearch/common/config.cjs +17 -0
- package/dist/namespaces/opensearch/common/config.js +16 -0
- package/dist/namespaces/opensearch/generate/utils.cjs +2 -4
- package/dist/namespaces/opensearch/generate/utils.js +1 -3
- package/dist/namespaces/opensearch/parse/utils.cjs +5 -7
- package/dist/namespaces/opensearch/parse/utils.js +4 -6
- package/dist/namespaces/pingback/common/config.cjs +15 -0
- package/dist/namespaces/pingback/common/config.js +14 -0
- package/dist/namespaces/pingback/generate/utils.cjs +2 -4
- package/dist/namespaces/pingback/generate/utils.js +1 -3
- package/dist/namespaces/pingback/parse/utils.cjs +5 -7
- package/dist/namespaces/pingback/parse/utils.js +4 -6
- package/dist/namespaces/podcast/common/config.cjs +28 -0
- package/dist/namespaces/podcast/common/config.js +27 -0
- package/dist/namespaces/podcast/common/types.d.cts +9 -12
- package/dist/namespaces/podcast/common/types.d.ts +9 -12
- package/dist/namespaces/podcast/generate/utils.cjs +7 -6
- package/dist/namespaces/podcast/generate/utils.js +6 -5
- package/dist/namespaces/podcast/parse/utils.cjs +9 -8
- package/dist/namespaces/podcast/parse/utils.js +8 -7
- package/dist/namespaces/prism/common/config.cjs +138 -0
- package/dist/namespaces/prism/common/config.js +137 -0
- package/dist/namespaces/prism/common/types.d.cts +8 -16
- package/dist/namespaces/prism/common/types.d.ts +8 -16
- package/dist/namespaces/prism/generate/utils.cjs +2 -4
- package/dist/namespaces/prism/generate/utils.js +1 -3
- package/dist/namespaces/prism/parse/utils.cjs +139 -141
- package/dist/namespaces/prism/parse/utils.js +138 -140
- package/dist/namespaces/psc/common/config.cjs +9 -0
- package/dist/namespaces/psc/common/config.js +9 -0
- package/dist/namespaces/psc/generate/utils.cjs +2 -4
- package/dist/namespaces/psc/generate/utils.js +1 -3
- package/dist/namespaces/psc/parse/utils.cjs +2 -4
- package/dist/namespaces/psc/parse/utils.js +1 -3
- package/dist/namespaces/rawvoice/common/config.cjs +29 -0
- package/dist/namespaces/rawvoice/common/config.js +28 -0
- package/dist/namespaces/rawvoice/generate/utils.cjs +2 -4
- package/dist/namespaces/rawvoice/generate/utils.js +1 -3
- package/dist/namespaces/rawvoice/parse/utils.cjs +8 -10
- package/dist/namespaces/rawvoice/parse/utils.js +7 -9
- package/dist/namespaces/rdf/common/config.cjs +6 -0
- package/dist/namespaces/rdf/common/config.js +5 -0
- package/dist/namespaces/rdf/parse/utils.cjs +2 -4
- package/dist/namespaces/rdf/parse/utils.js +1 -3
- package/dist/namespaces/rss/common/config.cjs +9 -0
- package/dist/namespaces/rss/common/config.js +9 -0
- package/dist/namespaces/slash/common/config.cjs +16 -0
- package/dist/namespaces/slash/common/config.js +15 -0
- package/dist/namespaces/slash/generate/utils.cjs +2 -4
- package/dist/namespaces/slash/generate/utils.js +1 -3
- package/dist/namespaces/slash/parse/utils.cjs +6 -8
- package/dist/namespaces/slash/parse/utils.js +5 -7
- package/dist/namespaces/source/common/config.cjs +25 -0
- package/dist/namespaces/source/common/config.js +24 -0
- package/dist/namespaces/source/generate/utils.cjs +2 -4
- package/dist/namespaces/source/generate/utils.js +1 -3
- package/dist/namespaces/source/parse/utils.cjs +13 -15
- package/dist/namespaces/source/parse/utils.js +12 -14
- package/dist/namespaces/spotify/common/config.cjs +11 -0
- package/dist/namespaces/spotify/common/config.js +10 -0
- package/dist/namespaces/spotify/generate/utils.cjs +2 -4
- package/dist/namespaces/spotify/generate/utils.js +1 -3
- package/dist/namespaces/spotify/parse/utils.cjs +3 -5
- package/dist/namespaces/spotify/parse/utils.js +2 -4
- package/dist/namespaces/sy/common/config.cjs +15 -0
- package/dist/namespaces/sy/common/config.js +14 -0
- package/dist/namespaces/sy/generate/utils.cjs +2 -4
- package/dist/namespaces/sy/generate/utils.js +1 -3
- package/dist/namespaces/sy/parse/utils.cjs +5 -7
- package/dist/namespaces/sy/parse/utils.js +4 -6
- package/dist/namespaces/thr/common/config.cjs +15 -0
- package/dist/namespaces/thr/common/config.js +14 -0
- package/dist/namespaces/thr/generate/utils.cjs +2 -4
- package/dist/namespaces/thr/generate/utils.js +1 -3
- package/dist/namespaces/thr/parse/utils.cjs +3 -5
- package/dist/namespaces/thr/parse/utils.js +2 -4
- package/dist/namespaces/trackback/common/config.cjs +11 -0
- package/dist/namespaces/trackback/common/config.js +10 -0
- package/dist/namespaces/trackback/generate/utils.cjs +2 -4
- package/dist/namespaces/trackback/generate/utils.js +1 -3
- package/dist/namespaces/trackback/parse/utils.cjs +4 -6
- package/dist/namespaces/trackback/parse/utils.js +3 -5
- package/dist/namespaces/wfw/common/config.cjs +11 -0
- package/dist/namespaces/wfw/common/config.js +10 -0
- package/dist/namespaces/wfw/generate/utils.cjs +2 -4
- package/dist/namespaces/wfw/generate/utils.js +1 -3
- package/dist/namespaces/wfw/parse/utils.cjs +4 -6
- package/dist/namespaces/wfw/parse/utils.js +3 -5
- package/dist/namespaces/yt/common/config.cjs +15 -0
- package/dist/namespaces/yt/common/config.js +14 -0
- package/dist/namespaces/yt/generate/utils.cjs +2 -4
- package/dist/namespaces/yt/generate/utils.js +1 -3
- package/dist/namespaces/yt/parse/utils.cjs +6 -8
- package/dist/namespaces/yt/parse/utils.js +5 -7
- package/dist/opml/generate/config.cjs +3 -6
- package/dist/opml/generate/config.js +1 -3
- package/dist/opml/generate/index.cjs +5 -7
- package/dist/opml/generate/index.js +2 -4
- package/dist/opml/generate/utils.cjs +2 -4
- package/dist/opml/generate/utils.js +1 -3
- package/dist/opml/parse/config.cjs +3 -6
- package/dist/opml/parse/config.js +2 -5
- package/dist/opml/parse/index.cjs +4 -6
- package/dist/opml/parse/index.js +1 -3
- package/dist/opml/parse/utils.cjs +17 -19
- package/dist/opml/parse/utils.js +16 -18
- package/dist/types.js +1 -1
- package/package.json +8 -10
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
//#region src/namespaces/dcterms/common/config.ts
|
|
2
|
+
const uris = [
|
|
3
|
+
"http://purl.org/dc/terms/",
|
|
4
|
+
"https://purl.org/dc/terms/",
|
|
5
|
+
"http://purl.org/dc/terms",
|
|
6
|
+
"https://purl.org/dc/terms",
|
|
7
|
+
"http://dublincore.org/documents/dcmi-terms/",
|
|
8
|
+
"https://dublincore.org/documents/dcmi-terms/",
|
|
9
|
+
"http://dublincore.org/documents/dcmi-terms",
|
|
10
|
+
"https://dublincore.org/documents/dcmi-terms",
|
|
11
|
+
"http://dublincore.org/specifications/dublin-core/dcmi-terms/",
|
|
12
|
+
"https://dublincore.org/specifications/dublin-core/dcmi-terms/",
|
|
13
|
+
"http://dublincore.org/specifications/dublin-core/dcmi-terms",
|
|
14
|
+
"https://dublincore.org/specifications/dublin-core/dcmi-terms"
|
|
15
|
+
];
|
|
16
|
+
const stopNodes = [
|
|
17
|
+
"*.dcterms:abstract",
|
|
18
|
+
"*.dcterms:accrualmethod",
|
|
19
|
+
"*.dcterms:accrualperiodicity",
|
|
20
|
+
"*.dcterms:accrualpolicy",
|
|
21
|
+
"*.dcterms:alternative",
|
|
22
|
+
"*.dcterms:audience",
|
|
23
|
+
"*.dcterms:bibliographiccitation",
|
|
24
|
+
"*.dcterms:contributor",
|
|
25
|
+
"*.dcterms:coverage",
|
|
26
|
+
"*.dcterms:creator",
|
|
27
|
+
"*.dcterms:date",
|
|
28
|
+
"*.dcterms:description",
|
|
29
|
+
"*.dcterms:educationlevel",
|
|
30
|
+
"*.dcterms:extent",
|
|
31
|
+
"*.dcterms:format",
|
|
32
|
+
"*.dcterms:hasformat",
|
|
33
|
+
"*.dcterms:haspart",
|
|
34
|
+
"*.dcterms:hasversion",
|
|
35
|
+
"*.dcterms:identifier",
|
|
36
|
+
"*.dcterms:instructionalmethod",
|
|
37
|
+
"*.dcterms:language",
|
|
38
|
+
"*.dcterms:license",
|
|
39
|
+
"*.dcterms:mediator",
|
|
40
|
+
"*.dcterms:medium",
|
|
41
|
+
"*.dcterms:provenance",
|
|
42
|
+
"*.dcterms:publisher",
|
|
43
|
+
"*.dcterms:relation",
|
|
44
|
+
"*.dcterms:rightsholder",
|
|
45
|
+
"*.dcterms:source",
|
|
46
|
+
"*.dcterms:spatial",
|
|
47
|
+
"*.dcterms:subject",
|
|
48
|
+
"*.dcterms:temporal",
|
|
49
|
+
"*.dcterms:title",
|
|
50
|
+
"*.dcterms:type",
|
|
51
|
+
"*.dcterms:accessrights",
|
|
52
|
+
"*.dcterms:available",
|
|
53
|
+
"*.dcterms:conformsto",
|
|
54
|
+
"*.dcterms:created",
|
|
55
|
+
"*.dcterms:dateaccepted",
|
|
56
|
+
"*.dcterms:datecopyrighted",
|
|
57
|
+
"*.dcterms:datesubmitted",
|
|
58
|
+
"*.dcterms:isformatof",
|
|
59
|
+
"*.dcterms:ispartof",
|
|
60
|
+
"*.dcterms:isreferencedby",
|
|
61
|
+
"*.dcterms:isreplacedby",
|
|
62
|
+
"*.dcterms:isrequiredby",
|
|
63
|
+
"*.dcterms:issued",
|
|
64
|
+
"*.dcterms:isversionof",
|
|
65
|
+
"*.dcterms:modified",
|
|
66
|
+
"*.dcterms:references",
|
|
67
|
+
"*.dcterms:replaces",
|
|
68
|
+
"*.dcterms:requires",
|
|
69
|
+
"*.dcterms:rights",
|
|
70
|
+
"*.dcterms:tableofcontents",
|
|
71
|
+
"*.dcterms:valid"
|
|
72
|
+
];
|
|
73
|
+
//#endregion
|
|
74
|
+
export { stopNodes, uris };
|
|
@@ -36,116 +36,61 @@ declare namespace DcTermsNs {
|
|
|
36
36
|
subjects?: Array<string>;
|
|
37
37
|
temporals?: Array<string>;
|
|
38
38
|
titles?: Array<string>;
|
|
39
|
-
types?: Array<string>;
|
|
40
|
-
/** @deprecated
|
|
41
|
-
|
|
42
|
-
/** @deprecated
|
|
43
|
-
|
|
44
|
-
/** @deprecated Use `
|
|
45
|
-
|
|
46
|
-
/** @deprecated
|
|
47
|
-
|
|
48
|
-
/** @deprecated
|
|
49
|
-
|
|
50
|
-
/** @deprecated Use `
|
|
51
|
-
|
|
52
|
-
/** @deprecated Use `
|
|
53
|
-
|
|
54
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
55
|
-
|
|
56
|
-
/** @deprecated
|
|
57
|
-
|
|
58
|
-
/** @deprecated
|
|
59
|
-
|
|
60
|
-
/** @deprecated Use `
|
|
61
|
-
|
|
62
|
-
/** @deprecated Use `
|
|
63
|
-
|
|
64
|
-
/** @deprecated
|
|
65
|
-
|
|
66
|
-
/** @deprecated
|
|
67
|
-
|
|
68
|
-
/** @deprecated
|
|
69
|
-
|
|
70
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
71
|
-
|
|
72
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
73
|
-
|
|
74
|
-
/** @deprecated
|
|
75
|
-
|
|
76
|
-
/** @deprecated Use `
|
|
77
|
-
|
|
78
|
-
/** @deprecated Use `
|
|
79
|
-
|
|
80
|
-
/** @deprecated
|
|
81
|
-
|
|
82
|
-
/** @deprecated
|
|
83
|
-
|
|
84
|
-
/** @deprecated
|
|
85
|
-
|
|
86
|
-
/** @deprecated Use `
|
|
87
|
-
|
|
88
|
-
/** @deprecated Use `
|
|
89
|
-
|
|
90
|
-
/** @deprecated Use `
|
|
91
|
-
|
|
92
|
-
/** @deprecated Use `
|
|
93
|
-
|
|
94
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
95
|
-
isFormatOf?: string;
|
|
96
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
97
|
-
isPartOf?: string;
|
|
98
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
99
|
-
isReferencedBy?: string;
|
|
100
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
101
|
-
isReplacedBy?: string;
|
|
102
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
103
|
-
isRequiredBy?: string;
|
|
104
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
105
|
-
issued?: TDate;
|
|
106
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
107
|
-
isVersionOf?: string;
|
|
108
|
-
/** @deprecated Use `languages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
109
|
-
language?: string;
|
|
110
|
-
/** @deprecated Use `licenses` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
111
|
-
license?: string;
|
|
112
|
-
/** @deprecated Use `mediators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
113
|
-
mediator?: string;
|
|
114
|
-
/** @deprecated Use `mediums` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
115
|
-
medium?: string;
|
|
116
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
117
|
-
modified?: TDate;
|
|
118
|
-
/** @deprecated Use `provenances` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
119
|
-
provenance?: string;
|
|
120
|
-
/** @deprecated Use `publishers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
121
|
-
publisher?: string;
|
|
122
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
123
|
-
references?: string;
|
|
124
|
-
/** @deprecated Use `relations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
125
|
-
relation?: string;
|
|
126
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
127
|
-
replaces?: string;
|
|
128
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
129
|
-
requires?: string;
|
|
130
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
131
|
-
rights?: string;
|
|
132
|
-
/** @deprecated Use `rightsHolders` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
133
|
-
rightsHolder?: string;
|
|
134
|
-
/** @deprecated Use `sources` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
135
|
-
source?: string;
|
|
136
|
-
/** @deprecated Use `spatials` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
137
|
-
spatial?: string;
|
|
138
|
-
/** @deprecated Use `subjects` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
139
|
-
subject?: string;
|
|
140
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
141
|
-
tableOfContents?: string;
|
|
142
|
-
/** @deprecated Use `temporals` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
143
|
-
temporal?: string;
|
|
144
|
-
/** @deprecated Use `titles` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
145
|
-
title?: string;
|
|
146
|
-
/** @deprecated Use `types` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
147
|
-
type?: string;
|
|
148
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
39
|
+
types?: Array<string>; /** @deprecated Use `abstracts` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
40
|
+
abstract?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
41
|
+
accessRights?: string; /** @deprecated Use `accrualMethods` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
42
|
+
accrualMethod?: string; /** @deprecated Use `accrualPeriodicities` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
43
|
+
accrualPeriodicity?: string; /** @deprecated Use `accrualPolicies` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
44
|
+
accrualPolicy?: string; /** @deprecated Use `alternatives` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
45
|
+
alternative?: string; /** @deprecated Use `audiences` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
46
|
+
audience?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
47
|
+
available?: TDate; /** @deprecated Use `bibliographicCitations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
48
|
+
bibliographicCitation?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
49
|
+
conformsTo?: string; /** @deprecated Use `contributors` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
50
|
+
contributor?: string; /** @deprecated Use `coverages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
51
|
+
coverage?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
52
|
+
created?: TDate; /** @deprecated Use `creators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
53
|
+
creator?: string; /** @deprecated Use `dates` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
54
|
+
date?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
55
|
+
dateAccepted?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
56
|
+
dateCopyrighted?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
57
|
+
dateSubmitted?: TDate; /** @deprecated Use `descriptions` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
58
|
+
description?: string; /** @deprecated Use `educationLevels` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
59
|
+
educationLevel?: string; /** @deprecated Use `extents` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
60
|
+
extent?: string; /** @deprecated Use `formats` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
61
|
+
format?: string; /** @deprecated Use `hasFormats` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
62
|
+
hasFormat?: string; /** @deprecated Use `hasParts` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
63
|
+
hasPart?: string; /** @deprecated Use `hasVersions` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
64
|
+
hasVersion?: string; /** @deprecated Use `identifiers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
65
|
+
identifier?: string; /** @deprecated Use `instructionalMethods` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
66
|
+
instructionalMethod?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
67
|
+
isFormatOf?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
68
|
+
isPartOf?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
69
|
+
isReferencedBy?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
70
|
+
isReplacedBy?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
71
|
+
isRequiredBy?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
72
|
+
issued?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
73
|
+
isVersionOf?: string; /** @deprecated Use `languages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
74
|
+
language?: string; /** @deprecated Use `licenses` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
75
|
+
license?: string; /** @deprecated Use `mediators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
76
|
+
mediator?: string; /** @deprecated Use `mediums` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
77
|
+
medium?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
78
|
+
modified?: TDate; /** @deprecated Use `provenances` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
79
|
+
provenance?: string; /** @deprecated Use `publishers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
80
|
+
publisher?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
81
|
+
references?: string; /** @deprecated Use `relations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
82
|
+
relation?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
83
|
+
replaces?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
84
|
+
requires?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
85
|
+
rights?: string; /** @deprecated Use `rightsHolders` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
86
|
+
rightsHolder?: string; /** @deprecated Use `sources` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
87
|
+
source?: string; /** @deprecated Use `spatials` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
88
|
+
spatial?: string; /** @deprecated Use `subjects` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
89
|
+
subject?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
90
|
+
tableOfContents?: string; /** @deprecated Use `temporals` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
91
|
+
temporal?: string; /** @deprecated Use `titles` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
92
|
+
title?: string; /** @deprecated Use `types` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
93
|
+
type?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
149
94
|
valid?: TDate;
|
|
150
95
|
};
|
|
151
96
|
}
|
|
@@ -36,116 +36,61 @@ declare namespace DcTermsNs {
|
|
|
36
36
|
subjects?: Array<string>;
|
|
37
37
|
temporals?: Array<string>;
|
|
38
38
|
titles?: Array<string>;
|
|
39
|
-
types?: Array<string>;
|
|
40
|
-
/** @deprecated
|
|
41
|
-
|
|
42
|
-
/** @deprecated
|
|
43
|
-
|
|
44
|
-
/** @deprecated Use `
|
|
45
|
-
|
|
46
|
-
/** @deprecated
|
|
47
|
-
|
|
48
|
-
/** @deprecated
|
|
49
|
-
|
|
50
|
-
/** @deprecated Use `
|
|
51
|
-
|
|
52
|
-
/** @deprecated Use `
|
|
53
|
-
|
|
54
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
55
|
-
|
|
56
|
-
/** @deprecated
|
|
57
|
-
|
|
58
|
-
/** @deprecated
|
|
59
|
-
|
|
60
|
-
/** @deprecated Use `
|
|
61
|
-
|
|
62
|
-
/** @deprecated Use `
|
|
63
|
-
|
|
64
|
-
/** @deprecated
|
|
65
|
-
|
|
66
|
-
/** @deprecated
|
|
67
|
-
|
|
68
|
-
/** @deprecated
|
|
69
|
-
|
|
70
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
71
|
-
|
|
72
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
73
|
-
|
|
74
|
-
/** @deprecated
|
|
75
|
-
|
|
76
|
-
/** @deprecated Use `
|
|
77
|
-
|
|
78
|
-
/** @deprecated Use `
|
|
79
|
-
|
|
80
|
-
/** @deprecated
|
|
81
|
-
|
|
82
|
-
/** @deprecated
|
|
83
|
-
|
|
84
|
-
/** @deprecated
|
|
85
|
-
|
|
86
|
-
/** @deprecated Use `
|
|
87
|
-
|
|
88
|
-
/** @deprecated Use `
|
|
89
|
-
|
|
90
|
-
/** @deprecated Use `
|
|
91
|
-
|
|
92
|
-
/** @deprecated Use `
|
|
93
|
-
|
|
94
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
95
|
-
isFormatOf?: string;
|
|
96
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
97
|
-
isPartOf?: string;
|
|
98
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
99
|
-
isReferencedBy?: string;
|
|
100
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
101
|
-
isReplacedBy?: string;
|
|
102
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
103
|
-
isRequiredBy?: string;
|
|
104
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
105
|
-
issued?: TDate;
|
|
106
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
107
|
-
isVersionOf?: string;
|
|
108
|
-
/** @deprecated Use `languages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
109
|
-
language?: string;
|
|
110
|
-
/** @deprecated Use `licenses` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
111
|
-
license?: string;
|
|
112
|
-
/** @deprecated Use `mediators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
113
|
-
mediator?: string;
|
|
114
|
-
/** @deprecated Use `mediums` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
115
|
-
medium?: string;
|
|
116
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
117
|
-
modified?: TDate;
|
|
118
|
-
/** @deprecated Use `provenances` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
119
|
-
provenance?: string;
|
|
120
|
-
/** @deprecated Use `publishers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
121
|
-
publisher?: string;
|
|
122
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
123
|
-
references?: string;
|
|
124
|
-
/** @deprecated Use `relations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
125
|
-
relation?: string;
|
|
126
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
127
|
-
replaces?: string;
|
|
128
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
129
|
-
requires?: string;
|
|
130
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
131
|
-
rights?: string;
|
|
132
|
-
/** @deprecated Use `rightsHolders` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
133
|
-
rightsHolder?: string;
|
|
134
|
-
/** @deprecated Use `sources` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
135
|
-
source?: string;
|
|
136
|
-
/** @deprecated Use `spatials` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
137
|
-
spatial?: string;
|
|
138
|
-
/** @deprecated Use `subjects` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
139
|
-
subject?: string;
|
|
140
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
141
|
-
tableOfContents?: string;
|
|
142
|
-
/** @deprecated Use `temporals` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
143
|
-
temporal?: string;
|
|
144
|
-
/** @deprecated Use `titles` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
145
|
-
title?: string;
|
|
146
|
-
/** @deprecated Use `types` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
147
|
-
type?: string;
|
|
148
|
-
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
39
|
+
types?: Array<string>; /** @deprecated Use `abstracts` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
40
|
+
abstract?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
41
|
+
accessRights?: string; /** @deprecated Use `accrualMethods` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
42
|
+
accrualMethod?: string; /** @deprecated Use `accrualPeriodicities` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
43
|
+
accrualPeriodicity?: string; /** @deprecated Use `accrualPolicies` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
44
|
+
accrualPolicy?: string; /** @deprecated Use `alternatives` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
45
|
+
alternative?: string; /** @deprecated Use `audiences` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
46
|
+
audience?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
47
|
+
available?: TDate; /** @deprecated Use `bibliographicCitations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
48
|
+
bibliographicCitation?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
49
|
+
conformsTo?: string; /** @deprecated Use `contributors` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
50
|
+
contributor?: string; /** @deprecated Use `coverages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
51
|
+
coverage?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
52
|
+
created?: TDate; /** @deprecated Use `creators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
53
|
+
creator?: string; /** @deprecated Use `dates` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
54
|
+
date?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
55
|
+
dateAccepted?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
56
|
+
dateCopyrighted?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
57
|
+
dateSubmitted?: TDate; /** @deprecated Use `descriptions` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
58
|
+
description?: string; /** @deprecated Use `educationLevels` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
59
|
+
educationLevel?: string; /** @deprecated Use `extents` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
60
|
+
extent?: string; /** @deprecated Use `formats` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
61
|
+
format?: string; /** @deprecated Use `hasFormats` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
62
|
+
hasFormat?: string; /** @deprecated Use `hasParts` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
63
|
+
hasPart?: string; /** @deprecated Use `hasVersions` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
64
|
+
hasVersion?: string; /** @deprecated Use `identifiers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
65
|
+
identifier?: string; /** @deprecated Use `instructionalMethods` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
66
|
+
instructionalMethod?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
67
|
+
isFormatOf?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
68
|
+
isPartOf?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
69
|
+
isReferencedBy?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
70
|
+
isReplacedBy?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
71
|
+
isRequiredBy?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
72
|
+
issued?: TDate; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
73
|
+
isVersionOf?: string; /** @deprecated Use `languages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
74
|
+
language?: string; /** @deprecated Use `licenses` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
75
|
+
license?: string; /** @deprecated Use `mediators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
76
|
+
mediator?: string; /** @deprecated Use `mediums` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
77
|
+
medium?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
78
|
+
modified?: TDate; /** @deprecated Use `provenances` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
79
|
+
provenance?: string; /** @deprecated Use `publishers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
80
|
+
publisher?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
81
|
+
references?: string; /** @deprecated Use `relations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
82
|
+
relation?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
83
|
+
replaces?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
84
|
+
requires?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
85
|
+
rights?: string; /** @deprecated Use `rightsHolders` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
86
|
+
rightsHolder?: string; /** @deprecated Use `sources` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
87
|
+
source?: string; /** @deprecated Use `spatials` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
88
|
+
spatial?: string; /** @deprecated Use `subjects` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
89
|
+
subject?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
90
|
+
tableOfContents?: string; /** @deprecated Use `temporals` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
91
|
+
temporal?: string; /** @deprecated Use `titles` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
92
|
+
title?: string; /** @deprecated Use `types` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
93
|
+
type?: string; /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
149
94
|
valid?: TDate;
|
|
150
95
|
};
|
|
151
96
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
const require_utils = require(
|
|
2
|
-
|
|
1
|
+
const require_utils = require("../../../common/utils.cjs");
|
|
3
2
|
//#region src/namespaces/dcterms/generate/utils.ts
|
|
4
3
|
const generateItemOrFeed = (itemOrFeed) => {
|
|
5
4
|
if (!require_utils.isObject(itemOrFeed)) return;
|
|
@@ -61,6 +60,5 @@ const generateItemOrFeed = (itemOrFeed) => {
|
|
|
61
60
|
"dcterms:valid": require_utils.generateRfc3339Date(itemOrFeed.valid)
|
|
62
61
|
});
|
|
63
62
|
};
|
|
64
|
-
|
|
65
63
|
//#endregion
|
|
66
|
-
exports.generateItemOrFeed = generateItemOrFeed;
|
|
64
|
+
exports.generateItemOrFeed = generateItemOrFeed;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { generateArrayOrSingular, generateCdataString, generateRfc3339Date, isObject, trimObject } from "../../../common/utils.js";
|
|
2
|
-
|
|
3
2
|
//#region src/namespaces/dcterms/generate/utils.ts
|
|
4
3
|
const generateItemOrFeed = (itemOrFeed) => {
|
|
5
4
|
if (!isObject(itemOrFeed)) return;
|
|
@@ -61,6 +60,5 @@ const generateItemOrFeed = (itemOrFeed) => {
|
|
|
61
60
|
"dcterms:valid": generateRfc3339Date(itemOrFeed.valid)
|
|
62
61
|
});
|
|
63
62
|
};
|
|
64
|
-
|
|
65
63
|
//#endregion
|
|
66
|
-
export { generateItemOrFeed };
|
|
64
|
+
export { generateItemOrFeed };
|