@firebase/firestore 3.4.2-canary.044a8d7f9 → 3.4.2-canary.88d43ec00

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/firestore/src/api/snapshot.d.ts +6 -6
  2. package/dist/firestore/src/lite-api/snapshot.d.ts +2 -2
  3. package/dist/firestore/test/integration/bootstrap.d.ts +0 -1
  4. package/dist/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  5. package/dist/firestore/test/integration/util/firebase_export.d.ts +6 -14
  6. package/dist/firestore/test/integration/util/helpers.d.ts +18 -18
  7. package/dist/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  8. package/dist/firestore/test/integration/util/settings.d.ts +2 -2
  9. package/dist/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  10. package/dist/firestore/test/util/api_helpers.d.ts +1 -1
  11. package/dist/firestore/test/util/helpers.d.ts +4 -6
  12. package/dist/index.d.ts +6 -6
  13. package/dist/index.esm2017.js +869 -869
  14. package/dist/index.esm2017.js.map +1 -1
  15. package/dist/index.esm5.js +1257 -1257
  16. package/dist/index.esm5.js.map +1 -1
  17. package/dist/index.node.cjs.js +2674 -24
  18. package/dist/index.node.cjs.js.map +1 -1
  19. package/dist/index.node.mjs +2675 -25
  20. package/dist/index.node.mjs.map +1 -1
  21. package/dist/index.rn.js +1068 -1068
  22. package/dist/index.rn.js.map +1 -1
  23. package/dist/internal.d.ts +8 -8
  24. package/dist/lite/firestore/src/api/snapshot.d.ts +6 -6
  25. package/dist/lite/firestore/src/lite-api/snapshot.d.ts +2 -2
  26. package/dist/lite/firestore/test/integration/bootstrap.d.ts +0 -1
  27. package/dist/lite/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  28. package/dist/lite/firestore/test/integration/util/firebase_export.d.ts +6 -14
  29. package/dist/lite/firestore/test/integration/util/helpers.d.ts +18 -18
  30. package/dist/lite/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  31. package/dist/lite/firestore/test/integration/util/settings.d.ts +2 -2
  32. package/dist/lite/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  33. package/dist/lite/firestore/test/util/api_helpers.d.ts +1 -1
  34. package/dist/lite/firestore/test/util/helpers.d.ts +4 -6
  35. package/dist/lite/index.browser.esm2017.js +124 -124
  36. package/dist/lite/index.browser.esm2017.js.map +1 -1
  37. package/dist/lite/index.browser.esm5.js +99 -99
  38. package/dist/lite/index.browser.esm5.js.map +1 -1
  39. package/dist/lite/index.d.ts +2 -2
  40. package/dist/lite/index.node.cjs.js +11 -12
  41. package/dist/lite/index.node.cjs.js.map +1 -1
  42. package/dist/lite/index.node.mjs +11 -12
  43. package/dist/lite/index.node.mjs.map +1 -1
  44. package/dist/lite/index.rn.esm2017.js +148 -148
  45. package/dist/lite/index.rn.esm2017.js.map +1 -1
  46. package/dist/lite/internal.d.ts +2 -2
  47. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +16 -16
  48. package/dist/lite/packages/firestore/src/api/snapshot.d.ts +6 -6
  49. package/dist/lite/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
  50. package/dist/lite/packages/firestore/test/integration/bootstrap.d.ts +0 -1
  51. package/dist/lite/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  52. package/dist/lite/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
  53. package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +18 -18
  54. package/dist/lite/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  55. package/dist/lite/packages/firestore/test/integration/util/settings.d.ts +2 -2
  56. package/dist/lite/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  57. package/dist/lite/packages/firestore/test/util/api_helpers.d.ts +1 -1
  58. package/dist/lite/packages/firestore/test/util/helpers.d.ts +4 -6
  59. package/dist/lite/private.d.ts +2 -2
  60. package/dist/packages/firestore/dist/index.esm2017.d.ts +105 -105
  61. package/dist/packages/firestore/src/api/snapshot.d.ts +6 -6
  62. package/dist/packages/firestore/src/lite-api/snapshot.d.ts +2 -2
  63. package/dist/packages/firestore/test/integration/bootstrap.d.ts +0 -1
  64. package/dist/packages/firestore/test/integration/util/events_accumulator.d.ts +2 -2
  65. package/dist/packages/firestore/test/integration/util/firebase_export.d.ts +6 -14
  66. package/dist/packages/firestore/test/integration/util/helpers.d.ts +18 -18
  67. package/dist/packages/firestore/test/integration/util/internal_helpers.d.ts +3 -3
  68. package/dist/packages/firestore/test/integration/util/settings.d.ts +2 -2
  69. package/dist/packages/firestore/test/unit/api/{blob.test.d.ts → bytes.test.d.ts} +0 -0
  70. package/dist/packages/firestore/test/util/api_helpers.d.ts +1 -1
  71. package/dist/packages/firestore/test/util/helpers.d.ts +4 -6
  72. package/dist/private.d.ts +8 -8
  73. package/package.json +10 -13
  74. package/dist/firestore/compat/api/blob.d.ts +0 -29
  75. package/dist/firestore/compat/api/database.d.ts +0 -228
  76. package/dist/firestore/compat/api/field_path.d.ts +0 -36
  77. package/dist/firestore/compat/api/field_value.d.ts +0 -29
  78. package/dist/firestore/compat/api/geo_point.d.ts +0 -17
  79. package/dist/firestore/compat/api/observer.d.ts +0 -29
  80. package/dist/firestore/compat/api/timestamp.d.ts +0 -17
  81. package/dist/firestore/compat/config.d.ts +0 -28
  82. package/dist/firestore/compat/index.console.d.ts +0 -42
  83. package/dist/firestore/compat/index.d.ts +0 -49
  84. package/dist/firestore/compat/index.node.d.ts +0 -22
  85. package/dist/firestore/compat/index.rn.d.ts +0 -22
  86. package/dist/firestore/compat/register-module.d.ts +0 -42
  87. package/dist/firestore/compat/util/input_validation.d.ts +0 -18
  88. package/dist/lite/firestore/compat/api/blob.d.ts +0 -29
  89. package/dist/lite/firestore/compat/api/database.d.ts +0 -228
  90. package/dist/lite/firestore/compat/api/field_path.d.ts +0 -36
  91. package/dist/lite/firestore/compat/api/field_value.d.ts +0 -29
  92. package/dist/lite/firestore/compat/api/geo_point.d.ts +0 -17
  93. package/dist/lite/firestore/compat/api/observer.d.ts +0 -29
  94. package/dist/lite/firestore/compat/api/timestamp.d.ts +0 -17
  95. package/dist/lite/firestore/compat/config.d.ts +0 -28
  96. package/dist/lite/firestore/compat/index.console.d.ts +0 -42
  97. package/dist/lite/firestore/compat/index.d.ts +0 -49
  98. package/dist/lite/firestore/compat/index.node.d.ts +0 -22
  99. package/dist/lite/firestore/compat/index.rn.d.ts +0 -22
  100. package/dist/lite/firestore/compat/register-module.d.ts +0 -42
  101. package/dist/lite/firestore/compat/util/input_validation.d.ts +0 -18
  102. package/dist/lite/packages/firestore/compat/api/blob.d.ts +0 -29
  103. package/dist/lite/packages/firestore/compat/api/database.d.ts +0 -228
  104. package/dist/lite/packages/firestore/compat/api/field_path.d.ts +0 -36
  105. package/dist/lite/packages/firestore/compat/api/field_value.d.ts +0 -29
  106. package/dist/lite/packages/firestore/compat/api/geo_point.d.ts +0 -17
  107. package/dist/lite/packages/firestore/compat/api/observer.d.ts +0 -29
  108. package/dist/lite/packages/firestore/compat/api/timestamp.d.ts +0 -17
  109. package/dist/lite/packages/firestore/compat/config.d.ts +0 -28
  110. package/dist/lite/packages/firestore/compat/index.console.d.ts +0 -42
  111. package/dist/lite/packages/firestore/compat/index.d.ts +0 -49
  112. package/dist/lite/packages/firestore/compat/index.node.d.ts +0 -22
  113. package/dist/lite/packages/firestore/compat/index.rn.d.ts +0 -22
  114. package/dist/lite/packages/firestore/compat/register-module.d.ts +0 -42
  115. package/dist/lite/packages/firestore/compat/util/input_validation.d.ts +0 -18
  116. package/dist/lite/src/protos/README.md +0 -2
  117. package/dist/lite/src/protos/firestore/bundle.proto +0 -121
  118. package/dist/lite/src/protos/firestore_bundle_proto.ts +0 -93
  119. package/dist/lite/src/protos/firestore_proto_api.ts +0 -1259
  120. package/dist/lite/src/protos/google/api/annotations.proto +0 -31
  121. package/dist/lite/src/protos/google/api/http.proto +0 -370
  122. package/dist/lite/src/protos/google/firestore/v1/common.proto +0 -84
  123. package/dist/lite/src/protos/google/firestore/v1/document.proto +0 -151
  124. package/dist/lite/src/protos/google/firestore/v1/firestore.proto +0 -761
  125. package/dist/lite/src/protos/google/firestore/v1/query.proto +0 -302
  126. package/dist/lite/src/protos/google/firestore/v1/write.proto +0 -264
  127. package/dist/lite/src/protos/google/protobuf/any.proto +0 -155
  128. package/dist/lite/src/protos/google/protobuf/descriptor.proto +0 -882
  129. package/dist/lite/src/protos/google/protobuf/empty.proto +0 -52
  130. package/dist/lite/src/protos/google/protobuf/struct.proto +0 -96
  131. package/dist/lite/src/protos/google/protobuf/timestamp.proto +0 -137
  132. package/dist/lite/src/protos/google/protobuf/wrappers.proto +0 -123
  133. package/dist/lite/src/protos/google/rpc/status.proto +0 -92
  134. package/dist/lite/src/protos/google/type/latlng.proto +0 -71
  135. package/dist/lite/src/protos/update.sh +0 -61
  136. package/dist/packages/firestore/compat/api/blob.d.ts +0 -29
  137. package/dist/packages/firestore/compat/api/database.d.ts +0 -228
  138. package/dist/packages/firestore/compat/api/field_path.d.ts +0 -36
  139. package/dist/packages/firestore/compat/api/field_value.d.ts +0 -29
  140. package/dist/packages/firestore/compat/api/geo_point.d.ts +0 -17
  141. package/dist/packages/firestore/compat/api/observer.d.ts +0 -29
  142. package/dist/packages/firestore/compat/api/timestamp.d.ts +0 -17
  143. package/dist/packages/firestore/compat/config.d.ts +0 -28
  144. package/dist/packages/firestore/compat/index.console.d.ts +0 -42
  145. package/dist/packages/firestore/compat/index.d.ts +0 -49
  146. package/dist/packages/firestore/compat/index.node.d.ts +0 -22
  147. package/dist/packages/firestore/compat/index.rn.d.ts +0 -22
  148. package/dist/packages/firestore/compat/register-module.d.ts +0 -42
  149. package/dist/packages/firestore/compat/util/input_validation.d.ts +0 -18
  150. package/dist/src/protos/README.md +0 -2
  151. package/dist/src/protos/firestore/bundle.proto +0 -121
  152. package/dist/src/protos/firestore_bundle_proto.ts +0 -93
  153. package/dist/src/protos/firestore_proto_api.ts +0 -1259
  154. package/dist/src/protos/google/api/annotations.proto +0 -31
  155. package/dist/src/protos/google/api/http.proto +0 -370
  156. package/dist/src/protos/google/firestore/v1/common.proto +0 -84
  157. package/dist/src/protos/google/firestore/v1/document.proto +0 -151
  158. package/dist/src/protos/google/firestore/v1/firestore.proto +0 -761
  159. package/dist/src/protos/google/firestore/v1/query.proto +0 -302
  160. package/dist/src/protos/google/firestore/v1/write.proto +0 -264
  161. package/dist/src/protos/google/protobuf/any.proto +0 -155
  162. package/dist/src/protos/google/protobuf/descriptor.proto +0 -882
  163. package/dist/src/protos/google/protobuf/empty.proto +0 -52
  164. package/dist/src/protos/google/protobuf/struct.proto +0 -96
  165. package/dist/src/protos/google/protobuf/timestamp.proto +0 -137
  166. package/dist/src/protos/google/protobuf/wrappers.proto +0 -123
  167. package/dist/src/protos/google/rpc/status.proto +0 -92
  168. package/dist/src/protos/google/type/latlng.proto +0 -71
  169. package/dist/src/protos/update.sh +0 -61
