add missing externs to repo

This commit is contained in:
2024-10-13 17:40:46 -05:00
parent b211bc0c4b
commit 2b6830784c
554 changed files with 13165 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef APIChildScope = String;

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef APIEvent = String;

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef APIEvents = Array<String>;

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef APIParentScope = String;

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef APIPath = Array<String>;

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef APIPaths = Array<APIPath>;

View File

@@ -0,0 +1,15 @@
package webextension_polyfill.experiments;
typedef ExperimentAPI = {
var schema : String;
/**
Optional.
**/
@:optional
var parent : ExperimentAPIParentType;
/**
Optional.
**/
@:optional
var child : ExperimentAPIChildType;
};

View File

@@ -0,0 +1,7 @@
package webextension_polyfill.experiments;
typedef ExperimentAPIChildType = {
var paths : APIPaths;
var script : String;
var scopes : Array<APIChildScope>;
};

View File

@@ -0,0 +1,20 @@
package webextension_polyfill.experiments;
typedef ExperimentAPIParentType = {
/**
Optional.
**/
@:optional
var events : APIEvents;
/**
Optional.
**/
@:optional
var paths : APIPaths;
var script : String;
/**
Optional.
**/
@:optional
var scopes : Array<APIParentScope>;
};

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef ExperimentURL = String;

View File

@@ -0,0 +1,3 @@
package webextension_polyfill.experiments;
typedef Static = { };