Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change applicant ownership tenant to lessee #256

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions schemas/application.json
Original file line number Diff line number Diff line change
Expand Up @@ -8359,7 +8359,7 @@
"interest": {
"enum": [
"owner",
"tenant",
"lessee",
"occupier",
"other"
],
Expand Down Expand Up @@ -8400,7 +8400,7 @@
"interest": {
"enum": [
"owner",
"tenant",
"lessee",
"occupier",
"other"
],
Expand Down Expand Up @@ -8436,7 +8436,7 @@
"interest": {
"enum": [
"owner",
"tenant",
"lessee",
"occupier",
"other"
],
Expand Down Expand Up @@ -8494,7 +8494,7 @@
"owner",
"owner.sole",
"owner.co",
"tenant",
"lessee",
"occupier",
"other"
],
Expand Down
2 changes: 1 addition & 1 deletion schemas/prototypeApplication.json
Original file line number Diff line number Diff line change
Expand Up @@ -4753,7 +4753,7 @@
"OwnershipInterest": {
"enum": [
"owner",
"tenant",
"lessee",
"occupier",
"other"
],
Expand Down
4 changes: 2 additions & 2 deletions types/schemas/application/data/Applicant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface Ownership {
| 'owner'
| 'owner.sole'
| 'owner.co'
| 'tenant'
| 'lessee'
| 'occupier'
| 'other';
certificate?: 'a' | 'b' | 'c' | 'd';
Expand Down Expand Up @@ -82,7 +82,7 @@ export type Owners = OwnersNoticeGiven | OwnersNoNoticeGiven | OwnersNoticeDate;
export interface BaseOwners {
name: string;
address: Address | string;
interest?: 'owner' | 'tenant' | 'occupier' | 'other';
interest?: 'owner' | 'lessee' | 'occupier' | 'other';
}

// LDC requires `noticeGiven`, and `noNoticeReason` if false
Expand Down
2 changes: 1 addition & 1 deletion types/schemas/prototypeApplication/data/Applicant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export interface ApplicantAddressNotSameSite extends UserAddress {
sameAsSiteAddress: false;
}

export type OwnershipInterest = 'owner' | 'tenant' | 'occupier' | 'other';
export type OwnershipInterest = 'owner' | 'lessee' | 'occupier' | 'other';

export interface BaseOwners {
name: string;
Expand Down