Skip to content

Many types not exposed #14082

Open
Open
@Akkuma

Description

@Akkuma

Before opening, please confirm:

JavaScript Framework

Not applicable

Amplify APIs

Authentication

Amplify Version

v6

Amplify Categories

auth

Backend

None

Environment information

# Put output below this line
System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 62.05 MB / 32.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 22.5.1 - /opt/homebrew/bin/node
    npm: 10.8.2 - /opt/homebrew/bin/npm
    pnpm: 9.9.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.0 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: 131.1.73.91
    Chrome: 131.0.6778.86
    Safari: 17.4.1
  npmPackages:
    @aws-amplify/auth: ^6.8.3 => 6.8.3 
    @circle9r/gigashad: catalog: => 2.6.5 
    @circle9r/sst-util-lib: catalog: => 1.2.1 
    @remix-run/router: catalog: => 1.15.3 
    @types/react: ^18.2.71 => 18.2.72 
    @types/react-dom: catalog: => 18.2.22 
    @urql/exchange-auth: catalog: => 2.2.0 
    @urql/exchange-graphcache: ^6.5.1 => 6.5.1 
    @vitejs/plugin-react-swc: catalog: => 3.7.0 
    aws-amplify: catalog: => 6.10.2 
    dotenv: catalog: => 16.4.5 
    glob: catalog: => 10.3.10 
    pino: catalog: => 8.21.0 
    postcss: ^8.4.35 => 8.4.49 
    prettier: catalog: => 3.2.5 
    react: catalog: => 18.3.1 
    react-dom: catalog: => 18.2.0 
    react-router-dom: catalog: => 6.22.3 
    tailwind-merge: catalog: => 2.5.4 
    tailwindcss: ^3.4.1 => 3.4.3 
    tailwindcss-animate: ^1.0.7 => 1.0.7 
    type-fest: catalog: => 4.20.1 
    typescript: catalog: => 5.5.4 
    urql: ^4.0.6 => 4.0.7 
    valtio: catalog: => 1.13.2 
    vite: catalog: => 5.4.3 
    vite-tsconfig-paths: catalog: => 5.0.1 
  npmGlobalPackages:
    @circle9r/bison-cicd: 2.3.0
    @circle9r/gigashad: 2.5.4
    npm: 10.8.2
    test-mui: 1.0.0

Describe the bug

Types such as AuthFlowType are not being exported. Only a subset of types are being re-exported through the re-export chain of files.

Expected behavior

All exported types should be accessible without having to use other types to derive the type we're interested in utilizing.

Reproduction steps

  1. Attempt to utilize AuthFlowType
  2. Find it is never exported, but exists off of SignInOptions, which exists on SignInInput, but only after manually doing NonNullable<SignInInput['options']>

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    AuthRelated to Auth components/categoryTypeScriptRelated to TypeScript issuesfeature-requestRequest a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions