cultcache-ts: indexes are unique at commit and load, roles name selection aliases, canonical index text
Deletes the last-writer-wins derive and String(value) rendering; one judge (#refuseIndexSharing) for every write, load and registration. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5ef63d35ee
commit
9b6253660b
6 changed files with 513 additions and 27 deletions
|
|
@ -94,7 +94,6 @@ const itemDocument = defineDocumentType({
|
|||
schemaVersion: "gamecult.first_call_item.v1",
|
||||
schema: z.object({ name: z.string(), category: z.string(), value: z.number().int() }),
|
||||
name: "name",
|
||||
indexes: { category: "category" },
|
||||
});
|
||||
const registry = defineDocumentRegistry(itemDocument);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue