Skip to content

Спецификация для API - #7

Merged
keksobot merged 3 commits into
htmlacademy-nodejs-api:masterfrom
mushkovskiy:module5-task1
Jan 26, 2026
Merged

keksobot merged 3 commits into
htmlacademy-nodejs-api:masterfrom
mushkovskiy:module5-task1

Conversation

@mushkovskiy

@mushkovskiy mushkovskiy commented Jan 18, 2026 •

Copy link
Copy Markdown
Contributor

@keksobot keksobot changed the title Module5 task1 Спецификация для API Jan 18, 2026
public firstName: string;
public lastName: string;
public password: string;
public account: 'pro' | 'base';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'pro' | 'base' используешь в нескольких местах, и в DTO и в моделях, давай создадим для этого отдельный тип тогда, чтобы было легче поддерживать

}


public async udateById(offerId: string, dto: UpdateOfferDto): Promise<DocumentType<OfferEntity> | null> {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

опечатался в названии функции

@keksobot
keksobot merged commit 70c3376 into htmlacademy-nodejs-api:master Jan 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants