Skip to content

TS String Enum for Stytch Token Type #323

Description

@grant

I'd like to have a TS constant and a union type. Something like:

import {StytchToken, StytchTokenType} from "stytch";

const MAGIC_LINKS_TOKEN: StytchTokenType = StytchToken.Magic_Links; // "magic_links";

Docs:

https://stytch.com/docs/guides/dashboard/redirect-urls#structure

I don't want to use the "magic_links" string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions