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,36 @@
package webextension_polyfill.contextualidentities;
typedef Static = {
/**
Retrieves information about a single contextual identity.
**/
function get(cookieStoreId:String):js.lib.Promise<ContextualIdentity>;
/**
Retrieves all contextual identities
**/
function query(details:QueryDetailsType):js.lib.Promise<Array<ContextualIdentity>>;
/**
Creates a contextual identity with the given data.
**/
function create(details:CreateDetailsType):js.lib.Promise<ContextualIdentity>;
/**
Updates a contextual identity with the given data.
**/
function update(cookieStoreId:String, details:UpdateDetailsType):js.lib.Promise<ContextualIdentity>;
/**
Deletes a contetual identity by its cookie Store ID.
**/
function remove(cookieStoreId:String):js.lib.Promise<ContextualIdentity>;
/**
Fired when a container is updated.
**/
var onUpdated : webextension_polyfill.events.Event<(changeInfo:OnUpdatedChangeInfoType) -> Void>;
/**
Fired when a new container is created.
**/
var onCreated : webextension_polyfill.events.Event<(changeInfo:OnCreatedChangeInfoType) -> Void>;
/**
Fired when a container is removed.
**/
var onRemoved : webextension_polyfill.events.Event<(changeInfo:OnRemovedChangeInfoType) -> Void>;
};