Skip to content

Commit

Permalink
Compilable code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jl5her committed Oct 31, 2023
1 parent 62e6f34 commit 5fa13b1
Show file tree
Hide file tree
Showing 149 changed files with 5,041 additions and 5,133 deletions.
35 changes: 18 additions & 17 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,42 @@
"exec": "NODE_ENV=development ts-node --files src/server.ts"
},
"dependencies": {
"archiver": "^5.3.1",
"aws-sdk": "^2.1388.0",
"axios": "^0.21.4",
"@aws-sdk/client-dynamodb": "^3.438.0",
"@aws-sdk/client-lambda": "^3.438.0",
"@socket.io/redis-adapter": "^8.2.1",
"archiver": "^6.0.1",
"axios": "^1.6.0",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-fileupload": "^1.4.0",
"express-validator": "^6.12.1",
"jsonwebtoken": "^8.5.1",
"mongodb": "^4.1.2",
"express-validator": "^7.0.1",
"jsonwebtoken": "^9.0.2",
"mongodb": "^6.2.0",
"morgan": "^1.10.0",
"redis": "^3.1.2",
"redis": "^4.6.10",
"socket.io": "^4.6.2",
"socket.io-redis": "^6.1.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^4.6.3",
"uuid": "^8.3.2"
"swagger-ui-express": "^5.0.0",
"uuid": "^9.0.1"
},
"devDependencies": {
"@types/archiver": "^5.3.2",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/express-fileupload": "^1.4.0",
"@types/jsonwebtoken": "^8.5.0",
"@types/jsonwebtoken": "^9.0.4",
"@types/morgan": "^1.9.4",
"@types/node": "^16.10.1",
"@types/redis": "^2.8.28",
"@types/node": "^20.8.9",
"@types/redis": "^4.0.11",
"@types/socket.io": "^3.0.2",
"@types/socket.io-redis": "^3.0.0",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^8.3.0",
"nodemon": "^2.0.22",
"@types/uuid": "^9.0.6",
"nodemon": "^3.0.1",
"openapi-types": "^12.1.3",
"ts-node": "10.9.1",
"typescript": "4.4.3"
"typescript": "^5.2.2"
}
}
54 changes: 54 additions & 0 deletions backend/src/@types/abacus/clarification.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
declare module 'abacus' {
/**
* @swagger
* components:
* schemas:
* NewClarification:
* properties:
* body:
* type: string
* parent:
* type: string
* division:
* type: string
* title:
* type: string
* type:
* type: string
* context:
* $ref: '#/components/schemas/Context'
* required: [body]
* Clarification:
* allOf:
* - type: object
* properties:
* cid:
* type: string
* uid:
* type: string
* date:
* type: string
* format: date
* open:
* type: boolean
* children:
* type: array
* items:
* $ref: '#/components/schemas/Clarification'
* required: [cid, body, uid, date]
* - $ref: '#/components/schemas/NewClarification'
*/
export interface Clarification extends Record<string, unknown> {
cid: string
body: string
uid: string
date: number
open?: boolean
parent?: string
division?: string
type?: string
title?: string
context?: Context
children?: Clarification[]
}
}
Loading

0 comments on commit 5fa13b1

Please sign in to comment.