@@ -1,155 +0,0 @@
1
- // Protocol Buffers - Google's data interchange format
2
- // Copyright 2008 Google Inc. All rights reserved.
3
- // https://developers.google.com/protocol-buffers/
4
- //
5
- // Redistribution and use in source and binary forms, with or without
6
- // modification, are permitted provided that the following conditions are
7
- // met:
8
- //
9
- // * Redistributions of source code must retain the above copyright
10
- // notice, this list of conditions and the following disclaimer.
11
- // * Redistributions in binary form must reproduce the above
12
- // copyright notice, this list of conditions and the following disclaimer
13
- // in the documentation and/or other materials provided with the
14
- // distribution.
15
- // * Neither the name of Google Inc. nor the names of its
16
- // contributors may be used to endorse or promote products derived from
17
- // this software without specific prior written permission.
18
- //
19
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20
- // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21
- // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22
- // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23
- // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24
- // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25
- // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26
- // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27
- // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
- // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
-
31
- syntax = "proto3";
32
-
33
- package google.protobuf;
34
-
35
- option csharp_namespace = "Google.Protobuf.WellKnownTypes";
36
- option go_package = "github.com/golang/protobuf/ptypes/any";
37
- option java_package = "com.google.protobuf";
38
- option java_outer_classname = "AnyProto";
39
- option java_multiple_files = true;
40
- option objc_class_prefix = "GPB";
41
-
42
- // `Any` contains an arbitrary serialized protocol buffer message along with a
43
- // URL that describes the type of the serialized message.
44
- //
45
- // Protobuf library provides support to pack/unpack Any values in the form
46
- // of utility functions or additional generated methods of the Any type.
47
- //
48
- // Example 1: Pack and unpack a message in C++.
49
- //
50
- // Foo foo = ...;
51
- // Any any;
52
- // any.PackFrom(foo);
53
- // ...
54
- // if (any.UnpackTo(&foo)) {
55
- // ...
56
- // }
57
- //
58
- // Example 2: Pack and unpack a message in Java.
59
- //
60
- // Foo foo = ...;
61
- // Any any = Any.pack(foo);
62
- // ...
63
- // if (any.is(Foo.class)) {
64
- // foo = any.unpack(Foo.class);
65
- // }
66
- //
67
- // Example 3: Pack and unpack a message in Python.
68
- //
69
- // foo = Foo(...)
70
- // any = Any()
71
- // any.Pack(foo)
72
- // ...
73
- // if any.Is(Foo.DESCRIPTOR):
74
- // any.Unpack(foo)
75
- // ...
76
- //
77
- // Example 4: Pack and unpack a message in Go
78
- //
79
- // foo := &pb.Foo{...}
80
- // any, err := ptypes.MarshalAny(foo)
81
- // ...
82
- // foo := &pb.Foo{}
83
- // if err := ptypes.UnmarshalAny(any, foo); err != nil {
84
- // ...
85
- // }
86
- //
87
- // The pack methods provided by protobuf library will by default use
88
- // 'type.googleapis.com/full.type.name' as the type URL and the unpack
89
- // methods only use the fully qualified type name after the last '/'
90
- // in the type URL, for example "foo.bar.com/x/y.z" will yield type
91
- // name "y.z".
92
- //
93
- //
94
- // JSON
95
- // ====
96
- // The JSON representation of an `Any` value uses the regular
97
- // representation of the deserialized, embedded message, with an
98
- // additional field `@type` which contains the type URL. Example:
99
- //
100
- // package google.profile;
101
- // message Person {
102
- // string first_name = 1;
103
- // string last_name = 2;
104
- // }
105
- //
106
- // {
107
- // "@type": "type.googleapis.com/google.profile.Person",
108
- // "firstName": <string>,
109
- // "lastName": <string>
110
- // }
111
- //
112
- // If the embedded message type is well-known and has a custom JSON
113
- // representation, that representation will be embedded adding a field
114
- // `value` which holds the custom JSON in addition to the `@type`
115
- // field. Example (for message [google.protobuf.Duration][]):
116
- //
117
- // {
118
- // "@type": "type.googleapis.com/google.protobuf.Duration",
119
- // "value": "1.212s"
120
- // }
121
- //
122
- message Any {
123
- // A URL/resource name that uniquely identifies the type of the serialized
124
- // protocol buffer message. This string must contain at least
125
- // one "/" character. The last segment of the URL's path must represent
126
- // the fully qualified name of the type (as in
127
- // `path/google.protobuf.Duration`). The name should be in a canonical form
128
- // (e.g., leading "." is not accepted).
129
- //
130
- // In practice, teams usually precompile into the binary all types that they
131
- // expect it to use in the context of Any. However, for URLs which use the
132
- // scheme `http`, `https`, or no scheme, one can optionally set up a type
133
- // server that maps type URLs to message definitions as follows:
134
- //
135
- // * If no scheme is provided, `https` is assumed.
136
- // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
137
- // value in binary format, or produce an error.
138
- // * Applications are allowed to cache lookup results based on the
139
- // URL, or have them precompiled into a binary to avoid any
140
- // lookup. Therefore, binary compatibility needs to be preserved
141
- // on changes to types. (Use versioned type names to manage
142
- // breaking changes.)
143
- //
144
- // Note: this functionality is not currently available in the official
145
- // protobuf release, and it is not used for type URLs beginning with
146
- // type.googleapis.com.
147
- //
148
- // Schemes other than `http`, `https` (or the empty scheme) might be
149
- // used with implementation specific semantics.
150
- //
151
- string type_url = 1;
152
-
153
- // Must be a valid serialized protocol buffer of the above specified type.
154
- bytes value = 2;
155
- }