@maxim_mazurok/gapi.client.datastore-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 -19
  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://datastore.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20260608
12
+ // Revision: 20260610
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -163,10 +163,7 @@ declare namespace gapi.client {
163
163
  interface FindNearest {
164
164
  /** Required. The Distance Measure to use, required. */
165
165
  distanceMeasure?:
166
- | 'DISTANCE_MEASURE_UNSPECIFIED'
167
- | 'EUCLIDEAN'
168
- | 'COSINE'
169
- | 'DOT_PRODUCT';
166
+ 'DISTANCE_MEASURE_UNSPECIFIED' | 'EUCLIDEAN' | 'COSINE' | 'DOT_PRODUCT';
170
167
  /** Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to entity property limitations. */
171
168
  distanceResultProperty?: string;
172
169
  /** 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 */
@@ -185,9 +182,7 @@ declare namespace gapi.client {
185
182
  labels?: {[P in string]: string};
186
183
  /** The type of the operation. Can be used as a filter in ListOperationsRequest. */
187
184
  operationType?:
188
- | 'OPERATION_TYPE_UNSPECIFIED'
189
- | 'EXPORT_ENTITIES'
190
- | 'IMPORT_ENTITIES';
185
+ 'OPERATION_TYPE_UNSPECIFIED' | 'EXPORT_ENTITIES' | 'IMPORT_ENTITIES';
191
186
  /** The time that work began on the operation. */
192
187
  startTime?: string;
193
188
  /** The current state of the Operation. */
@@ -269,10 +264,7 @@ declare namespace gapi.client {
269
264
  interface GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata {
270
265
  /** The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
271
266
  migrationState?:
272
- | 'MIGRATION_STATE_UNSPECIFIED'
273
- | 'RUNNING'
274
- | 'PAUSED'
275
- | 'COMPLETE';
267
+ 'MIGRATION_STATE_UNSPECIFIED' | 'RUNNING' | 'PAUSED' | 'COMPLETE';
276
268
  /** The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
277
269
  migrationStep?:
278
270
  | 'MIGRATION_STEP_UNSPECIFIED'
@@ -489,9 +481,7 @@ declare namespace gapi.client {
489
481
  baseVersion?: string;
490
482
  /** The strategy to use when a conflict is detected. Defaults to `SERVER_VALUE`. If this is set, then `conflict_detection_strategy` must also be set. */
491
483
  conflictResolutionStrategy?:
492
- | 'STRATEGY_UNSPECIFIED'
493
- | 'SERVER_VALUE'
494
- | 'FAIL';
484
+ 'STRATEGY_UNSPECIFIED' | 'SERVER_VALUE' | 'FAIL';
495
485
  /** The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only. */
496
486
  delete?: Key;
497
487
  /** The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete. */
@@ -622,10 +612,7 @@ declare namespace gapi.client {
622
612
  entityResults?: EntityResult[];
623
613
  /** The result type for every entity in `entity_results`. */
624
614
  entityResultType?:
625
- | 'RESULT_TYPE_UNSPECIFIED'
626
- | 'FULL'
627
- | 'PROJECTION'
628
- | 'KEY_ONLY';
615
+ 'RESULT_TYPE_UNSPECIFIED' | 'FULL' | 'PROJECTION' | 'KEY_ONLY';
629
616
  /** The state of the query after the current batch. */
630
617
  moreResults?:
631
618
  | 'MORE_RESULTS_TYPE_UNSPECIFIED'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastore-v1",
3
- "version": "0.2.20260608",
3
+ "version": "0.3.20260610",
4
4
  "description": "TypeScript typings for Cloud Datastore API v1",
5
5
  "repository": {
6
6
  "type": "git",