Skip to content

Commit 9beac7c

Browse files
build: adopt changes to generator formatting (#166)
1 parent 59044c5 commit 9beac7c

9 files changed

+4147
-2961
lines changed

packages/google-cloud-recaptchaenterprise/protos/protos.js

+207-207
Large diffs are not rendered by default.

packages/google-cloud-recaptchaenterprise/src/v1/recaptcha_enterprise_service_client.ts

+651-456
Large diffs are not rendered by default.

packages/google-cloud-recaptchaenterprise/src/v1beta1/recaptcha_enterprise_service_v1_beta1_client.ts

+675-456
Large diffs are not rendered by default.

packages/google-cloud-recaptchaenterprise/synth.metadata

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-recaptcha-enterprise.git",
7-
"sha": "fa5b1c493666627a49ac1793fb830f0b9e6bdbf1"
7+
"sha": "e05cfb84b4f46841a19b2b6dfb81ef3ac9668451"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "3028060618e8024af9a32b3ab3456c160091ecb7",
15-
"internalRef": "306450502"
14+
"sha": "42ee97c1b93a0e3759bbba3013da309f670a90ab",
15+
"internalRef": "307114445"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "52638600f387deb98efb5f9c85fec39e82aa9052"
22+
"sha": "19465d3ec5e5acdb01521d8f3bddd311bcbee28d"
2323
}
2424
}
2525
],

packages/google-cloud-recaptchaenterprise/system-test/fixtures/sample/src/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// ** https://github.com/googleapis/gapic-generator-typescript **
1717
// ** All changes to this file may be overwritten. **
1818

19-
2019
/* eslint-disable node/no-missing-require, no-unused-vars */
2120
const recaptchaenterprise = require('@google-cloud/recaptcha-enterprise');
2221

packages/google-cloud-recaptchaenterprise/system-test/install.ts

+17-15
Original file line numberDiff line numberDiff line change
@@ -16,34 +16,36 @@
1616
// ** https://github.com/googleapis/gapic-generator-typescript **
1717
// ** All changes to this file may be overwritten. **
1818

19-
import { packNTest } from 'pack-n-play';
20-
import { readFileSync } from 'fs';
21-
import { describe, it } from 'mocha';
19+
import {packNTest} from 'pack-n-play';
20+
import {readFileSync} from 'fs';
21+
import {describe, it} from 'mocha';
2222

2323
describe('typescript consumer tests', () => {
24-
25-
it('should have correct type signature for typescript users', async function() {
24+
it('should have correct type signature for typescript users', async function () {
2625
this.timeout(300000);
2726
const options = {
28-
packageDir: process.cwd(), // path to your module.
27+
packageDir: process.cwd(), // path to your module.
2928
sample: {
3029
description: 'typescript based user can use the type definitions',
31-
ts: readFileSync('./system-test/fixtures/sample/src/index.ts').toString()
32-
}
30+
ts: readFileSync(
31+
'./system-test/fixtures/sample/src/index.ts'
32+
).toString(),
33+
},
3334
};
34-
await packNTest(options); // will throw upon error.
35+
await packNTest(options); // will throw upon error.
3536
});
3637

37-
it('should have correct type signature for javascript users', async function() {
38+
it('should have correct type signature for javascript users', async function () {
3839
this.timeout(300000);
3940
const options = {
40-
packageDir: process.cwd(), // path to your module.
41+
packageDir: process.cwd(), // path to your module.
4142
sample: {
4243
description: 'typescript based user can use the type definitions',
43-
ts: readFileSync('./system-test/fixtures/sample/src/index.js').toString()
44-
}
44+
ts: readFileSync(
45+
'./system-test/fixtures/sample/src/index.js'
46+
).toString(),
47+
},
4548
};
46-
await packNTest(options); // will throw upon error.
49+
await packNTest(options); // will throw upon error.
4750
});
48-
4951
});

0 commit comments

Comments
 (0)