Update Flow to 1.22.0, fix #2010

Move entity types out of flow directory into the entity files.
Rename TutanotaFile into File.
Rename CalendarEventBubble attrs onEventClicked -> click because it
doesn't have access to the event.
Use domInput in Dropdown when selecting filtered result because that's
what DropdownN does.

Our current build system is not aware about any recent Flow syntax and
it doesn't know that it should transpile functionCall<type>() into
functionCall(). We have to avoid such syntax for now
This commit is contained in:
ivk 2019-08-30 14:00:15 +02:00
parent b89bf0f19e
commit 14f01b3eeb
No known key found for this signature in database
GPG key ID: C103E7EF5463D318
476 changed files with 4356 additions and 3485 deletions

View file

@ -2,6 +2,7 @@
import {create, TypeRef} from "../../common/EntityFunctions"
export const NotificationSessionKeyTypeRef: TypeRef<NotificationSessionKey> = new TypeRef("sys", "NotificationSessionKey")
export const _TypeModel: TypeModel = {
"name": "NotificationSessionKey",
@ -50,3 +51,12 @@ export const _TypeModel: TypeModel = {
export function createNotificationSessionKey(values?: $Shape<$Exact<NotificationSessionKey>>): NotificationSessionKey {
return Object.assign(create(_TypeModel, NotificationSessionKeyTypeRef), values)
}
export type NotificationSessionKey = {
_type: TypeRef<NotificationSessionKey>;
_id: Id;
pushIdentifierSessionEncSessionKey: Uint8Array;
pushIdentifier: IdTuple;
}