1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// @generated by `just generate-methods` from protocol/*.json.
// Do not edit by hand; edit xtask/ and regenerate.
//! The `IndexedDB` domain.
//!
//! Method names for the `IndexedDB` domain, for use with
//! [`CdpClient::call`](crate::CdpClient::call).
//!
//! This domain is experimental and may change without notice.
/// Clears all entries from an object store.
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
/// - `databaseName`: string
/// - `objectStoreName`: string
pub const CLEAR_OBJECT_STORE: &str = "IndexedDB.clearObjectStore";
/// Deletes a database.
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
/// - `databaseName`: string
pub const DELETE_DATABASE: &str = "IndexedDB.deleteDatabase";
/// Delete a range of entries from an object store
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
/// - `databaseName`: string
/// - `objectStoreName`: string
/// - `keyRange`: KeyRange
pub const DELETE_OBJECT_STORE_ENTRIES: &str = "IndexedDB.deleteObjectStoreEntries";
/// Disables events from backend.
pub const DISABLE: &str = "IndexedDB.disable";
/// Enables events from backend.
pub const ENABLE: &str = "IndexedDB.enable";
/// Requests data from object store or index.
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
/// - `databaseName`: string
/// - `objectStoreName`: string
/// - `indexName`: string (optional)
/// - `skipCount`: integer
/// - `pageSize`: integer
/// - `keyRange`: KeyRange (optional)
///
/// Returns: `objectStoreDataEntries`, `hasMore`
pub const REQUEST_DATA: &str = "IndexedDB.requestData";
/// Gets metadata of an object store.
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
/// - `databaseName`: string
/// - `objectStoreName`: string
///
/// Returns: `entriesCount`, `keyGeneratorValue`
pub const GET_METADATA: &str = "IndexedDB.getMetadata";
/// Requests database with given name in given frame.
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
/// - `databaseName`: string
///
/// Returns: `databaseWithObjectStores`
pub const REQUEST_DATABASE: &str = "IndexedDB.requestDatabase";
/// Requests database names for given security origin.
///
/// Parameters:
/// - `securityOrigin`: string (optional)
/// - `storageKey`: string (optional)
/// - `storageBucket`: Storage.StorageBucket (optional)
///
/// Returns: `databaseNames`
pub const REQUEST_DATABASE_NAMES: &str = "IndexedDB.requestDatabaseNames";