apstanisic / zmaj

Zmaj is a headless CMS for managing database
https://zmaj.vercel.app
MIT License
5 stars 0 forks source link

Add user abstraction #33

Open apstanisic opened 1 year ago

apstanisic commented 1 year ago

Custom FullInfraCollection that will map other table instead of built in.

Something like:

const myUsersCollection = {
  tableName: "my_users",
  fields: {
    email: {...infraField, fieldName: "my_email_field" }
  }
}