Skip to content

Commit

Permalink
fix: make pbjs compile admin proto again (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidt-sebastian authored Apr 24, 2020
1 parent 2ea3040 commit c7d9c54
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 67 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- run: node --version
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions ${{ matrix.node }}
fail_ci_if_error: true
windows:
runs-on: windows-latest
steps:
Expand All @@ -27,6 +32,11 @@ jobs:
node-version: 12
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions windows
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -45,13 +55,3 @@ jobs:
node-version: 12
- run: npm install
- run: npm run docs-test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 13
- run: npm install
- run: npm test
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecovorg -a ${{ secrets.CODECOV_API_KEY }} -r $GITHUB_REPOSITORY --pipe
28 changes: 14 additions & 14 deletions dev/protos/firestore_admin_v1_proto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2109,7 +2109,7 @@
/**
* Order enum.
* @name google.firestore.admin.v1.Index.IndexField.Order
* @enum {number}
* @enum {string}
* @property {string} ORDER_UNSPECIFIED=ORDER_UNSPECIFIED ORDER_UNSPECIFIED value
* @property {string} ASCENDING=ASCENDING ASCENDING value
* @property {string} DESCENDING=DESCENDING DESCENDING value
Expand All @@ -2125,7 +2125,7 @@
/**
* ArrayConfig enum.
* @name google.firestore.admin.v1.Index.IndexField.ArrayConfig
* @enum {number}
* @enum {string}
* @property {string} ARRAY_CONFIG_UNSPECIFIED=ARRAY_CONFIG_UNSPECIFIED ARRAY_CONFIG_UNSPECIFIED value
* @property {string} CONTAINS=CONTAINS CONTAINS value
*/
Expand All @@ -2142,7 +2142,7 @@
/**
* QueryScope enum.
* @name google.firestore.admin.v1.Index.QueryScope
* @enum {number}
* @enum {string}
* @property {string} QUERY_SCOPE_UNSPECIFIED=QUERY_SCOPE_UNSPECIFIED QUERY_SCOPE_UNSPECIFIED value
* @property {string} COLLECTION=COLLECTION COLLECTION value
* @property {string} COLLECTION_GROUP=COLLECTION_GROUP COLLECTION_GROUP value
Expand All @@ -2158,7 +2158,7 @@
/**
* State enum.
* @name google.firestore.admin.v1.Index.State
* @enum {number}
* @enum {string}
* @property {string} STATE_UNSPECIFIED=STATE_UNSPECIFIED STATE_UNSPECIFIED value
* @property {string} CREATING=CREATING CREATING value
* @property {string} READY=READY READY value
Expand Down Expand Up @@ -2773,7 +2773,7 @@
/**
* ChangeType enum.
* @name google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType
* @enum {number}
* @enum {string}
* @property {string} CHANGE_TYPE_UNSPECIFIED=CHANGE_TYPE_UNSPECIFIED CHANGE_TYPE_UNSPECIFIED value
* @property {string} ADD=ADD ADD value
* @property {string} REMOVE=REMOVE REMOVE value
Expand Down Expand Up @@ -3448,7 +3448,7 @@
/**
* OperationState enum.
* @name google.firestore.admin.v1.OperationState
* @enum {number}
* @enum {string}
* @property {string} OPERATION_STATE_UNSPECIFIED=OPERATION_STATE_UNSPECIFIED OPERATION_STATE_UNSPECIFIED value
* @property {string} INITIALIZING=INITIALIZING INITIALIZING value
* @property {string} PROCESSING=PROCESSING PROCESSING value
Expand Down Expand Up @@ -3923,7 +3923,7 @@
/**
* FieldBehavior enum.
* @name google.api.FieldBehavior
* @enum {number}
* @enum {string}
* @property {string} FIELD_BEHAVIOR_UNSPECIFIED=FIELD_BEHAVIOR_UNSPECIFIED FIELD_BEHAVIOR_UNSPECIFIED value
* @property {string} OPTIONAL=OPTIONAL OPTIONAL value
* @property {string} REQUIRED=REQUIRED REQUIRED value
Expand Down Expand Up @@ -4118,7 +4118,7 @@
/**
* History enum.
* @name google.api.ResourceDescriptor.History
* @enum {number}
* @enum {string}
* @property {string} HISTORY_UNSPECIFIED=HISTORY_UNSPECIFIED HISTORY_UNSPECIFIED value
* @property {string} ORIGINALLY_SINGLE_PATTERN=ORIGINALLY_SINGLE_PATTERN ORIGINALLY_SINGLE_PATTERN value
* @property {string} FUTURE_MULTI_PATTERN=FUTURE_MULTI_PATTERN FUTURE_MULTI_PATTERN value
Expand Down Expand Up @@ -5461,7 +5461,7 @@
/**
* Type enum.
* @name google.protobuf.FieldDescriptorProto.Type
* @enum {number}
* @enum {string}
* @property {string} TYPE_DOUBLE=TYPE_DOUBLE TYPE_DOUBLE value
* @property {string} TYPE_FLOAT=TYPE_FLOAT TYPE_FLOAT value
* @property {string} TYPE_INT64=TYPE_INT64 TYPE_INT64 value
Expand Down Expand Up @@ -5507,7 +5507,7 @@
/**
* Label enum.
* @name google.protobuf.FieldDescriptorProto.Label
* @enum {number}
* @enum {string}
* @property {string} LABEL_OPTIONAL=LABEL_OPTIONAL LABEL_OPTIONAL value
* @property {string} LABEL_REQUIRED=LABEL_REQUIRED LABEL_REQUIRED value
* @property {string} LABEL_REPEATED=LABEL_REPEATED LABEL_REPEATED value
Expand Down Expand Up @@ -6484,7 +6484,7 @@
/**
* OptimizeMode enum.
* @name google.protobuf.FileOptions.OptimizeMode
* @enum {number}
* @enum {string}
* @property {string} SPEED=SPEED SPEED value
* @property {string} CODE_SIZE=CODE_SIZE CODE_SIZE value
* @property {string} LITE_RUNTIME=LITE_RUNTIME LITE_RUNTIME value
Expand Down Expand Up @@ -6942,7 +6942,7 @@
/**
* CType enum.
* @name google.protobuf.FieldOptions.CType
* @enum {number}
* @enum {string}
* @property {string} STRING=STRING STRING value
* @property {string} CORD=CORD CORD value
* @property {string} STRING_PIECE=STRING_PIECE STRING_PIECE value
Expand All @@ -6958,7 +6958,7 @@
/**
* JSType enum.
* @name google.protobuf.FieldOptions.JSType
* @enum {number}
* @enum {string}
* @property {string} JS_NORMAL=JS_NORMAL JS_NORMAL value
* @property {string} JS_STRING=JS_STRING JS_STRING value
* @property {string} JS_NUMBER=JS_NUMBER JS_NUMBER value
Expand Down Expand Up @@ -9085,7 +9085,7 @@
/**
* NullValue enum.
* @name google.protobuf.NullValue
* @enum {number}
* @enum {string}
* @property {string} NULL_VALUE=NULL_VALUE NULL_VALUE value
*/
protobuf.NullValue = (function() {
Expand Down
28 changes: 14 additions & 14 deletions dev/protos/firestore_v1_proto_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@
/**
* Type enum.
* @name google.protobuf.FieldDescriptorProto.Type
* @enum {number}
* @enum {string}
* @property {string} TYPE_DOUBLE=TYPE_DOUBLE TYPE_DOUBLE value
* @property {string} TYPE_FLOAT=TYPE_FLOAT TYPE_FLOAT value
* @property {string} TYPE_INT64=TYPE_INT64 TYPE_INT64 value
Expand Down Expand Up @@ -1425,7 +1425,7 @@
/**
* Label enum.
* @name google.protobuf.FieldDescriptorProto.Label
* @enum {number}
* @enum {string}
* @property {string} LABEL_OPTIONAL=LABEL_OPTIONAL LABEL_OPTIONAL value
* @property {string} LABEL_REQUIRED=LABEL_REQUIRED LABEL_REQUIRED value
* @property {string} LABEL_REPEATED=LABEL_REPEATED LABEL_REPEATED value
Expand Down Expand Up @@ -2402,7 +2402,7 @@
/**
* OptimizeMode enum.
* @name google.protobuf.FileOptions.OptimizeMode
* @enum {number}
* @enum {string}
* @property {string} SPEED=SPEED SPEED value
* @property {string} CODE_SIZE=CODE_SIZE CODE_SIZE value
* @property {string} LITE_RUNTIME=LITE_RUNTIME LITE_RUNTIME value
Expand Down Expand Up @@ -2860,7 +2860,7 @@
/**
* CType enum.
* @name google.protobuf.FieldOptions.CType
* @enum {number}
* @enum {string}
* @property {string} STRING=STRING STRING value
* @property {string} CORD=CORD CORD value
* @property {string} STRING_PIECE=STRING_PIECE STRING_PIECE value
Expand All @@ -2876,7 +2876,7 @@
/**
* JSType enum.
* @name google.protobuf.FieldOptions.JSType
* @enum {number}
* @enum {string}
* @property {string} JS_NORMAL=JS_NORMAL JS_NORMAL value
* @property {string} JS_STRING=JS_STRING JS_STRING value
* @property {string} JS_NUMBER=JS_NUMBER JS_NUMBER value
Expand Down Expand Up @@ -4628,7 +4628,7 @@
/**
* NullValue enum.
* @name google.protobuf.NullValue
* @enum {number}
* @enum {string}
* @property {string} NULL_VALUE=NULL_VALUE NULL_VALUE value
*/
protobuf.NullValue = (function() {
Expand Down Expand Up @@ -10856,7 +10856,7 @@
/**
* TargetChangeType enum.
* @name google.firestore.v1.TargetChange.TargetChangeType
* @enum {number}
* @enum {string}
* @property {string} NO_CHANGE=NO_CHANGE NO_CHANGE value
* @property {string} ADD=ADD ADD value
* @property {string} REMOVE=REMOVE REMOVE value
Expand Down Expand Up @@ -11670,7 +11670,7 @@
/**
* Operator enum.
* @name google.firestore.v1.StructuredQuery.CompositeFilter.Operator
* @enum {number}
* @enum {string}
* @property {string} OPERATOR_UNSPECIFIED=OPERATOR_UNSPECIFIED OPERATOR_UNSPECIFIED value
* @property {string} AND=AND AND value
*/
Expand Down Expand Up @@ -11838,7 +11838,7 @@
/**
* Operator enum.
* @name google.firestore.v1.StructuredQuery.FieldFilter.Operator
* @enum {number}
* @enum {string}
* @property {string} OPERATOR_UNSPECIFIED=OPERATOR_UNSPECIFIED OPERATOR_UNSPECIFIED value
* @property {string} LESS_THAN=LESS_THAN LESS_THAN value
* @property {string} LESS_THAN_OR_EQUAL=LESS_THAN_OR_EQUAL LESS_THAN_OR_EQUAL value
Expand Down Expand Up @@ -12089,7 +12089,7 @@
/**
* Operator enum.
* @name google.firestore.v1.StructuredQuery.UnaryFilter.Operator
* @enum {number}
* @enum {string}
* @property {string} OPERATOR_UNSPECIFIED=OPERATOR_UNSPECIFIED OPERATOR_UNSPECIFIED value
* @property {string} IS_NAN=IS_NAN IS_NAN value
* @property {string} IS_NULL=IS_NULL IS_NULL value
Expand Down Expand Up @@ -12304,7 +12304,7 @@
/**
* Direction enum.
* @name google.firestore.v1.StructuredQuery.Direction
* @enum {number}
* @enum {string}
* @property {string} DIRECTION_UNSPECIFIED=DIRECTION_UNSPECIFIED DIRECTION_UNSPECIFIED value
* @property {string} ASCENDING=ASCENDING ASCENDING value
* @property {string} DESCENDING=DESCENDING DESCENDING value
Expand Down Expand Up @@ -12952,7 +12952,7 @@
/**
* ServerValue enum.
* @name google.firestore.v1.DocumentTransform.FieldTransform.ServerValue
* @enum {number}
* @enum {string}
* @property {string} SERVER_VALUE_UNSPECIFIED=SERVER_VALUE_UNSPECIFIED SERVER_VALUE_UNSPECIFIED value
* @property {string} REQUEST_TIME=REQUEST_TIME REQUEST_TIME value
*/
Expand Down Expand Up @@ -14013,7 +14013,7 @@
/**
* FieldBehavior enum.
* @name google.api.FieldBehavior
* @enum {number}
* @enum {string}
* @property {string} FIELD_BEHAVIOR_UNSPECIFIED=FIELD_BEHAVIOR_UNSPECIFIED FIELD_BEHAVIOR_UNSPECIFIED value
* @property {string} OPTIONAL=OPTIONAL OPTIONAL value
* @property {string} REQUIRED=REQUIRED REQUIRED value
Expand Down Expand Up @@ -14208,7 +14208,7 @@
/**
* History enum.
* @name google.api.ResourceDescriptor.History
* @enum {number}
* @enum {string}
* @property {string} HISTORY_UNSPECIFIED=HISTORY_UNSPECIFIED HISTORY_UNSPECIFIED value
* @property {string} ORIGINALLY_SINGLE_PATTERN=ORIGINALLY_SINGLE_PATTERN ORIGINALLY_SINGLE_PATTERN value
* @property {string} FUTURE_MULTI_PATTERN=FUTURE_MULTI_PATTERN FUTURE_MULTI_PATTERN value
Expand Down
Loading

0 comments on commit c7d9c54

Please sign in to comment.