devtools-protocol 0.0.1323829 → 0.0.1324661

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.
@@ -9882,6 +9882,108 @@
9882
9882
  }
9883
9883
  ]
9884
9884
  },
9885
+ {
9886
+ "domain": "FileSystem",
9887
+ "experimental": true,
9888
+ "dependencies": [
9889
+ "Network",
9890
+ "Storage"
9891
+ ],
9892
+ "types": [
9893
+ {
9894
+ "id": "File",
9895
+ "type": "object",
9896
+ "properties": [
9897
+ {
9898
+ "name": "name",
9899
+ "type": "string"
9900
+ },
9901
+ {
9902
+ "name": "lastModified",
9903
+ "description": "Timestamp",
9904
+ "$ref": "Network.TimeSinceEpoch"
9905
+ },
9906
+ {
9907
+ "name": "size",
9908
+ "description": "Size in bytes",
9909
+ "type": "number"
9910
+ },
9911
+ {
9912
+ "name": "type",
9913
+ "type": "string"
9914
+ }
9915
+ ]
9916
+ },
9917
+ {
9918
+ "id": "Directory",
9919
+ "type": "object",
9920
+ "properties": [
9921
+ {
9922
+ "name": "name",
9923
+ "type": "string"
9924
+ },
9925
+ {
9926
+ "name": "nestedDirectories",
9927
+ "type": "array",
9928
+ "items": {
9929
+ "type": "string"
9930
+ }
9931
+ },
9932
+ {
9933
+ "name": "nestedFiles",
9934
+ "description": "Files that are directly nested under this directory.",
9935
+ "type": "array",
9936
+ "items": {
9937
+ "$ref": "File"
9938
+ }
9939
+ }
9940
+ ]
9941
+ },
9942
+ {
9943
+ "id": "BucketFileSystemLocator",
9944
+ "type": "object",
9945
+ "properties": [
9946
+ {
9947
+ "name": "storageKey",
9948
+ "description": "Storage key",
9949
+ "$ref": "Storage.SerializedStorageKey"
9950
+ },
9951
+ {
9952
+ "name": "bucketName",
9953
+ "description": "Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)",
9954
+ "optional": true,
9955
+ "type": "string"
9956
+ },
9957
+ {
9958
+ "name": "pathComponents",
9959
+ "description": "Path to the directory using each path component as an array item.",
9960
+ "type": "array",
9961
+ "items": {
9962
+ "type": "string"
9963
+ }
9964
+ }
9965
+ ]
9966
+ }
9967
+ ],
9968
+ "commands": [
9969
+ {
9970
+ "name": "getDirectory",
9971
+ "parameters": [
9972
+ {
9973
+ "name": "bucketFileSystemLocator",
9974
+ "$ref": "BucketFileSystemLocator"
9975
+ }
9976
+ ],
9977
+ "returns": [
9978
+ {
9979
+ "name": "directory",
9980
+ "description": "Returns the directory object at the path.",
9981
+ "$ref": "Directory"
9982
+ }
9983
+ ]
9984
+ }
9985
+ ]
9986
+ },
9885
9987
  {
9886
9988
  "domain": "IndexedDB",
9887
9989
  "experimental": true,
@@ -21617,6 +21719,10 @@
21617
21719
  "name": "value",
21618
21720
  "description": "number instead of integer because not all uint32 can be represented by\nint",
21619
21721
  "type": "number"
21722
+ },
21723
+ {
21724
+ "name": "filteringId",
21725
+ "$ref": "UnsignedInt64AsBase10"
21620
21726
  }
21621
21727
  ]
21622
21728
  },
@@ -21742,6 +21848,10 @@
21742
21848
  "$ref": "AttributionReportingAggregatableValueEntry"
21743
21849
  }
21744
21850
  },
