Commit f248408e authored by Salman Chishti's avatar Salman Chishti
Browse files

type

parent c30eb554
Loading
Loading
Loading
Loading
+11 −6
Changes for dist/restore-only/index.js: 11 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -5748,13 +5748,18 @@ class CacheServiceClient {
    maskSecretUrls(body) {
        (0, core_1.debug)('body is passed to masksecreturls');
        (0, core_1.debug)(`Body in mask urls: ${JSON.stringify(body, null, 2)}`);
        if ('signedUploadUrl' in body && body.signedUploadUrl) {
            (0, core_1.debug)('entered that there is signedupload url');
            this.maskSigUrl(body.signedUploadUrl, 'signed_upload_url');
        if (typeof body === 'object' && body !== null) {
            if ('signed_upload_url' in body && typeof body.signed_upload_url === 'string') {
                (0, core_1.debug)('entered that there is signed_upload_url');
                this.maskSigUrl(body.signed_upload_url, 'signed_upload_url');
            }
        if ('signedDownloadUrl' in body && body.signedDownloadUrl) {
            (0, core_1.debug)('entered that there is signed download url');
            this.maskSigUrl(body.signedDownloadUrl, 'signed_download_url');
            if ('signed_download_url' in body && typeof body.signed_download_url === 'string') {
                (0, core_1.debug)('entered that there is signed_download_url');
                this.maskSigUrl(body.signed_download_url, 'signed_download_url');
            }
        }
        else {
            (0, core_1.debug)('body is not an object or is null');
        }
    }
    isSuccessStatusCode(statusCode) {
+11 −6
Changes for dist/restore/index.js: 11 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -5748,13 +5748,18 @@ class CacheServiceClient {
    maskSecretUrls(body) {
        (0, core_1.debug)('body is passed to masksecreturls');
        (0, core_1.debug)(`Body in mask urls: ${JSON.stringify(body, null, 2)}`);
        if ('signedUploadUrl' in body && body.signedUploadUrl) {
            (0, core_1.debug)('entered that there is signedupload url');
            this.maskSigUrl(body.signedUploadUrl, 'signed_upload_url');
        if (typeof body === 'object' && body !== null) {
            if ('signed_upload_url' in body && typeof body.signed_upload_url === 'string') {
                (0, core_1.debug)('entered that there is signed_upload_url');
                this.maskSigUrl(body.signed_upload_url, 'signed_upload_url');
            }
        if ('signedDownloadUrl' in body && body.signedDownloadUrl) {
            (0, core_1.debug)('entered that there is signed download url');
            this.maskSigUrl(body.signedDownloadUrl, 'signed_download_url');
            if ('signed_download_url' in body && typeof body.signed_download_url === 'string') {
                (0, core_1.debug)('entered that there is signed_download_url');
                this.maskSigUrl(body.signed_download_url, 'signed_download_url');
            }
        }
        else {
            (0, core_1.debug)('body is not an object or is null');
        }
    }
    isSuccessStatusCode(statusCode) {
+11 −6
Changes for dist/save-only/index.js: 11 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -5748,13 +5748,18 @@ class CacheServiceClient {
    maskSecretUrls(body) {
        (0, core_1.debug)('body is passed to masksecreturls');
        (0, core_1.debug)(`Body in mask urls: ${JSON.stringify(body, null, 2)}`);
        if ('signedUploadUrl' in body && body.signedUploadUrl) {
            (0, core_1.debug)('entered that there is signedupload url');
            this.maskSigUrl(body.signedUploadUrl, 'signed_upload_url');
        if (typeof body === 'object' && body !== null) {
            if ('signed_upload_url' in body && typeof body.signed_upload_url === 'string') {
                (0, core_1.debug)('entered that there is signed_upload_url');
                this.maskSigUrl(body.signed_upload_url, 'signed_upload_url');
            }
        if ('signedDownloadUrl' in body && body.signedDownloadUrl) {
            (0, core_1.debug)('entered that there is signed download url');
            this.maskSigUrl(body.signedDownloadUrl, 'signed_download_url');
            if ('signed_download_url' in body && typeof body.signed_download_url === 'string') {
                (0, core_1.debug)('entered that there is signed_download_url');
                this.maskSigUrl(body.signed_download_url, 'signed_download_url');
            }
        }
        else {
            (0, core_1.debug)('body is not an object or is null');
        }
    }
    isSuccessStatusCode(statusCode) {
+11 −6
Changes for dist/save/index.js: 11 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -5748,13 +5748,18 @@ class CacheServiceClient {
    maskSecretUrls(body) {
        (0, core_1.debug)('body is passed to masksecreturls');
        (0, core_1.debug)(`Body in mask urls: ${JSON.stringify(body, null, 2)}`);
        if ('signedUploadUrl' in body && body.signedUploadUrl) {
            (0, core_1.debug)('entered that there is signedupload url');
            this.maskSigUrl(body.signedUploadUrl, 'signed_upload_url');
        if (typeof body === 'object' && body !== null) {
            if ('signed_upload_url' in body && typeof body.signed_upload_url === 'string') {
                (0, core_1.debug)('entered that there is signed_upload_url');
                this.maskSigUrl(body.signed_upload_url, 'signed_upload_url');
            }
        if ('signedDownloadUrl' in body && body.signedDownloadUrl) {
            (0, core_1.debug)('entered that there is signed download url');
            this.maskSigUrl(body.signedDownloadUrl, 'signed_download_url');
            if ('signed_download_url' in body && typeof body.signed_download_url === 'string') {
                (0, core_1.debug)('entered that there is signed_download_url');
                this.maskSigUrl(body.signed_download_url, 'signed_download_url');
            }
        }
        else {
            (0, core_1.debug)('body is not an object or is null');
        }
    }
    isSuccessStatusCode(statusCode) {