fix: apply feedback update

This commit is contained in:
yassinedorbozgithub 2025-04-11 23:57:47 +01:00
parent a782c6d3ba
commit e6ad44784b

View File

@ -9,6 +9,7 @@
import { ModelDefinition, Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import mongoose from 'mongoose';
import { FieldType } from '@/setting/schemas/types';
import { BaseSchema } from '@/utils/generics/base-schema';
import { LifecycleHookManager } from '@/utils/generics/lifecycle-hook-manager';
@ -32,12 +33,12 @@ export class ContentType extends BaseSchema {
{
name: 'title',
label: 'Title',
type: 'text',
type: FieldType.text,
},
{
name: 'status',
label: 'Status',
type: 'checkbox',
type: FieldType.checkbox,
},
],
})