add missing externs to repo
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef APIChildScope = String;
|
3
externs/webextension_polyfill/experiments/APIEvent.hx
Normal file
3
externs/webextension_polyfill/experiments/APIEvent.hx
Normal file
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef APIEvent = String;
|
3
externs/webextension_polyfill/experiments/APIEvents.hx
Normal file
3
externs/webextension_polyfill/experiments/APIEvents.hx
Normal file
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef APIEvents = Array<String>;
|
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef APIParentScope = String;
|
3
externs/webextension_polyfill/experiments/APIPath.hx
Normal file
3
externs/webextension_polyfill/experiments/APIPath.hx
Normal file
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef APIPath = Array<String>;
|
3
externs/webextension_polyfill/experiments/APIPaths.hx
Normal file
3
externs/webextension_polyfill/experiments/APIPaths.hx
Normal file
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef APIPaths = Array<APIPath>;
|
15
externs/webextension_polyfill/experiments/ExperimentAPI.hx
Normal file
15
externs/webextension_polyfill/experiments/ExperimentAPI.hx
Normal file
@@ -0,0 +1,15 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef ExperimentAPI = {
|
||||
var schema : String;
|
||||
/**
|
||||
Optional.
|
||||
**/
|
||||
@:optional
|
||||
var parent : ExperimentAPIParentType;
|
||||
/**
|
||||
Optional.
|
||||
**/
|
||||
@:optional
|
||||
var child : ExperimentAPIChildType;
|
||||
};
|
@@ -0,0 +1,7 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef ExperimentAPIChildType = {
|
||||
var paths : APIPaths;
|
||||
var script : String;
|
||||
var scopes : Array<APIChildScope>;
|
||||
};
|
@@ -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>;
|
||||
};
|
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef ExperimentURL = String;
|
3
externs/webextension_polyfill/experiments/Static.hx
Normal file
3
externs/webextension_polyfill/experiments/Static.hx
Normal file
@@ -0,0 +1,3 @@
|
||||
package webextension_polyfill.experiments;
|
||||
|
||||
typedef Static = { };
|
Reference in New Issue
Block a user