@maxim_mazurok/gapi.client.firestore-v1 0.2.20260608 → 0.3.20260610

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 (2) hide show
  1. package/index.d.ts +6 -17
  2. package/package.json +1 -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://firestore.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260608
12
+ // Revision: 20260610
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -287,10 +287,7 @@ declare namespace gapi.client {
287
287
  interface FindNearest {
288
288
  /** Required. The distance measure to use, required. */
289
289
  distanceMeasure?:
290
- | 'DISTANCE_MEASURE_UNSPECIFIED'
291
- | 'EUCLIDEAN'
292
- | 'COSINE'
293
- | 'DOT_PRODUCT';
290
+ 'DISTANCE_MEASURE_UNSPECIFIED' | 'EUCLIDEAN' | 'COSINE' | 'DOT_PRODUCT';
294
291
  /** Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations. */
295
292
  distanceResultField?: string;
296
293
  /** Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: `WHERE distance <= distance_threshold` * For DOT_PRODUCT: `WHERE distance >= distance_threshold` */
@@ -423,9 +420,7 @@ declare namespace gapi.client {
423
420
  interface GoogleFirestoreAdminV1Database {
424
421
  /** The App Engine integration mode to use for this database. */
425
422
  appEngineIntegrationMode?:
426
- | 'APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED'
427
- | 'ENABLED'
428
- | 'DISABLED';
423
+ 'APP_ENGINE_INTEGRATION_MODE_UNSPECIFIED' | 'ENABLED' | 'DISABLED';
429
424
  /** Optional. Presence indicates CMEK is enabled for this database. */
430
425
  cmekConfig?: GoogleFirestoreAdminV1CmekConfig;
431
426
  /** The default concurrency control mode to use for this database. If unspecified in a CreateDatabase request, this will default based on the database edition: Optimistic for Enterprise and Pessimistic for all other databases. While transactions can explicitly specify their own concurrency mode, this setting defines the default behavior when left unspecified. Important: This database-level setting is not respected for Firestore with MongoDB compatibility. All transactions through the MongoDB compatibility layer will use optimistic concurrency control, regardless of this setting. */
@@ -438,9 +433,7 @@ declare namespace gapi.client {
438
433
  createTime?: string;
439
434
  /** Immutable. The edition of the database. */
440
435
  databaseEdition?:
441
- | 'DATABASE_EDITION_UNSPECIFIED'
442
- | 'STANDARD'
443
- | 'ENTERPRISE';
436
+ 'DATABASE_EDITION_UNSPECIFIED' | 'STANDARD' | 'ENTERPRISE';
444
437
  /** State of delete protection for the database. */
445
438
  deleteProtectionState?:
446
439
  | 'DELETE_PROTECTION_STATE_UNSPECIFIED'
@@ -488,9 +481,7 @@ declare namespace gapi.client {
488
481
  tags?: {[P in string]: string};
489
482
  /** Required. The type of the database. See https://cloud.google.com/datastore/docs/firestore-or-datastore for information about how to choose. */
490
483
  type?:
491
- | 'DATABASE_TYPE_UNSPECIFIED'
492
- | 'FIRESTORE_NATIVE'
493
- | 'DATASTORE_MODE';
484
+ 'DATABASE_TYPE_UNSPECIFIED' | 'FIRESTORE_NATIVE' | 'DATASTORE_MODE';
494
485
  /** Output only. The system-generated UUID4 for this Database. */
495
486
  uid?: string;
496
487
  /** Output only. The timestamp at which this database was most recently updated. Note this only includes updates to the database resource and not data contained by the database. */
@@ -1011,9 +1002,7 @@ declare namespace gapi.client {
1011
1002
  interface ReadWrite {
1012
1003
  /** Optional. The concurrency control mode to use for this transaction. A database is able to use different concurrency modes for different transactions simultaneously. 3rd party auth requests are only allowed to create optimistic read-write transactions and must specify that here even if the database-level setting is already configured to optimistic. */
1013
1004
  concurrencyMode?:
1014
- | 'CONCURRENCY_MODE_UNSPECIFIED'
1015
- | 'OPTIMISTIC'
1016
- | 'PESSIMISTIC';
1005
+ 'CONCURRENCY_MODE_UNSPECIFIED' | 'OPTIMISTIC' | 'PESSIMISTIC';
1017
1006
  /** An optional transaction to retry. */
1018
1007
  retryTransaction?: string;
1019
1008
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firestore-v1",
3
- "version": "0.2.20260608",
3
+ "version": "0.3.20260610",
4
4
  "description": "TypeScript typings for Cloud Firestore API v1",
5
5
  "repository": {
6
6
  "type": "git",