@cloudflare/types
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.1.12](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.1.11...@cloudflare/types@1.1.12) (2019-09-04) | ||
**Note:** Version bump only for package @cloudflare/types | ||
## [1.1.11](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.1.10...@cloudflare/types@1.1.11) (2019-09-03) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@cloudflare/types", | ||
"description": "", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"types": "./src", | ||
@@ -28,3 +28,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "3c3de92e4c2d2bf4088b84275d3dbca04b5502b4" | ||
"gitHead": "c136f600483b889350befd28654bff5ae4b7c2c5" | ||
} |
@@ -1,38 +0,3 @@ | ||
// This is not in API yet, but eventually will be. Let's start using this structure. | ||
export interface INotification { | ||
id: string; | ||
title: string; | ||
body: string; | ||
footer?: { | ||
text?: string; | ||
linkText?: string; | ||
linkUrl?: string; | ||
}; | ||
} | ||
export type NotificationScope = 'login' | 'logout-login'; | ||
export interface INotificationMeta { | ||
startDate?: string; | ||
endDate?: string; | ||
cohortIds?: string[]; | ||
geolocations?: string[]; // "US", "DE", ... | ||
scope?: TNotificationScope[]; // "login", "logout", "onboarding" .... | ||
} | ||
export type TNotificationScope = 'login' | 'logout-login'; | ||
export interface ITrace { | ||
fl: string; | ||
h: string; | ||
ip: string; | ||
ts: string; | ||
visit_scheme: string; | ||
uag: string; | ||
colo: string; | ||
http: string; | ||
loc: string; | ||
tls: string; | ||
sni: string; | ||
warp: string; | ||
} | ||
export type Notification = { | ||
@@ -39,0 +4,0 @@ id: string; |
46768
1397