import { MembershipConfig } from '@dvn/core/models/membership-config';
import { spaces } from './spaces';
export const membershipConfigs = {
  // mentees table
  'system-admins': MembershipConfig.decode({
    _id: 'system-admins',
    _created: new Date(),
    _updated: new Date(),
    agreements: [],
    base: 'mentornity',
    fields: [
      {
        type: 'reference',
        id: 'user',
        otherCollection: 'users',
        isSingle: true,
        fields: [
          {
            type: 'text',
            id: 'firstName'
          },
          {
            type: 'text',
            id: 'lastName'
          },
        ]
      },
    ],
    name: 'system-admins',
    roleName: 'System Admin',
    space: spaces['mentornity'],
  }),
};
