|
|
|
@ -1,39 +1,39 @@
|
|
|
|
|
import { Tele } from 'nc-help'; |
|
|
|
|
import orgLicenseApis from '../../controllers/orgLicenseApis'; |
|
|
|
|
import orgTokenApis from '../../controllers/orgTokenApis'; |
|
|
|
|
import orgUserApis from '../../controllers/orgUserApis'; |
|
|
|
|
import projectApis from '../../controllers/projectApis'; |
|
|
|
|
import baseApis from '../../controllers/baseApis'; |
|
|
|
|
import tableApis from '../../controllers/tableApis'; |
|
|
|
|
import columnApis from '../../controllers/columnApis'; |
|
|
|
|
import orgLicenseApis from '../../controllers/orgLicenseController'; |
|
|
|
|
import orgTokenApis from '../../controllers/orgTokenController'; |
|
|
|
|
import orgUserApis from '../../controllers/orgUserController'; |
|
|
|
|
import projectApis from '../../controllers/projectController'; |
|
|
|
|
import baseApis from '../../controllers/baseController'; |
|
|
|
|
import tableApis from '../../controllers/tableController'; |
|
|
|
|
import columnApis from '../../controllers/columnController'; |
|
|
|
|
import { Router } from 'express'; |
|
|
|
|
import sortApis from '../../controllers/sortApis'; |
|
|
|
|
import filterApis from '../../controllers/filterApis'; |
|
|
|
|
import viewColumnApis from '../../controllers/viewColumnApis'; |
|
|
|
|
import gridViewApis from '../../controllers/gridViewApis'; |
|
|
|
|
import viewApis from '../../controllers/viewApis'; |
|
|
|
|
import galleryViewApis from '../../controllers/galleryViewApis'; |
|
|
|
|
import formViewApis from '../../controllers/formViewApis'; |
|
|
|
|
import formViewColumnApis from '../../controllers/formViewColumnApis'; |
|
|
|
|
import attachmentApis from '../../controllers/attachmentApis'; |
|
|
|
|
import exportApis from '../../controllers/exportApis'; |
|
|
|
|
import auditApis from '../../controllers/auditApis'; |
|
|
|
|
import hookApis from '../../controllers/hookApis'; |
|
|
|
|
import pluginApis from '../../controllers/pluginApis'; |
|
|
|
|
import gridViewColumnApis from '../../controllers/gridViewColumnApis'; |
|
|
|
|
import kanbanViewApis from '../../controllers/kanbanViewApis'; |
|
|
|
|
import sortApis from '../../controllers/sortController'; |
|
|
|
|
import filterApis from '../../controllers/filterController'; |
|
|
|
|
import viewColumnApis from '../../controllers/viewColumnController'; |
|
|
|
|
import gridViewApis from '../../controllers/gridViewController'; |
|
|
|
|
import viewApis from '../../controllers/viewController'; |
|
|
|
|
import galleryViewApis from '../../controllers/galleryViewController'; |
|
|
|
|
import formViewApis from '../../controllers/formViewController'; |
|
|
|
|
import formViewColumnApis from '../../controllers/formViewColumnController'; |
|
|
|
|
import attachmentApis from '../../controllers/attachmentController'; |
|
|
|
|
import exportApis from '../../controllers/exportController'; |
|
|
|
|
import auditApis from '../../controllers/auditController'; |
|
|
|
|
import hookApis from '../../controllers/hookController'; |
|
|
|
|
import pluginApis from '../../controllers/pluginController'; |
|
|
|
|
import gridViewColumnApis from '../../controllers/gridViewColumnController'; |
|
|
|
|
import kanbanViewApis from '../../controllers/kanbanViewController'; |
|
|
|
|
import { userApis } from '../../controllers/userApi'; |
|
|
|
|
// import extractProjectIdAndAuthenticate from './helpers/extractProjectIdAndAuthenticate';
|
|
|
|
|
import utilApis from '../../controllers/utilApis'; |
|
|
|
|
import projectUserApis from '../../controllers/projectUserApis'; |
|
|
|
|
import sharedBaseApis from '../../controllers/sharedBaseApis'; |
|
|
|
|
import utilApis from '../../controllers/utilController'; |
|
|
|
|
import projectUserApis from '../../controllers/projectUserController'; |
|
|
|
|
import sharedBaseApis from '../../controllers/sharedBaseController'; |
|
|
|
|
import { initStrategies } from '../../controllers/userApi/initStrategies'; |
|
|
|
|
import modelVisibilityApis from '../../controllers/modelVisibilityApis'; |
|
|
|
|
import metaDiffApis from '../../controllers/metaDiffApis'; |
|
|
|
|
import cacheApis from '../../controllers/cacheApis'; |
|
|
|
|
import apiTokenApis from '../../controllers/apiTokenApis'; |
|
|
|
|
import hookFilterApis from '../../controllers/hookFilterApis'; |
|
|
|
|
import testApis from '../../controllers/testApis'; |
|
|
|
|
import modelVisibilityApis from '../../controllers/modelVisibilityController'; |
|
|
|
|
import metaDiffApis from '../../controllers/metaDiffController'; |
|
|
|
|
import cacheApis from '../../controllers/cacheController'; |
|
|
|
|
import apiTokenApis from '../../controllers/apiTokenController'; |
|
|
|
|
import hookFilterApis from '../../controllers/hookFilterController'; |
|
|
|
|
import testApis from '../../controllers/testController'; |
|
|
|
|
import { |
|
|
|
|
bulkDataAliasApis, |
|
|
|
|
dataAliasApis, |
|
|
|
@ -54,7 +54,7 @@ import crypto from 'crypto';
|
|
|
|
|
import swaggerApis from '../../controllers/swagger/swaggerApis'; |
|
|
|
|
import importApis from '../../controllers/sync/importApis'; |
|
|
|
|
import syncSourceApis from '../../controllers/sync/syncSourceApis'; |
|
|
|
|
import mapViewApis from '../../controllers/mapViewApis'; |
|
|
|
|
import mapViewApis from '../../controllers/mapViewController'; |
|
|
|
|
|
|
|
|
|
const clients: { [id: string]: Socket } = {}; |
|
|
|
|
const jobs: { [id: string]: { last_message: any } } = {}; |
|
|
|
|