sam-openkingdom
@sam-openkingdom
18
Published Tools
0
Total Stars
0
Weekly Downloads
Published Tools
18 Skillsacross 1 category@open-kingdom/shared-poly-util-constants
sam-openkingdom
Shared constants used across both backend (NestJS) and frontend (React) packages in the OpenKingdom monorepo, preventing magic string duplication for cross-package injection tokens and configuration keys.
@open-kingdom/shared-backend-data-access-database-setup
sam-openkingdom
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-frontend-data-access-logger
sam-openkingdom
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-api-client
sam-openkingdom
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-feature-notifications
sam-openkingdom
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-backend-feature-user-management
sam-openkingdom
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-frontend-ui-datagrid
sam-openkingdom
React data grid component wrapping AG Grid Community Edition with opinionated defaults (sorting, filtering, pagination, auto-sizing), theme adaptation from the `ui-theme` color system (light/dark mode), optional grid state persistence to any async storage
@open-kingdom/shared-frontend-feature-error-autologger
sam-openkingdom
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-backend-feature-authentication
sam-openkingdom
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
sam-openkingdom
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-frontend-feature-user-management
sam-openkingdom
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-backend-feature-gcp-resources
sam-openkingdom
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-frontend-data-access-external-api
sam-openkingdom
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-backend-data-access-users
sam-openkingdom
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-poly-util-types
sam-openkingdom
Shared TypeScript type definitions used across both backend and frontend packages in the OpenKingdom monorepo. A pure type library β no runtime code is emitted; all exports are `interface`, `type`, or `const` enums.
@open-kingdom/shared-frontend-ui-notifications
sam-openkingdom
Primitive React UI notification component (`NotificationToast`) that renders a single notification entry with type-specific styling, an animated enter/exit transition, and a dismiss button. Used as the rendering layer by `@open-kingdom/shared-frontend-fea
@open-kingdom/shared-frontend-data-access-notifications
sam-openkingdom
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-poly-util-env-config
sam-openkingdom
Type-safe, adapter-pattern environment variable service that works identically in Node.js (reads `process.env`) and Vite browser environments (reads `import.meta.env`). The `keys` array passed to `createConfigService` constrains which keys are valid at th