Rename Latest DNS response type

This commit is contained in:
Shreerang Kale 2025-02-03 10:10:19 +05:30
parent a17386eb68
commit a16b44b43a
3 changed files with 2 additions and 6 deletions

View File

@ -116,8 +116,6 @@ const OverviewTabPanel = () => {
return () => clearInterval(timerId);
}, [onUpdate]);
console.log(project.deployments)
// useEffect(() => {
// const fetchLiveProdDomain = async () => {
// const { domains } = await client.getDomains(project.id, {

View File

@ -403,8 +403,6 @@ export class GQLClient {
},
});
console.log({data})
return data;
}
@ -469,7 +467,7 @@ export class GQLClient {
return data.verifyTx;
}
async getLatestDNSDataByProjectId(projectId: string): Promise<types.DNSRecordAttributes> {
async getLatestDNSDataByProjectId(projectId: string): Promise<types.GetLatestDNSDataResponse> {
const { data } = await this.client.query({
query: queries.getLatestDNSDataByProjectId,
variables: {

View File

@ -381,7 +381,7 @@ export type AuctionParams = {
numProviders: number;
};
export type DNSRecordAttributes = {
export type GetLatestDNSDataResponse = {
name: string;
value: string;
request: string;