]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Move nodeinfo model in shared/
authorChocobozzz <me@florianbigard.com>
Tue, 4 Sep 2018 13:34:11 +0000 (15:34 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 4 Sep 2018 13:34:11 +0000 (15:34 +0200)
server/controllers/static.ts
server/models/migrations.ts [moved from server/models/migrations/index.ts with 100% similarity]
shared/models/nodeinfo/index.d.ts [moved from server/models/nodeinfo/index.d.ts with 100% similarity]

index 6e8f1a07f3f2f8b6821ca132e8e87d229f02c211..df31c313455149b0345a71862bf98d89672709bf 100644 (file)
@@ -1,7 +1,7 @@
 import * as cors from 'cors'
 import { createReadStream } from 'fs-extra'
 import * as express from 'express'
-import { CONFIG, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS, ROUTE_CACHE_LIFETIME } from '../initializers'
+import { CONFIG, ROUTE_CACHE_LIFETIME, STATIC_DOWNLOAD_PATHS, STATIC_MAX_AGE, STATIC_PATHS } from '../initializers'
 import { VideosPreviewCache } from '../lib/cache'
 import { cacheRoute } from '../middlewares/cache'
 import { asyncMiddleware, videosGetValidator } from '../middlewares'
@@ -9,7 +9,7 @@ import { VideoModel } from '../models/video/video'
 import { VideosCaptionCache } from '../lib/cache/videos-caption-cache'
 import { UserModel } from '../models/account/user'
 import { VideoCommentModel } from '../models/video/video-comment'
-import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../models/nodeinfo'
+import { HttpNodeinfoDiasporaSoftwareNsSchema20 } from '../../shared/models/nodeinfo'
 
 const packageJSON = require('../../../package.json')
 const staticRouter = express.Router()