26 lines
490 B
JavaScript
26 lines
490 B
JavaScript
export class IPostRepository {
|
|
async getAll() {
|
|
throw new Error('Method not implemented');
|
|
}
|
|
|
|
async getById(id) {
|
|
throw new Error('Method not implemented');
|
|
}
|
|
|
|
async getByUserId(userId) {
|
|
throw new Error('Method not implemented');
|
|
}
|
|
|
|
async create(post) {
|
|
throw new Error('Method not implemented');
|
|
}
|
|
|
|
async update(id, postData) {
|
|
throw new Error('Method not implemented');
|
|
}
|
|
|
|
async delete(id) {
|
|
throw new Error('Method not implemented');
|
|
}
|
|
}
|