mirror of https://github.com/nocodb/nocodb
Naveen MR
2 years ago
9 changed files with 30 additions and 30 deletions
@ -1,8 +1,8 @@
|
||||
import { Request, Response, Router } from 'express'; |
||||
import { FormType } from 'nocodb-sdk'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import { formViewService } from '../services'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
import { formViewService } from '../../services'; |
||||
|
||||
export async function formViewGet(req: Request, res: Response<FormType>) { |
||||
const formViewData = await formViewService.formViewGet({ |
@ -1,7 +1,7 @@
|
||||
import { Request, Response, Router } from 'express'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import { formViewColumnService } from '../services'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
import { formViewColumnService } from '../../services'; |
||||
|
||||
export async function columnUpdate(req: Request, res: Response) { |
||||
res.json( |
@ -1,8 +1,8 @@
|
||||
import { Request, Response, Router } from 'express'; |
||||
import { GalleryType } from 'nocodb-sdk'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import { galleryViewService } from '../services'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
import { galleryViewService } from '../../services'; |
||||
|
||||
export async function galleryViewGet(req: Request, res: Response<GalleryType>) { |
||||
res.json( |
@ -1,7 +1,7 @@
|
||||
import { Request, Router } from 'express'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import { gridViewService } from '../services'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
import { gridViewService } from '../../services'; |
||||
|
||||
export async function gridViewCreate(req: Request<any>, res) { |
||||
const view = await gridViewService.gridViewCreate({ |
@ -1,7 +1,7 @@
|
||||
import { Request, Response, Router } from 'express'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import { gridViewColumnService } from '../services'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
import { gridViewColumnService } from '../../services'; |
||||
|
||||
export async function columnList(req: Request, res: Response) { |
||||
res.json( |
@ -1,10 +1,10 @@
|
||||
import { Request, Response, Router } from 'express'; |
||||
import { KanbanType, ViewTypes } from 'nocodb-sdk'; |
||||
import View from '../models/View'; |
||||
import KanbanView from '../models/KanbanView'; |
||||
import View from '../../models/View'; |
||||
import KanbanView from '../../models/KanbanView'; |
||||
import { T } from 'nc-help'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
|
||||
// todo: map to service
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { Request, Response, Router } from 'express'; |
||||
import { MapType } from 'nocodb-sdk'; |
||||
import ncMetaAclMw from '../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../meta/helpers/apiMetrics'; |
||||
import { mapViewService } from '../services'; |
||||
import ncMetaAclMw from '../../meta/helpers/ncMetaAclMw'; |
||||
import { metaApiMetrics } from '../../meta/helpers/apiMetrics'; |
||||
import { mapViewService } from '../../services'; |
||||
|
||||
export async function mapViewGet(req: Request, res: Response<MapType>) { |
||||
res.json( |
Loading…
Reference in new issue