Drop indexes: declarations from TS document types

All six were many-row grouping keys, not unique lookups, and nothing looks
rows up by index name. CultLib's coming TS cut makes `indexes:` mean unique,
which would refuse stores with shared values. Members still list their
aliases explicitly.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Heimdall 2026-11-11 04:53:08 +00:00
commit d64eda161d
5 changed files with 0 additions and 24 deletions

View file

@ -59,11 +59,6 @@ const topicDefinition = defineDocumentType({
schemaVersion: "bifrost.governance.topic.v0",
schema: { parse: parseTopic },
name: "id",
indexes: {
jurisdictionRepoName: "jurisdictionRepoName",
jurisdictionAgentIdentity: "jurisdictionAgentIdentity",
status: "status",
},
members: [
{ slot: 1, memberName: "id", typeName: "string", isName: true },
{ slot: 2, memberName: "title", typeName: "string" },
@ -93,11 +88,6 @@ const commentDefinition = defineDocumentType({
schemaVersion: "bifrost.governance.topic_comment.v0",
schema: { parse: parseComment },
name: "id",
indexes: {
topicId: "topicId",
authorId: "authorId",
stance: "stance",
},
members: [
{ slot: 1, memberName: "id", typeName: "string", isName: true },
{ slot: 2, memberName: "topicId", typeName: "string", indexAlias: "topicId" },