mirror of https://github.com/nocodb/nocodb
Naveen MR
2 years ago
8 changed files with 22 additions and 22 deletions
@ -1,7 +1,7 @@
|
||||
import { T } from 'nc-help'; |
||||
import { FormReqType, ViewTypes } from 'nocodb-sdk'; |
||||
import { validatePayload } from '../meta/api/helpers'; |
||||
import { FormView, View } from '../models'; |
||||
import { validatePayload } from '../../meta/api/helpers'; |
||||
import { FormView, View } from '../../models'; |
||||
|
||||
export async function formViewGet(param: { formViewId: string }) { |
||||
const formViewData = await FormView.getWithInfo(param.formViewId); |
@ -1,5 +1,5 @@
|
||||
import { validatePayload } from '../meta/api/helpers'; |
||||
import { FormViewColumn } from '../models'; |
||||
import { validatePayload } from '../../meta/api/helpers'; |
||||
import { FormViewColumn } from '../../models'; |
||||
import { T } from 'nc-help'; |
||||
export async function columnUpdate(param: { |
||||
formViewColumnId: string; |
@ -1,7 +1,7 @@
|
||||
import { GalleryReqType, ViewTypes } from 'nocodb-sdk'; |
||||
import { T } from 'nc-help'; |
||||
import { validatePayload } from '../meta/api/helpers'; |
||||
import { GalleryView, View } from '../models'; |
||||
import { validatePayload } from '../../meta/api/helpers'; |
||||
import { GalleryView, View } from '../../models'; |
||||
|
||||
export async function galleryViewGet(param: { galleryViewId: string }) { |
||||
return await GalleryView.get(param.galleryViewId); |
@ -1,8 +1,8 @@
|
||||
import { T } from 'nc-help'; |
||||
import { GridReqType, ViewTypes } from 'nocodb-sdk'; |
||||
import { validatePayload } from '../meta/api/helpers'; |
||||
import { View } from '../models'; |
||||
import { GridView } from '../models'; |
||||
import { validatePayload } from '../../meta/api/helpers'; |
||||
import { View } from '../../models'; |
||||
import { GridView } from '../../models'; |
||||
|
||||
export async function gridViewCreate(param: { |
||||
tableId: string; |
@ -1,6 +1,6 @@
|
||||
import { GridColumnReqType } from 'nocodb-sdk'; |
||||
import { validatePayload } from '../meta/api/helpers'; |
||||
import GridViewColumn from '../models/GridViewColumn'; |
||||
import { validatePayload } from '../../meta/api/helpers'; |
||||
import GridViewColumn from '../../models/GridViewColumn'; |
||||
import { T } from 'nc-help'; |
||||
|
||||
export async function columnList(param: { gridViewId: string }) { |
@ -1,6 +1,6 @@
|
||||
import { KanbanReqType, ViewTypes } from 'nocodb-sdk'; |
||||
import { validatePayload } from '../meta/api/helpers'; |
||||
import { KanbanView, View } from '../models'; |
||||
import { validatePayload } from '../../meta/api/helpers'; |
||||
import { KanbanView, View } from '../../models'; |
||||
import { T } from 'nc-help'; |
||||
|
||||
export async function kanbanViewGet(param: { kanbanViewId: string }) { |
@ -1,7 +1,7 @@
|
||||
import { MapType, ViewTypes } from 'nocodb-sdk'; |
||||
import View from '../models/View'; |
||||
import View from '../../models/View'; |
||||
import { T } from 'nc-help'; |
||||
import MapView from '../models/MapView'; |
||||
import MapView from '../../models/MapView'; |
||||
|
||||
export async function mapViewGet(param: { mapViewId: string }) { |
||||
return await MapView.get(param.mapViewId); |
Loading…
Reference in new issue