add firefox extension template

This commit is contained in:
2025-08-07 16:03:16 -05:00
parent 6cbb29fed1
commit 5df289ffcb
586 changed files with 13636 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
package webextension_polyfill.history;
/**
An object encapsulating one visit to a URL.
**/
typedef VisitItem = {
/**
The unique identifier for the item.
**/
var id : String;
/**
The unique identifier for this visit.
**/
var visitId : String;
/**
When this visit occurred, represented in milliseconds since the epoch.
Optional.
**/
@:optional
var visitTime : Float;
/**
The visit ID of the referrer.
**/
var referringVisitId : String;
/**
The $(topic:transition-types)[transition type] for this visit from its referrer.
**/
var transition : TransitionType;
};