dyne / starters

📐 Projects template starters of Dyne.org
7 stars 1 forks source link

feat: improve collections labeling #353

Open bbtgnn opened 4 weeks ago

bbtgnn commented 4 weeks ago

Issue

We are missing a proper way to translate collection names and records

Suggested solution

I imagine something like this:

export const config: Record<CollectionName, {plural:string, singular:string}> = {
   users: {
       plural: m.Users(),
       singular: m.User()
   },
  // ...
}