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 { T } from 'nc-help'; |
||||||
import { FormReqType, ViewTypes } from 'nocodb-sdk'; |
import { FormReqType, ViewTypes } from 'nocodb-sdk'; |
||||||
import { validatePayload } from '../meta/api/helpers'; |
import { validatePayload } from '../../meta/api/helpers'; |
||||||
import { FormView, View } from '../models'; |
import { FormView, View } from '../../models'; |
||||||
|
|
||||||
export async function formViewGet(param: { formViewId: string }) { |
export async function formViewGet(param: { formViewId: string }) { |
||||||
const formViewData = await FormView.getWithInfo(param.formViewId); |
const formViewData = await FormView.getWithInfo(param.formViewId); |
@ -1,5 +1,5 @@ |
|||||||
import { validatePayload } from '../meta/api/helpers'; |
import { validatePayload } from '../../meta/api/helpers'; |
||||||
import { FormViewColumn } from '../models'; |
import { FormViewColumn } from '../../models'; |
||||||
import { T } from 'nc-help'; |
import { T } from 'nc-help'; |
||||||
export async function columnUpdate(param: { |
export async function columnUpdate(param: { |
||||||
formViewColumnId: string; |
formViewColumnId: string; |
@ -1,7 +1,7 @@ |
|||||||
import { GalleryReqType, ViewTypes } from 'nocodb-sdk'; |
import { GalleryReqType, ViewTypes } from 'nocodb-sdk'; |
||||||
import { T } from 'nc-help'; |
import { T } from 'nc-help'; |
||||||
import { validatePayload } from '../meta/api/helpers'; |
import { validatePayload } from '../../meta/api/helpers'; |
||||||
import { GalleryView, View } from '../models'; |
import { GalleryView, View } from '../../models'; |
||||||
|
|
||||||
export async function galleryViewGet(param: { galleryViewId: string }) { |
export async function galleryViewGet(param: { galleryViewId: string }) { |
||||||
return await GalleryView.get(param.galleryViewId); |
return await GalleryView.get(param.galleryViewId); |
@ -1,8 +1,8 @@ |
|||||||
import { T } from 'nc-help'; |
import { T } from 'nc-help'; |
||||||
import { GridReqType, ViewTypes } from 'nocodb-sdk'; |
import { GridReqType, ViewTypes } from 'nocodb-sdk'; |
||||||
import { validatePayload } from '../meta/api/helpers'; |
import { validatePayload } from '../../meta/api/helpers'; |
||||||
import { View } from '../models'; |
import { View } from '../../models'; |
||||||
import { GridView } from '../models'; |
import { GridView } from '../../models'; |
||||||
|
|
||||||
export async function gridViewCreate(param: { |
export async function gridViewCreate(param: { |
||||||
tableId: string; |
tableId: string; |
@ -1,6 +1,6 @@ |
|||||||
import { GridColumnReqType } from 'nocodb-sdk'; |
import { GridColumnReqType } from 'nocodb-sdk'; |
||||||
import { validatePayload } from '../meta/api/helpers'; |
import { validatePayload } from '../../meta/api/helpers'; |
||||||
import GridViewColumn from '../models/GridViewColumn'; |
import GridViewColumn from '../../models/GridViewColumn'; |
||||||
import { T } from 'nc-help'; |
import { T } from 'nc-help'; |
||||||
|
|
||||||
export async function columnList(param: { gridViewId: string }) { |
export async function columnList(param: { gridViewId: string }) { |
@ -1,6 +1,6 @@ |
|||||||
import { KanbanReqType, ViewTypes } from 'nocodb-sdk'; |
import { KanbanReqType, ViewTypes } from 'nocodb-sdk'; |
||||||
import { validatePayload } from '../meta/api/helpers'; |
import { validatePayload } from '../../meta/api/helpers'; |
||||||
import { KanbanView, View } from '../models'; |
import { KanbanView, View } from '../../models'; |
||||||
import { T } from 'nc-help'; |
import { T } from 'nc-help'; |
||||||
|
|
||||||
export async function kanbanViewGet(param: { kanbanViewId: string }) { |
export async function kanbanViewGet(param: { kanbanViewId: string }) { |
@ -1,7 +1,7 @@ |
|||||||
import { MapType, ViewTypes } from 'nocodb-sdk'; |
import { MapType, ViewTypes } from 'nocodb-sdk'; |
||||||
import View from '../models/View'; |
import View from '../../models/View'; |
||||||
import { T } from 'nc-help'; |
import { T } from 'nc-help'; |
||||||
import MapView from '../models/MapView'; |
import MapView from '../../models/MapView'; |
||||||
|
|
||||||
export async function mapViewGet(param: { mapViewId: string }) { |
export async function mapViewGet(param: { mapViewId: string }) { |
||||||
return await MapView.get(param.mapViewId); |
return await MapView.get(param.mapViewId); |
Loading…
Reference in new issue