loopback/lib
Miroslav Bajtoš f93b69ed0a Define remote methods via model settings/config
Process `settings.methods` and `config.methods` as a key-value map
where the key is the method name and the value is an object describing
the method in the format expected by strong-remoting.

Example: a static method `Model.create`

    "methods": {
      "create": {
        "isStatic": true,
        "accepts": {
           "arg": "data", "type": "Car",
           "http": { "source": "body" }
        },
        "returns": { "arg": "data", "type": "Car", "root": true }
      }
    }

This patch is based on the code proposed by @mrfelton in #1163.
2015-05-07 07:42:08 +02:00
..
connectors Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
access-context.js AccessControl for change replication 2015-04-07 19:53:58 +02:00
application.js Define remote methods via model settings/config 2015-05-07 07:42:08 +02:00
browser-express.js Emit a 'modelRemoted' event by app.model() 2014-07-24 17:00:27 -07:00
builtin-models.js Add support for app level Model isolation 2015-04-03 11:48:45 -07:00
express-middleware.js Expose more loopback middleware for require 2014-11-19 11:32:22 -08:00
loopback.js Rework global registry to be per-module-instance 2015-04-17 19:26:05 +02:00
model.js Remove trailing whitespace added by 242bcec 2015-05-04 18:19:13 +02:00
persisted-model.js Merge pull request #1306 from strongloop/feature/allow-filter-on-findById 2015-04-16 15:12:50 -07:00
registry.js Define remote methods via model settings/config 2015-05-07 07:42:08 +02:00
runtime.js Enable jscs for `lib`, fix style violations 2014-11-04 08:25:33 +01:00
server-app.js un-document _findLayerByHandler 2015-05-04 12:23:21 -07:00