import { normalizePlayNameForSheet, normalizeTableNamespace, sha256Hex, } from '../plays/row-identity'; export function createRuntimeDatasetId( playName: string, tableNamespace: string, ): string { const normalizedPlayName = normalizePlayNameForSheet(playName); const normalizedTableNamespace = normalizeTableNamespace(tableNamespace); return sha256Hex( `${normalizedPlayName}:${normalizedTableNamespace}`, ).slice(0, 40); }