Catalog npm
PACKAGE EXPLORERView in registry

@0xshariq/voxa-types

npm

Shared TypeScript type definitions for Voxa HTTP Client ecosystem (CLI, API, SDKs)

definitionshttp-clienttypestypescriptvoxa
Versions collected1
Direct dependencies1From release 1.0.0
Last observed21 Oct, 11:27 UTC

README

Current package documentation

@0xshariq/voxa-types

Shared TypeScript type definitions for the Voxa HTTP Client ecosystem.

Installation

npm install @0xshariq/voxa-types
# or
pnpm add @0xshariq/voxa-types
# or
yarn add @0xshariq/voxa-types

Usage

Import All Types

import type { VoxaConfig, HttpMethod, CacheConfig } from '@0xshariq/voxa-types';

Import Specific Modules

// Client types
import type { VoxaConfig, VoxaResponse } from '@0xshariq/voxa-types/client';

// Cache types
import type { CacheConfig, CacheAdapter } from '@0xshariq/voxa-types/cache';

// Streaming types
import type { StreamingImageOptions, ImagePayload } from '@0xshariq/voxa-types/streaming';

// GraphQL types
import type { GraphQLConfig, GraphQLRequest } from '@0xshariq/voxa-types/graphql';

Type Categories

Client Types

  • VoxaConfig - Main client configuration
  • VoxaResponse - Response wrapper with metadata
  • HttpMethod - Supported HTTP methods
  • RequestPriority - Request priority levels

Cache Types

  • CacheConfig - Cache configuration
  • CacheAdapter - Custom cache adapter interface
  • CacheEntry - Cache entry structure

Streaming Types

  • StreamingImageOptions - Image streaming configuration
  • StreamingVideoOptions - Video streaming configuration
  • ImagePayload - Supported image types
  • VideoPayload - Supported video types

GraphQL Types

  • GraphQLConfig - GraphQL configuration
  • GraphQLRequest - GraphQL query request
  • GraphQLResponse - GraphQL response structure
  • GraphQLError - GraphQL error format

HTTP/2 Types

  • Http2PushConfig - HTTP/2 push configuration
  • PushedResource - Pushed resource metadata

Common Types

  • RequestMetadata - Request tracking metadata
  • RetryConfig - Retry configuration
  • QueueConfig - Queue configuration
  • CircuitBreakerConfig - Circuit breaker configuration
  • And more...

Usage in Projects

In CLI

import type { VoxaConfig } from '@0xshariq/voxa-types';

function createClient(config: VoxaConfig) {
  // CLI implementation
}

In API

import type { VoxaResponse, HttpMethod } from '@0xshariq/voxa-types';

async function handleRequest(method: HttpMethod): Promise<VoxaResponse> {
  // API implementation
}

In SDKs

import type { CacheConfig, StreamingImageOptions } from '@0xshariq/voxa-types';

class VoxaSDK {
  constructor(
    cache: CacheConfig,
    streaming: StreamingImageOptions
  ) {
    // SDK implementation
  }
}

License

MIT © Sharique Chaudhary

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.0.0Registry latest5 Dec 20251

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xshariq/voxa

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:27 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7e96439f143babc1edc7d373f5f66526efbfe633cd1d5fd31f96daac06eb8db9