JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q95407F
  • License MIT

TypeScript types for the InAI Auth SDK

Package Exports

  • @inai-dev/types

Readme

@inai-dev/types

TypeScript type definitions for the InAI Auth SDK. This package contains all shared interfaces and types used across the SDK.

Installation

npm install @inai-dev/types

Note: You typically don't need to install this directly. It's included as a dependency of all other @inai-dev/* packages.

Usage

import type {
  AuthObject,
  UserResource,
  SessionResource,
  ApplicationResource,
  EnvironmentResource,
  OrganizationResource,
} from "@inai-dev/types";

Exported Types

  • Auth: AuthObject, AuthConfig, SignInResult, SignUpResult
  • Resources: UserResource, SessionResource, ApplicationResource, EnvironmentResource, OrganizationResource, RoleResource, PermissionResource
  • Config: InAIConfig, CookieConfig

Documentation

See the full API Reference.

License

MIT