wip
This commit is contained in:
		
							parent
							
								
									fa0814f939
								
							
						
					
					
						commit
						f641dd4b3a
					
				
					 4 changed files with 252 additions and 629 deletions
				
			
		
							
								
								
									
										24
									
								
								package.json
									
										
									
									
									
								
							
							
						
						
									
										24
									
								
								package.json
									
										
									
									
									
								
							|  | @ -40,9 +40,6 @@ | |||
| 	"dependencies": { | ||||
| 		"@discordapp/twemoji": "13.1.0", | ||||
| 		"@elastic/elasticsearch": "7.11.0", | ||||
| 		"@koa/cors": "3.1.0", | ||||
| 		"@koa/multer": "3.0.0", | ||||
| 		"@koa/router": "9.0.1", | ||||
| 		"@sentry/browser": "5.29.2", | ||||
| 		"@sentry/tracing": "5.29.2", | ||||
| 		"@sinonjs/fake-timers": "7.1.2", | ||||
|  | @ -60,17 +57,6 @@ | |||
| 		"@types/jsdom": "16.2.13", | ||||
| 		"@types/jsonld": "1.5.6", | ||||
| 		"@types/katex": "0.11.1", | ||||
| 		"@types/koa": "2.13.4", | ||||
| 		"@types/koa-bodyparser": "4.3.3", | ||||
| 		"@types/koa-cors": "0.0.2", | ||||
| 		"@types/koa-favicon": "2.0.21", | ||||
| 		"@types/koa-logger": "3.1.2", | ||||
| 		"@types/koa-mount": "4.0.1", | ||||
| 		"@types/koa-send": "4.1.3", | ||||
| 		"@types/koa-views": "7.0.0", | ||||
| 		"@types/koa__cors": "3.0.3", | ||||
| 		"@types/koa__multer": "2.0.4", | ||||
| 		"@types/koa__router": "8.0.8", | ||||
| 		"@types/markdown-it": "12.2.3", | ||||
| 		"@types/matter-js": "0.17.6", | ||||
| 		"@types/mocha": "8.2.3", | ||||
|  | @ -135,6 +121,7 @@ | |||
| 		"eslint": "8.1.0", | ||||
| 		"eslint-plugin-vue": "7.20.0", | ||||
| 		"eventemitter3": "4.0.7", | ||||
| 		"fastify": "3.22.1", | ||||
| 		"feed": "4.2.2", | ||||
| 		"file-type": "16.5.3", | ||||
| 		"fluent-ffmpeg": "2.1.2", | ||||
|  | @ -159,15 +146,6 @@ | |||
| 		"jsonld": "5.2.0", | ||||
| 		"jsrsasign": "8.0.20", | ||||
| 		"katex": "0.13.18", | ||||
| 		"koa": "2.13.4", | ||||
| 		"koa-bodyparser": "4.3.0", | ||||
| 		"koa-favicon": "2.1.0", | ||||
| 		"koa-json-body": "5.3.0", | ||||
| 		"koa-logger": "3.2.1", | ||||
| 		"koa-mount": "4.0.0", | ||||
| 		"koa-send": "5.0.1", | ||||
| 		"koa-slow": "2.1.0", | ||||
| 		"koa-views": "7.0.1", | ||||
| 		"langmap": "0.0.16", | ||||
| 		"markdown-it": "12.2.0", | ||||
| 		"markdown-it-anchor": "7.1.0", | ||||
|  |  | |||
							
								
								
									
										15
									
								
								src/@types/koa-json-body.d.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										15
									
								
								src/@types/koa-json-body.d.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -1,15 +0,0 @@ | |||
| declare module 'koa-json-body' { | ||||
| 	import { Middleware } from 'koa'; | ||||
| 
 | ||||
| 	interface IKoaJsonBodyOptions { | ||||
| 		strict: boolean; | ||||
| 		limit: string; | ||||
| 		fallback: boolean; | ||||
| 	} | ||||
| 
 | ||||
| 	function koaJsonBody(opt?: IKoaJsonBodyOptions): Middleware; | ||||
| 
 | ||||
| 	namespace koaJsonBody {} // Hack
 | ||||
| 
 | ||||
| 	export = koaJsonBody; | ||||
| } | ||||
							
								
								
									
										14
									
								
								src/@types/koa-slow.d.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								src/@types/koa-slow.d.ts
									
										
									
									
										vendored
									
									
								
							|  | @ -1,14 +0,0 @@ | |||
| declare module 'koa-slow' { | ||||
| 	import { Middleware } from 'koa'; | ||||
| 
 | ||||
| 	interface ISlowOptions { | ||||
| 		url?: RegExp; | ||||
| 		delay?: number; | ||||
| 	} | ||||
| 
 | ||||
| 	function slow(options?: ISlowOptions): Middleware; | ||||
| 
 | ||||
| 	namespace slow {} // Hack
 | ||||
| 
 | ||||
| 	export = slow; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue