API reference
Every value and type each @samveys/* package exports, read from its source with the signature and its documentation comment.
895 exports
Core
-
@samveys/core1.0.2Container, inject(), providers, plugins, hooks, lifecycle, config, env, logger, errors, hashing and encryption
48 Function/Value · 104 Type
-
@samveys/validator1.0.2Typed schemas implementing Standard Schema v1
4 Function/Value · 13 Type
-
@samveys/console1.0.2The svs CLI, defineCommand, inspection commands, svs check
9 Function/Value · 27 Type
-
@samveys/testing1.0.2createTestApp, in-process HTTP test client, fake time, events fake, hook recording
6 Function/Value · 14 Type
HTTP & APIs
-
@samveys/http1.0.2Kernel, router, controllers, middleware, Problem Details, security headers, node driver, SSE, WebSocket
29 Function/Value · 52 Type
-
@samveys/fastify1.0.2Fastify owns the server lifecycle, the Samveys kernel owns every request
1 Function/Value · 1 Type
-
@samveys/hono1.0.2Hono carries the transport via @hono/node-server; the kernel owns every request
1 Function/Value · 1 Type
-
@samveys/http-client1.0.2Retries, timeouts, concurrency pool, fakes and SSRF protection
3 Function/Value · 12 Type
-
@samveys/openapi1.0.2OpenAPI 3.1 from route schemas, dev-only /docs, typed client generator, breaking-change check
8 Function/Value · 6 Type
-
@samveys/graphql1.0.2Depth, count and cost limits, per-object rate limits, batching control
2 Function/Value · 4 Type
-
@samveys/grpc1.0.2gRPC, gRPC-Web and the Connect protocol from one service definition
4 Function/Value · 4 Type
Data
-
@samveys/database1.0.2Connections, query and schema builders, migrations, seeders; PostgreSQL, MySQL/MariaDB, SQLite
24 Function/Value · 45 Type
-
@samveys/orm1.0.2Schema-first models, relations, eager loading, mass-assignment and lazy-loading guards, factories
11 Function/Value · 39 Type
-
@samveys/search1.0.2Searchable models on FTS5, tsvector or FULLTEXT, with an outbox for index updates
3 Function/Value · 11 Type
-
@samveys/mssql1.0.2Microsoft SQL Server driver (tedious via mssql)
4 Function/Value · 1 Type
-
@samveys/oracle1.0.2Oracle Database driver (node-oracledb thin mode)
5 Function/Value · 1 Type
-
@samveys/libsql1.0.2libSQL / Turso driver (sqld over HTTP, SQLite dialect)
3 Function/Value · 1 Type
-
@samveys/mongodb1.0.2Typed document ODM with injection-safe queries and transactions
4 Function/Value · 18 Type
-
@samveys/meilisearch1.0.2Meilisearch search driver, REST over fetch
1 Function/Value · 1 Type
-
@samveys/typesense1.0.2Typesense search driver, REST over fetch
1 Function/Value · 1 Type
-
@samveys/opensearch1.0.2OpenSearch search driver, REST over fetch
1 Function/Value · 1 Type
Security
-
@samveys/security1.0.2CSRF guard (Fetch Metadata + tokens), CORS, rate limiting
7 Function/Value · 4 Type
-
@samveys/session1.0.2Server-side sessions, secure cookies, id regeneration, flash data
6 Function/Value · 8 Type
-
@samveys/auth1.0.2Session and API-token guards, OIDC sign-in with PKCE, policies
15 Function/Value · 27 Type
-
@samveys/tenancy1.0.2Tenant resolution, scoped ORM queries, per-tenant databases, PostgreSQL row level security
13 Function/Value · 4 Type
Features
-
@samveys/cache1.0.2Memory, database and failover stores, cross-process locks, funnel
11 Function/Value · 8 Type
-
@samveys/queue1.0.2Jobs, retries, database driver with SKIP LOCKED, transactional outbox, workers
9 Function/Value · 18 Type
-
@samveys/scheduler1.0.2Cron tasks, overlap and one-server locks, schedule:run
5 Function/Value · 10 Type
-
@samveys/mail1.0.2Mailables, SMTP over node:net/tls, log and fake transports
11 Function/Value · 13 Type
-
@samveys/notifications1.0.2Mail and database channels, optional queueing, channel registry
5 Function/Value · 12 Type
-
@samveys/storage1.0.2Local and S3 (SigV4) disks and safe uploads
10 Function/Value · 11 Type
-
@samveys/webhooks1.0.2Verified incoming deliveries and signed outgoing events
5 Function/Value · 8 Type
-
@samveys/payment1.0.2Midtrans and Xendit drivers on webhooks and http-client
4 Function/Value · 8 Type
-
@samveys/broadcast1.0.2Relays SSE and WebSocket messages between instances
4 Function/Value · 5 Type
-
@samveys/i18n1.0.2Intl formatting, locale negotiation and MessageFormat 2 translations
5 Function/Value · 8 Type
-
@samveys/flags1.0.2OpenFeature-compatible feature flags with a database provider
6 Function/Value · 12 Type
-
@samveys/env-crypt1.0.2svs env:encrypt and env:decrypt
9 Function/Value · 0 Type
-
@samveys/health1.0.2Liveness and readiness endpoints, shutdown-aware
1 Function/Value · 5 Type
-
@samveys/inspector1.0.2Records requests, queries, jobs, mail and exceptions in development
2 Function/Value · 4 Type
-
@samveys/admin1.0.2Server-rendered, policy-checked and audited CRUD screens for ORM models
6 Function/Value · 11 Type
-
@samveys/mcp1.0.2An MCP server exposing app info, routes, schema, config and the last error to AI agents
5 Function/Value · 4 Type
Views
-
@samveys/view1.0.2The ViewEngine contract, engine registry and ctx.view
3 Function/Value · 7 Type
-
@samveys/template1.0.2.tpl.html compiled to ES modules, no eval
6 Function/Value · 3 Type
-
@samveys/vite1.0.2@vite tags, manifest reader and hashed asset serving
4 Function/Value · 5 Type
-
@samveys/inertia1.0.2Inertia protocol v2: ctx.inertia, partial reloads, shared props, SSR hook
4 Function/Value · 4 Type
-
@samveys/vue1.0.2Server-side rendering of Vue components with state for hydration
5 Function/Value · 3 Type
-
@samveys/lsp1.0.2Template language server: completion, hover, diagnostics, go-to-file
2 Function/Value · 1 Type