π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
import { Injectable } from '@nestjs/common';
import { SetsRepository } from '@gitroom/nestjs-libraries/database/prisma/sets/sets.repository';
import { SetsDto } from '@gitroom/nestjs-libraries/dtos/sets/sets.dto';
@Injectable()
export class SetsService {
constructor(private _setsRepository: SetsRepository) {}
getTotal(orgId: string) {
return this._setsRepository.getTotal(orgId);
}
getSets(orgId: string) {
return this._setsRepository.getSets(orgId);
}
createSet(orgId: string, body: SetsDto) {
return this._setsRepository.createSet(orgId, body);
}
deleteSet(orgId: string, id: string) {
return this._setsRepository.deleteSet(orgId, id);
}
}