diff options
author | 2021-09-14 10:34:04 +0200 | |
---|---|---|
committer | 2021-09-14 10:34:04 +0200 | |
commit | 979ec02c9a1019152be08705986337e470eabb57 (patch) | |
tree | 6021179ad8649112717a499780f475275af487f2 /src/actions/settings.ts | |
parent | refactor: defensive programming to avoid javascript error for unread badges (diff) | |
download | ferdium-app-979ec02c9a1019152be08705986337e470eabb57.tar.gz ferdium-app-979ec02c9a1019152be08705986337e470eabb57.tar.zst ferdium-app-979ec02c9a1019152be08705986337e470eabb57.zip |
chore: codebase improvements (#1930)
Diffstat (limited to 'src/actions/settings.ts')
-rw-r--r-- | src/actions/settings.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/actions/settings.ts b/src/actions/settings.ts new file mode 100644 index 000000000..fd29b798b --- /dev/null +++ b/src/actions/settings.ts | |||
@@ -0,0 +1,12 @@ | |||
1 | import PropTypes from 'prop-types'; | ||
2 | |||
3 | export default { | ||
4 | update: { | ||
5 | type: PropTypes.string.isRequired, | ||
6 | data: PropTypes.object.isRequired, | ||
7 | }, | ||
8 | remove: { | ||
9 | type: PropTypes.string.isRequired, | ||
10 | key: PropTypes.string.isRequired, | ||
11 | }, | ||
12 | }; | ||