feat(web): vocabulary/term/authority list+create hooks + MSW handlers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 09:08:15 +02:00
parent 26e10704a9
commit 6afc358334
4 changed files with 153 additions and 1 deletions
+7
View File
@@ -62,3 +62,10 @@ export const materialTerms: TermView[] = [
export const personAuthorities: AuthorityView[] = [
{ id: "a-ada", kind: "person", external_uri: null, labels: [{ lang: "en", label: "Ada Lovelace" }] },
];
export type VocabularyView = components["schemas"]["VocabularyView"];
export const vocabularies: VocabularyView[] = [
{ id: "v-material", key: "material" },
{ id: "v-technique", key: "technique" },
];