package serviceworker

// AUTOGENERATED. DO NOT EDIT.

import (
	cdp "github.com/knq/chromedp/cdp"
)

// EventWorkerRegistrationUpdated [no description].
type EventWorkerRegistrationUpdated struct {
	Registrations []*Registration `json:"registrations,omitempty"`
}

// EventWorkerVersionUpdated [no description].
type EventWorkerVersionUpdated struct {
	Versions []*Version `json:"versions,omitempty"`
}

// EventWorkerErrorReported [no description].
type EventWorkerErrorReported struct {
	ErrorMessage *ErrorMessage `json:"errorMessage,omitempty"`
}

// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
	cdp.EventServiceWorkerWorkerRegistrationUpdated,
	cdp.EventServiceWorkerWorkerVersionUpdated,
	cdp.EventServiceWorkerWorkerErrorReported,
}