feedparser-rs 0.5.0 → 0.5.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.
Files changed (2) hide show
  1. package/index.d.ts +19 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -33,6 +33,10 @@ export interface Enclosure {
33
33
  length?: number
34
34
  /** MIME type */
35
35
  type?: string
36
+ /** Attachment title (JSON Feed only) */
37
+ title?: string
38
+ /** Duration in seconds as raw string (JSON Feed duration_in_seconds) */
39
+ duration?: string
36
40
  }
37
41
 
38
42
  /** Feed entry/item */
@@ -127,6 +131,10 @@ export interface Entry {
127
131
  slashComments?: number
128
132
  /** WFW namespace: comment RSS feed URL */
129
133
  wfwCommentRss?: string
134
+ /** Entry language (JSON Feed language field) */
135
+ language?: string
136
+ /** External URL where the full content lives (JSON Feed external_url) */
137
+ externalUrl?: string
130
138
  }
131
139
 
132
140
  /** Feed metadata */
@@ -391,6 +399,8 @@ export interface MediaContent {
391
399
  isdefault?: string
392
400
  /** Sampling rate in kHz (raw string value) */
393
401
  samplingrate?: string
402
+ /** Frame rate in frames per second (raw string value) */
403
+ framerate?: string
394
404
  }
395
405
 
396
406
  /** Media RSS thumbnail */
@@ -574,7 +584,9 @@ export interface PodcastEntryMeta {
574
584
  /** Episode soundbites */
575
585
  soundbite: Array<PodcastSoundbite>
576
586
  /** Episode persons */
577
- person: Array<PodcastPerson>
587
+ persons: Array<PodcastPerson>
588
+ /** Content medium type (podcast:medium) */
589
+ medium?: string
578
590
  }
579
591
 
580
592
  /** Podcast funding link */
@@ -601,6 +613,12 @@ export interface PodcastMeta {
601
613
  guid?: string
602
614
  /** Value-for-value payment information */
603
615
  value?: PodcastValue
616
+ /** Content medium type (podcast:medium) */
617
+ medium?: string
618
+ /** Ownership transfer lock value: "yes" or "no" (podcast:locked) */
619
+ locked?: string
620
+ /** Email of the lock owner (podcast:locked owner attribute) */
621
+ lockedOwner?: string
604
622
  }
605
623
 
606
624
  /** Podcast person metadata */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feedparser-rs",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "High-performance RSS/Atom/JSON Feed parser for Node.js",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",