@periskope/types 0.6.124 → 0.6.126

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/dist/types.d.ts CHANGED
@@ -388,13 +388,11 @@ export type UserPreferences = {
388
388
  };
389
389
  export type PollVoteInfoType = {
390
390
  poll_id?: string;
391
- poll_options: string[];
392
- poll_results: [
393
- {
394
- id: number;
395
- name: string;
396
- votes: Record<string, string>;
397
- }
398
- ];
391
+ poll_options?: string[];
392
+ poll_results?: {
393
+ id: number;
394
+ name: string;
395
+ votes: Record<string, string>;
396
+ }[];
399
397
  };
400
398
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.124",
3
+ "version": "0.6.126",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -538,12 +538,10 @@ export type UserPreferences = {
538
538
 
539
539
  export type PollVoteInfoType = {
540
540
  poll_id?: string;
541
- poll_options: string[];
542
- poll_results: [
543
- {
544
- id: number;
545
- name: string;
546
- votes: Record<string, string>;
547
- },
548
- ];
541
+ poll_options?: string[];
542
+ poll_results?: {
543
+ id: number;
544
+ name: string;
545
+ votes: Record<string, string>;
546
+ }[];
549
547
  };