Download libraries/nestjs-libraries/src/database/prisma/errors/errors.service.ts from Leon4gr45/postio: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/spaces/Leon4gr45/postio/resolve/main/libraries/nestjs-libraries/src/database/prisma/errors/errors.service.ts
- Command line
-
hf download hf://spaces/Leon4gr45/postio/libraries/nestjs-libraries/src/database/prisma/errors/errors.service.ts
-
curl -L -o errors.service.ts https://huggingface.co/spaces/Leon4gr45/postio/resolve/main/libraries/nestjs-libraries/src/database/prisma/errors/errors.service.ts
531 Bytes
| import { Injectable } from '@nestjs/common'; | |
| import { ErrorsRepository } from '@gitroom/nestjs-libraries/database/prisma/errors/errors.repository'; | |
| () | |
| export class ErrorsService { | |
| constructor(private _errorsRepository: ErrorsRepository) {} | |
| listErrors(params: { | |
| page?: number; | |
| limit?: number; | |
| platform?: string; | |
| email?: string; | |
| unknownFirst?: boolean; | |
| }) { | |
| return this._errorsRepository.listErrors(params); | |
| } | |
| listPlatforms() { | |
| return this._errorsRepository.listPlatforms(); | |
| } | |
| } | |