Rename Latest DNS response type
This commit is contained in:
parent
a17386eb68
commit
a16b44b43a
@ -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, {
|
||||||
|
@ -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: {
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user