feedsmith 2.7.0 → 2.9.0

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.
Files changed (58) hide show
  1. package/README.md +31 -24
  2. package/dist/common/parse.cjs +3 -3
  3. package/dist/common/parse.js +11 -11
  4. package/dist/common/types.d.cts +2 -1
  5. package/dist/common/types.d.ts +2 -1
  6. package/dist/common/utils.cjs +39 -34
  7. package/dist/common/utils.js +40 -35
  8. package/dist/feeds/atom/common/types.d.cts +0 -1
  9. package/dist/feeds/atom/common/types.d.ts +0 -1
  10. package/dist/feeds/atom/detect/index.cjs +2 -1
  11. package/dist/feeds/atom/detect/index.js +2 -1
  12. package/dist/feeds/atom/generate/index.cjs +1 -1
  13. package/dist/feeds/atom/generate/index.js +1 -1
  14. package/dist/feeds/atom/generate/utils.cjs +10 -10
  15. package/dist/feeds/atom/generate/utils.js +29 -29
  16. package/dist/feeds/atom/parse/index.cjs +1 -1
  17. package/dist/feeds/atom/parse/index.js +1 -1
  18. package/dist/feeds/atom/parse/utils.cjs +3 -11
  19. package/dist/feeds/atom/parse/utils.js +17 -25
  20. package/dist/feeds/json/parse/index.cjs +1 -1
  21. package/dist/feeds/json/parse/index.js +1 -1
  22. package/dist/feeds/rdf/detect/index.cjs +13 -2
  23. package/dist/feeds/rdf/detect/index.js +13 -2
  24. package/dist/feeds/rdf/parse/index.cjs +1 -1
  25. package/dist/feeds/rdf/parse/index.js +1 -1
  26. package/dist/feeds/rdf/parse/utils.cjs +2 -2
  27. package/dist/feeds/rdf/parse/utils.js +12 -12
  28. package/dist/feeds/rss/generate/index.cjs +1 -1
  29. package/dist/feeds/rss/generate/index.js +1 -1
  30. package/dist/feeds/rss/generate/utils.cjs +5 -5
  31. package/dist/feeds/rss/generate/utils.js +54 -54
  32. package/dist/feeds/rss/parse/index.cjs +1 -1
  33. package/dist/feeds/rss/parse/index.js +1 -1
  34. package/dist/feeds/rss/parse/utils.cjs +2 -2
  35. package/dist/feeds/rss/parse/utils.js +51 -51
  36. package/dist/namespaces/atom/common/types.d.cts +4 -3
  37. package/dist/namespaces/atom/common/types.d.ts +4 -3
  38. package/dist/namespaces/atom/generate/utils.cjs +4 -4
  39. package/dist/namespaces/atom/generate/utils.js +6 -6
  40. package/dist/namespaces/dc/common/types.d.cts +15 -30
  41. package/dist/namespaces/dc/common/types.d.ts +15 -30
  42. package/dist/namespaces/dcterms/common/types.d.cts +55 -110
  43. package/dist/namespaces/dcterms/common/types.d.ts +55 -110
  44. package/dist/namespaces/itunes/common/types.d.cts +7 -14
  45. package/dist/namespaces/itunes/common/types.d.ts +7 -14
  46. package/dist/namespaces/media/common/types.d.cts +1 -2
  47. package/dist/namespaces/media/common/types.d.ts +1 -2
  48. package/dist/namespaces/podcast/common/types.d.cts +9 -12
  49. package/dist/namespaces/podcast/common/types.d.ts +9 -12
  50. package/dist/namespaces/podcast/generate/utils.cjs +5 -2
  51. package/dist/namespaces/podcast/generate/utils.js +5 -2
  52. package/dist/namespaces/podcast/parse/utils.cjs +5 -2
  53. package/dist/namespaces/podcast/parse/utils.js +5 -2
  54. package/dist/namespaces/prism/common/types.d.cts +8 -16
  55. package/dist/namespaces/prism/common/types.d.ts +8 -16
  56. package/dist/opml/generate/index.cjs +1 -1
  57. package/dist/opml/generate/index.js +1 -1
  58. package/package.json +7 -9
