mirror of
https://github.com/google/nomulus.git
synced 2025-08-28 20:13:46 +02:00
Add page for WHOIS-editable fields in the console (#2155)
This isn't the prettiest thing, but it replicates the type of view / edit functionality that we had in the original console. Of note: this doesn't include input field validation, which would probably be a good idea to add at some point.
This commit is contained in:
parent
cb240a8f03
commit
cf698c2586
8 changed files with 417 additions and 7 deletions
|
@ -20,6 +20,7 @@ import { SecuritySettingsBackendModel } from 'src/app/settings/security/security
|
|||
import { Contact } from '../../settings/contact/contact.service';
|
||||
import { Registrar } from '../../registrar/registrar.service';
|
||||
import { UserData } from './userData.service';
|
||||
import { WhoisRegistrarFields } from 'src/app/settings/whois/whois.service';
|
||||
|
||||
@Injectable()
|
||||
export class BackendService {
|
||||
|
@ -97,4 +98,13 @@ export class BackendService {
|
|||
.get<UserData>(`/console-api/userdata`)
|
||||
.pipe(catchError((err) => this.errorCatcher<UserData>(err)));
|
||||
}
|
||||
|
||||
postWhoisRegistrarFields(
|
||||
whoisRegistrarFields: WhoisRegistrarFields
|
||||
): Observable<WhoisRegistrarFields> {
|
||||
return this.http.post<WhoisRegistrarFields>(
|
||||
'/console-api/settings/whois-fields',
|
||||
whoisRegistrarFields
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue