update template

This commit is contained in:
2025-02-02 18:08:09 -06:00
parent f070c12273
commit a04e2bb9d1
575 changed files with 13430 additions and 55 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 = { };