@@ -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 Use `abstracts` (array) instead. Dublin Core Terms fields are repeatable. */
41
- abstract?: string;
42
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
43
- accessRights?: string;
44
- /** @deprecated Use `accrualMethods` (array) instead. Dublin Core Terms fields are repeatable. */
45
- accrualMethod?: string;
46
- /** @deprecated Use `accrualPeriodicities` (array) instead. Dublin Core Terms fields are repeatable. */
47
- accrualPeriodicity?: string;
48
- /** @deprecated Use `accrualPolicies` (array) instead. Dublin Core Terms fields are repeatable. */
49
- accrualPolicy?: string;
50
- /** @deprecated Use `alternatives` (array) instead. Dublin Core Terms fields are repeatable. */
51
- alternative?: string;
52
- /** @deprecated Use `audiences` (array) instead. Dublin Core Terms fields are repeatable. */
53
- audience?: string;
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
- available?: TDate;
56
- /** @deprecated Use `bibliographicCitations` (array) instead. Dublin Core Terms fields are repeatable. */
57
- bibliographicCitation?: string;
58
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
59
- conformsTo?: string;
60
- /** @deprecated Use `contributors` (array) instead. Dublin Core Terms fields are repeatable. */
61
- contributor?: string;
62
- /** @deprecated Use `coverages` (array) instead. Dublin Core Terms fields are repeatable. */
63
- coverage?: string;
64
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
65
- created?: TDate;
66
- /** @deprecated Use `creators` (array) instead. Dublin Core Terms fields are repeatable. */
67
- creator?: string;
68
- /** @deprecated Use `dates` (array) instead. Dublin Core Terms fields are repeatable. */
69
- date?: TDate;
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
- dateAccepted?: TDate;
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
- dateCopyrighted?: TDate;
74
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
75
- dateSubmitted?: TDate;
76
- /** @deprecated Use `descriptions` (array) instead. Dublin Core Terms fields are repeatable. */
77
- description?: string;
78
- /** @deprecated Use `educationLevels` (array) instead. Dublin Core Terms fields are repeatable. */
79
- educationLevel?: string;
80
- /** @deprecated Use `extents` (array) instead. Dublin Core Terms fields are repeatable. */
81
- extent?: string;
82
- /** @deprecated Use `formats` (array) instead. Dublin Core Terms fields are repeatable. */
83
- format?: string;
84
- /** @deprecated Use `hasFormats` (array) instead. Dublin Core Terms fields are repeatable. */
85
- hasFormat?: string;
86
- /** @deprecated Use `hasParts` (array) instead. Dublin Core Terms fields are repeatable. */
87
- hasPart?: string;
88
- /** @deprecated Use `hasVersions` (array) instead. Dublin Core Terms fields are repeatable. */
89
- hasVersion?: string;
90
- /** @deprecated Use `identifiers` (array) instead. Dublin Core Terms fields are repeatable. */
91
- identifier?: string;
92
- /** @deprecated Use `instructionalMethods` (array) instead. Dublin Core Terms fields are repeatable. */
93
- instructionalMethod?: string;
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 Use `abstracts` (array) instead. Dublin Core Terms fields are repeatable. */
41
- abstract?: string;
42
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
43
- accessRights?: string;
44
- /** @deprecated Use `accrualMethods` (array) instead. Dublin Core Terms fields are repeatable. */
45
- accrualMethod?: string;
46
- /** @deprecated Use `accrualPeriodicities` (array) instead. Dublin Core Terms fields are repeatable. */
47
- accrualPeriodicity?: string;
48
- /** @deprecated Use `accrualPolicies` (array) instead. Dublin Core Terms fields are repeatable. */
49
- accrualPolicy?: string;
50
- /** @deprecated Use `alternatives` (array) instead. Dublin Core Terms fields are repeatable. */
51
- alternative?: string;
52
- /** @deprecated Use `audiences` (array) instead. Dublin Core Terms fields are repeatable. */
53
- audience?: string;
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
- available?: TDate;
56
- /** @deprecated Use `bibliographicCitations` (array) instead. Dublin Core Terms fields are repeatable. */
57
- bibliographicCitation?: string;
58
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
59
- conformsTo?: string;
60
- /** @deprecated Use `contributors` (array) instead. Dublin Core Terms fields are repeatable. */
61
- contributor?: string;
62
- /** @deprecated Use `coverages` (array) instead. Dublin Core Terms fields are repeatable. */
63
- coverage?: string;
64
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
65
- created?: TDate;
66
- /** @deprecated Use `creators` (array) instead. Dublin Core Terms fields are repeatable. */
67
- creator?: string;
68
- /** @deprecated Use `dates` (array) instead. Dublin Core Terms fields are repeatable. */
69
- date?: TDate;
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
- dateAccepted?: TDate;
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
- dateCopyrighted?: TDate;
74
- /** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
75
- dateSubmitted?: TDate;
76
- /** @deprecated Use `descriptions` (array) instead. Dublin Core Terms fields are repeatable. */
77
- description?: string;
78
- /** @deprecated Use `educationLevels` (array) instead. Dublin Core Terms fields are repeatable. */
79
- educationLevel?: string;
80
- /** @deprecated Use `extents` (array) instead. Dublin Core Terms fields are repeatable. */
81
- extent?: string;
82
- /** @deprecated Use `formats` (array) instead. Dublin Core Terms fields are repeatable. */
83
- format?: string;
84
- /** @deprecated Use `hasFormats` (array) instead. Dublin Core Terms fields are repeatable. */
85
- hasFormat?: string;
86
- /** @deprecated Use `hasParts` (array) instead. Dublin Core Terms fields are repeatable. */
87
- hasPart?: string;
88
- /** @deprecated Use `hasVersions` (array) instead. Dublin Core Terms fields are repeatable. */
89
- hasVersion?: string;
90
- /** @deprecated Use `identifiers` (array) instead. Dublin Core Terms fields are repeatable. */
91
- identifier?: string;
92
- /** @deprecated Use `instructionalMethods` (array) instead. Dublin Core Terms fields are repeatable. */
93
- instructionalMethod?: string;
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
  }
