newsletterSubscriber.model.ts from hoangsonww/AI-Gov-Content-Curator
// Source: https://github.com/hoangsonww/AI-Gov-Content-Curator | License: MIT | Copyright 2026 Son Nguyen
// Provided via justclaw.it.com; keep this notice with the code.
import mongoose, { Schema, Document } from "mongoose";
/**
* @swagger
* components:
* schemas:
* NewsletterSubscriber:
* type: object
* description: >
* A newsletter subscriber record.
* Tracks the subscriber’s email, when they subscribed, and when they were last sent a newsletter.
* required:
* - email
* properties:
* _id:
* type: string
* readOnly: true
* description: MongoDB-generated unique identifier for the subscriber.
* email:
* type: string
* format: email
* descrip
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key