@cloudflare/types
Advanced tools
Comparing version 1.0.39 to 1.0.40
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.40](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.39...@cloudflare/types@1.0.40) (2019-07-01) | ||
**Note:** Version bump only for package @cloudflare/types | ||
## [1.0.39](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.38...@cloudflare/types@1.0.39) (2019-06-26) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@cloudflare/types", | ||
"description": "", | ||
"version": "1.0.39", | ||
"version": "1.0.40", | ||
"types": "./src", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "47e07192bc58f7ea01e3a7825d00822d85325ccf" | ||
"gitHead": "d0c3793d649a30811d742fbf2bb69a69a83b2ba4" | ||
} |
@@ -12,1 +12,26 @@ // This is not in API yet, but eventually will be. Let's start using this structure. | ||
} | ||
export interface INotificationMeta { | ||
startDate?: string; | ||
endDate?: string; | ||
cohortIds?: string[]; | ||
geolocations?: string[]; // "US", "DE", ... | ||
scope?: TNotificationScope[]; // "login", "logout", "onboarding" .... | ||
} | ||
export type TNotificationScope = 'login' | 'signup' | 'onboarding'; | ||
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; | ||
} |
@@ -0,27 +1,38 @@ | ||
export type TPermValue = { | ||
read: boolean; | ||
edit: boolean; | ||
}; | ||
export type TPermKey = keyof IPermissions; | ||
export interface IPermissions { | ||
access: IPermission; | ||
analytics: IPermission; | ||
app: IPermission; | ||
auditlogs: IPermission; | ||
billing: IPermission; | ||
cache_purge: IPermission; | ||
dns_records: IPermission; | ||
lb: IPermission; | ||
legal: IPermission; | ||
logs: IPermission; | ||
member: IPermission; | ||
organization: IPermission; | ||
ssl: IPermission; | ||
stream: IPermission; | ||
subscription: IPermission; | ||
waf: IPermission; | ||
webhooks: IPermission; | ||
worker: IPermission; | ||
zone: IPermission; | ||
zone_settings: IPermission; | ||
access: TPermValue; | ||
analytics: TPermValue; | ||
app: TPermValue; | ||
auditlogs: TPermValue; | ||
billing: TPermValue; | ||
cache_purge: TPermValue; | ||
dns_records: TPermValue; | ||
lb: TPermValue; | ||
legal: TPermValue; | ||
logs: TPermValue; | ||
member: TPermValue; | ||
organization: TPermValue; | ||
ssl: TPermValue; | ||
stream: TPermValue; | ||
subscription: TPermValue; | ||
waf: TPermValue; | ||
webhooks: TPermValue; | ||
worker: TPermValue; | ||
zone: TPermValue; | ||
zone_settings: TPermValue; | ||
} | ||
export interface IPermission { | ||
export interface ICan { | ||
read: boolean; | ||
edit: boolean; | ||
update: boolean; | ||
create: boolean; | ||
delete: boolean; | ||
list: boolean; | ||
sign: boolean; | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37123
1162