diff options
author | Eric Bailey <git@esb.lol> | 2023-11-12 13:31:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-12 11:31:11 -0800 |
commit | 05b728fffcdb17708fdb52685725faf7fdc545bc (patch) | |
tree | b6523916d965f921d3f03d101dc60a7e74569bce /src/lib/labeling/types.ts | |
parent | c8c308e31e63607280648e3e9f1f56a371adcd05 (diff) | |
download | voidsky-05b728fffcdb17708fdb52685725faf7fdc545bc.tar.zst |
Eric/preferences (#1873)
* Add initial preferences query, couple mutations * Remove unused * Clean up labels, migrate getModerationOpts * Add birth date handling * Migrate feed prefs * Migrate thread view prefs * Migrate homeFeed to use existing key name * Fix up saved feeds in response, no impl yet * Migrate saved feeds to new hooks * Clean up more of preferences * Fix PreferencesThreads load state * Fix modal dismissal * Small spacing fix --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/lib/labeling/types.ts')
-rw-r--r-- | src/lib/labeling/types.ts | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/labeling/types.ts b/src/lib/labeling/types.ts deleted file mode 100644 index 84d59be7f..000000000 --- a/src/lib/labeling/types.ts +++ /dev/null @@ -1,18 +0,0 @@ -import {ComAtprotoLabelDefs} from '@atproto/api' -import {LabelPreferencesModel} from 'state/models/ui/preferences' - -export type Label = ComAtprotoLabelDefs.Label - -export interface LabelValGroup { - id: - | keyof LabelPreferencesModel - | 'illegal' - | 'always-filter' - | 'always-warn' - | 'unknown' - title: string - isAdultImagery?: boolean - subtitle?: string - warning: string - values: string[] -} |