-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f76e177
commit 1047eef
Showing
3 changed files
with
22 additions
and
15 deletions.
There are no files selected for viewing
12 changes: 6 additions & 6 deletions
12
...ins/official-journal-of-iceland-application/src/models/getUserInvolvedParties.response.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
import { Field, ObjectType } from '@nestjs/graphql' | ||
|
||
@ObjectType('OfficialJournalOfIcelandApplicationGetUserInvolvedParty') | ||
export class InvovledParty { | ||
@Field() | ||
export class InvolvededParty { | ||
@Field({ description: 'The id of the involved party' }) | ||
id!: string | ||
|
||
@Field() | ||
@Field({ description: 'The title of the involved party' }) | ||
title!: string | ||
|
||
@Field() | ||
@Field({ description: 'The slug of the involved party' }) | ||
slug!: string | ||
} | ||
|
||
@ObjectType('OfficialJournalOfIcelandApplicationGetUserInvolvedPartiesResponse') | ||
export class GetUserInvolvedPartiesResponse { | ||
@Field(() => [InvovledParty]) | ||
involvedParties!: InvovledParty[] | ||
@Field(() => [InvolvededParty]) | ||
involvedParties!: InvolvededParty[] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters