New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
s

sam-openkingdom

npm

10.50K

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

36 packages

@open-kingdom/crm-backend-data-access-contacts

A NestJS module providing persistence and REST endpoints for the two foundational CRM entities — **companies** and **contacts**. Both entities are owner-scoped (each row carries an `ownerId` foreign key into `users`), support soft-deletion via `isArchived

@open-kingdom/crm-backend-data-access-opportunities

A NestJS module providing persistence and REST endpoints for the two CRM pipeline entities — **leads** (top-of-funnel inquiries) and **opportunities** (qualified deals in motion). Leads are intentionally lightweight and exist only until they are converted

@open-kingdom/crm-backend-feature-crm

The orchestration layer of the CRM. Composes the four CRM data-access modules (`contacts`, `opportunities`, plus the shared `activity-log` and `configurable-lookups`) and adds three things they cannot do individually:

@open-kingdom/crm-frontend-feature-crm

The CRM frontend — a React Router route table plus six page components and a lead-conversion modal, all wired against the auto-generated RTK Query hooks in `shared-frontend-data-access-api-client`. A host application splices `crmRoutes` into its router an

@open-kingdom/crm-poly-util-domain

The CRM domain vocabulary — string-literal unions, `as const` arrays, and runtime type guards for every CRM-wide enum (lead status, opportunity stage, activity type, related-entity type, lookup list keys). Pure isomorphic code with no NestJS, React, or fr

@open-kingdom/demo-scaffold-frontend-feature-root-store

This library was generated with [Nx](https://nx.dev).

@open-kingdom/shared-backend-data-access-activity-log

A NestJS module providing a polymorphic activity log — log any kind of activity (note, call, task, status-change, comment, …) against any kind of related record (contact, lead, project, ticket, …). Each entry has an owner, an optional due date, and an opt

@open-kingdom/shared-backend-data-access-configurable-lookups

A NestJS module providing a generic, admin-editable reference-data table — every dropdown / picklist option in the application stored as `(list_key, value, label, sort_order, is_active, is_system)` rows. Domain code reads `findByListKey('opportunity_stage

@open-kingdom/shared-backend-data-access-database-setup

A NestJS global dynamic module that opens a `better-sqlite3` connection, wraps it with Drizzle ORM, applies SQLite PRAGMAs, and provides the `BetterSQLite3Database` instance to the NestJS DI container under the `DB_TAG` injection token.

@open-kingdom/shared-backend-data-access-users

A NestJS module providing `UsersService` for User entity persistence via Drizzle ORM + SQLite, including bcrypt password hashing, full CRUD operations, and automatic admin user seeding on startup.

@open-kingdom/shared-backend-feature-authentication

A NestJS dynamic module providing JWT + Passport-based authentication: a `POST /auth/login` endpoint, a `GET /profile` endpoint, a global-ready `JwtAuthGuard`, and a `@Public()` route decorator for bypassing the guard.

@open-kingdom/shared-backend-feature-email

A global NestJS dynamic module providing email sending through a pluggable provider interface. Currently implements Gmail via the Google Gmail API (service account + domain-wide delegation). Registered globally so `EmailService` is injectable in any modul

@open-kingdom/shared-backend-feature-gcp-resources

A NestJS module exposing Google Cloud Platform project management via the Cloud Resource Manager API. Provides `GET /gcp/projects` for listing and `POST /gcp/projects` for creating GCP projects under a given organization or folder.

@open-kingdom/shared-backend-feature-user-management

A NestJS dynamic module providing REST endpoints and services for user listing/deletion and the complete invitation lifecycle (create, list, cancel, validate, accept). Integrates with `data-access-users` for persistence and `feature-email` for invitation

@open-kingdom/shared-backend-feature-youtube

This library contains the backend feature module for YouTube Twin mock operations, exposing search functionality and managing error simulations. It integrates the `@open-kingdom/shared-backend-integration-test-doubles` YouTube twin.

@open-kingdom/shared-backend-integration-test-doubles

A library for creating integration test doubles (fakes) for external services. Provides local twins that can be used in place of real services during testing and development.

@open-kingdom/shared-backend-util-rbac

Decorators, guards, and tokens for role-based access control in NestJS.

@open-kingdom/shared-feature-notifications

React UI feature library providing a Redux-connected toast notification container that reads from the `data-access-notifications` slice and renders animated toast messages using `ui-notifications` primitive components.

@open-kingdom/shared-frontend-data-access-api-client

RTK Query base API instance with JWT auth header injection, auth state management (Redux slice), token persistence via a `StorageProvider`, and an adapter pattern for custom auth header formatting.

@open-kingdom/shared-frontend-data-access-external-api

A unified integration layer for connecting any third-party REST API to the application's Redux store via RTK Query. The library provides `createAxiosBaseQuery` — an Axios-backed RTK Query base query factory — as the foundation for adding new external API

@open-kingdom/shared-frontend-data-access-logger

Redux-based client-side logging infrastructure providing a slice for storing log entries in state, action creators for different log levels, parameterized selectors, and two RTK listener middleware factories — one that mirrors logs to the browser console

@open-kingdom/shared-frontend-data-access-notifications

Redux slice for managing UI notification state, providing action creators for adding, dismissing, removing, and clearing notifications, plus selectors for querying active and typed notification sets. Used as the data layer for `@open-kingdom/shared-fronte

@open-kingdom/shared-frontend-feature-error-autologger

React feature library that automatically captures uncaught errors, unhandled promise rejections, and RTK Query rejected actions, routing them to configurable logger and notification callbacks.

@open-kingdom/shared-frontend-feature-user-management

React UI feature library for user and invitation management, providing admin-facing pages and components for viewing users in a data grid, inviting new users, managing the invitation list, cancelling invitations, accepting invitations, and role display.

@open-kingdom/shared-frontend-ui-activity-timeline

A presentational React component that renders a vertical, icon-bulleted timeline of activity entries — generic over the activity-type vocabulary. Each entry shows an icon for the activity type (looked up from a host-supplied `iconMap`), the subject, a tim