import { Schema } from 'mongoose';

// A deliberately small read model. Notifications only populate these public actor fields.
export const ActorSchema = new Schema(
  {
    name: String,
    username: String,
    stageName: String,
    avatar: Schema.Types.Mixed,
    isVerified: Boolean,
    isDisabled: Boolean,
  },
  { collection: 'users', strict: false, versionKey: false },
);
