"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pageSchema = void 0;
var mongoose_1 = require("mongoose");
exports.pageSchema = new mongoose_1.Schema({
    path: {
        type: String,
        required: [true, 'Path not provided']
    },
    title: {
        type: String
    },
    description: {
        type: String
    },
    pageType: {
        type: String
    },
    content: {
        type: String
    },
    published: {
        type: Boolean
    },
    navigation: {
        parentPage: {
            type: mongoose_1.Schema.Types.ObjectId,
            ref: 'pages'
        },
        selected: Boolean
    }
});
