@periskope/types 0.6.122 → 0.6.123

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
@@ -385,4 +385,15 @@ export type UserPreferences = {
385
385
  right_sidepanel_open: boolean;
386
386
  sync_wa_unread_count: boolean;
387
387
  };
388
+ export type PollVoteInfoType = {
389
+ poll_id?: string;
390
+ poll_options: string[];
391
+ poll_results: [
392
+ {
393
+ id: number;
394
+ name: string;
395
+ votes: Record<string, string>;
396
+ }
397
+ ];
398
+ };
388
399
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@periskope/types",
3
- "version": "0.6.122",
3
+ "version": "0.6.123",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.ts CHANGED
@@ -532,3 +532,17 @@ export type UserPreferences = {
532
532
  right_sidepanel_open: boolean;
533
533
  sync_wa_unread_count: boolean;
534
534
  };
535
+
536
+ /* ----------------------------- POLL VOTE INFO ----------------------------- */
537
+
538
+ export type PollVoteInfoType = {
539
+ poll_id?: string;
540
+ poll_options: string[];
541
+ poll_results: [
542
+ {
543
+ id: number;
544
+ name: string;
545
+ votes: Record<string, string>;
546
+ },
547
+ ];
548
+ };