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

@nrfcloud/models

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrfcloud/models - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

10

dist/api-schema/ApiIndex.schema.json

@@ -12,8 +12,10 @@ {

"__context": {
"example": "https://github.com/nRFCloud/models#ApiIndex",
"type": "string"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"type": "string",
"description": "context for this model"
},
"__contextVersion": {
"example": 1,
"type": "number"
"description": "version of the context",
"type": "integer",
"minimum": 1
},

@@ -20,0 +22,0 @@ "links": {

13

dist/api-schema/Link.schema.json

@@ -12,12 +12,13 @@ {

"__context": {
"example": "https://github.com/nRFCloud/models#Link",
"type": "string"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"type": "string",
"description": "context for this model"
},
"__contextVersion": {
"example": 1,
"type": "number"
"description": "version of the context",
"type": "integer",
"minimum": 1
},
"href": {
"description": "URL to retrieve the link",
"example": "https://meta.nrfcloud.com/",
"type": "string",

@@ -28,3 +29,2 @@ "pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$"

"description": "Context of the linked item",
"example": "https://github.com/nRFCloud/models#ApiIndex",
"type": "string",

@@ -35,3 +35,2 @@ "pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$"

"description": "Label of the relation",
"example": "self",
"type": "string"

@@ -38,0 +37,0 @@ }

@@ -12,12 +12,13 @@ {

"__context": {
"example": "https://github.com/nRFCloud/models#Status",
"type": "string"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"type": "string",
"description": "context for this model"
},
"__contextVersion": {
"example": 1,
"type": "number"
"description": "version of the context",
"type": "integer",
"minimum": 1
},
"maintenance": {
"description": "Whether the system is in maintenance mode.",
"example": false,
"type": "boolean"

@@ -27,3 +28,2 @@ },

"description": "The global version of the system. This is merely a logical version identifier for the system as whole since individual services may have their own version scheme. This is a semantic version string: http://semver.org/",
"example": "1.0.0-beta.2",
"type": "string"

@@ -33,3 +33,2 @@ },

"description": "Time of the status creation.",
"example": "2017-10-02T11:05:46.793Z",
"type": "string"

@@ -36,0 +35,0 @@ }

@@ -13,3 +13,2 @@ {

"description": "version of the context",
"example": 1,
"type": "integer",

@@ -16,0 +15,0 @@ "minimum": 1

@@ -11,5 +11,11 @@ /**

export type ApiIndexSchema = (VersionedContextSchema & {
__context: string;
__contextVersion: number;
/**
* context for this model
*/
__context: string;
/**
* version of the context
*/
__contextVersion: number;
/**
* Links to entry points

@@ -37,3 +43,9 @@ */

export interface LinkSchema {
/**
* context for this model
*/
__context: string;
/**
* version of the context
*/
__contextVersion: number;

@@ -40,0 +52,0 @@ /**

@@ -11,5 +11,11 @@ /**

export type LinkSchema = (VersionedContextSchema & {
__context: string;
__contextVersion: number;
/**
* context for this model
*/
__context: string;
/**
* version of the context
*/
__contextVersion: number;
/**
* URL to retrieve the link

@@ -16,0 +22,0 @@ */

@@ -11,5 +11,11 @@ /**

export type StatusSchema = (VersionedContextSchema & {
__context: string;
__contextVersion: number;
/**
* context for this model
*/
__context: string;
/**
* version of the context
*/
__contextVersion: number;
/**
* Whether the system is in maintenance mode.

@@ -16,0 +22,0 @@ */

@@ -13,7 +13,11 @@ {

"example": "https://github.com/nRFCloud/models#ApiIndex",
"type": "string"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"type": "string",
"description": "context for this model"
},
"__contextVersion": {
"description": "version of the context",
"example": 1,
"type": "number"
"type": "integer",
"minimum": 1
},

@@ -20,0 +24,0 @@ "links": {

@@ -13,7 +13,11 @@ {

"example": "https://github.com/nRFCloud/models#Link",
"type": "string"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"type": "string",
"description": "context for this model"
},
"__contextVersion": {
"description": "version of the context",
"example": 1,
"type": "number"
"type": "integer",
"minimum": 1
},

@@ -20,0 +24,0 @@ "href": {

@@ -13,7 +13,11 @@ {

"example": "https://github.com/nRFCloud/models#Status",
"type": "string"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"type": "string",
"description": "context for this model"
},
"__contextVersion": {
"description": "version of the context",
"example": 1,
"type": "number"
"type": "integer",
"minimum": 1
},

@@ -20,0 +24,0 @@ "maintenance": {

@@ -9,3 +9,4 @@ {

"type": "string",
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$"
"pattern": "^https?:\\/\\/(((?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z0-9][a-z0-9-]{0,61}[a-z0-9])|((?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))(:(6553[0-5]|655[0-2]\\d|65[0-4]\\d\\d|6[0-4]\\d{3}|[1-5]\\d{4}|[1-9]\\d{0,3}|0))?(\\/[-a-zA-Z0-9@:%_+.,~?&/=()]*)*(#(?:[^#^[\\]{}\\\\\"<>%\\s]|%[0-9a-f]{2})*)*$",
"example": "https://github.com/nRFCloud/models#Status"
},

@@ -12,0 +13,0 @@ "__contextVersion": {

{
"name": "@nrfcloud/models",
"version": "1.1.2",
"version": "1.1.3",
"description": "Contains model definitions for the REST API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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