Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/types

Package Overview
Dependencies
Maintainers
25
Versions
492
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/types - npm Package Compare versions

Comparing version 1.0.39 to 1.0.40

8

CHANGELOG.md

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

4

package.json
{
"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;
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc