shred-api-client 1.11.8 → 1.11.9

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.
@@ -86,7 +86,11 @@ export declare enum CaptionStyle {
86
86
  TWO_LINES_EMOJIS = 3,
87
87
  HOME_HIGHLIGHT = 4
88
88
  }
89
- export declare const Styles: Record<CaptionStyle, string>;
89
+ interface Style {
90
+ value: CaptionStyle;
91
+ label: string;
92
+ }
93
+ export declare const Styles: Style[];
90
94
  type DenyFeedback = {
91
95
  timestamp: number;
92
96
  feedback: string;
@@ -63,10 +63,10 @@ var CaptionStyle;
63
63
  CaptionStyle[CaptionStyle["TWO_LINES_EMOJIS"] = 3] = "TWO_LINES_EMOJIS";
64
64
  CaptionStyle[CaptionStyle["HOME_HIGHLIGHT"] = 4] = "HOME_HIGHLIGHT";
65
65
  })(CaptionStyle || (exports.CaptionStyle = CaptionStyle = {}));
66
- exports.Styles = {
67
- [CaptionStyle.ONE_LINE]: "One Line",
68
- [CaptionStyle.ONE_LINE_EMOJIS]: "One Line + Emojis",
69
- [CaptionStyle.TWO_LINES]: "Two Lines",
70
- [CaptionStyle.TWO_LINES_EMOJIS]: "Two Lines + Emojis",
71
- [CaptionStyle.HOME_HIGHLIGHT]: "Home Highlight",
72
- };
66
+ exports.Styles = [
67
+ { value: CaptionStyle.ONE_LINE, label: "One Line" },
68
+ { value: CaptionStyle.ONE_LINE_EMOJIS, label: "One Line + Emojis" },
69
+ { value: CaptionStyle.TWO_LINES, label: "Two Lines" },
70
+ { value: CaptionStyle.TWO_LINES_EMOJIS, label: "Two Lines + Emojis" },
71
+ { value: CaptionStyle.HOME_HIGHLIGHT, label: "Home Highlight" },
72
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.11.8",
3
+ "version": "1.11.9",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",