Skip to content

Commit

Permalink
fix: update generated proto types; fix the update script (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored Feb 17, 2023
1 parent 5d42370 commit a7e4212
Show file tree
Hide file tree
Showing 10 changed files with 37,118 additions and 31,182 deletions.
8,343 changes: 4,459 additions & 3,884 deletions dev/protos/firestore_admin_v1_proto_api.d.ts

Large diffs are not rendered by default.

23,784 changes: 12,566 additions & 11,218 deletions dev/protos/firestore_admin_v1_proto_api.js

Large diffs are not rendered by default.

4,099 changes: 2,337 additions & 1,762 deletions dev/protos/firestore_v1_proto_api.d.ts

Large diffs are not rendered by default.

11,320 changes: 6,337 additions & 4,983 deletions dev/protos/firestore_v1_proto_api.js

Large diffs are not rendered by default.

4,097 changes: 2,336 additions & 1,761 deletions dev/protos/firestore_v1beta1_proto_api.d.ts

Large diffs are not rendered by default.

11,314 changes: 6,331 additions & 4,983 deletions dev/protos/firestore_v1beta1_proto_api.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dev/protos/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ IFS=$'\n\t'
# Variables
PROTOS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
WORK_DIR=`mktemp -d`
cd ${PROTOS_DIR}

# deletes the temp directory on exit
function cleanup {
Expand All @@ -43,7 +44,7 @@ git clone --depth 1 https://github.com/google/protobuf.git

# Copy necessary protos.
mkdir -p "${PROTOS_DIR}/google/api"
cp googleapis/google/api/{annotations,client,field_behavior,http,resource}.proto \
cp googleapis/google/api/{annotations,client,field_behavior,http,launch_stage,resource}.proto \
"${PROTOS_DIR}/google/api/"

mkdir -p "${PROTOS_DIR}/google/firestore/v1"
Expand Down
Loading

0 comments on commit a7e4212

Please sign in to comment.