@maxim_mazurok/gapi.client.datastore-v1 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=v1
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. */
@@ -83,6 +89,11 @@ declare namespace gapi.client {
83
89
  values?:
84
90
  Value[];
85
91
  }
92
+ interface Avg {
93
+ /** The property to aggregate on. */
94
+ property?:
95
+ PropertyReference;
96
+ }
86
97
  interface BeginTransactionRequest {
87
98
  /** The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. */
88
99
  databaseId?:
@@ -901,6 +912,11 @@ declare namespace gapi.client {
901
912
  message?:
902
913
  string;
903
914
  }
915
+ interface Sum {
916
+ /** The property to aggregate on. */
917
+ property?:
918
+ PropertyReference;
919
+ }
904
920
  interface TransactionOptions {
905
921
  /** The transaction should only allow reads. */
906
922
  readOnly?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastore-v1",
3
- "version": "0.0.20230722",
3
+ "version": "0.0.20230729",
4
4
  "description": "TypeScript typings for Cloud Datastore API v1",
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 */
@@ -369,9 +369,19 @@ gapi.load('client', async () => {
369
369
  aggregations: [
370
370
  {
371
371
  alias: "Test string",
372
+ avg: {
373
+ property: {
374
+ name: "Test string",
375
+ },
376
+ },
372
377
  count: {
373
378
  upTo: "Test string",
374
379
  },
380
+ sum: {
381
+ property: {
382
+ name: "Test string",
383
+ },
384
+ },
375
385
  }
376
386
  ],
377
387
  nestedQuery: {