@@ -17,12 +17,9 @@ declare namespace ItunesNs {
17
17
  episode?: number;
18
18
  season?: number;
19
19
  episodeType?: string;
20
- block?: boolean;
21
- /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
22
- summary?: string;
23
- /** @deprecated No longer used by Apple Podcasts. */
24
- subtitle?: string;
25
- /** @deprecated No longer used for search in Apple Podcasts. */
20
+ block?: boolean; /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
21
+ summary?: string; /** @deprecated No longer used by Apple Podcasts. */
22
+ subtitle?: string; /** @deprecated No longer used for search in Apple Podcasts. */
26
23
  keywords?: Array<string>;
27
24
  };
28
25
  type Feed = {
@@ -35,14 +32,10 @@ declare namespace ItunesNs {
35
32
  newFeedUrl?: string;
36
33
  block?: boolean;
37
34
  complete?: boolean;
38
- applePodcastsVerify?: string;
39
- /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
40
- summary?: string;
41
- /** @deprecated No longer used by Apple Podcasts. */
42
- subtitle?: string;
43
- /** @deprecated No longer used for search in Apple Podcasts. */
44
- keywords?: Array<string>;
45
- /** @deprecated No longer supported by Apple Podcasts. */
35
+ applePodcastsVerify?: string; /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
36
+ summary?: string; /** @deprecated No longer used by Apple Podcasts. */
37
+ subtitle?: string; /** @deprecated No longer used for search in Apple Podcasts. */
38
+ keywords?: Array<string>; /** @deprecated No longer supported by Apple Podcasts. */
46
39
  owner?: Owner;
47
40
  };
48
41
  }
@@ -17,12 +17,9 @@ declare namespace ItunesNs {
17
17
  episode?: number;
18
18
  season?: number;
19
19
  episodeType?: string;
20
- block?: boolean;
21
- /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
22
- summary?: string;
23
- /** @deprecated No longer used by Apple Podcasts. */
24
- subtitle?: string;
25
- /** @deprecated No longer used for search in Apple Podcasts. */
20
+ block?: boolean; /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
21
+ summary?: string; /** @deprecated No longer used by Apple Podcasts. */
22
+ subtitle?: string; /** @deprecated No longer used for search in Apple Podcasts. */
26
23
  keywords?: Array<string>;
27
24
  };
28
25
  type Feed = {
@@ -35,14 +32,10 @@ declare namespace ItunesNs {
35
32
  newFeedUrl?: string;
36
33
  block?: boolean;
37
34
  complete?: boolean;
38
- applePodcastsVerify?: string;
39
- /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
40
- summary?: string;
41
- /** @deprecated No longer used by Apple Podcasts. */
42
- subtitle?: string;
43
- /** @deprecated No longer used for search in Apple Podcasts. */
44
- keywords?: Array<string>;
45
- /** @deprecated No longer supported by Apple Podcasts. */
35
+ applePodcastsVerify?: string; /** @deprecated Use standard RSS description instead. No longer used by Apple Podcasts. */
36
+ summary?: string; /** @deprecated No longer used by Apple Podcasts. */
37
+ subtitle?: string; /** @deprecated No longer used for search in Apple Podcasts. */
38
+ keywords?: Array<string>; /** @deprecated No longer supported by Apple Podcasts. */
46
39
  owner?: Owner;
47
40
  };
48
41
  }
@@ -171,8 +171,7 @@ declare namespace MediaNs {
171
171
  } & CommonElements;
172
172
  type ItemOrFeed = {
173
173
  groups?: Array<Group>;
174
- contents?: Array<Content>;
175
- /** @deprecated Use `groups` (array) instead. Multiple media:group elements are allowed per specification. */
174
+ contents?: Array<Content>; /** @deprecated Use `groups` (array) instead. Multiple media:group elements are allowed per specification. */
176
175
  group?: Group;
177
176
  } & CommonElements;
178
177
  }
@@ -171,8 +171,7 @@ declare namespace MediaNs {
171
171
  } & CommonElements;
172
172
  type ItemOrFeed = {
173
173
  groups?: Array<Group>;
174
- contents?: Array<Content>;
175
- /** @deprecated Use `groups` (array) instead. Multiple media:group elements are allowed per specification. */
174
+ contents?: Array<Content>; /** @deprecated Use `groups` (array) instead. Multiple media:group elements are allowed per specification. */
176
175
  group?: Group;
177
176
  } & CommonElements;
178
177
  }
@@ -17,12 +17,9 @@ declare namespace PodcastNs {
17
17
  images?: Array<Image>;
18
18
  socialInteracts?: Array<SocialInteract>;
19
19
  txts?: Array<Txt>;
20
- chat?: Chat;
21
- /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
22
- location?: Location;
23
- /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
24
- value?: Value;
25
- /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
20
+ chat?: Chat; /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
21
+ location?: Location; /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
22
+ value?: Value; /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
26
23
  chats?: Array<Chat>;
27
24
  };
