@maxim_mazurok/gapi.client.datastore-v1beta3 0.0.20230722 → 0.0.20230729

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 (3) hide show
  1. package/index.d.ts +17 -1
  2. package/package.json +1 -1
  3. package/tests.ts +11 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://datastore.googleapis.com/$discovery/rest?version=v1beta3
12
- // Revision: 20230722
12
+ // Revision: 20230729
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -31,9 +31,15 @@ declare namespace gapi.client {
31
31
  */
32
32
  alias?:
33
33
  string;
34
+ /** Average aggregator. */
35
+ avg?:
36
+ Avg;
34
37
  /** Count aggregator. */
35
38
  count?:
36
39
  Count;
40
+ /** Sum aggregator. */
41
+ sum?:
42
+ Sum;
37
43
  }
38
44
  interface AggregationQuery {
39
45
  /** Optional. Series of aggregations to apply over the results of the `nested_query`. Requires: * A minimum of one and maximum of five aggregations per query. */
@@ -80,6 +86,11 @@ declare namespace gapi.client {
80
86
  values?:
81
87
  Value[];
82
88
  }
89
+ interface Avg {
90
+ /** The property to aggregate on. */
91
+ property?:
92
+ PropertyReference;
93
+ }
83
94
  interface BeginTransactionRequest {
84
95
  /** Options for a new transaction. */
85
96
  transactionOptions?:
@@ -727,6 +738,11 @@ declare namespace gapi.client {
727
738
  query?:
728
739
  Query;
729
740
  }
741
+ interface Sum {
742
+ /** The property to aggregate on. */
743
+ property?:
744
+ PropertyReference;
745
+ }
730
746
  interface TransactionOptions {
731
747
  /** The transaction should only allow reads. */
732
748
  readOnly?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastore-v1beta3",
3
- "version": "0.0.20230722",
3
+ "version": "0.0.20230729",
4
4
  "description": "TypeScript typings for Cloud Datastore API v1beta3",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230722
6
+ // Revision: 20230729
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -297,9 +297,19 @@ gapi.load('client', async () => {
297
297
  aggregations: [
298
298
  {
299
299
  alias: "Test string",
300
+ avg: {
301
+ property: {
302
+ name: "Test string",
303
+ },
304
+ },
300
305
  count: {
301
306
  upTo: "Test string",
302
307
  },
308
+ sum: {
309
+ property: {
310
+ name: "Test string",
311
+ },
312
+ },
303
313
  }
304
314
  ],
305
315
  nestedQuery: {