mirror of
https://github.com/PretendoNetwork/BOSS.git
synced 2026-10-26 01:00:49 -05:00
style: run new eslint config on EVERYTHING ELSE
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import mongoose from 'mongoose';
|
||||
import { ICECData, ICECDataMethods, CECDataModel } from '@/types/mongoose/cec-data';
|
||||
import type { ICECData, ICECDataMethods, CECDataModel } from '@/types/mongoose/cec-data';
|
||||
|
||||
const CECDataSchema = new mongoose.Schema<ICECData, CECDataModel, ICECDataMethods>({
|
||||
creator_pid: Number,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import mongoose from 'mongoose';
|
||||
import { ICECSlot, ICECSlotMethods, CECSlotModel } from '@/types/mongoose/cec-slot';
|
||||
import type { ICECSlot, ICECSlotMethods, CECSlotModel } from '@/types/mongoose/cec-slot';
|
||||
|
||||
const CECSlotSchema = new mongoose.Schema<ICECSlot, CECSlotModel, ICECSlotMethods>({
|
||||
creator_pid: Number,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import mongoose from 'mongoose';
|
||||
import { AutoIncrementID } from '@typegoose/auto-increment';
|
||||
import { IFile, IFileMethods, FileModel } from '@/types/mongoose/file';
|
||||
import { AutoIncrementID } from '@typegoose/auto-increment';
|
||||
import type { IFile, IFileMethods, FileModel } from '@/types/mongoose/file';
|
||||
|
||||
const FileSchema = new mongoose.Schema<IFile, FileModel, IFileMethods>({
|
||||
deleted: {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import mongoose from 'mongoose';
|
||||
import { ITask, ITaskMethods, TaskModel } from '@/types/mongoose/task';
|
||||
import type { ITask, ITaskMethods, TaskModel } from '@/types/mongoose/task';
|
||||
|
||||
const TaskSchema = new mongoose.Schema<ITask, TaskModel, ITaskMethods>({
|
||||
deleted: {
|
||||
@@ -12,7 +12,7 @@ const TaskSchema = new mongoose.Schema<ITask, TaskModel, ITaskMethods>({
|
||||
creator_pid: Number,
|
||||
status: {
|
||||
type: String,
|
||||
enum : ['open'] // TODO - What else is there?
|
||||
enum: ['open'] // TODO - What else is there?
|
||||
},
|
||||
title_id: String,
|
||||
description: Number,
|
||||
|
||||
Reference in New Issue
Block a user