Anti-phishing system prototype

This commit is contained in:
ivk 2019-11-19 11:18:08 +01:00
parent 9c27226b92
commit 315645919d
No known key found for this signature in database
GPG key ID: C103E7EF5463D318
305 changed files with 3609 additions and 18055 deletions

View file

@ -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)
}