mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
4c2dfb0f92
This code change adds the CodeRepository model, service, and permissions to the project. It includes the following modifications: - Added CodeRepository model to the Models/Index.ts file. - Added CodeRepositoryService to the Services/Index.ts file. - Created CodeRepositoryService.ts file with the necessary implementation. - Updated Permission enum in the Permission.ts file to include CreateCodeRepository, DeleteCodeRepository, EditCodeRepository, and ReadCodeRepository permissions. These changes enable the project to manage code repositories and define the necessary permissions for them. |
||
---|---|---|
.. | ||
AnalyticsModels | ||
Models | ||
Permissions | ||
Tests | ||
.dockerignore | ||
jest.config.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
OneUptime Model Library
The OneUptime Model Library is a collection of shared database models and utilities that are used across the OneUptime platform. It is designed to be easy to install and use, and to be extensible. This library is built with TypeScript and TypeORM. It includes models like User, Monitor, Incident, and Team. It also includes utilities like database connection, and query builders, etc.