feat: добавил ограничение записи на лекции
Backend CI / build-and-test (push) Failing after 32s
Frontend CI / build-and-check (push) Failing after 5m5s
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 6s
🚀 Create and publish a Docker image / Build & publish backend image (push) Failing after 1m28s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Failing after 19s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Has been skipped

This commit is contained in:
2026-05-21 19:34:08 +03:00
parent 32b8bdfd24
commit 2e7ce6c2e8
21 changed files with 569 additions and 23 deletions
+29
View File
@@ -5135,6 +5135,20 @@
},
"additionalProperties": false
},
"EnrollmentSlotRuleDto": {
"type": "object",
"properties": {
"level": {
"type": "integer",
"format": "int32"
},
"slots": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"LectureDetailDto": {
"type": "object",
"properties": {
@@ -6104,6 +6118,21 @@
"type": "integer",
"format": "int32",
"nullable": true
},
"activeEnrollments": {
"type": "integer",
"format": "int32"
},
"enrollmentSlotLimit": {
"type": "integer",
"format": "int32"
},
"enrollmentSlotRules": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EnrollmentSlotRuleDto"
},
"nullable": true
}
},
"additionalProperties": false