···1212.env.local
1313.wrangler
1414tsconfig.tsbuildinfo
1515+1616+# Claude
1717+.claude/settings.local.json
+16-2
patterns/lexicons.md
.claude/skills/lexicons.md
···87878888Note: Files in subdirectories (`pub/leaflet/*/*`) are automatically included.
89899090-### 4. Regenerate Types
9090+### 4. Add to authFullPermissions (for record types)
9191+9292+If your lexicon is a record type that users should be able to create/update/delete, add it to the `authFullPermissions` permission set in `lexicons/src/authFullPermissions.ts`:
9393+9494+```typescript
9595+import { PubLeafletMyLexicon } from "./myLexicon";
9696+9797+// In the permissions collection array:
9898+collection: [
9999+ // ... existing lexicons
100100+ PubLeafletMyLexicon.id,
101101+],
102102+```
103103+104104+### 5. Regenerate Types
9110592106```bash
93107npm run lexgen
94108```
951099696-### 5. Use the Generated Types
110110+### 6. Use the Generated Types
9711198112```typescript
99113import { PubLeafletMyLexicon } from "lexicons/api";