Renaud Chaput 37070a7881 [Glitch] Convert polls to Typescript / Immutable Records
Port ded799f91302c1ea2ac0b463ef50e309e154466c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-12-25 21:21:39 +01:00

8 lines
196 B
TypeScript

import { createAction } from '@reduxjs/toolkit';
import type { Poll } from 'flavours/glitch/models/poll';
export const importPolls = createAction<{ polls: Poll[] }>(
'poll/importMultiple',
);