mirror of
https://github.com/tutao/tutanota.git
synced 2025-12-08 06:09:50 +00:00
Anti-phishing system prototype
This commit is contained in:
parent
9c27226b92
commit
315645919d
305 changed files with 3609 additions and 18055 deletions
|
|
@ -2,43 +2,9 @@
|
|||
|
||||
import {create, TypeRef} from "../../common/EntityFunctions"
|
||||
|
||||
export const NotificationSessionKeyTypeRef: TypeRef<NotificationSessionKey> = new TypeRef("sys", "NotificationSessionKey")
|
||||
export const _TypeModel: TypeModel = {
|
||||
"name": "NotificationSessionKey",
|
||||
"since": 48,
|
||||
"type": "AGGREGATED_TYPE",
|
||||
"id": 1553,
|
||||
"rootId": "A3N5cwAGEQ",
|
||||
"versioned": false,
|
||||
"encrypted": false,
|
||||
"values": {
|
||||
"_id": {"name": "_id", "id": 1554, "since": 48, "type": "CustomId", "cardinality": "One", "final": true, "encrypted": false},
|
||||
"pushIdentifierSessionEncSessionKey": {
|
||||
"name": "pushIdentifierSessionEncSessionKey",
|
||||
"id": 1556,
|
||||
"since": 48,
|
||||
"type": "Bytes",
|
||||
"cardinality": "One",
|
||||
"final": false,
|
||||
"encrypted": false
|
||||
}
|
||||
},
|
||||
"associations": {
|
||||
"pushIdentifier": {
|
||||
"name": "pushIdentifier",
|
||||
"id": 1555,
|
||||
"since": 48,
|
||||
"type": "LIST_ELEMENT_ASSOCIATION",
|
||||
"cardinality": "One",
|
||||
"refType": "PushIdentifier",
|
||||
"final": false,
|
||||
"external": false
|
||||
}
|
||||
},
|
||||
"app": "sys",
|
||||
"version": "58"
|
||||
}
|
||||
export const NotificationSessionKeyTypeRef:TypeRef<NotificationSessionKey> = new TypeRef("sys", "NotificationSessionKey")
|
||||
export const _TypeModel:TypeModel= {"name":"NotificationSessionKey","since":48,"type":"AGGREGATED_TYPE","id":1553,"rootId":"A3N5cwAGEQ","versioned":false,"encrypted":false,"values":{"_id":{"name":"_id","id":1554,"since":48,"type":"CustomId","cardinality":"One","final":true,"encrypted":false},"pushIdentifierSessionEncSessionKey":{"name":"pushIdentifierSessionEncSessionKey","id":1556,"since":48,"type":"Bytes","cardinality":"One","final":false,"encrypted":false}},"associations":{"pushIdentifier":{"name":"pushIdentifier","id":1555,"since":48,"type":"LIST_ELEMENT_ASSOCIATION","cardinality":"One","refType":"PushIdentifier","final":false,"external":false}},"app":"sys","version":"57"}
|
||||
|
||||
export function createNotificationSessionKey(values?: $Shape<$Exact<NotificationSessionKey>>): NotificationSessionKey {
|
||||
return Object.assign(create(_TypeModel, NotificationSessionKeyTypeRef), values)
|
||||
export function createNotificationSessionKey(values?: $Shape<$Exact<NotificationSessionKey>>):NotificationSessionKey {
|
||||
return Object.assign(create(_TypeModel, NotificationSessionKeyTypeRef), values)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue