Skip to content

aignostics/typescript-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aignostics Platform TypeScript SDK

codecov Quality Gate Status CI/CD Pipeline

The official TypeScript SDK for the Aignostics Platform, providing type-safe access to the Aignostics API. Also includes a CLI tool for command-line operations.

For general information about the Aignostics Platform check this documentation page

Packages

Features

  • 🚀 Type-safe API client - Generated from OpenAPI specifications
  • 🔧 CLI tool - Command-line interface for platform operations
  • 🧪 Comprehensive testing - 85%+ code coverage with unit and integration tests
  • 🛡️ Code quality - ESLint, Prettier, and SonarQube integration

Installation

SDK Package

npm install @aignostics/sdk

CLI Package

npm install -g @aignostics/cli

Usage

For detailed usage instructions, see the individual package documentation:

Quick Start - SDK

import { PlatformSDK } from '@aignostics/sdk';

const sdk = new PlatformSDK({
  baseURL: 'https://api.aignostics.com',
  tokenProvider: () => 'your-access-token-here',
});

// List applications
const applications = await sdk.listApplications();

// List application runs
const runs = await sdk.listApplicationRuns();

Quick Start - CLI

# Install and use the CLI
npm install -g @aignostics/cli
aignostics info

Developer Documentation

Architecture & Development

Development Setup

Prerequisites

  • Node.js 18+
  • Docker (for OpenAPI code generation)

Setup

# Clone the repository
git clone https://github.com/aignostics/typescript-sdk.git
cd typescript-sdk

# Install dependencies
npm install

# Build all packages
npm run build

Nx Commands

# Build all packages
nx run-many -t build

# Test all packages
nx run-many -t test

# Work with individual packages
nx build sdk           # Build only SDK
nx test cli           # Test only CLI
nx codegen sdk        # Generate OpenAPI client

Available Scripts

  • npm run build - Build all packages
  • npm run test - Run all tests
  • npm run lint - Lint all packages
  • npm run codegen - Generate OpenAPI client for SDK
  • npm run clean - Clean all build outputs

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Commit Convention

This project uses Conventional Commits. Please format your commits accordingly:

  • feat: - New features
  • fix: - Bug fixes
  • docs: - Documentation changes
  • style: - Code style changes
  • refactor: - Code refactoring
  • test: - Test changes
  • chore: - Build/tooling changes

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue on GitHub or contact the development team.


Made with ❤️ by the Aignostics team

About

Aignostics TypeScript SDK

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
license-checking-config.json

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •