
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@prisma-next/sql-operations
Advanced tools
SQL-specific operation types and registry helpers for Prisma Next.
This package provides SQL-specific operation types and typed registry helpers. It lives in the shared plane to allow both migration-plane (emitter/CLI) and runtime-plane (lanes/runtime) packages to import operation types without violating plane boundaries. The package contains only types and pure helpers (no pack I/O, no manifest assembly); manifest assembly is handled by the CLI/tooling layer.
SQL Operation Types: SQL-specific operation signature types
SqlOperationSignature: SQL-specific operation signature (extends core OperationSignature with lowering specs)SqlLoweringSpec: SQL-specific lowering specification (target family, strategy, template)SqlOperationRegistry: Typed registry alias for SQL operationsRegistry Helpers: Typed helpers for creating and using SQL operation registries
createSqlOperationRegistry(): Creates a typed SQL operation registryregister(): Typed wrapper for registering operations in a registry@prisma-next/operations (core operation registry types)@prisma-next/sql-relational-core (uses for operation execution)@prisma-next/sql-runtime (uses for operation signature types)@prisma-next/cli (uses types when assembling registries from packs)flowchart TD
subgraph "Core Ring (Shared Plane)"
OPS[@prisma-next/operations]
SQL_OPS[@prisma-next/sql-operations]
end
subgraph "Tooling Ring (Migration Plane)"
CLI[@prisma-next/cli]
end
subgraph "Lanes Ring (Runtime Plane)"
REL_CORE[@prisma-next/sql-relational-core]
end
subgraph "Runtime Ring (Runtime Plane)"
SQL_RUNTIME[@prisma-next/sql-runtime]
end
OPS --> SQL_OPS
CLI --> SQL_OPS
SQL_OPS --> REL_CORE
SQL_OPS --> SQL_RUNTIME
import {
createSqlOperationRegistry,
register,
type SqlOperationSignature,
} from '@prisma-next/sql-operations';
const registry = createSqlOperationRegistry();
const signature: SqlOperationSignature = {
forTypeId: 'pgvector/vector@1',
method: 'cosineDistance',
args: [{ kind: 'typeId', type: 'pgvector/vector@1' }],
returns: { kind: 'builtin', type: 'number' },
lowering: {
targetFamily: 'sql',
strategy: 'infix',
template: '${self} <=> ${arg0}',
},
};
register(registry, signature);
const operations = registry.byType('pgvector/vector@1');
For tooling code that works with extension packs, manifest assembly happens in the CLI layer. See @prisma-next/cli for pack assembly utilities.
FAQs
SQL-specific operations for Prisma Next
The npm package @prisma-next/sql-operations receives a total of 444 weekly downloads. As such, @prisma-next/sql-operations popularity was classified as not popular.
We found that @prisma-next/sql-operations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.