@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 +11 -0
- package/package.json +1 -1
- package/types.ts +14 -0
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
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
|
+
};
|