@maxim_mazurok/gapi.client.firebasedatabase-v1beta 0.0.20250126 → 0.0.20250130

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 +7 -7
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20250126
12
+ // Revision: 20250130
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Firebase Realtime Database Management API v1beta */
18
18
  function load(
19
- urlOrObject: 'https://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta'
19
+ urlOrObject: 'https://firebasedatabase.googleapis.com/$discovery/rest?version=v1beta',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'firebasedatabase', version: 'v1beta'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'firebasedatabase',
26
26
  version: 'v1beta',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace firebasedatabase {
@@ -114,7 +114,7 @@ declare namespace gapi.client {
114
114
  /** When set to true, the request will be validated but not submitted. */
115
115
  validateOnly?: boolean;
116
116
  },
117
- body: DatabaseInstance
117
+ body: DatabaseInstance,
118
118
  ): Request<DatabaseInstance>;
119
119
  /** Marks a DatabaseInstance to be deleted. The DatabaseInstance will be set to the DELETED state for 20 days, and will be purged within 30 days. The default database cannot be deleted. IDs for deleted database instances may never be recovered or re-used. The Database may only be deleted if it is already in a DISABLED state. */
120
120
  delete(request?: {
@@ -199,7 +199,7 @@ declare namespace gapi.client {
199
199
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
200
200
  uploadType?: string;
201
201
  },
202
- body: DisableDatabaseInstanceRequest
202
+ body: DisableDatabaseInstanceRequest,
203
203
  ): Request<DatabaseInstance>;
204
204
  /** Gets the DatabaseInstance identified by the specified resource name. */
205
205
  get(request?: {
@@ -317,7 +317,7 @@ declare namespace gapi.client {
317
317
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
318
318
  uploadType?: string;
319
319
  },
320
- body: ReenableDatabaseInstanceRequest
320
+ body: ReenableDatabaseInstanceRequest,
321
321
  ): Request<DatabaseInstance>;
322
322
  /** Restores a DatabaseInstance that was previously marked to be deleted. After the delete method is used, DatabaseInstances are set to the DELETED state for 20 days, and will be purged within 30 days. Databases in the DELETED state can be undeleted without losing any data. This method may only be used on a DatabaseInstance in the DELETED state. Purged DatabaseInstances may not be recovered. */
323
323
  undelete(request: {
@@ -375,7 +375,7 @@ declare namespace gapi.client {
375
375
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
376
376
  uploadType?: string;
377
377
  },
378
- body: UndeleteDatabaseInstanceRequest
378
+ body: UndeleteDatabaseInstanceRequest,
379
379
  ): Request<DatabaseInstance>;
380
380
  }
381
381
  interface LocationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebasedatabase-v1beta",
3
- "version": "0.0.20250126",
3
+ "version": "0.0.20250130",
4
4
  "description": "TypeScript typings for Firebase Realtime Database Management API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.firebasedatabase
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -71,7 +71,7 @@ gapi.auth.authorize(
71
71
  } else {
72
72
  /* handle authorization error */
73
73
  }
74
- }
74
+ },
75
75
  );
76
76
  ```
77
77