Skip to content

Commit

Permalink
Merge 4f2022a into 98eb783
Browse files Browse the repository at this point in the history
  • Loading branch information
agnes512 committed May 7, 2019
2 parents 98eb783 + 4f2022a commit 49a827f
Show file tree
Hide file tree
Showing 109 changed files with 208 additions and 88 deletions.
2 changes: 1 addition & 1 deletion examples/app-noschema.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion examples/app.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion examples/datasource-app.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion examples/inclusion.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion examples/load-schemas.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion examples/nesting-schema.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion examples/relations.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
3 changes: 2 additions & 1 deletion index.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2011,2016. All Rights Reserved.
// Copyright IBM Corp. 2011,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const SG = require('strong-globalize');
Expand Down
2 changes: 1 addition & 1 deletion lib/browser.depd.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
5 changes: 5 additions & 0 deletions lib/connectors/kv-memory.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const g = require('strong-globalize')();
Expand Down
2 changes: 1 addition & 1 deletion lib/connectors/memory.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/connectors/transient.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/dao.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/datasource.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/date-string.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2017,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/geo.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/hooks.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/include.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2015. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/include_utils.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/introspection.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/jutil.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2011,2016. All Rights Reserved.
// Copyright IBM Corp. 2011,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/delete-all.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/delete.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2017,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/expire.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/get.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/index.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

function KeyValueAccessObject() {
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/iterate-keys.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/keys.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/set.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
5 changes: 5 additions & 0 deletions lib/kvao/ttl.js
@@ -1,3 +1,8 @@
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion lib/list.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Copyright IBM Corp. 2012,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
3 changes: 2 additions & 1 deletion lib/mixins.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const debug = require('debug')('loopback:mixin');
Expand Down
3 changes: 2 additions & 1 deletion lib/model-builder.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

/*!
Expand Down
3 changes: 2 additions & 1 deletion lib/model-definition.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion lib/model-utils.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2018,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion lib/model.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
3 changes: 2 additions & 1 deletion lib/observer.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const async = require('async');
Expand Down
2 changes: 1 addition & 1 deletion lib/relation-definition.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2014,2016. All Rights Reserved.
// Copyright IBM Corp. 2014,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
3 changes: 2 additions & 1 deletion lib/relations.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

/*!
Expand Down
3 changes: 2 additions & 1 deletion lib/scope.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const _ = require('lodash');
Expand Down
3 changes: 2 additions & 1 deletion lib/transaction.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const g = require('strong-globalize')();
Expand Down
3 changes: 2 additions & 1 deletion lib/types.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const Types = {};
Expand Down
3 changes: 2 additions & 1 deletion lib/utils.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2012,2016. All Rights Reserved.
// Copyright IBM Corp. 2012,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

exports.safeRequire = safeRequire;
Expand Down
2 changes: 1 addition & 1 deletion lib/validations.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion support/describe-operation-hooks.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
3 changes: 2 additions & 1 deletion test/CustomTypeForeignKey.test.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const should = require('./init.js');
Expand Down
2 changes: 1 addition & 1 deletion test/allow-extended-operators.test.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
3 changes: 2 additions & 1 deletion test/async-observer.test.js
@@ -1,7 +1,8 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

'use strict';

const ModelBuilder = require('../').ModelBuilder;
Expand Down
2 changes: 1 addition & 1 deletion test/basic-querying.test.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion test/common_test.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2011,2016. All Rights Reserved.
// Copyright IBM Corp. 2011,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion test/crud-with-options.test.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2015,2016. All Rights Reserved.
// Copyright IBM Corp. 2015,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion test/datasource.test.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2016. All Rights Reserved.
// Copyright IBM Corp. 2016,2018. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down
2 changes: 1 addition & 1 deletion test/datatype.test.js
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2013,2016. All Rights Reserved.
// Copyright IBM Corp. 2013,2019. All Rights Reserved.
// Node module: loopback-datasource-juggler
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
Expand Down

0 comments on commit 49a827f

Please sign in to comment.