21851
+ {
21852
+ "name": "aggregatableFilteringIdMaxBytes",
21853
+ "type": "integer"
21854
+ },
21745
21855
  {
21746
21856
  "name": "debugReporting",
21747
21857
  "type": "boolean"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1323829",
3
+ "version": "0.0.1324661",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -4560,6 +4560,42 @@ domain IO
4560
4560
  # UUID of the specified Blob.
4561
4561
  string uuid
4562
4562
 
4563
+ experimental domain FileSystem
4564
+ depends on Network
4565
+ depends on Storage
4566
+
4567
+ type File extends object
4568
+ properties
4569
+ string name
4570
+ # Timestamp
4571
+ Network.TimeSinceEpoch lastModified
4572
+ # Size in bytes
4573
+ number size
4574
+ string type
4575
+
4576
+ type Directory extends object
4577
+ properties
4578
+ string name
4579
+ array of string nestedDirectories
4580
+ # Files that are directly nested under this directory.
4581
+ array of File nestedFiles
4582
+
4583
+ type BucketFileSystemLocator extends object
4584
+ properties
4585
+ # Storage key
4586
+ Storage.SerializedStorageKey storageKey
4587
+ # Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
4588
+ optional string bucketName
4589
+ # Path to the directory using each path component as an array item.
4590
+ array of string pathComponents
4591
+
4592
+ command getDirectory
4593
+ parameters
4594
+ BucketFileSystemLocator bucketFileSystemLocator
4595
+ returns
4596
+ # Returns the directory object at the path.
4597
+ Directory directory
4598
+
4563
4599
  experimental domain IndexedDB
4564
4600
  depends on Runtime
4565
4601
  depends on Storage
@@ -10537,6 +10573,8 @@ experimental domain Storage
10537
10573
  # number instead of integer because not all uint32 can be represented by
10538
10574
  # int
10539
10575
  number value
10576
+ UnsignedInt64AsBase10 filteringId
10577
+
10540
10578
 
10541
10579
  experimental type AttributionReportingAggregatableValueEntry extends object
10542
10580
  properties
@@ -10569,6 +10607,7 @@ experimental domain Storage
10569
10607
  array of AttributionReportingEventTriggerData eventTriggerData
10570
10608
  array of AttributionReportingAggregatableTriggerData aggregatableTriggerData
10571
10609
  array of AttributionReportingAggregatableValueEntry aggregatableValues
10610
+ integer aggregatableFilteringIdMaxBytes
10572
10611
  boolean debugReporting
10573
10612
  optional string aggregationCoordinatorOrigin
10574
10613
  AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
@@ -2869,6 +2869,10 @@ export namespace ProtocolMapping {
2869
2869
  paramsType: [Protocol.IO.ResolveBlobRequest];
2870
2870
  returnType: Protocol.IO.ResolveBlobResponse;
2871
2871
  };
2872
+ 'FileSystem.getDirectory': {
2873
+ paramsType: [Protocol.FileSystem.GetDirectoryRequest];
2874
+ returnType: Protocol.FileSystem.GetDirectoryResponse;
2875
+ };
2872
2876
  /**
2873
2877
  * Clears all entries from an object store.
2874
2878
  */
@@ -62,6 +62,8 @@ export namespace ProtocolProxyApi {
62
62
 
63
63
  IO: IOApi;
64
64
 
65
+ FileSystem: FileSystemApi;
66
+
65
67
  IndexedDB: IndexedDBApi;
66
68
 
67
69
  Input: InputApi;
@@ -1999,6 +2001,11 @@ export namespace ProtocolProxyApi {
1999
2001
 
2000
2002
  }
2001
2003
 
2004
+ export interface FileSystemApi {
2005
+ getDirectory(params: Protocol.FileSystem.GetDirectoryRequest): Promise<Protocol.FileSystem.GetDirectoryResponse>;
2006
+
2007
+ }
2008
+
2002
2009
  export interface IndexedDBApi {
2003
2010
  /**
2004
2011
  * Clears all entries from an object store.
@@ -62,6 +62,8 @@ export namespace ProtocolTestsProxyApi {
62
62
 
63
63
  IO: IOApi;
64
64
 
65
+ FileSystem: FileSystemApi;
66
+
65
67
  IndexedDB: IndexedDBApi;
66
68
 
67
69
  Input: InputApi;
@@ -2123,6 +2125,11 @@ export namespace ProtocolTestsProxyApi {
2123
2125
 
2124
2126
  }
2125
2127
 
2128
+ export interface FileSystemApi {
2129
+ getDirectory(params: Protocol.FileSystem.GetDirectoryRequest): Promise<{id: number, result: Protocol.FileSystem.GetDirectoryResponse, sessionId: string}>;
2130
+
2131
+ }
2132
+
2126
2133
  export interface IndexedDBApi {
2127
2134
  /**
2128
2135
  * Clears all entries from an object store.
@@ -8654,6 +8654,57 @@ export namespace Protocol {
8654
8654
  }
8655
8655
  }
8656
8656
 
8657
+ export namespace FileSystem {
8658
+
8659
+ export interface File {
8660
+ name: string;
8661
+ /**
8662
+ * Timestamp
8663
+ */
8664
+ lastModified: Network.TimeSinceEpoch;
8665
+ /**
8666
+ * Size in bytes
8667
+ */
8668
+ size: number;
8669
+ type: string;
8670
+ }
8671
+
8672
+ export interface Directory {
8673
+ name: string;
8674
+ nestedDirectories: string[];
8675
+ /**
8676
+ * Files that are directly nested under this directory.
8677
+ */
8678
+ nestedFiles: File[];
8679
+ }
8680
+
8681
+ export interface BucketFileSystemLocator {
8682
+ /**
8683
+ * Storage key
8684
+ */
8685
+ storageKey: Storage.SerializedStorageKey;
8686
+ /**
8687
+ * Bucket name. Not passing a `bucketName` will retrieve the default Bucket. (https://developer.mozilla.org/en-US/docs/Web/API/Storage_API#storage_buckets)
8688
+ */
8689
+ bucketName?: string;
8690
+ /**
8691
+ * Path to the directory using each path component as an array item.
8692
+ */
8693
+ pathComponents: string[];
8694
+ }
8695
+
8696
+ export interface GetDirectoryRequest {
8697
+ bucketFileSystemLocator: BucketFileSystemLocator;
8698
+ }
8699
+
8700
+ export interface GetDirectoryResponse {
8701
+ /**
8702
+ * Returns the directory object at the path.
8703
+ */
8704
+ directory: Directory;
8705
+ }
8706
+ }
8707
+
8657
8708
  export namespace IndexedDB {
8658
8709
 
8659
8710
  /**
@@ -15899,6 +15950,7 @@ export namespace Protocol {
15899
15950
  * int
15900
15951
  */
15901
15952
  value: number;
15953
+ filteringId: UnsignedInt64AsBase10;
15902
15954
  }
15903
15955
 
15904
15956
  export interface AttributionReportingAggregatableValueEntry {
@@ -15931,6 +15983,7 @@ export namespace Protocol {
15931
15983
  eventTriggerData: AttributionReportingEventTriggerData[];
15932
15984
  aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
15933
15985
  aggregatableValues: AttributionReportingAggregatableValueEntry[];
15986
+ aggregatableFilteringIdMaxBytes: integer;
15934
15987
  debugReporting: boolean;
15935
15988
  aggregationCoordinatorOrigin?: string;
15936
15989
  sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;