Skip to content

Conversation

@nmykhalkevch-exoft
Copy link
Contributor

No description provided.

@nmykhalkevch-exoft nmykhalkevch-exoft marked this pull request as ready for review July 14, 2025 08:35
public draftId: string,
public attributes: Partial<RegistrationAttributesJsonApi>,
public relationships?: Partial<RegistrationRelationshipsJsonApi>
public attributes: Partial<DraftRegistrationAttributesJsonApi>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use here not JsonApi model?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess no, but I double-check

private router = inject(Router);
private readonly route = inject(ActivatedRoute);

private readonly translateService = inject(TranslateService);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not used here. Remove it.


export interface RegistrationsStateModel {
registrations: AsyncStateModel<RegistrationModel[]>;
registrations: AsyncStateModel<RegistrationCard[]> & {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Use AsyncStateWithTotalCount.

@nmykhalkevch-exoft nmykhalkevch-exoft merged commit cb5d5f3 into main Jul 14, 2025
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