feedsmith 2.9.4 → 2.9.6
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 +1 -1
- package/dist/common/parse.d.cts +1 -2
- package/dist/common/parse.d.ts +1 -2
- package/dist/common/types.d.cts +4 -4
- package/dist/common/types.d.ts +4 -4
- package/dist/common/utils.cjs +8 -22
- package/dist/common/utils.js +5 -22
- package/dist/feeds/atom/common/types.d.cts +0 -1
- package/dist/feeds/atom/common/types.d.ts +0 -1
- package/dist/feeds/atom/generate/index.d.cts +0 -1
- package/dist/feeds/atom/generate/index.d.ts +0 -1
- package/dist/feeds/atom/generate/utils.cjs +7 -0
- package/dist/feeds/atom/generate/utils.js +1 -1
- package/dist/feeds/atom/parse/config.cjs +2 -5
- package/dist/feeds/atom/parse/config.js +3 -7
- package/dist/feeds/atom/parse/index.d.cts +0 -1
- package/dist/feeds/atom/parse/index.d.ts +0 -1
- package/dist/feeds/atom/parse/utils.cjs +11 -0
- package/dist/feeds/atom/parse/utils.js +1 -1
- package/dist/feeds/json/common/types.d.cts +0 -1
- package/dist/feeds/json/common/types.d.ts +0 -1
- package/dist/feeds/json/generate/index.d.cts +0 -1
- package/dist/feeds/json/generate/index.d.ts +0 -1
- package/dist/feeds/json/generate/utils.cjs +1 -0
- package/dist/feeds/json/generate/utils.js +1 -1
- package/dist/feeds/json/parse/index.d.cts +0 -1
- package/dist/feeds/json/parse/index.d.ts +0 -1
- package/dist/feeds/json/parse/utils.cjs +5 -0
- package/dist/feeds/json/parse/utils.js +1 -1
- package/dist/feeds/rdf/common/types.d.cts +0 -1
- package/dist/feeds/rdf/common/types.d.ts +0 -1
- package/dist/feeds/rdf/parse/config.cjs +2 -6
- package/dist/feeds/rdf/parse/config.js +3 -8
- package/dist/feeds/rdf/parse/index.d.cts +0 -1
- package/dist/feeds/rdf/parse/index.d.ts +0 -1
- package/dist/feeds/rdf/parse/utils.cjs +7 -0
- package/dist/feeds/rdf/parse/utils.js +1 -1
- package/dist/feeds/rss/common/types.d.cts +0 -1
- package/dist/feeds/rss/common/types.d.ts +0 -1
- package/dist/feeds/rss/generate/index.d.cts +0 -1
- package/dist/feeds/rss/generate/index.d.ts +0 -1
- package/dist/feeds/rss/generate/utils.cjs +11 -0
- package/dist/feeds/rss/generate/utils.js +1 -1
- package/dist/feeds/rss/parse/config.cjs +2 -6
- package/dist/feeds/rss/parse/config.js +3 -8
- package/dist/feeds/rss/parse/index.d.cts +0 -1
- package/dist/feeds/rss/parse/index.d.ts +0 -1
- package/dist/feeds/rss/parse/utils.cjs +15 -0
- package/dist/feeds/rss/parse/utils.js +1 -1
- package/dist/index.d.cts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/namespaces/acast/generate/utils.cjs +2 -0
- package/dist/namespaces/acast/generate/utils.js +1 -1
- package/dist/namespaces/acast/parse/utils.cjs +2 -0
- package/dist/namespaces/acast/parse/utils.js +1 -1
- package/dist/namespaces/app/common/types.d.cts +0 -1
- package/dist/namespaces/app/common/types.d.ts +0 -1
- package/dist/namespaces/app/generate/utils.cjs +1 -0
- package/dist/namespaces/app/generate/utils.js +1 -1
- package/dist/namespaces/app/parse/utils.cjs +1 -0
- package/dist/namespaces/app/parse/utils.js +1 -1
- package/dist/namespaces/arxiv/generate/utils.cjs +1 -0
- package/dist/namespaces/arxiv/generate/utils.js +1 -1
- package/dist/namespaces/arxiv/parse/utils.cjs +1 -0
- package/dist/namespaces/arxiv/parse/utils.js +1 -1
- package/dist/namespaces/atom/common/types.d.cts +0 -1
- package/dist/namespaces/atom/common/types.d.ts +0 -1
- package/dist/namespaces/dc/common/types.d.cts +30 -16
- package/dist/namespaces/dc/common/types.d.ts +30 -16
- package/dist/namespaces/dcterms/common/types.d.cts +110 -56
- package/dist/namespaces/dcterms/common/types.d.ts +110 -56
- package/dist/namespaces/georss/generate/utils.cjs +5 -0
- package/dist/namespaces/georss/generate/utils.js +1 -1
- package/dist/namespaces/georss/parse/utils.cjs +5 -0
- package/dist/namespaces/georss/parse/utils.js +1 -1
- package/dist/namespaces/googleplay/parse/utils.cjs +3 -0
- package/dist/namespaces/googleplay/parse/utils.js +1 -1
- package/dist/namespaces/itunes/common/types.d.cts +14 -7
- package/dist/namespaces/itunes/common/types.d.ts +14 -7
- package/dist/namespaces/itunes/generate/utils.cjs +3 -0
- package/dist/namespaces/itunes/generate/utils.js +1 -1
- package/dist/namespaces/itunes/parse/utils.cjs +5 -0
- package/dist/namespaces/itunes/parse/utils.js +1 -1
- package/dist/namespaces/media/common/types.d.cts +2 -1
- package/dist/namespaces/media/common/types.d.ts +2 -1
- package/dist/namespaces/media/generate/utils.cjs +31 -0
- package/dist/namespaces/media/generate/utils.js +1 -1
- package/dist/namespaces/media/parse/utils.cjs +32 -0
- package/dist/namespaces/media/parse/utils.js +1 -1
- package/dist/namespaces/opensearch/generate/utils.cjs +1 -0
- package/dist/namespaces/opensearch/generate/utils.js +1 -1
- package/dist/namespaces/opensearch/parse/utils.cjs +1 -0
- package/dist/namespaces/opensearch/parse/utils.js +1 -1
- package/dist/namespaces/podcast/common/types.d.cts +12 -7
- package/dist/namespaces/podcast/common/types.d.ts +12 -7
- package/dist/namespaces/podcast/generate/utils.cjs +30 -0
- package/dist/namespaces/podcast/generate/utils.js +1 -1
- package/dist/namespaces/podcast/parse/utils.cjs +31 -0
- package/dist/namespaces/podcast/parse/utils.js +1 -1
- package/dist/namespaces/prism/common/types.d.cts +16 -9
- package/dist/namespaces/prism/common/types.d.ts +16 -9
- package/dist/namespaces/psc/generate/utils.cjs +2 -0
- package/dist/namespaces/psc/generate/utils.js +1 -1
- package/dist/namespaces/psc/parse/utils.cjs +2 -0
- package/dist/namespaces/psc/parse/utils.js +1 -1
- package/dist/namespaces/rawvoice/common/types.d.cts +0 -1
- package/dist/namespaces/rawvoice/common/types.d.ts +0 -1
- package/dist/namespaces/rawvoice/generate/utils.cjs +7 -0
- package/dist/namespaces/rawvoice/generate/utils.js +1 -1
- package/dist/namespaces/rawvoice/parse/utils.cjs +7 -0
- package/dist/namespaces/rawvoice/parse/utils.js +1 -1
- package/dist/namespaces/slash/parse/utils.cjs +1 -0
- package/dist/namespaces/slash/parse/utils.js +1 -1
- package/dist/namespaces/source/common/config.cjs +2 -1
- package/dist/namespaces/source/common/config.js +2 -1
- package/dist/namespaces/source/common/types.d.cts +6 -1
- package/dist/namespaces/source/common/types.d.ts +6 -1
- package/dist/namespaces/source/generate/utils.cjs +16 -3
- package/dist/namespaces/source/generate/utils.js +13 -5
- package/dist/namespaces/source/parse/utils.cjs +15 -3
- package/dist/namespaces/source/parse/utils.js +12 -5
- package/dist/namespaces/spotify/generate/utils.cjs +6 -0
- package/dist/namespaces/spotify/generate/utils.js +1 -1
- package/dist/namespaces/spotify/parse/utils.cjs +6 -0
- package/dist/namespaces/spotify/parse/utils.js +1 -1
- package/dist/namespaces/sy/common/types.d.cts +0 -1
- package/dist/namespaces/sy/common/types.d.ts +0 -1
- package/dist/namespaces/thr/common/types.d.cts +0 -1
- package/dist/namespaces/thr/common/types.d.ts +0 -1
- package/dist/namespaces/thr/generate/utils.cjs +1 -0
- package/dist/namespaces/thr/generate/utils.js +1 -1
- package/dist/namespaces/thr/parse/utils.cjs +1 -0
- package/dist/namespaces/thr/parse/utils.js +1 -1
- package/dist/opml/common/types.d.cts +0 -1
- package/dist/opml/common/types.d.ts +0 -1
- package/dist/opml/generate/index.d.cts +0 -1
- package/dist/opml/generate/index.d.ts +0 -1
- package/dist/opml/generate/utils.cjs +3 -0
- package/dist/opml/generate/utils.js +1 -1
- package/dist/opml/parse/config.cjs +1 -0
- package/dist/opml/parse/config.js +1 -1
- package/dist/opml/parse/index.d.cts +0 -1
- package/dist/opml/parse/index.d.ts +0 -1
- package/dist/opml/parse/utils.cjs +3 -0
- package/dist/opml/parse/utils.js +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +6 -6
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DateLike } from "../../../common/types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/namespaces/dcterms/common/types.d.ts
|
|
4
3
|
declare namespace DcTermsNs {
|
|
5
4
|
type ItemOrFeed<TDate extends DateLike> = {
|
|
@@ -36,61 +35,116 @@ declare namespace DcTermsNs {
|
|
|
36
35
|
subjects?: Array<string>;
|
|
37
36
|
temporals?: Array<string>;
|
|
38
37
|
titles?: Array<string>;
|
|
39
|
-
types?: Array<string>;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
38
|
+
types?: Array<string>;
|
|
39
|
+
/** @deprecated Use `abstracts` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
40
|
+
abstract?: string;
|
|
41
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
42
|
+
accessRights?: string;
|
|
43
|
+
/** @deprecated Use `accrualMethods` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
44
|
+
accrualMethod?: string;
|
|
45
|
+
/** @deprecated Use `accrualPeriodicities` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
46
|
+
accrualPeriodicity?: string;
|
|
47
|
+
/** @deprecated Use `accrualPolicies` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
48
|
+
accrualPolicy?: string;
|
|
49
|
+
/** @deprecated Use `alternatives` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
50
|
+
alternative?: string;
|
|
51
|
+
/** @deprecated Use `audiences` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
52
|
+
audience?: string;
|
|
53
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
54
|
+
available?: TDate;
|
|
55
|
+
/** @deprecated Use `bibliographicCitations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
56
|
+
bibliographicCitation?: string;
|
|
57
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
58
|
+
conformsTo?: string;
|
|
59
|
+
/** @deprecated Use `contributors` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
60
|
+
contributor?: string;
|
|
61
|
+
/** @deprecated Use `coverages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
62
|
+
coverage?: string;
|
|
63
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
64
|
+
created?: TDate;
|
|
65
|
+
/** @deprecated Use `creators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
66
|
+
creator?: string;
|
|
67
|
+
/** @deprecated Use `dates` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
68
|
+
date?: TDate;
|
|
69
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
70
|
+
dateAccepted?: TDate;
|
|
71
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
72
|
+
dateCopyrighted?: TDate;
|
|
73
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
74
|
+
dateSubmitted?: TDate;
|
|
75
|
+
/** @deprecated Use `descriptions` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
76
|
+
description?: string;
|
|
77
|
+
/** @deprecated Use `educationLevels` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
78
|
+
educationLevel?: string;
|
|
79
|
+
/** @deprecated Use `extents` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
80
|
+
extent?: string;
|
|
81
|
+
/** @deprecated Use `formats` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
82
|
+
format?: string;
|
|
83
|
+
/** @deprecated Use `hasFormats` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
84
|
+
hasFormat?: string;
|
|
85
|
+
/** @deprecated Use `hasParts` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
86
|
+
hasPart?: string;
|
|
87
|
+
/** @deprecated Use `hasVersions` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
88
|
+
hasVersion?: string;
|
|
89
|
+
/** @deprecated Use `identifiers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
90
|
+
identifier?: string;
|
|
91
|
+
/** @deprecated Use `instructionalMethods` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
92
|
+
instructionalMethod?: string;
|
|
93
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
94
|
+
isFormatOf?: string;
|
|
95
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
96
|
+
isPartOf?: string;
|
|
97
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
98
|
+
isReferencedBy?: string;
|
|
99
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
100
|
+
isReplacedBy?: string;
|
|
101
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
102
|
+
isRequiredBy?: string;
|
|
103
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
104
|
+
issued?: TDate;
|
|
105
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
106
|
+
isVersionOf?: string;
|
|
107
|
+
/** @deprecated Use `languages` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
108
|
+
language?: string;
|
|
109
|
+
/** @deprecated Use `licenses` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
110
|
+
license?: string;
|
|
111
|
+
/** @deprecated Use `mediators` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
112
|
+
mediator?: string;
|
|
113
|
+
/** @deprecated Use `mediums` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
114
|
+
medium?: string;
|
|
115
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
116
|
+
modified?: TDate;
|
|
117
|
+
/** @deprecated Use `provenances` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
118
|
+
provenance?: string;
|
|
119
|
+
/** @deprecated Use `publishers` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
120
|
+
publisher?: string;
|
|
121
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
122
|
+
references?: string;
|
|
123
|
+
/** @deprecated Use `relations` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
124
|
+
relation?: string;
|
|
125
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
126
|
+
replaces?: string;
|
|
127
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
128
|
+
requires?: string;
|
|
129
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
130
|
+
rights?: string;
|
|
131
|
+
/** @deprecated Use `rightsHolders` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
132
|
+
rightsHolder?: string;
|
|
133
|
+
/** @deprecated Use `sources` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
134
|
+
source?: string;
|
|
135
|
+
/** @deprecated Use `spatials` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
136
|
+
spatial?: string;
|
|
137
|
+
/** @deprecated Use `subjects` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
138
|
+
subject?: string;
|
|
139
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
140
|
+
tableOfContents?: string;
|
|
141
|
+
/** @deprecated Use `temporals` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
142
|
+
temporal?: string;
|
|
143
|
+
/** @deprecated Use `titles` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
144
|
+
title?: string;
|
|
145
|
+
/** @deprecated Use `types` (array) instead. Dublin Core Terms fields are repeatable. */
|
|
146
|
+
type?: string;
|
|
147
|
+
/** @deprecated This field type will be changed to array in the next major version of the package. Dublin Core Terms fields are repeatable. */
|
|
94
148
|
valid?: TDate;
|
|
95
149
|
};
|
|
96
150
|
}
|
|
@@ -46,4 +46,9 @@ const generateItemOrFeed = (itemOrFeed) => {
|
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
//#endregion
|
|
49
|
+
exports.generateBox = generateBox;
|
|
49
50
|
exports.generateItemOrFeed = generateItemOrFeed;
|
|
51
|
+
exports.generateLatLngPairs = generateLatLngPairs;
|
|
52
|
+
exports.generateLine = generateLine;
|
|
53
|
+
exports.generatePoint = generatePoint;
|
|
54
|
+
exports.generatePolygon = generatePolygon;
|
|
@@ -61,4 +61,9 @@ const retrieveItemOrFeed = (value) => {
|
|
|
61
61
|
});
|
|
62
62
|
};
|
|
63
63
|
//#endregion
|
|
64
|
+
exports.parseBox = parseBox;
|
|
65
|
+
exports.parseLatLngPairs = parseLatLngPairs;
|
|
66
|
+
exports.parseLine = parseLine;
|
|
67
|
+
exports.parsePoint = parsePoint;
|
|
68
|
+
exports.parsePolygon = parsePolygon;
|
|
64
69
|
exports.retrieveItemOrFeed = retrieveItemOrFeed;
|
|
@@ -38,5 +38,8 @@ const retrieveFeed = (value) => {
|
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
40
|
//#endregion
|
|
41
|
+
exports.parseCategory = parseCategory;
|
|
42
|
+
exports.parseExplicit = parseExplicit;
|
|
43
|
+
exports.parseImage = parseImage;
|
|
41
44
|
exports.retrieveFeed = retrieveFeed;
|
|
42
45
|
exports.retrieveItem = retrieveItem;
|
|
@@ -17,9 +17,12 @@ declare namespace ItunesNs {
|
|
|
17
17
|
episode?: number;
|
|
18
18
|
season?: number;
|
|
19
19
|
episodeType?: string;
|
|
20
|
-
block?: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
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. */
|
|
23
26
|
keywords?: Array<string>;
|
|
24
27
|
};
|
|
25
28
|
type Feed = {
|
|
@@ -32,10 +35,14 @@ declare namespace ItunesNs {
|
|
|
32
35
|
newFeedUrl?: string;
|
|
33
36
|
block?: boolean;
|
|
34
37
|
complete?: boolean;
|
|
35
|
-
applePodcastsVerify?: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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. */
|
|
39
46
|
owner?: Owner;
|
|
40
47
|
};
|
|
41
48
|
}
|
|
@@ -17,9 +17,12 @@ declare namespace ItunesNs {
|
|
|
17
17
|
episode?: number;
|
|
18
18
|
season?: number;
|
|
19
19
|
episodeType?: string;
|
|
20
|
-
block?: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
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. */
|
|
23
26
|
keywords?: Array<string>;
|
|
24
27
|
};
|
|
25
28
|
type Feed = {
|
|
@@ -32,10 +35,14 @@ declare namespace ItunesNs {
|
|
|
32
35
|
newFeedUrl?: string;
|
|
33
36
|
block?: boolean;
|
|
34
37
|
complete?: boolean;
|
|
35
|
-
applePodcastsVerify?: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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. */
|
|
39
46
|
owner?: Owner;
|
|
40
47
|
};
|
|
41
48
|
}
|
|
@@ -55,5 +55,8 @@ const generateFeed = (feed) => {
|
|
|
55
55
|
});
|
|
56
56
|
};
|
|
57
57
|
//#endregion
|
|
58
|
+
exports.generateCategory = generateCategory;
|
|
58
59
|
exports.generateFeed = generateFeed;
|
|
60
|
+
exports.generateImage = generateImage;
|
|
59
61
|
exports.generateItem = generateItem;
|
|
62
|
+
exports.generateOwner = generateOwner;
|
|
@@ -73,5 +73,10 @@ const retrieveFeed = (value) => {
|
|
|
73
73
|
});
|
|
74
74
|
};
|
|
75
75
|
//#endregion
|
|
76
|
+
exports.parseCategory = parseCategory;
|
|
77
|
+
exports.parseDuration = parseDuration;
|
|
78
|
+
exports.parseExplicit = parseExplicit;
|
|
79
|
+
exports.parseImage = parseImage;
|
|
80
|
+
exports.parseOwner = parseOwner;
|
|
76
81
|
exports.retrieveFeed = retrieveFeed;
|
|
77
82
|
exports.retrieveItem = retrieveItem;
|
|
@@ -171,7 +171,8 @@ declare namespace MediaNs {
|
|
|
171
171
|
} & CommonElements;
|
|
172
172
|
type ItemOrFeed = {
|
|
173
173
|
groups?: Array<Group>;
|
|
174
|
-
contents?: Array<Content>;
|
|
174
|
+
contents?: Array<Content>;
|
|
175
|
+
/** @deprecated Use `groups` (array) instead. Multiple media:group elements are allowed per specification. */
|
|
175
176
|
group?: Group;
|
|
176
177
|
} & CommonElements;
|
|
177
178
|
}
|
|
@@ -171,7 +171,8 @@ declare namespace MediaNs {
|
|
|
171
171
|
} & CommonElements;
|
|
172
172
|
type ItemOrFeed = {
|
|
173
173
|
groups?: Array<Group>;
|
|
174
|
-
contents?: Array<Content>;
|
|
174
|
+
contents?: Array<Content>;
|
|
175
|
+
/** @deprecated Use `groups` (array) instead. Multiple media:group elements are allowed per specification. */
|
|
175
176
|
group?: Group;
|
|
176
177
|
} & CommonElements;
|
|
177
178
|
}
|
|
@@ -265,4 +265,35 @@ const generateItemOrFeed = (itemOrFeed) => {
|
|
|
265
265
|
});
|
|
266
266
|
};
|
|
267
267
|
//#endregion
|
|
268
|
+
exports.generateBackLinks = generateBackLinks;
|
|
269
|
+
exports.generateCategory = generateCategory;
|
|
270
|
+
exports.generateComments = generateComments;
|
|
271
|
+
exports.generateCommonElements = generateCommonElements;
|
|
272
|
+
exports.generateCommunity = generateCommunity;
|
|
273
|
+
exports.generateContent = generateContent;
|
|
274
|
+
exports.generateCopyright = generateCopyright;
|
|
275
|
+
exports.generateCredit = generateCredit;
|
|
276
|
+
exports.generateEmbed = generateEmbed;
|
|
277
|
+
exports.generateGroup = generateGroup;
|
|
278
|
+
exports.generateHash = generateHash;
|
|
268
279
|
exports.generateItemOrFeed = generateItemOrFeed;
|
|
280
|
+
exports.generateLicense = generateLicense;
|
|
281
|
+
exports.generateLocation = generateLocation;
|
|
282
|
+
exports.generateParam = generateParam;
|
|
283
|
+
exports.generatePeerLink = generatePeerLink;
|
|
284
|
+
exports.generatePlayer = generatePlayer;
|
|
285
|
+
exports.generatePrice = generatePrice;
|
|
286
|
+
exports.generateRating = generateRating;
|
|
287
|
+
exports.generateResponses = generateResponses;
|
|
288
|
+
exports.generateRestriction = generateRestriction;
|
|
289
|
+
exports.generateRights = generateRights;
|
|
290
|
+
exports.generateScene = generateScene;
|
|
291
|
+
exports.generateScenes = generateScenes;
|
|
292
|
+
exports.generateStarRating = generateStarRating;
|
|
293
|
+
exports.generateStatistics = generateStatistics;
|
|
294
|
+
exports.generateStatus = generateStatus;
|
|
295
|
+
exports.generateSubTitle = generateSubTitle;
|
|
296
|
+
exports.generateTag = generateTag;
|
|
297
|
+
exports.generateText = generateText;
|
|
298
|
+
exports.generateThumbnail = generateThumbnail;
|
|
299
|
+
exports.generateTitleOrDescription = generateTitleOrDescription;
|
|
@@ -265,4 +265,4 @@ const generateItemOrFeed = (itemOrFeed) => {
|
|
|
265
265
|
});
|
|
266
266
|
};
|
|
267
267
|
//#endregion
|
|
268
|
-
export { generateItemOrFeed };
|
|
268
|
+
export { generateBackLinks, generateCategory, generateComments, generateCommonElements, generateCommunity, generateContent, generateCopyright, generateCredit, generateEmbed, generateGroup, generateHash, generateItemOrFeed, generateLicense, generateLocation, generateParam, generatePeerLink, generatePlayer, generatePrice, generateRating, generateResponses, generateRestriction, generateRights, generateScene, generateScenes, generateStarRating, generateStatistics, generateStatus, generateSubTitle, generateTag, generateText, generateThumbnail, generateTitleOrDescription };
|
|
@@ -262,4 +262,36 @@ const retrieveItemOrFeed = (value) => {
|
|
|
262
262
|
});
|
|
263
263
|
};
|
|
264
264
|
//#endregion
|
|
265
|
+
exports.parseBackLinks = parseBackLinks;
|
|
266
|
+
exports.parseCategory = parseCategory;
|
|
267
|
+
exports.parseComments = parseComments;
|
|
268
|
+
exports.parseCommunity = parseCommunity;
|
|
269
|
+
exports.parseContent = parseContent;
|
|
270
|
+
exports.parseCopyright = parseCopyright;
|
|
271
|
+
exports.parseCredit = parseCredit;
|
|
272
|
+
exports.parseEmbed = parseEmbed;
|
|
273
|
+
exports.parseGroup = parseGroup;
|
|
274
|
+
exports.parseHash = parseHash;
|
|
275
|
+
exports.parseLicense = parseLicense;
|
|
276
|
+
exports.parseLocation = parseLocation;
|
|
277
|
+
exports.parseParam = parseParam;
|
|
278
|
+
exports.parsePeerLink = parsePeerLink;
|
|
279
|
+
exports.parsePlayer = parsePlayer;
|
|
280
|
+
exports.parsePrice = parsePrice;
|
|
281
|
+
exports.parseRating = parseRating;
|
|
282
|
+
exports.parseResponses = parseResponses;
|
|
283
|
+
exports.parseRestriction = parseRestriction;
|
|
284
|
+
exports.parseRights = parseRights;
|
|
285
|
+
exports.parseScene = parseScene;
|
|
286
|
+
exports.parseScenes = parseScenes;
|
|
287
|
+
exports.parseStarRating = parseStarRating;
|
|
288
|
+
exports.parseStatistics = parseStatistics;
|
|
289
|
+
exports.parseStatus = parseStatus;
|
|
290
|
+
exports.parseSubTitle = parseSubTitle;
|
|
291
|
+
exports.parseTags = parseTags;
|
|
292
|
+
exports.parseText = parseText;
|
|
293
|
+
exports.parseThumbnail = parseThumbnail;
|
|
294
|
+
exports.parseTitleOrDescription = parseTitleOrDescription;
|
|
295
|
+
exports.retrieveCommonElements = retrieveCommonElements;
|
|
265
296
|
exports.retrieveItemOrFeed = retrieveItemOrFeed;
|
|
297
|
+
exports.retrieveRatings = retrieveRatings;
|
|
@@ -262,4 +262,4 @@ const retrieveItemOrFeed = (value) => {
|
|
|
262
262
|
});
|
|
263
263
|
};
|
|
264
264
|
//#endregion
|
|
265
|
-
export { retrieveItemOrFeed };
|
|
265
|
+
export { parseBackLinks, parseCategory, parseComments, parseCommunity, parseContent, parseCopyright, parseCredit, parseEmbed, parseGroup, parseHash, parseLicense, parseLocation, parseParam, parsePeerLink, parsePlayer, parsePrice, parseRating, parseResponses, parseRestriction, parseRights, parseScene, parseScenes, parseStarRating, parseStatistics, parseStatus, parseSubTitle, parseTags, parseText, parseThumbnail, parseTitleOrDescription, retrieveCommonElements, retrieveItemOrFeed, retrieveRatings };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DateLike } from "../../../common/types.cjs";
|
|
2
|
-
|
|
3
2
|
//#region src/namespaces/podcast/common/types.d.ts
|
|
4
3
|
declare namespace PodcastNs {
|
|
5
4
|
/** @internal Common properties shared by Item and LiveItem. */
|
|
@@ -17,9 +16,12 @@ declare namespace PodcastNs {
|
|
|
17
16
|
images?: Array<Image>;
|
|
18
17
|
socialInteracts?: Array<SocialInteract>;
|
|
19
18
|
txts?: Array<Txt>;
|
|
20
|
-
chat?: Chat;
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
chat?: Chat;
|
|
20
|
+
/** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
|
|
21
|
+
location?: Location;
|
|
22
|
+
/** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
|
|
23
|
+
value?: Value;
|
|
24
|
+
/** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
|
|
23
25
|
chats?: Array<Chat>;
|
|
24
26
|
};
|
|
25
27
|
type Transcript = {
|
|
@@ -210,9 +212,12 @@ declare namespace PodcastNs {
|
|
|
210
212
|
updateFrequency?: UpdateFrequency<TDate>;
|
|
211
213
|
podping?: Podping;
|
|
212
214
|
chat?: Chat;
|
|
213
|
-
publisher?: Publisher;
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
publisher?: Publisher;
|
|
216
|
+
/** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
|
|
217
|
+
location?: Location;
|
|
218
|
+
/** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
|
|
219
|
+
value?: Value;
|
|
220
|
+
/** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
|
|
216
221
|
chats?: Array<Chat>;
|
|
217
222
|
};
|
|
218
223
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DateLike } from "../../../common/types.js";
|
|
2
|
-
|
|
3
2
|
//#region src/namespaces/podcast/common/types.d.ts
|
|
4
3
|
declare namespace PodcastNs {
|
|
5
4
|
/** @internal Common properties shared by Item and LiveItem. */
|
|
@@ -17,9 +16,12 @@ declare namespace PodcastNs {
|
|
|
17
16
|
images?: Array<Image>;
|
|
18
17
|
socialInteracts?: Array<SocialInteract>;
|
|
19
18
|
txts?: Array<Txt>;
|
|
20
|
-
chat?: Chat;
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
chat?: Chat;
|
|
20
|
+
/** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
|
|
21
|
+
location?: Location;
|
|
22
|
+
/** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
|
|
23
|
+
value?: Value;
|
|
24
|
+
/** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
|
|
23
25
|
chats?: Array<Chat>;
|
|
24
26
|
};
|
|
25
27
|
type Transcript = {
|
|
@@ -210,9 +212,12 @@ declare namespace PodcastNs {
|
|
|
210
212
|
updateFrequency?: UpdateFrequency<TDate>;
|
|
211
213
|
podping?: Podping;
|
|
212
214
|
chat?: Chat;
|
|
213
|
-
publisher?: Publisher;
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
publisher?: Publisher;
|
|
216
|
+
/** @deprecated Use `locations` (array) instead. Multiple podcast:location elements are allowed per specification. */
|
|
217
|
+
location?: Location;
|
|
218
|
+
/** @deprecated Use `values` (array) instead. Multiple podcast:value elements are allowed per specification. */
|
|
219
|
+
value?: Value;
|
|
220
|
+
/** @deprecated Use `chat` (singular) instead. Only one podcast:chat element is allowed per specification. */
|
|
216
221
|
chats?: Array<Chat>;
|
|
217
222
|
};
|
|
218
223
|
}
|
|
@@ -294,5 +294,35 @@ const generateFeed = (feed) => {
|
|
|
294
294
|
});
|
|
295
295
|
};
|
|
296
296
|
//#endregion
|
|
297
|
+
exports.generateAlternateEnclosure = generateAlternateEnclosure;
|
|
298
|
+
exports.generateBaseItem = generateBaseItem;
|
|
299
|
+
exports.generateBlock = generateBlock;
|
|
300
|
+
exports.generateChapters = generateChapters;
|
|
301
|
+
exports.generateChat = generateChat;
|
|
302
|
+
exports.generateContentLink = generateContentLink;
|
|
303
|
+
exports.generateEpisode = generateEpisode;
|
|
297
304
|
exports.generateFeed = generateFeed;
|
|
305
|
+
exports.generateFunding = generateFunding;
|
|
306
|
+
exports.generateImage = generateImage;
|
|
307
|
+
exports.generateIntegrity = generateIntegrity;
|
|
298
308
|
exports.generateItem = generateItem;
|
|
309
|
+
exports.generateLicense = generateLicense;
|
|
310
|
+
exports.generateLiveItem = generateLiveItem;
|
|
311
|
+
exports.generateLocation = generateLocation;
|
|
312
|
+
exports.generateLocked = generateLocked;
|
|
313
|
+
exports.generatePerson = generatePerson;
|
|
314
|
+
exports.generatePodping = generatePodping;
|
|
315
|
+
exports.generatePodroll = generatePodroll;
|
|
316
|
+
exports.generatePublisher = generatePublisher;
|
|
317
|
+
exports.generateRemoteItem = generateRemoteItem;
|
|
318
|
+
exports.generateSeason = generateSeason;
|
|
319
|
+
exports.generateSocialInteract = generateSocialInteract;
|
|
320
|
+
exports.generateSoundbite = generateSoundbite;
|
|
321
|
+
exports.generateSource = generateSource;
|
|
322
|
+
exports.generateTrailer = generateTrailer;
|
|
323
|
+
exports.generateTranscript = generateTranscript;
|
|
324
|
+
exports.generateTxt = generateTxt;
|
|
325
|
+
exports.generateUpdateFrequency = generateUpdateFrequency;
|
|
326
|
+
exports.generateValue = generateValue;
|
|
327
|
+
exports.generateValueRecipient = generateValueRecipient;
|
|
328
|
+
exports.generateValueTimeSplit = generateValueTimeSplit;
|
|
@@ -294,4 +294,4 @@ const generateFeed = (feed) => {
|
|
|
294
294
|
});
|
|
295
295
|
};
|
|
296
296
|
//#endregion
|
|
297
|
-
export { generateFeed, generateItem };
|
|
297
|
+
export { generateAlternateEnclosure, generateBaseItem, generateBlock, generateChapters, generateChat, generateContentLink, generateEpisode, generateFeed, generateFunding, generateImage, generateIntegrity, generateItem, generateLicense, generateLiveItem, generateLocation, generateLocked, generatePerson, generatePodping, generatePodroll, generatePublisher, generateRemoteItem, generateSeason, generateSocialInteract, generateSoundbite, generateSource, generateTrailer, generateTranscript, generateTxt, generateUpdateFrequency, generateValue, generateValueRecipient, generateValueTimeSplit };
|