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); return () => clearInterval(timerId);
}, [onUpdate]); }, [onUpdate]);
console.log(project.deployments)
// useEffect(() => { // useEffect(() => {
// const fetchLiveProdDomain = async () => { // const fetchLiveProdDomain = async () => {
// const { domains } = await client.getDomains(project.id, { // const { domains } = await client.getDomains(project.id, {

View File

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

View File

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