open-index/open-npm huggingface dataset:
npm package: @hey-bible/client
Description: OpenAPI client for @hey-bible/client
Author: OpenAPI-Generator
Latest version: 1.1.1

## @hey-bible/client@1.1.0

This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run `npm publish`

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @hey-bible/client@1.1.0 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```
npm package: @hey-sensai/shared
Description: Shared utilities for Hey SensAI platform apps
Latest version: 0.1.0

# @hey-sensai/shared

Shared utilities, types, and constants for Hey SensAI platform apps.

## Installation

```bash
# Install from GitHub
npm install github:hey-sensai/shared

# Or with a specific version tag
npm install github:hey-sensai/shared#v0.1.0
```

## What's Included

### Auth Utilities (`/auth`)
- `createSSOBrowserClient()` - Supabase client with SSO cookie config
- `createSSOServerClient()` - Server-side Supabase client
- `getUser()` - Get current authenticated user
- `signOut()` - Sign out with SSO cookie cleanup

### Constants (`/constants`)
- `PLATFORM_APPS` - All 25 Hey SensAI apps with metadata
- `USER_ROLES` - Platform roles (owner, admin, manager, employee, demo)
- `SSO_COOKIE_OPTIONS` - Cookie config for `.heysensai.com` domain

### Types (`/types`)
- `AppKey` - Union type of all app keys
- `UserRole` - Union type of all roles
- `Employee`, `Suite`, `Invitation` - Database types

### Permissions (`/permissions`)
- `canAccessApp()` - Check if employee can access an app
- `canManageEmployee()` - Check role hierarchy
- `getAccessibleApps()` - List apps for an employee

## Usage

```typescript
import {
  createSSOBrowserClient,
  PLATFORM_APPS,
  canAccessApp
} from '@hey-sensai/shared';

// Create SSO-enabled Supabase client
const supabase = createSSOBrowserClient();

// Check app access
if (canAccessApp(employee, 'settings')) {
  // Allow access
}
```

## Development

```bash
# Build
npm run build

# Type check
npm run typecheck
```

## Versioning

Use git tags for versioning:

```bash
git tag v0.1.0
git push origin v0.1.0
```

Consumers update with:

```bash
npm update @hey-sensai/shared
```