@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 +6 -8
- package/package.json +1 -1
- package/types.ts +6 -8
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
|
|
392
|
-
poll_results
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
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
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
|
|
542
|
-
poll_results
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
},
|
|
548
|
-
];
|
|
541
|
+
poll_options?: string[];
|
|
542
|
+
poll_results?: {
|
|
543
|
+
id: number;
|
|
544
|
+
name: string;
|
|
545
|
+
votes: Record<string, string>;
|
|
546
|
+
}[];
|
|
549
547
|
};
|