Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate code from googleapis/nodejs-document-ai #3559

Merged
merged 215 commits into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
57cfa01
chore: add initial files for launch
bcoe Aug 30, 2019
67dae9e
chore: initial build of document ai library
bcoe Sep 12, 2019
8804e5c
feat!: initial generation of beta client (#5)
bcoe Nov 6, 2019
c3c5fc1
feat(samples): adds Document AI parse table, forms samples (#8)
telpirion Feb 14, 2020
05ba653
feat: updated library from protos (#9)
telpirion Mar 18, 2020
5eaa415
build: we are dropping Node 10 very soon (#15)
bcoe Mar 18, 2020
fca8738
chore: remove snippet leading whitespace (#17)
chingor13 Mar 19, 2020
0612eb0
feat: adds beta samples
telpirion Mar 20, 2020
3b0eaf6
chore: release 1.0.0 (#6)
release-please[bot] Mar 25, 2020
c8ff10d
chore: regenerate the code (#22)
yoshi-automation Mar 25, 2020
dd838a6
feat!: drop node8 support (#30)
alexander-fenster Apr 2, 2020
b20cf8f
chore: remove duplicate mocha config (#32)
JustinBeckwith Apr 5, 2020
3ac4845
chore(deps): update dependency @types/mocha (#18)
renovate-bot Apr 7, 2020
a64af0c
chore: update region tags (#33)
telpirion Apr 8, 2020
f28ff12
fix(samples): do not pass location (#39)
alexander-fenster Apr 12, 2020
15c4dde
chore(deps): update dependency gts to v2.0.0 (#36)
renovate-bot Apr 12, 2020
028ced1
build: set AUTOSYNTH_MULTIPLE_COMMITS=true for context aware commits …
bcoe Apr 12, 2020
563aa0c
build: remove unused codecov config (#38)
JustinBeckwith Apr 12, 2020
2a78af6
fix: remove eslint, update gax, fix generated protos, run the generat…
alexander-fenster Apr 12, 2020
9f16791
fix: remove unused dependencies (#41)
JustinBeckwith Apr 12, 2020
a389506
docs: update README to reflect quickstart (#42)
yoshi-automation Apr 13, 2020
a0c91b5
chore: fix samples according to service resource change (#35)
telpirion Apr 13, 2020
345c1b5
chore: update lint ignore files (#43)
JustinBeckwith Apr 13, 2020
8d2960a
chore: remove tslint.json (#44)
JustinBeckwith Apr 14, 2020
a137106
docs: update README to reflect quickstart (#45)
yoshi-automation Apr 14, 2020
c0b0765
chore: remove unused dev packages (#46)
JustinBeckwith Apr 14, 2020
ca41364
chore(deps): update dependency ts-loader to v7 (#47)
renovate-bot Apr 15, 2020
7c275f8
chore(deps): update dependency null-loader to v4 (#49)
renovate-bot Apr 15, 2020
1dba7dc
chore: run fix instead of lint in synthfile (#50)
JustinBeckwith Apr 15, 2020
ef1d367
build: update CI and address generator linting (#52)
yoshi-automation Apr 22, 2020
ae189c6
chore: update npm scripts and synth.py (#53)
alexander-fenster Apr 24, 2020
9a51dae
feat: check status of long running operation by its name (#54)
alexander-fenster May 6, 2020
00e871e
build: do not fail builds on codecov errors (#528) (#55)
yoshi-automation May 8, 2020
1e04394
fix(deps): update dependency @google-cloud/storage to v5 (#56)
renovate-bot May 15, 2020
be739b1
chore: release 2.0.0 (#31)
release-please[bot] Jun 2, 2020
bef6fc4
build: update protos.js (#57)
yoshi-automation Jun 4, 2020
9c1c89c
feat: move ts target to es2018 from es2016 (#60)
yoshi-automation Jun 10, 2020
67b5355
chore(deps): update dependency mocha to v8 (#63)
renovate-bot Jun 11, 2020
7db1352
chore(nodejs_templates): add script logging to node_library populate-…
yoshi-automation Jun 11, 2020
d845f19
fix: proper fallback option handling
yoshi-automation Jun 15, 2020
508ff8e
chore: update node issue template (#66)
yoshi-automation Jun 18, 2020
e247f49
build: Provide C#, Ruby and PHP namespace/package options
yoshi-automation Jun 22, 2020
c42ce70
build: add config .gitattributes (#67)
yoshi-automation Jun 28, 2020
37eea61
chore: release 2.1.0 (#61)
release-please[bot] Jun 28, 2020
b476d25
build: use bazel build (#70)
alexander-fenster Jul 6, 2020
7627a06
chore: update timeout ms from autosynth
yoshi-automation Jul 8, 2020
be2e7b4
fix: typeo in nodejs .gitattribute (#74)
yoshi-automation Jul 9, 2020
78ad6ff
chore: release 2.1.1 (#75)
release-please[bot] Jul 10, 2020
fdc24d4
chore(deps): update dependency ts-loader to v8 (#73)
renovate-bot Jul 10, 2020
e18fcd9
chore(deps): update dependency @types/mocha to v8 (#76)
renovate-bot Jul 12, 2020
115a63a
build: missing closing paren in publish script (#78)
yoshi-automation Jul 14, 2020
49c0ae3
chore: add config files for cloud-rad for node.js, delete Node 8 temp…
yoshi-automation Jul 17, 2020
3b93213
chore: add dev dependencies for cloud-rad ref docs (#83)
fhinkel Jul 21, 2020
4f49c10
build: rename _toc to toc (#84)
yoshi-automation Jul 23, 2020
e149756
chore: move gitattributes files to node templates (#85)
yoshi-automation Jul 24, 2020
b0dec28
chore(node): fix kokoro build path for cloud-rad (#86)
yoshi-automation Jul 30, 2020
6eda97c
build: update protos (#87)
yoshi-automation Jul 31, 2020
cf0fe18
docs: add links to the CHANGELOG from the README.md for Java and Node…
yoshi-automation Jul 31, 2020
5cc3a8e
build: --credential-file-override is no longer required (#90)
yoshi-automation Aug 8, 2020
265a008
build: use gapic-generator-typescript v1.0.7. (#91)
yoshi-automation Aug 12, 2020
7270e36
chore: update cloud rad kokoro build job (#92)
yoshi-automation Aug 12, 2020
55c414e
build: perform publish using Node 12 (#93)
yoshi-automation Aug 13, 2020
586151a
chore: start tracking obsolete files (#94)
yoshi-automation Aug 19, 2020
31cf1a9
build: move system and samples test from Node 10 to Node 12 (#95)
yoshi-automation Aug 21, 2020
4d9f442
build: track flaky tests for "nightly", add new secrets for tagging (…
yoshi-automation Aug 28, 2020
fca19f4
build(test): recursively find test files; fail on unsupported depende…
yoshi-automation Sep 15, 2020
ee00ead
chore: update bucket for cloud-rad (#102)
yoshi-automation Oct 1, 2020
f15609a
build(node_library): migrate to Trampoline V2 (#104)
yoshi-automation Oct 5, 2020
80e0e07
feat: add v1beta3 version (#105)
sofisl Oct 7, 2020
5660c81
chore(deps): update dependency webpack-cli to v4 (#111)
renovate-bot Oct 12, 2020
b85edb5
chore(deps): update dependency webpack to v5 (#110)
renovate-bot Oct 14, 2020
b0b8433
feat: generation error and set v1beta3 as default (#112)
sofisl Oct 15, 2020
aaf8d20
docs(samples): new Doc AI samples for v1beta3 (#101)
telpirion Oct 15, 2020
d39e52b
chore: update packageName and README (#115)
yoshi-automation Oct 16, 2020
27511b7
build: only check --engine-strict for production deps
yoshi-automation Oct 17, 2020
b054469
chore: release 2.2.0 (#106)
release-please[bot] Oct 20, 2020
ee7d239
chore: clean up Node.js TOC for cloud-rad (#118)
yoshi-automation Oct 21, 2020
db30e20
docs: updated code of conduct (includes update to actions) (#121)
yoshi-automation Oct 27, 2020
fc60b12
build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#122)
yoshi-automation Nov 2, 2020
48efe30
chore: fix namespaces for ruby, php, and C# clients, add package name…
yoshi-automation Nov 5, 2020
228056e
build: add type for ClusterManagerClient (#124)
yoshi-automation Nov 6, 2020
f099c15
fix: do not modify options object (#125)
alexander-fenster Nov 10, 2020
3d2ae05
chore: release 2.2.1 (#128)
release-please[bot] Nov 11, 2020
6647037
fix(browser): check for fetch on window (#131)
yoshi-automation Nov 23, 2020
b152c3a
docs: spelling correction for "targetting" (#133)
yoshi-automation Nov 25, 2020
0c7e2cd
docs: make projectId variable consistent in quickstart.js comments
asrivas Nov 30, 2020
9c24ff0
docs: update README to reflect corrected variable name
yoshi-automation Dec 1, 2020
405939c
chore: release 2.2.2 (#132)
release-please[bot] Dec 2, 2020
5175c00
chore: generate GAPIC metadata JSON file (#139)
yoshi-automation Dec 4, 2020
82b1f26
docs: add instructions for authenticating for system tests (#140)
yoshi-automation Dec 22, 2020
521e027
docs: update dates (#142)
yoshi-automation Jan 7, 2021
d3647b1
feat: adds style enumeration (#143)
yoshi-automation Jan 9, 2021
825c499
chore: release 2.3.0 (#144)
release-please[bot] Jan 12, 2021
a2e2dc1
refactor(nodejs): move build cop to flakybot (#146)
yoshi-automation Jan 27, 2021
aa0eb1d
build: update package name (#148)
sofisl Jan 29, 2021
859f200
chore: update CODEOWNERS config (#149)
JustinBeckwith Feb 3, 2021
b3d650e
build: adds UNORDERED_LIST enum (#150)
yoshi-automation Feb 4, 2021
22b6c3a
feat: Update documentai/v1beta3 protos (#152)
yoshi-automation Feb 17, 2021
68567ac
chore: release 2.4.0 (#153)
release-please[bot] Feb 17, 2021
1d52be4
feat: Update documentai/v1beta3 protos: add support for boolean norma…
yoshi-automation Feb 24, 2021
a1cd7a7
chore: release 2.5.0 (#155)
release-please[bot] Feb 24, 2021
56ffcf3
build: add OwlBot configuration (#156)
bcoe Mar 4, 2021
148e1a6
build: fix OwlBot.yaml config format (#157)
bcoe Mar 4, 2021
5a7a3d8
build: proto copy path was incorrect (#159)
bcoe Mar 4, 2021
dd55904
build: update copyright (#164)
yoshi-automation Mar 8, 2021
463cbb3
build: update .OwlBot.lock with new version of post-processor (#162)
gcf-owl-bot[bot] Mar 8, 2021
4f0f39d
feat: remove the translation fields in document.proto (#181)
yoshi-automation Mar 12, 2021
aace1e9
build: update metadata (#183)
yoshi-automation Mar 15, 2021
49f5ae9
chore: release 2.6.0 (#182)
release-please[bot] Mar 15, 2021
3b084f4
build: update synthtool sha (#184)
yoshi-automation Mar 16, 2021
dc40596
chore(deps): update dependency sinon to v10 (#187)
renovate-bot Mar 23, 2021
6a3dadf
build: update sha (#190)
yoshi-automation Apr 6, 2021
0db54a1
build: fix OwlBot configuration (#192)
bcoe Apr 7, 2021
d328de0
feat: add EVAL_SKIPPED value to the Provenance.OperationType enum (#191)
yoshi-automation Apr 7, 2021
84dc254
chore: release 2.7.0 (#193)
release-please[bot] Apr 12, 2021
db75cf9
feat: add v1 API surface (#196)
bcoe Apr 13, 2021
8a2c51f
chore: release 2.8.0 (#197)
release-please[bot] Apr 13, 2021
8669965
chore(deps): update dependency @types/sinon to v10 (#199)
renovate-bot Apr 14, 2021
179b0af
samples: updates v1beta3 to v1; renames v1beta2 samples (#198)
telpirion Apr 14, 2021
f683f3d
chore(deps): update dependency ts-loader to v9 (#203)
renovate-bot Apr 19, 2021
d7fef6b
feat: add confidence field to the PageAnchor.PageRef in document.prot…
gcf-owl-bot[bot] Apr 26, 2021
571834f
chore: release 2.9.0 (#205)
release-please[bot] Apr 28, 2021
64502dc
fix(deps): require google-gax v2.12.0 (#210)
alexander-fenster May 7, 2021
bcfd612
chore: new owl bot post processor docker image (#212)
gcf-owl-bot[bot] May 10, 2021
729403f
feat: add confidence field to the PageAnchor.PageRef in document.prot…
gcf-owl-bot[bot] May 10, 2021
492c60f
fix: use require() to load JSON protos (#214)
gcf-owl-bot[bot] May 11, 2021
f9a490d
chore: update gapic-generator-typescript to v1.3.2 (#215)
gcf-owl-bot[bot] May 11, 2021
8dcbc2b
chore: release 2.10.0 (#213)
release-please[bot] May 13, 2021
8f83953
samples: Update quickstart.js (#189)
mtannerfors May 20, 2021
ab1cdb0
fix: update default host to documentai.googleapis.com (#217)
gcf-owl-bot[bot] May 20, 2021
9a50b9e
feat!: default to v1 of the API (#220)
JustinBeckwith May 20, 2021
00dfa17
chore(deps): update dependency @types/node to v14 (#222)
renovate-bot May 21, 2021
99b03a5
chore(deps): update dependency sinon to v11 (#223)
renovate-bot May 25, 2021
9e5de3f
fix: GoogleAdsError missing using generator version after 1.3.0 (#224)
gcf-owl-bot[bot] May 25, 2021
3111cfb
chore: make generate_index_ts() deterministic (#226)
gcf-owl-bot[bot] May 29, 2021
6e4844e
refactor: Move CommonOperationMetadata into a separate proto file for…
gcf-owl-bot[bot] Jun 2, 2021
6ce6f24
chore: Move CommonOperationMetadata into a separate proto file for po…
gcf-owl-bot[bot] Jun 6, 2021
655457e
chore(nodejs): remove api-extractor dependencies (#234)
fhinkel Jun 10, 2021
2999844
feat: update document.proto, add the processor management methods. (#…
gcf-owl-bot[bot] Jun 16, 2021
b88562a
fix: make request optional in all cases (#237)
gcf-owl-bot[bot] Jun 22, 2021
6cc2664
feat: update ReviewDocumentRequest to allow set priority and enable v…
gcf-owl-bot[bot] Jun 23, 2021
5dc66a8
fix(deps): google-gax v2.17.0 with mTLS (#241)
bcoe Jun 30, 2021
f97ac38
chore: release 3.0.0 (#221)
release-please[bot] Jul 1, 2021
a4e414a
fix(deps): google-gax v2.17.1 (#243)
bcoe Jul 12, 2021
9f245f0
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
f04b661
chore: release 3.0.1 (#244)
release-please[bot] Jul 21, 2021
c00f106
fix: Update DocumentUnderstandingService default_host in v1beta2 from…
gcf-owl-bot[bot] Aug 12, 2021
5ee11f4
build: replaces old link with current product doc location (#256)
telpirion Aug 13, 2021
2164310
fix(build): migrate to using main branch (#253)
sofisl Aug 13, 2021
0dcf2b3
chore(nodejs): update client ref docs link in metadata (#250)
fhinkel Aug 13, 2021
acc2931
fix(deps): google-gax v2.24.1 (#257)
bcoe Aug 17, 2021
eea1e03
chore: release 3.0.2 (#254)
release-please[bot] Aug 17, 2021
aa60ef6
feat: turns on self-signed JWT feature flag (#258)
gcf-owl-bot[bot] Aug 23, 2021
5727e02
fix: flag module as GA (#260)
JustinBeckwith Aug 25, 2021
efecba2
chore: relocate owl bot post processor (#270)
SurferJeffAtGoogle Sep 21, 2021
456ff2d
chore: release 3.1.0 (#259)
release-please[bot] Sep 27, 2021
36e1899
build(node): update deps used during postprocessing (#1243) (#278)
gcf-owl-bot[bot] Oct 14, 2021
c6762d3
chore(deps): update dependency @types/node to v16 (#279)
renovate-bot Oct 26, 2021
b180384
chore(cloud-rad): delete api-extractor config (#280)
fhinkel Nov 3, 2021
d841bb6
chore(deps): update dependency sinon to v12 (#281)
renovate-bot Nov 4, 2021
4072dff
docs(samples): add OCR, form, quality, splitter and specialized proce…
Nov 12, 2021
6582ece
build(npm): add artifact name for npm (#284)
gcf-owl-bot[bot] Nov 23, 2021
febdd2f
feat: add eslintignore for sameple generated code (#1302) (#286)
gcf-owl-bot[bot] Dec 14, 2021
0ae5d99
chore: release 3.2.0 (#288)
release-please[bot] Dec 14, 2021
f7655fe
docs(node): support "stable"/"preview" release level (#1312) (#291)
gcf-owl-bot[bot] Dec 29, 2021
69b3d5b
chore: add api_shortname and library_type to repo metadata (#290)
parthea Dec 30, 2021
e54a19d
test(nodejs): remove 15 add 16 (#1322) (#294)
gcf-owl-bot[bot] Jan 11, 2022
ce4fe16
fix(documentai): add ancillary service bindings to service_yaml (#296)
gcf-owl-bot[bot] Jan 12, 2022
4acc84f
chore(main): release 3.2.1 (#297)
release-please[bot] Jan 17, 2022
f1a7f34
chore: update v2.12.0 gapic-generator-typescript (#302)
gcf-owl-bot[bot] Jan 26, 2022
d44127d
chore(deps): update dependency sinon to v13 (#305)
renovate-bot Jan 31, 2022
4ceb0ef
feat: add question_id field in ReviewDocumentOperationMetadata (#304)
gcf-owl-bot[bot] Feb 2, 2022
50610af
feat: add question_id field in ReviewDocumentOperationMetadata (#308)
gcf-owl-bot[bot] Feb 3, 2022
eb17148
docs(nodejs): version support policy edits (#1346) (#309)
gcf-owl-bot[bot] Feb 4, 2022
4531bd9
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 22, 2022
d5dea41
chore(main): release 3.3.0 (#306)
release-please[bot] Feb 22, 2022
b13e567
chore(deps): update dependency gts to v3 (#295)
renovate-bot Feb 22, 2022
36ca7ff
chore: update v2.14.2 gapic-generator-typescript (#314)
gcf-owl-bot[bot] Mar 16, 2022
c30721d
feat: add `content` field in TextAnchor (#315)
gcf-owl-bot[bot] Mar 17, 2022
1257994
chore: remove unused imports (#317)
gcf-owl-bot[bot] Mar 23, 2022
ca5d054
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 21, 2022
5b05857
chore: removed v1beta2 samples (#325)
galz10 Apr 22, 2022
ddea961
fix!: mark Document.Entity.type as REQUIRED in all versions (#326)
gcf-owl-bot[bot] Apr 27, 2022
32cdb8b
chore(deps): update dependency @types/mocha to v9 (#328)
renovate-bot May 3, 2022
52cb0d8
chore(deps): update dependency sinon to v14 (#331)
renovate-bot May 9, 2022
fc75331
build!: update library to use Node 12 (#333)
alexander-fenster May 17, 2022
2adceec
chore(deps): update dependency jsdoc-fresh to v2 (#337)
renovate-bot Jun 10, 2022
11f3933
chore(deps): update dependency jsdoc-region-tag to v2 (#338)
renovate-bot Jun 10, 2022
4e6bd6c
fix(deps): update dependency @google-cloud/storage to v6 (#335)
renovate-bot Jun 20, 2022
98bc457
chore(main): release 4.0.0 (#334)
release-please[bot] Jun 20, 2022
2cfb444
feat: support regapic LRO (#339)
gcf-owl-bot[bot] Jul 1, 2022
6d483e3
chore(main): release 4.1.0 (#340)
release-please[bot] Jul 6, 2022
bf463d1
chore(deps): update dependency linkinator to v4 (#342)
renovate-bot Jul 8, 2022
40b0df9
docs: fix minor docstring formatting (#343)
gcf-owl-bot[bot] Aug 12, 2022
5de71ab
chore(main): release 5.0.0 (#344)
release-please[bot] Aug 17, 2022
900ee7b
chore: remove unused proto imports (#345)
gcf-owl-bot[bot] Aug 19, 2022
d9cc813
fix: better support for fallback mode (#348)
gcf-owl-bot[bot] Aug 23, 2022
c16e943
fix: change import long to require (#350)
gcf-owl-bot[bot] Aug 23, 2022
5916f77
fix: do not import the whole google-gax from proto JS (#1553) (#353)
gcf-owl-bot[bot] Aug 27, 2022
26195a0
fix: allow passing gax instance to client constructor (#354)
gcf-owl-bot[bot] Sep 1, 2022
c3b0b6e
fix(deps): update dependency uuid to v9 (#356)
renovate-bot Sep 9, 2022
91a4e4c
fix: preserve default values in x-goog-request-params header (#357)
gcf-owl-bot[bot] Sep 22, 2022
5067210
chore(main): release 6.0.0 (#347)
release-please[bot] Sep 22, 2022
4492d7e
fix(deps): use google-gax v3.5.2 (#372)
alexander-fenster Nov 4, 2022
5d351b2
chore(deps): update dependency jsdoc to v4 (#375)
renovate-bot Nov 10, 2022
f13e845
fix: regenerated protos JS and TS definitions (#376)
gcf-owl-bot[bot] Nov 10, 2022
85067bc
chore(deps): update dependency @types/node to v18 (#370)
renovate-bot Nov 10, 2022
4a45623
feat: added font_family to document.proto (#377)
gcf-owl-bot[bot] Nov 11, 2022
d517c01
chore(main): release 6.1.0 (#374)
release-please[bot] Nov 11, 2022
b8cc6a8
Merge remote-tracking branch 'migration/main' into nodejs-document-ai…
sofisl Nov 11, 2022
74d174d
build: add release-please config, fix owlbot-config
sofisl Nov 11, 2022
c4d2af0
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 11, 2022
a631fba
add resources
sofisl Nov 11, 2022
e421913
Merge branch 'main' into nodejs-document-ai-migration
sofisl Nov 12, 2022
08d8cbd
add mocha imports
sofisl Nov 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-documentai": "6.1.0",
"packages/google-cloud-gkeconnect-gateway": "2.0.5",
"packages/google-cloud-gkemulticloud": "0.1.4",
"packages/google-cloud-iot": "3.1.2",
Expand Down
20 changes: 20 additions & 0 deletions packages/google-cloud-documentai/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/documentai/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-documentai/$1
7 changes: 7 additions & 0 deletions packages/google-cloud-documentai/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-cloud-documentai/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-cloud-documentai/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
14 changes: 14 additions & 0 deletions packages/google-cloud-documentai/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions packages/google-cloud-documentai/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/documentai',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-cloud-documentai/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
24 changes: 24 additions & 0 deletions packages/google-cloud-documentai/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-cloud-documentai/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-cloud-documentai/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
17 changes: 17 additions & 0 deletions packages/google-cloud-documentai/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "documentai",
"name_pretty": "Document AI",
"product_documentation": "https://cloud.google.com/document-ai/docs/",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/documentai/latest",
"issue_tracker": "",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/documentai",
"api_id": "documentai.googleapis.com",
"requires_billing": true,
"codeowner_team": "@googleapis/ml-apis",
"default_version": "v1",
"api_shortname": "documentai",
"library_type": "GAPIC_AUTO"
}
Loading