loopback-dynamo-model
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -41,10 +41,2 @@ // Generated by CoffeeScript 1.12.4 | ||
{ | ||
arg: "hashkey", | ||
description: "Model hashkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: "data", | ||
@@ -61,3 +53,3 @@ description: "Model instance data", | ||
http: { | ||
path: "/:hashkey", | ||
path: "/", | ||
verb: "post" | ||
@@ -186,5 +178,2 @@ }, | ||
description: "Model sortkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: false, | ||
@@ -253,2 +242,18 @@ type: "any" | ||
{ | ||
arg: "hashkey", | ||
description: "Model hashkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: "sortkey", | ||
description: "Model sortkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: "data", | ||
@@ -267,3 +272,3 @@ description: "An object of model property name/value pairs", | ||
{ | ||
path: "/:hashkey", | ||
path: "/:hashkey/:sortkey", | ||
verb: "patch" | ||
@@ -282,10 +287,2 @@ } | ||
{ | ||
arg: "hashkey", | ||
description: "Model hashkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: "data", | ||
@@ -304,3 +301,3 @@ description: "Model instance data", | ||
{ | ||
path: "/:hashkey", | ||
path: "/", | ||
verb: "patch" | ||
@@ -359,10 +356,2 @@ } | ||
{ | ||
arg: "hashkey", | ||
description: "Model hashkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: "data", | ||
@@ -380,3 +369,3 @@ description: "Model instance data", | ||
{ | ||
path: "/:hashkey/replaceOrCreate", | ||
path: "/replaceOrCreate", | ||
verb: "post" | ||
@@ -394,10 +383,2 @@ } | ||
{ | ||
arg: "hashkey", | ||
description: "Model hashkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: "where", | ||
@@ -422,3 +403,3 @@ description: "Criteria to match model instances", | ||
http: { | ||
path: "/:hashkey/update", | ||
path: "/update", | ||
verb: "post" | ||
@@ -437,10 +418,2 @@ }, | ||
{ | ||
arg: "hashkey", | ||
description: "Model hashkey", | ||
http: { | ||
source: "path" | ||
}, | ||
required: true, | ||
type: "any" | ||
}, { | ||
arg: 'data', | ||
@@ -461,3 +434,3 @@ type: 'object', | ||
verb: 'post', | ||
path: '/:hashkey/findOrCreate' | ||
path: '/findOrCreate' | ||
} | ||
@@ -464,0 +437,0 @@ } |
{ | ||
"name": "loopback-dynamo-model", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Loopback dynamo model to provide which endpoints to share ", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"start": "coffee --compile --output dist/ src/" | ||
}, | ||
@@ -9,0 +10,0 @@ "author": "Andrew Sidhu <asidhu1@gmail.com>", |
Sorry, the diff of this file is not supported yet
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
28764
578