Changeset View
Changeset View
Standalone View
Standalone View
web/types/worker-types.js
Show All 30 Lines | export type PingWorkerRequestMessage = { | ||||
+type: 0, | +type: 0, | ||||
+text: string, | +text: string, | ||||
}; | }; | ||||
export type InitWorkerRequestMessage = { | export type InitWorkerRequestMessage = { | ||||
+type: 1, | +type: 1, | ||||
+sqljsFilePath: string, | +sqljsFilePath: string, | ||||
+sqljsFilename: ?string, | +sqljsFilename: ?string, | ||||
+encryptionKey?: ?SubtleCrypto$JsonWebKey, | |||||
}; | }; | ||||
export type GenerateDatabaseEncryptionKeyRequestMessage = { | export type GenerateDatabaseEncryptionKeyRequestMessage = { | ||||
+type: 2, | +type: 2, | ||||
}; | }; | ||||
export type ProcessStoreOperationsRequestMessage = { | export type ProcessStoreOperationsRequestMessage = { | ||||
+type: 3, | +type: 3, | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |