New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@clarityops/types

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clarityops/types

Shared TypeScript types for ClarityOps platform (InsightForge & InsightFlow)

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

@clarityops/types

Shared TypeScript type definitions for the ClarityOps platform, including InsightForge and InsightFlow applications.

Installation

npm install @clarityops/types
# or
pnpm add @clarityops/types
# or
yarn add @clarityops/types

Usage

Import all types

import type { 
  CurrentUser, 
  SurveyConfiguration, 
  Session,
  AnalysisResult 
} from '@clarityops/types';

Import specific modules

// Survey service types (InsightFlow backend)
import type { 
  Question, 
  Category, 
  SurveyResponse 
} from '@clarityops/types/survey';

// API client interfaces
import type { 
  SurveyApiClient, 
  AuthApiClient 
} from '@clarityops/types/api-client';

// Platform types
import type { PlatformConfig } from '@clarityops/types/platform';

// Auth types
import type { User, Permission } from '@clarityops/types/auth';

// API response types
import type { APIResponse, PaginationMeta } from '@clarityops/types/api';

Package Structure

ModuleDescription
@clarityops/typesAll types (main entry point)
@clarityops/types/surveySurvey service types (sessions, questions, analysis)
@clarityops/types/api-clientAPI client interfaces
@clarityops/types/apiGeneric API response types
@clarityops/types/authAuthentication and user types
@clarityops/types/platformPlatform configuration types
@clarityops/types/flowLegacy InsightFlow types

Key Types

Survey Types (/survey)

  • SurveyConfiguration - Survey configuration entity
  • Category / Subcategory - Survey categorization
  • Question - Survey questions with various types
  • Session - Survey respondent sessions
  • SurveyResponse - Individual question responses
  • AnalysisResult - AI analysis results
  • Persona - Assigned persona based on analysis
  • Report / ReportJob - Generated reports

API Client Types (/api-client)

  • SurveyApiClient - Full survey service API interface
  • MainAppApiClient - Main application API interface
  • AuthApiClient - Authentication API interface
  • ApiConfig - API configuration options
  • ClarityOpsEndpoints - Service endpoint URLs

Auth Types (/auth)

  • User - Authenticated user
  • Permission - User permissions
  • ClientAccess - Client/tenant access

License

MIT

Keywords

clarityops

FAQs

Package last updated on 13 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts