File tree 1 file changed +3
-3
lines changed
packages/google-cloud-dns/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ import {promisifyAll} from '@google-cloud/promisify';
18
18
import arrify = require( 'arrify' ) ;
19
19
import { Change , CreateChangeCallback } from './change' ;
20
20
import { Zone } from './zone' ;
21
+ import { Metadata } from '@google-cloud/common' ;
21
22
22
23
const format = require ( 'string-format-obj' ) ;
23
- import * as r from 'request' ;
24
24
25
25
export interface RecordObject {
26
26
rrdatas ?: Array < { } > ;
@@ -42,7 +42,7 @@ export interface RecordMetadata {
42
42
* @property {Change } 0 A {@link Change} object.
43
43
* @property {object } 1 The full API response.
44
44
*/
45
- export type DeleteRecordResponse = [ Change , r . Response ] ;
45
+ export type DeleteRecordResponse = [ Change , Metadata ] ;
46
46
47
47
/**
48
48
* @callback DeleteRecordCallback
@@ -51,7 +51,7 @@ export type DeleteRecordResponse = [Change, r.Response];
51
51
* @param {object } apiResponse The full API response.
52
52
*/
53
53
export interface DeleteRecordCallback {
54
- ( err : Error | null , change ?: Change , apiResponse ?: r . Response ) : void ;
54
+ ( err : Error | null , change ?: Change , apiResponse ?: Metadata ) : void ;
55
55
}
56
56
57
57
/**
You can’t perform that action at this time.
0 commit comments