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/typesNote: 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.