SHARED_LOCAL_SQLITE_REQUIRED_AUTH_TABLE_NAMES (tooling/shared-db-local-sqlite-signature.ts)

openmeld · packages/db/src/tooling/shared-db-local-sqlite-signature.ts · typescript · MIT
database

Module exposing: SHARED_LOCAL_SQLITE_REQUIRED_AUTH_TABLE_NAMES, SHARED_LOCAL_SQLITE_REQUIRED_DISPATCH_TABLE_NAMES, buildSharedLocalSqliteSignature, readSharedLocalSqliteSignature, meetsSharedLocalSqliteMinimumSignature

// Source: https://github.com/amplifthq/openmeld | License: MIT | Copyright 2026 Amplift
// Provided via justclaw.it.com; keep this notice with the code.
import Database from "better-sqlite3";

export const SHARED_LOCAL_SQLITE_REQUIRED_AUTH_TABLE_NAMES = [
  "accounts",
  "users",
  "sessions",
  "verifications",
  "openmeld_profiles",
  "openmeld_profile_space_history",
  "openmeld_space_deletion_tombstones",
] as const;

export const SHARED_LOCAL_SQLITE_REQUIRED_DISPATCH_TABLE_NAMES = [
  "openMeldDaemon_dispatch_attempts",
  "openMeldDaemon_dispatch_results",
  "openMeldDaemon_dispatch_ledger",
  "openMeldDaemon_ops_decisions",
  "openMeldDaemon_dlq",
] as const;

export type SharedLocalSqliteSignature = {
  authMatchCount: number;
  dispatchMatchCount: number;
  hasD1Migrations: boolea

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key