loopback-dynamo-model
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -238,45 +238,3 @@ // Generated by CoffeeScript 1.12.5 | ||
{ | ||
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", | ||
description: "An object of model property name/value pairs", | ||
http: { | ||
source: "body" | ||
}, | ||
type: "object" | ||
} | ||
], | ||
accessType: "WRITE", | ||
aliases: ["updateAttributes"], | ||
description: "Patch attributes for a model instance and persist it into the data source.", | ||
http: [ | ||
{ | ||
path: "/:hashkey/:sortkey", | ||
verb: "patch" | ||
} | ||
], | ||
returns: { | ||
arg: "data", | ||
root: true, | ||
type: Model.modelName | ||
} | ||
}, | ||
patchOrCreate: { | ||
accepts: [ | ||
{ | ||
arg: "data", | ||
description: "Model instance data", | ||
@@ -291,3 +249,3 @@ http: { | ||
aliases: ["upsert", "updateOrCreate"], | ||
description: "Patch an existing model instance or insert a new one into the data source.", | ||
description: "Patch attributes for a model instance and persist it into the data source.", | ||
http: [ | ||
@@ -294,0 +252,0 @@ { |
{ | ||
"name": "loopback-dynamo-model", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "Loopback dynamo model to provide which endpoints to share ", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
26772
534