diff options
author | Eric Bailey <git@esb.lol> | 2025-04-04 14:08:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-04 14:08:16 -0500 |
commit | a0ff9b52aad3349b24118a0222e0f3d78e695887 (patch) | |
tree | b5f7ab9fab8551ffc9d45473e510a79ddcfb6e36 /src/state/queries | |
parent | 5c59ec14c290d2a0867634af926ab7e657c0e189 (diff) | |
download | voidsky-a0ff9b52aad3349b24118a0222e0f3d78e695887.tar.zst |
[Explore] Add interests card (#8125)
* Add interests card to top of Explore * Add tip to add interests if they have none or deselect * Format * Copy
Diffstat (limited to 'src/state/queries')
-rw-r--r-- | src/state/queries/nuxs/definitions.ts | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/state/queries/nuxs/definitions.ts b/src/state/queries/nuxs/definitions.ts index 8166602c8..8eb53a0a4 100644 --- a/src/state/queries/nuxs/definitions.ts +++ b/src/state/queries/nuxs/definitions.ts @@ -1,18 +1,26 @@ -import zod from 'zod' +import type zod from 'zod' -import {BaseNux} from '#/state/queries/nuxs/types' +import {type BaseNux} from '#/state/queries/nuxs/types' export enum Nux { NeueTypography = 'NeueTypography', + ExploreInterestsCard = 'ExploreInterestsCard', } export const nuxNames = new Set(Object.values(Nux)) -export type AppNux = BaseNux<{ - id: Nux.NeueTypography - data: undefined -}> +export type AppNux = BaseNux< + | { + id: Nux.NeueTypography + data: undefined + } + | { + id: Nux.ExploreInterestsCard + data: undefined + } +> export const NuxSchemas: Record<Nux, zod.ZodObject<any> | undefined> = { [Nux.NeueTypography]: undefined, + [Nux.ExploreInterestsCard]: undefined, } |