28
25
  type Transcript = {
@@ -57,8 +54,10 @@ declare namespace PodcastNs {
57
54
  };
58
55
  type Location = {
59
56
  display: string;
57
+ rel?: string;
60
58
  geo?: string;
61
59
  osm?: string;
60
+ country?: string;
62
61
  };
63
62
  type Season = {
64
63
  number: number;
@@ -166,6 +165,7 @@ declare namespace PodcastNs {
166
165
  feedUrl?: string;
167
166
  itemGuid?: string;
168
167
  medium?: string;
168
+ title?: string;
169
169
  };
170
170
  type Podroll = {
171
171
  remoteItems?: Array<RemoteItem>;
@@ -210,12 +210,9 @@ declare namespace PodcastNs {
210
210
  updateFrequency?: UpdateFrequency<TDate>;
211
211
  podping?: Podping;
212
212
  chat?: Chat;
213
- publisher?: Publisher;
214
- /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
215
- location?: Location;
216
- /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
217
- value?: Value;
218
- /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
213
+ publisher?: Publisher; /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
214
+ location?: Location; /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
215
+ value?: Value; /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
219
216
  chats?: Array<Chat>;
220
217
  };
221
218
  }
@@ -17,12 +17,9 @@ declare namespace PodcastNs {
17
17
  images?: Array<Image>;
18
18
  socialInteracts?: Array<SocialInteract>;
19
19
  txts?: Array<Txt>;
20
- chat?: Chat;
21
- /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
22
- location?: Location;
23
- /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
24
- value?: Value;
25
- /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
20
+ chat?: Chat; /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
21
+ location?: Location; /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
22
+ value?: Value; /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
26
23
  chats?: Array<Chat>;
27
24
  };
28
25
  type Transcript = {
@@ -57,8 +54,10 @@ declare namespace PodcastNs {
57
54
  };
58
55
  type Location = {
59
56
  display: string;
57
+ rel?: string;
60
58
  geo?: string;
61
59
  osm?: string;
60
+ country?: string;
62
61
  };
63
62
  type Season = {
64
63
  number: number;
@@ -166,6 +165,7 @@ declare namespace PodcastNs {
166
165
  feedUrl?: string;
167
166
  itemGuid?: string;
168
167
  medium?: string;
168
+ title?: string;
169
169
  };
170
170
  type Podroll = {
171
171
  remoteItems?: Array<RemoteItem>;
@@ -210,12 +210,9 @@ declare namespace PodcastNs {
210
210
  updateFrequency?: UpdateFrequency<TDate>;
211
211
  podping?: Podping;
212
212
  chat?: Chat;
213
- publisher?: Publisher;
214
- /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
215
- location?: Location;
216
- /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
217
- value?: Value;
218
- /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
213
+ publisher?: Publisher; /** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
214
+ location?: Location; /** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
215
+ value?: Value; /** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
219
216
  chats?: Array<Chat>;
220
217
  };
221
218
  }
@@ -72,8 +72,10 @@ const generateLocation = (location) => {
72
72
  if (!require_utils.isObject(location)) return;
73
73
  return require_utils.trimObject({
74
74
  ...require_utils.generateTextOrCdataString(location.display),
75
+ "@rel": require_utils.generatePlainString(location.rel),
75
76
  "@geo": require_utils.generatePlainString(location.geo),
76
- "@osm": require_utils.generatePlainString(location.osm)
77
+ "@osm": require_utils.generatePlainString(location.osm),
78
+ "@country": require_utils.generatePlainString(location.country)
77
79
  });
78
80
  };
79
81
  const generateSeason = (season) => {
@@ -239,7 +241,8 @@ const generateRemoteItem = (remoteItem) => {
239
241
  "@feedGuid": require_utils.generatePlainString(remoteItem.feedGuid),
240
242
  "@feedUrl": require_utils.generatePlainString(remoteItem.feedUrl),
241
243
  "@itemGuid": require_utils.generatePlainString(remoteItem.itemGuid),
242
- "@medium": require_utils.generatePlainString(remoteItem.medium)
244
+ "@medium": require_utils.generatePlainString(remoteItem.medium),
245
+ "@title": require_utils.generatePlainString(remoteItem.title)
243
246
  });
244
247
  };
245
248
  const generatePodroll = (podroll) => {
@@ -72,8 +72,10 @@ const generateLocation = (location) => {
72
72
  if (!isObject(location)) return;
73
73
  return trimObject({
74
74
  ...generateTextOrCdataString(location.display),
75
+ "@rel": generatePlainString(location.rel),
75
76
  "@geo": generatePlainString(location.geo),
76
- "@osm": generatePlainString(location.osm)
77
+ "@osm": generatePlainString(location.osm),
78
+ "@country": generatePlainString(location.country)
77
79
  });
78
80
  };
79
81
  const generateSeason = (season) => {
@@ -239,7 +241,8 @@ const generateRemoteItem = (remoteItem) => {
239
241
  "@feedGuid": generatePlainString(remoteItem.feedGuid),
240
242
  "@feedUrl": generatePlainString(remoteItem.feedUrl),
241
243
  "@itemGuid": generatePlainString(remoteItem.itemGuid),
242
- "@medium": generatePlainString(remoteItem.medium)
244
+ "@medium": generatePlainString(remoteItem.medium),
245
+ "@title": generatePlainString(remoteItem.title)
243
246
  });
244
247
  };
245
248
  const generatePodroll = (podroll) => {