@loopback/repository 4.0.0-alpha.6 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +25 -0
- package/README.md +94 -372
- package/dist/common-types.d.ts +96 -0
- package/dist/common-types.js +24 -0
- package/dist/common-types.js.map +1 -0
- package/dist/connectors/connector.d.ts +48 -0
- package/{lib → dist/connectors}/connector.js +1 -1
- package/dist/connectors/connector.js.map +1 -0
- package/{lib/crud-connector.d.ts → dist/connectors/crud.connector.d.ts} +51 -51
- package/{lib/common-types.js → dist/connectors/crud.connector.js} +2 -2
- package/dist/connectors/crud.connector.js.map +1 -0
- package/dist/connectors/index.d.ts +3 -0
- package/dist/connectors/index.js +11 -0
- package/dist/connectors/index.js.map +1 -0
- package/{lib6/kv-connector.d.ts → dist/connectors/kv.connector.d.ts} +28 -28
- package/{lib/datasource.js → dist/connectors/kv.connector.js} +2 -2
- package/dist/connectors/kv.connector.js.map +1 -0
- package/dist/datasource.d.ts +27 -0
- package/{lib6 → dist}/datasource.js +1 -1
- package/dist/datasource.js.map +1 -0
- package/dist/decorators/index.d.ts +3 -0
- package/dist/decorators/index.js +11 -0
- package/dist/decorators/index.js.map +1 -0
- package/dist/decorators/metadata.d.ts +12 -0
- package/dist/decorators/metadata.js +51 -0
- package/dist/decorators/metadata.js.map +1 -0
- package/dist/decorators/model.decorator.d.ts +40 -0
- package/dist/decorators/model.decorator.js +112 -0
- package/dist/decorators/model.decorator.js.map +1 -0
- package/dist/decorators/repository.decorator.d.ts +106 -0
- package/dist/decorators/repository.decorator.js +114 -0
- package/dist/decorators/repository.decorator.js.map +1 -0
- package/dist/define-model-class.d.ts +55 -0
- package/dist/define-model-class.js +57 -0
- package/dist/define-model-class.js.map +1 -0
- package/dist/define-repository-class.d.ts +119 -0
- package/dist/define-repository-class.js +98 -0
- package/dist/define-repository-class.js.map +1 -0
- package/dist/errors/entity-not-found.error.d.ts +8 -0
- package/dist/errors/entity-not-found.error.js +28 -0
- package/dist/errors/entity-not-found.error.js.map +1 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +10 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/errors/invalid-relation.error.d.ts +10 -0
- package/dist/errors/invalid-relation.error.js +28 -0
- package/dist/errors/invalid-relation.error.js.map +1 -0
- package/dist/index.d.ts +30 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/dist/keys.d.ts +34 -0
- package/dist/keys.js +44 -0
- package/dist/keys.js.map +1 -0
- package/dist/mixins/index.d.ts +1 -0
- package/dist/mixins/index.js +9 -0
- package/dist/mixins/index.js.map +1 -0
- package/dist/mixins/repository.mixin.d.ts +377 -0
- package/dist/mixins/repository.mixin.js +405 -0
- package/dist/mixins/repository.mixin.js.map +1 -0
- package/dist/model.d.ts +232 -0
- package/dist/model.js +367 -0
- package/dist/model.js.map +1 -0
- package/dist/relations/belongs-to/belongs-to.accessor.d.ts +17 -0
- package/dist/relations/belongs-to/belongs-to.accessor.js +40 -0
- package/dist/relations/belongs-to/belongs-to.accessor.js.map +1 -0
- package/dist/relations/belongs-to/belongs-to.decorator.d.ts +11 -0
- package/dist/relations/belongs-to/belongs-to.decorator.js +64 -0
- package/dist/relations/belongs-to/belongs-to.decorator.js.map +1 -0
- package/dist/relations/belongs-to/belongs-to.helpers.d.ts +17 -0
- package/dist/relations/belongs-to/belongs-to.helpers.js +63 -0
- package/dist/relations/belongs-to/belongs-to.helpers.js.map +1 -0
- package/dist/relations/belongs-to/belongs-to.inclusion-resolver.d.ts +14 -0
- package/dist/relations/belongs-to/belongs-to.inclusion-resolver.js +36 -0
- package/dist/relations/belongs-to/belongs-to.inclusion-resolver.js.map +1 -0
- package/dist/relations/belongs-to/belongs-to.repository.d.ts +28 -0
- package/dist/relations/belongs-to/belongs-to.repository.js +33 -0
- package/dist/relations/belongs-to/belongs-to.repository.js.map +1 -0
- package/dist/relations/belongs-to/index.d.ts +4 -0
- package/dist/relations/belongs-to/index.js +12 -0
- package/dist/relations/belongs-to/index.js.map +1 -0
- package/dist/relations/has-many/has-many-through.helpers.d.ts +182 -0
- package/dist/relations/has-many/has-many-through.helpers.js +282 -0
- package/dist/relations/has-many/has-many-through.helpers.js.map +1 -0
- package/dist/relations/has-many/has-many-through.inclusion-resolver.d.ts +16 -0
- package/dist/relations/has-many/has-many-through.inclusion-resolver.js +78 -0
- package/dist/relations/has-many/has-many-through.inclusion-resolver.js.map +1 -0
- package/dist/relations/has-many/has-many-through.repository-factory.d.ts +17 -0
- package/dist/relations/has-many/has-many-through.repository-factory.js +37 -0
- package/dist/relations/has-many/has-many-through.repository-factory.js.map +1 -0
- package/dist/relations/has-many/has-many-through.repository.d.ts +114 -0
- package/dist/relations/has-many/has-many-through.repository.js +103 -0
- package/dist/relations/has-many/has-many-through.repository.js.map +1 -0
- package/dist/relations/has-many/has-many.decorator.d.ts +11 -0
- package/dist/relations/has-many/has-many.decorator.js +36 -0
- package/dist/relations/has-many/has-many.decorator.js.map +1 -0
- package/dist/relations/has-many/has-many.helpers.d.ts +26 -0
- package/dist/relations/has-many/has-many.helpers.js +78 -0
- package/dist/relations/has-many/has-many.helpers.js.map +1 -0
- package/dist/relations/has-many/has-many.inclusion-resolver.d.ts +14 -0
- package/dist/relations/has-many/has-many.inclusion-resolver.js +45 -0
- package/dist/relations/has-many/has-many.inclusion-resolver.js.map +1 -0
- package/dist/relations/has-many/has-many.repository-factory.d.ts +28 -0
- package/dist/relations/has-many/has-many.repository-factory.js +39 -0
- package/dist/relations/has-many/has-many.repository-factory.js.map +1 -0
- package/dist/relations/has-many/has-many.repository.d.ts +54 -0
- package/dist/relations/has-many/has-many.repository.js +38 -0
- package/dist/relations/has-many/has-many.repository.js.map +1 -0
- package/dist/relations/has-many/index.d.ts +6 -0
- package/dist/relations/has-many/index.js +14 -0
- package/dist/relations/has-many/index.js.map +1 -0
- package/dist/relations/has-one/has-one.decorator.d.ts +3 -0
- package/dist/relations/has-one/has-one.decorator.js +37 -0
- package/dist/relations/has-one/has-one.decorator.js.map +1 -0
- package/dist/relations/has-one/has-one.helpers.d.ts +17 -0
- package/dist/relations/has-one/has-one.helpers.js +64 -0
- package/dist/relations/has-one/has-one.helpers.js.map +1 -0
- package/dist/relations/has-one/has-one.inclusion-resolver.d.ts +14 -0
- package/dist/relations/has-one/has-one.inclusion-resolver.js +35 -0
- package/dist/relations/has-one/has-one.inclusion-resolver.js.map +1 -0
- package/dist/relations/has-one/has-one.repository-factory.d.ts +28 -0
- package/dist/relations/has-one/has-one.repository-factory.js +39 -0
- package/dist/relations/has-one/has-one.repository-factory.js.map +1 -0
- package/dist/relations/has-one/has-one.repository.d.ts +53 -0
- package/dist/relations/has-one/has-one.repository.js +45 -0
- package/dist/relations/has-one/has-one.repository.js.map +1 -0
- package/dist/relations/has-one/index.d.ts +3 -0
- package/dist/relations/has-one/index.js +11 -0
- package/dist/relations/has-one/index.js.map +1 -0
- package/dist/relations/index.d.ts +6 -0
- package/dist/relations/index.js +14 -0
- package/dist/relations/index.js.map +1 -0
- package/dist/relations/relation.decorator.d.ts +39 -0
- package/dist/relations/relation.decorator.js +88 -0
- package/dist/relations/relation.decorator.js.map +1 -0
- package/dist/relations/relation.helpers.d.ts +105 -0
- package/dist/relations/relation.helpers.js +298 -0
- package/dist/relations/relation.helpers.js.map +1 -0
- package/dist/relations/relation.types.d.ts +142 -0
- package/dist/relations/relation.types.js +21 -0
- package/dist/relations/relation.types.js.map +1 -0
- package/dist/repositories/constraint-utils.d.ts +49 -0
- package/dist/repositories/constraint-utils.js +87 -0
- package/dist/repositories/constraint-utils.js.map +1 -0
- package/dist/repositories/index.d.ts +5 -0
- package/dist/repositories/index.js +13 -0
- package/dist/repositories/index.js.map +1 -0
- package/dist/repositories/kv.repository.bridge.d.ts +30 -0
- package/dist/repositories/kv.repository.bridge.js +76 -0
- package/dist/repositories/kv.repository.bridge.js.map +1 -0
- package/dist/repositories/kv.repository.d.ts +74 -0
- package/{lib/crud-connector.js → dist/repositories/kv.repository.js} +2 -2
- package/dist/repositories/kv.repository.js.map +1 -0
- package/dist/repositories/legacy-juggler-bridge.d.ts +305 -0
- package/dist/repositories/legacy-juggler-bridge.js +452 -0
- package/dist/repositories/legacy-juggler-bridge.js.map +1 -0
- package/dist/repositories/repository.d.ts +223 -0
- package/dist/repositories/repository.js +157 -0
- package/dist/repositories/repository.js.map +1 -0
- package/dist/transaction.d.ts +30 -0
- package/dist/transaction.js +18 -0
- package/dist/transaction.js.map +1 -0
- package/dist/type-resolver.d.ts +42 -0
- package/dist/type-resolver.js +61 -0
- package/dist/type-resolver.js.map +1 -0
- package/{lib6 → dist}/types/any.d.ts +1 -1
- package/{lib6 → dist}/types/any.js +3 -2
- package/dist/types/any.js.map +1 -0
- package/{lib6 → dist}/types/array.d.ts +4 -4
- package/{lib → dist}/types/array.js +6 -4
- package/dist/types/array.js.map +1 -0
- package/{lib → dist}/types/boolean.d.ts +1 -1
- package/{lib → dist}/types/boolean.js +3 -2
- package/dist/types/boolean.js.map +1 -0
- package/{lib6 → dist}/types/buffer.d.ts +2 -2
- package/{lib6 → dist}/types/buffer.js +8 -6
- package/dist/types/buffer.js.map +1 -0
- package/{lib → dist}/types/date.d.ts +1 -1
- package/{lib6 → dist}/types/date.js +6 -4
- package/dist/types/date.js.map +1 -0
- package/{lib → dist}/types/index.d.ts +11 -9
- package/dist/types/index.js +49 -0
- package/dist/types/index.js.map +1 -0
- package/{lib6 → dist}/types/model.d.ts +2 -1
- package/{lib → dist}/types/model.js +2 -2
- package/dist/types/model.js.map +1 -0
- package/dist/types/null.d.ts +12 -0
- package/{lib6/types/boolean.js → dist/types/null.js} +12 -11
- package/dist/types/null.js.map +1 -0
- package/{lib6 → dist}/types/number.d.ts +1 -1
- package/{lib6 → dist}/types/number.js +6 -4
- package/dist/types/number.js.map +1 -0
- package/{lib → dist}/types/object.d.ts +1 -1
- package/{lib6 → dist}/types/object.js +7 -6
- package/dist/types/object.js.map +1 -0
- package/{lib → dist}/types/string.d.ts +1 -1
- package/{lib → dist}/types/string.js +3 -2
- package/dist/types/string.js.map +1 -0
- package/{lib → dist}/types/type.d.ts +7 -7
- package/{lib6 → dist}/types/type.js +1 -1
- package/dist/types/type.js.map +1 -0
- package/{lib → dist}/types/union.d.ts +1 -1
- package/{lib6 → dist}/types/union.js +6 -4
- package/dist/types/union.js.map +1 -0
- package/package.json +49 -32
- package/src/common-types.ts +123 -0
- package/src/connectors/connector.ts +70 -0
- package/src/connectors/crud.connector.ts +208 -0
- package/src/connectors/index.ts +8 -0
- package/src/connectors/kv.connector.ts +113 -0
- package/src/datasource.ts +37 -0
- package/src/decorators/index.ts +8 -0
- package/src/decorators/metadata.ts +84 -0
- package/src/decorators/model.decorator.ts +166 -0
- package/src/decorators/repository.decorator.ts +223 -0
- package/src/define-model-class.ts +90 -0
- package/src/define-repository-class.ts +170 -0
- package/src/errors/entity-not-found.error.ts +40 -0
- package/src/errors/index.ts +7 -0
- package/src/errors/invalid-relation.error.ts +39 -0
- package/src/index.ts +36 -0
- package/src/keys.ts +40 -0
- package/{index.d.ts → src/mixins/index.ts} +2 -2
- package/src/mixins/repository.mixin.ts +499 -0
- package/src/model.ts +539 -0
- package/src/relations/belongs-to/belongs-to.accessor.ts +74 -0
- package/src/relations/belongs-to/belongs-to.decorator.ts +81 -0
- package/src/relations/belongs-to/belongs-to.helpers.ts +78 -0
- package/src/relations/belongs-to/belongs-to.inclusion-resolver.ts +71 -0
- package/src/relations/belongs-to/belongs-to.repository.ts +55 -0
- package/src/relations/belongs-to/index.ts +9 -0
- package/src/relations/has-many/has-many-through.helpers.ts +361 -0
- package/src/relations/has-many/has-many-through.inclusion-resolver.ts +135 -0
- package/src/relations/has-many/has-many-through.repository-factory.ts +121 -0
- package/src/relations/has-many/has-many-through.repository.ts +318 -0
- package/src/relations/has-many/has-many.decorator.ts +38 -0
- package/src/relations/has-many/has-many.helpers.ts +100 -0
- package/src/relations/has-many/has-many.inclusion-resolver.ts +88 -0
- package/src/relations/has-many/has-many.repository-factory.ts +76 -0
- package/src/relations/has-many/has-many.repository.ts +118 -0
- package/src/relations/has-many/index.ts +11 -0
- package/src/relations/has-one/has-one.decorator.ts +40 -0
- package/src/relations/has-one/has-one.helpers.ts +84 -0
- package/src/relations/has-one/has-one.inclusion-resolver.ts +65 -0
- package/src/relations/has-one/has-one.repository-factory.ts +72 -0
- package/src/relations/has-one/has-one.repository.ts +127 -0
- package/src/relations/has-one/index.ts +8 -0
- package/src/relations/index.ts +11 -0
- package/src/relations/relation.decorator.ts +90 -0
- package/src/relations/relation.helpers.ts +364 -0
- package/src/relations/relation.types.ts +180 -0
- package/src/repositories/constraint-utils.ts +98 -0
- package/src/repositories/index.ts +10 -0
- package/src/repositories/kv.repository.bridge.ts +97 -0
- package/src/repositories/kv.repository.ts +87 -0
- package/src/repositories/legacy-juggler-bridge.ts +788 -0
- package/src/repositories/repository.ts +441 -0
- package/src/transaction.ts +39 -0
- package/src/type-resolver.ts +98 -0
- package/src/types/any.ts +38 -0
- package/src/types/array.ts +53 -0
- package/src/types/boolean.ts +35 -0
- package/src/types/buffer.ts +53 -0
- package/src/types/date.ts +61 -0
- package/src/types/index.ts +52 -0
- package/src/types/model.ts +24 -0
- package/src/types/null.ts +35 -0
- package/src/types/number.ts +42 -0
- package/src/types/object.ts +53 -0
- package/src/types/string.ts +42 -0
- package/src/types/type.ts +51 -0
- package/src/types/union.ts +55 -0
- package/api-docs/apple-touch-icon-114x114-precomposed.png +0 -0
- package/api-docs/apple-touch-icon-144x144-precomposed.png +0 -0
- package/api-docs/apple-touch-icon-57x57-precomposed.png +0 -0
- package/api-docs/apple-touch-icon-72x72-precomposed.png +0 -0
- package/api-docs/apple-touch-icon-precomposed.png +0 -0
- package/api-docs/apple-touch-icon.png +0 -0
- package/api-docs/css/bootstrap.min.css +0 -9
- package/api-docs/css/code-themes/arta.css +0 -158
- package/api-docs/css/code-themes/ascetic.css +0 -50
- package/api-docs/css/code-themes/brown_paper.css +0 -104
- package/api-docs/css/code-themes/brown_papersq.png +0 -0
- package/api-docs/css/code-themes/dark.css +0 -103
- package/api-docs/css/code-themes/default.css +0 -135
- package/api-docs/css/code-themes/far.css +0 -111
- package/api-docs/css/code-themes/github.css +0 -127
- package/api-docs/css/code-themes/googlecode.css +0 -144
- package/api-docs/css/code-themes/idea.css +0 -121
- package/api-docs/css/code-themes/ir_black.css +0 -104
- package/api-docs/css/code-themes/magula.css +0 -121
- package/api-docs/css/code-themes/monokai.css +0 -114
- package/api-docs/css/code-themes/pojoaque.css +0 -104
- package/api-docs/css/code-themes/pojoaque.jpg +0 -0
- package/api-docs/css/code-themes/rainbow.css +0 -114
- package/api-docs/css/code-themes/school_book.css +0 -111
- package/api-docs/css/code-themes/school_book.png +0 -0
- package/api-docs/css/code-themes/sl-theme.css +0 -45
- package/api-docs/css/code-themes/solarized_dark.css +0 -88
- package/api-docs/css/code-themes/solarized_light.css +0 -88
- package/api-docs/css/code-themes/sunburst.css +0 -158
- package/api-docs/css/code-themes/tomorrow-night-blue.css +0 -52
- package/api-docs/css/code-themes/tomorrow-night-bright.css +0 -51
- package/api-docs/css/code-themes/tomorrow-night-eighties.css +0 -51
- package/api-docs/css/code-themes/tomorrow-night.css +0 -52
- package/api-docs/css/code-themes/tomorrow.css +0 -49
- package/api-docs/css/code-themes/vs.css +0 -86
- package/api-docs/css/code-themes/xcode.css +0 -154
- package/api-docs/css/code-themes/zenburn.css +0 -115
- package/api-docs/css/main.css +0 -139
- package/api-docs/favicon.ico +0 -0
- package/api-docs/fonts/0ihfXUL2emPh0ROJezvraLO3LdcAZYWl9Si6vvxL-qU.woff +0 -0
- package/api-docs/fonts/OsJ2DjdpjqFRVUSto6IffLO3LdcAZYWl9Si6vvxL-qU.woff +0 -0
- package/api-docs/fonts/_aijTyevf54tkVDLy-dlnLO3LdcAZYWl9Si6vvxL-qU.woff +0 -0
- package/api-docs/index.html +0 -17872
- package/api-docs/js/main.js +0 -19
- package/api-docs/js/vendor/bootstrap.min.js +0 -6
- package/api-docs/js/vendor/jquery-1.10.1.min.js +0 -6
- package/api-docs/js/vendor/jquery.scrollTo-1.4.3.1.js +0 -218
- package/api-docs/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js +0 -11
- package/index.js +0 -9
- package/lib/common-types.d.ts +0 -44
- package/lib/common-types.js.map +0 -1
- package/lib/connector.d.ts +0 -12
- package/lib/connector.js.map +0 -1
- package/lib/crud-connector.js.map +0 -1
- package/lib/datasource.d.ts +0 -11
- package/lib/datasource.js.map +0 -1
- package/lib/decorators/model.d.ts +0 -14
- package/lib/decorators/model.js +0 -35
- package/lib/decorators/model.js.map +0 -1
- package/lib/decorators/relation.d.ts +0 -65
- package/lib/decorators/relation.js +0 -126
- package/lib/decorators/relation.js.map +0 -1
- package/lib/decorators/repository.d.ts +0 -61
- package/lib/decorators/repository.js +0 -103
- package/lib/decorators/repository.js.map +0 -1
- package/lib/index.d.ts +0 -15
- package/lib/index.js +0 -19
- package/lib/index.js.map +0 -1
- package/lib/kv-connector.d.ts +0 -77
- package/lib/kv-connector.js +0 -7
- package/lib/kv-connector.js.map +0 -1
- package/lib/kv-repository.d.ts +0 -78
- package/lib/kv-repository.js +0 -7
- package/lib/kv-repository.js.map +0 -1
- package/lib/legacy-juggler-bridge.d.ts +0 -44
- package/lib/legacy-juggler-bridge.js +0 -119
- package/lib/legacy-juggler-bridge.js.map +0 -1
- package/lib/loopback-datasource-juggler.d.ts +0 -666
- package/lib/loopback-datasource-juggler.js +0 -8
- package/lib/loopback-datasource-juggler.js.map +0 -1
- package/lib/mixin.d.ts +0 -43
- package/lib/mixin.js +0 -34
- package/lib/mixin.js.map +0 -1
- package/lib/model.d.ts +0 -127
- package/lib/model.js +0 -187
- package/lib/model.js.map +0 -1
- package/lib/query.d.ts +0 -112
- package/lib/query.js +0 -25
- package/lib/query.js.map +0 -1
- package/lib/repository.d.ts +0 -172
- package/lib/repository.js +0 -127
- package/lib/repository.js.map +0 -1
- package/lib/types/any.d.ts +0 -12
- package/lib/types/any.js +0 -35
- package/lib/types/any.js.map +0 -1
- package/lib/types/array.d.ts +0 -14
- package/lib/types/array.js.map +0 -1
- package/lib/types/boolean.js.map +0 -1
- package/lib/types/buffer.d.ts +0 -14
- package/lib/types/buffer.js +0 -57
- package/lib/types/buffer.js.map +0 -1
- package/lib/types/date.js +0 -60
- package/lib/types/date.js.map +0 -1
- package/lib/types/index.js +0 -33
- package/lib/types/index.js.map +0 -1
- package/lib/types/model.d.ts +0 -11
- package/lib/types/model.js.map +0 -1
- package/lib/types/number.d.ts +0 -12
- package/lib/types/number.js +0 -40
- package/lib/types/number.js.map +0 -1
- package/lib/types/object.js +0 -49
- package/lib/types/object.js.map +0 -1
- package/lib/types/string.js.map +0 -1
- package/lib/types/type.js +0 -7
- package/lib/types/type.js.map +0 -1
- package/lib/types/union.js +0 -51
- package/lib/types/union.js.map +0 -1
- package/lib6/common-types.d.ts +0 -44
- package/lib6/common-types.js +0 -7
- package/lib6/common-types.js.map +0 -1
- package/lib6/connector.d.ts +0 -12
- package/lib6/connector.js +0 -7
- package/lib6/connector.js.map +0 -1
- package/lib6/crud-connector.d.ts +0 -130
- package/lib6/crud-connector.js +0 -7
- package/lib6/crud-connector.js.map +0 -1
- package/lib6/datasource.d.ts +0 -11
- package/lib6/datasource.js.map +0 -1
- package/lib6/decorators/model.d.ts +0 -14
- package/lib6/decorators/model.js +0 -35
- package/lib6/decorators/model.js.map +0 -1
- package/lib6/decorators/relation.d.ts +0 -65
- package/lib6/decorators/relation.js +0 -126
- package/lib6/decorators/relation.js.map +0 -1
- package/lib6/decorators/repository.d.ts +0 -61
- package/lib6/decorators/repository.js +0 -113
- package/lib6/decorators/repository.js.map +0 -1
- package/lib6/index.d.ts +0 -15
- package/lib6/index.js +0 -19
- package/lib6/index.js.map +0 -1
- package/lib6/kv-connector.js +0 -7
- package/lib6/kv-connector.js.map +0 -1
- package/lib6/kv-repository.d.ts +0 -78
- package/lib6/kv-repository.js +0 -7
- package/lib6/kv-repository.js.map +0 -1
- package/lib6/legacy-juggler-bridge.d.ts +0 -44
- package/lib6/legacy-juggler-bridge.js +0 -119
- package/lib6/legacy-juggler-bridge.js.map +0 -1
- package/lib6/loopback-datasource-juggler.d.ts +0 -666
- package/lib6/loopback-datasource-juggler.js +0 -8
- package/lib6/loopback-datasource-juggler.js.map +0 -1
- package/lib6/mixin.d.ts +0 -43
- package/lib6/mixin.js +0 -34
- package/lib6/mixin.js.map +0 -1
- package/lib6/model.d.ts +0 -127
- package/lib6/model.js +0 -187
- package/lib6/model.js.map +0 -1
- package/lib6/query.d.ts +0 -112
- package/lib6/query.js +0 -25
- package/lib6/query.js.map +0 -1
- package/lib6/repository.d.ts +0 -172
- package/lib6/repository.js +0 -127
- package/lib6/repository.js.map +0 -1
- package/lib6/types/any.js.map +0 -1
- package/lib6/types/array.js +0 -53
- package/lib6/types/array.js.map +0 -1
- package/lib6/types/boolean.d.ts +0 -12
- package/lib6/types/boolean.js.map +0 -1
- package/lib6/types/buffer.js.map +0 -1
- package/lib6/types/date.d.ts +0 -12
- package/lib6/types/date.js.map +0 -1
- package/lib6/types/index.d.ts +0 -30
- package/lib6/types/index.js +0 -33
- package/lib6/types/index.js.map +0 -1
- package/lib6/types/model.js +0 -25
- package/lib6/types/model.js.map +0 -1
- package/lib6/types/number.js.map +0 -1
- package/lib6/types/object.d.ts +0 -15
- package/lib6/types/object.js.map +0 -1
- package/lib6/types/string.d.ts +0 -12
- package/lib6/types/string.js +0 -40
- package/lib6/types/string.js.map +0 -1
- package/lib6/types/type.d.ts +0 -38
- package/lib6/types/type.js.map +0 -1
- package/lib6/types/union.d.ts +0 -14
- package/lib6/types/union.js.map +0 -1
package/lib/types/object.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const util = require("util");
|
|
8
|
-
// tslint:disable:no-any
|
|
9
|
-
/**
|
|
10
|
-
* Object type
|
|
11
|
-
*/
|
|
12
|
-
class ObjectType {
|
|
13
|
-
constructor(type) {
|
|
14
|
-
this.type = type;
|
|
15
|
-
this.name = 'object';
|
|
16
|
-
}
|
|
17
|
-
isInstance(value) {
|
|
18
|
-
return value == null || value instanceof this.type;
|
|
19
|
-
}
|
|
20
|
-
isCoercible(value) {
|
|
21
|
-
return value == null ||
|
|
22
|
-
(typeof value === 'object' && !Array.isArray(value));
|
|
23
|
-
}
|
|
24
|
-
defaultValue() {
|
|
25
|
-
return new this.type();
|
|
26
|
-
}
|
|
27
|
-
coerce(value) {
|
|
28
|
-
if (value == null)
|
|
29
|
-
return value;
|
|
30
|
-
if (value instanceof this.type) {
|
|
31
|
-
return value;
|
|
32
|
-
}
|
|
33
|
-
if (typeof value !== 'object' || Array.isArray(value)) {
|
|
34
|
-
const msg = util.format('Invalid %s: %j', this.name, value);
|
|
35
|
-
throw new TypeError(msg);
|
|
36
|
-
}
|
|
37
|
-
return new this.type(value);
|
|
38
|
-
}
|
|
39
|
-
serialize(value) {
|
|
40
|
-
if (value == null)
|
|
41
|
-
return value;
|
|
42
|
-
if (typeof value.toJSON === 'function') {
|
|
43
|
-
return value.toJSON();
|
|
44
|
-
}
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.ObjectType = ObjectType;
|
|
49
|
-
//# sourceMappingURL=object.js.map
|
package/lib/types/object.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object.js","sourceRoot":"","sources":["../../src/types/object.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE;;AAEhE,6BAA6B;AAI7B,wBAAwB;AAExB;;GAEG;AACH;IAGE,YAAmB,IAAc;QAAd,SAAI,GAAJ,IAAI,CAAU;QAFjC,SAAI,GAAG,QAAQ,CAAC;IAEoB,CAAC;IAErC,UAAU,CAAC,KAAU;QACnB,MAAM,CAAC,KAAK,IAAI,IAAI,IAAI,KAAK,YAAY,IAAI,CAAC,IAAI,CAAC;IACrD,CAAC;IAED,WAAW,CAAC,KAAU;QACpB,MAAM,CAAC,KAAK,IAAI,IAAI;YAClB,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;IACzD,CAAC;IAED,YAAY;QACV,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,KAAU;QACf,EAAE,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC;YAAC,MAAM,CAAC,KAAK,CAAC;QAChC,EAAE,CAAC,CAAC,KAAK,YAAY,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;YAC/B,MAAM,CAAC,KAAK,CAAC;QACf,CAAC;QACD,EAAE,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YACtD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;YAC5D,MAAM,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;QAC3B,CAAC;QACD,MAAM,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED,SAAS,CAAC,KAA2B;QACnC,EAAE,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC;YAAC,MAAM,CAAC,KAAK,CAAC;QAChC,EAAE,CAAC,CAAC,OAAO,KAAK,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;YACvC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;QACxB,CAAC;QACD,MAAM,CAAC,KAAK,CAAC;IACf,CAAC;CACF;AArCD,gCAqCC"}
|
package/lib/types/string.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string.js","sourceRoot":"","sources":["../../src/types/string.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE;;AAIhE,wBAAwB;AAExB;;GAEG;AACH;IAAA;QACW,SAAI,GAAG,QAAQ,CAAC;IA4B3B,CAAC;IA1BC,UAAU,CAAC,KAAU;QACnB,MAAM,CAAC,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,CAAC;IACpD,CAAC;IAED,WAAW,CAAC,KAAU;QACpB,MAAM,CAAC,IAAI,CAAC;IACd,CAAC;IAED,YAAY;QACV,MAAM,CAAC,EAAE,CAAC;IACZ,CAAC;IAED,MAAM,CAAC,KAAU;QACf,EAAE,CAAC,CAAC,KAAK,IAAI,IAAI,CAAC;YAAC,MAAM,CAAC,KAAK,CAAC;QAChC,EAAE,CAAC,CAAC,OAAO,KAAK,CAAC,MAAM,KAAK,UAAU,CAAC,CAAC,CAAC;YACvC,KAAK,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC;QACzB,CAAC;QACD,EAAE,CAAC,CAAC,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC;YAC9B,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC/B,CAAC;QACD,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAED,SAAS,CAAC,KAAgC;QACxC,MAAM,CAAC,KAAK,CAAC;IACf,CAAC;CACF;AA7BD,gCA6BC"}
|
package/lib/types/type.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
//# sourceMappingURL=type.js.map
|
package/lib/types/type.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../src/types/type.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE"}
|
package/lib/types/union.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const util = require("util");
|
|
8
|
-
// tslint:disable:no-any
|
|
9
|
-
/**
|
|
10
|
-
* Union type, such as string | number
|
|
11
|
-
*/
|
|
12
|
-
class UnionType {
|
|
13
|
-
constructor(itemTypes) {
|
|
14
|
-
this.itemTypes = itemTypes;
|
|
15
|
-
this.name = 'union';
|
|
16
|
-
}
|
|
17
|
-
isInstance(value) {
|
|
18
|
-
return this.itemTypes.some(t => t.isInstance(value));
|
|
19
|
-
}
|
|
20
|
-
isCoercible(value) {
|
|
21
|
-
return this.itemTypes.some(t => t.isCoercible(value));
|
|
22
|
-
}
|
|
23
|
-
defaultValue() {
|
|
24
|
-
return this.itemTypes[0].defaultValue();
|
|
25
|
-
}
|
|
26
|
-
coerce(value) {
|
|
27
|
-
// First find instances
|
|
28
|
-
for (const type of this.itemTypes) {
|
|
29
|
-
if (type.isInstance(value)) {
|
|
30
|
-
return type.coerce(value);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
// Try coercible
|
|
34
|
-
for (const type of this.itemTypes) {
|
|
35
|
-
if (type.isCoercible(value)) {
|
|
36
|
-
return type.coerce(value);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
const msg = util.format('Invalid %s: %j', this.name, value);
|
|
40
|
-
throw new TypeError(msg);
|
|
41
|
-
}
|
|
42
|
-
serialize(value) {
|
|
43
|
-
for (const type of this.itemTypes) {
|
|
44
|
-
if (type.isInstance(value)) {
|
|
45
|
-
return type.serialize(value);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.UnionType = UnionType;
|
|
51
|
-
//# sourceMappingURL=union.js.map
|
package/lib/types/union.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"union.js","sourceRoot":"","sources":["../../src/types/union.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE;;AAEhE,6BAA6B;AAG7B,wBAAwB;AAExB;;GAEG;AACH;IACE,YAAmB,SAAsB;QAAtB,cAAS,GAAT,SAAS,CAAa;QAEhC,SAAI,GAAG,OAAO,CAAC;IAFoB,CAAC;IAI7C,UAAU,CAAC,KAAU;QACnB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACvD,CAAC;IAED,WAAW,CAAC,KAAU;QACpB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;IACxD,CAAC;IAED,YAAY;QACV,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,YAAY,EAAE,CAAC;IAC1C,CAAC;IAED,MAAM,CAAC,KAAU;QACf,uBAAuB;QACvB,GAAG,CAAC,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAClC,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC3B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QACD,gBAAgB;QAChB,GAAG,CAAC,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAClC,EAAE,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC5B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC5B,CAAC;QACH,CAAC;QACD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QAC5D,MAAM,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;IAC3B,CAAC;IAED,SAAS,CAAC,KAAU;QAClB,GAAG,CAAC,CAAC,MAAM,IAAI,IAAI,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;YAClC,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAC3B,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;YAC/B,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAzCD,8BAyCC"}
|
package/lib6/common-types.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Common types/interfaces such as Class/Constructor/Options/Callback
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Interface for classes with `new` operator and static properties/methods
|
|
6
|
-
*/
|
|
7
|
-
export interface Class<T> {
|
|
8
|
-
new (...args: any[]): T;
|
|
9
|
-
[property: string]: any;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Interface for constructor functions without `new` operator, for example,
|
|
13
|
-
* ```
|
|
14
|
-
* function Foo(x) {
|
|
15
|
-
* if (!(this instanceof Foo)) { return new Foo(x); }
|
|
16
|
-
* this.x = x;
|
|
17
|
-
* }
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export interface ConstructorFunction<T> {
|
|
21
|
-
(...args: any[]): T;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Constructor type - class or function
|
|
25
|
-
*/
|
|
26
|
-
export declare type Constructor<T> = Class<T> | ConstructorFunction<T>;
|
|
27
|
-
/**
|
|
28
|
-
* Objects with open properties
|
|
29
|
-
*/
|
|
30
|
-
export interface AnyObject {
|
|
31
|
-
[property: string]: any;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Type alias for T or any object
|
|
35
|
-
*/
|
|
36
|
-
export declare type DataObject<T> = T | AnyObject;
|
|
37
|
-
/**
|
|
38
|
-
* Type alias for Node.js options object
|
|
39
|
-
*/
|
|
40
|
-
export declare type Options = AnyObject | null | undefined;
|
|
41
|
-
/**
|
|
42
|
-
* Type alias for Node.js callback functions
|
|
43
|
-
*/
|
|
44
|
-
export declare type Callback<T> = (err: Error | string | null | undefined, result?: T) => void;
|
package/lib6/common-types.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
//# sourceMappingURL=common-types.js.map
|
package/lib6/common-types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common-types.js","sourceRoot":"","sources":["../src/common-types.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE"}
|
package/lib6/connector.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Model } from './model';
|
|
2
|
-
/**
|
|
3
|
-
* Common properties/operations for connectors
|
|
4
|
-
*/
|
|
5
|
-
export interface Connector {
|
|
6
|
-
name: string;
|
|
7
|
-
configModel?: Model;
|
|
8
|
-
interfaces?: string[];
|
|
9
|
-
connect(): Promise<void>;
|
|
10
|
-
disconnect(): Promise<void>;
|
|
11
|
-
ping(): Promise<void>;
|
|
12
|
-
}
|
package/lib6/connector.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
//# sourceMappingURL=connector.js.map
|
package/lib6/connector.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"connector.js","sourceRoot":"","sources":["../src/connector.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE"}
|
package/lib6/crud-connector.d.ts
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import { Connector } from './connector';
|
|
2
|
-
import { Entity, EntityData } from './model';
|
|
3
|
-
import { Filter, Where } from './query';
|
|
4
|
-
import { Class, Options } from './common-types';
|
|
5
|
-
/**
|
|
6
|
-
* CRUD operations for connector implementations
|
|
7
|
-
*/
|
|
8
|
-
export interface CrudConnector extends Connector {
|
|
9
|
-
/**
|
|
10
|
-
* Create a new entity
|
|
11
|
-
* @param modelClass The model class
|
|
12
|
-
* @param entity The entity instance or data
|
|
13
|
-
* @param options Options for the operation
|
|
14
|
-
* @returns A promise of the entity created
|
|
15
|
-
*/
|
|
16
|
-
create(modelClass: Class<Entity>, entity: EntityData, options?: Options): Promise<EntityData>;
|
|
17
|
-
/**
|
|
18
|
-
* Create multiple entities
|
|
19
|
-
* @param modelClass The model class
|
|
20
|
-
* @param entities An array of entity instances or data
|
|
21
|
-
* @param options Options for the operation
|
|
22
|
-
* @returns A promise of an array of entities created
|
|
23
|
-
*/
|
|
24
|
-
createAll?(modelClass: Class<Entity>, entities: EntityData[], options?: Options): Promise<EntityData[]>;
|
|
25
|
-
/**
|
|
26
|
-
* Save an entity
|
|
27
|
-
* @param modelClass The model class
|
|
28
|
-
* @param entity The entity instance or data
|
|
29
|
-
* @param options Options for the operation
|
|
30
|
-
* @returns A promise of the entity saved
|
|
31
|
-
*/
|
|
32
|
-
save?(modelClass: Class<Entity>, entity: EntityData, options?: Options): Promise<EntityData>;
|
|
33
|
-
/**
|
|
34
|
-
* Find matching entities by the filter
|
|
35
|
-
* @param modelClass The model class
|
|
36
|
-
* @param filter The query filter
|
|
37
|
-
* @param options Options for the operation
|
|
38
|
-
* @returns A promise of an array of entities found for the filter
|
|
39
|
-
*/
|
|
40
|
-
find(modelClass: Class<Entity>, filter?: Filter, options?: Options): Promise<EntityData[]>;
|
|
41
|
-
/**
|
|
42
|
-
* Find an entity by id
|
|
43
|
-
* @param modelClass The model class
|
|
44
|
-
* @param id The entity id value
|
|
45
|
-
* @param options Options for the operation
|
|
46
|
-
* @returns A promise of the entity found for the id
|
|
47
|
-
*/
|
|
48
|
-
findById?<IdType>(modelClass: Class<Entity>, id: IdType, options?: Options): Promise<EntityData>;
|
|
49
|
-
/**
|
|
50
|
-
* Update an entity
|
|
51
|
-
* @param modelClass The model class
|
|
52
|
-
* @param entity The entity instance or data
|
|
53
|
-
* @param options Options for the operation
|
|
54
|
-
* @returns Promise<true> if an entity is updated, otherwise
|
|
55
|
-
* Promise<false>
|
|
56
|
-
*/
|
|
57
|
-
update?(modelClass: Class<Entity>, entity: EntityData, options?: Options): Promise<boolean>;
|
|
58
|
-
/**
|
|
59
|
-
* Delete an entity
|
|
60
|
-
* @param modelClass The model class
|
|
61
|
-
* @param entity The entity instance or data
|
|
62
|
-
* @param options Options for the operation
|
|
63
|
-
* @returns Promise<true> if an entity is deleted, otherwise
|
|
64
|
-
* Promise<false>
|
|
65
|
-
*/
|
|
66
|
-
delete?(modelClass: Class<Entity>, entity: EntityData, options?: Options): Promise<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* Update matching entities
|
|
69
|
-
* @param modelClass The model class
|
|
70
|
-
* @param data The data attributes to be updated
|
|
71
|
-
* @param where The matching criteria
|
|
72
|
-
* @param options Options for the operation
|
|
73
|
-
* @returns A promise of number of matching entities deleted
|
|
74
|
-
*/
|
|
75
|
-
updateAll(modelClass: Class<Entity>, data: EntityData, where?: Where, options?: Options): Promise<number>;
|
|
76
|
-
/**
|
|
77
|
-
* Update an entity by id
|
|
78
|
-
* @param modelClass The model class
|
|
79
|
-
* @param id The entity id value
|
|
80
|
-
* @param data The data attributes to be updated
|
|
81
|
-
* @param options Options for the operation
|
|
82
|
-
* @returns Promise<true> if an entity is updated for the id, otherwise
|
|
83
|
-
* Promise<false>
|
|
84
|
-
*/
|
|
85
|
-
updateById?<IdType>(modelClass: Class<Entity>, id: IdType, data: EntityData, options?: Options): Promise<boolean>;
|
|
86
|
-
/**
|
|
87
|
-
* Replace an entity by id
|
|
88
|
-
* @param modelClass The model class
|
|
89
|
-
* @param id The entity id value
|
|
90
|
-
* @param data The data attributes to be updated
|
|
91
|
-
* @param options Options for the operation
|
|
92
|
-
* @returns Promise<true> if an entity is replaced for the id, otherwise
|
|
93
|
-
* Promise<false>
|
|
94
|
-
*/
|
|
95
|
-
replaceById?<IdType>(modelClass: Class<Entity>, id: IdType, data: EntityData, options?: Options): Promise<boolean>;
|
|
96
|
-
/**
|
|
97
|
-
* Delete matching entities
|
|
98
|
-
* @param modelClass The model class
|
|
99
|
-
* @param where The matching criteria
|
|
100
|
-
* @param options Options for the operation
|
|
101
|
-
* @returns A promise of number of matching entities deleted
|
|
102
|
-
*/
|
|
103
|
-
deleteAll(modelClass: Class<Entity>, where?: Where, options?: Options): Promise<number>;
|
|
104
|
-
/**
|
|
105
|
-
* Delete an entity by id
|
|
106
|
-
* @param modelClass The model class
|
|
107
|
-
* @param id The entity id value
|
|
108
|
-
* @param options Options for the operation
|
|
109
|
-
* @returns Promise<true> if an entity is deleted for the id, otherwise
|
|
110
|
-
* Promise<false>
|
|
111
|
-
*/
|
|
112
|
-
deleteById?<IdType>(modelClass: Class<Entity>, id: IdType, options?: Options): Promise<boolean>;
|
|
113
|
-
/**
|
|
114
|
-
* Count matching entities
|
|
115
|
-
* @param modelClass The model class
|
|
116
|
-
* @param where The matching criteria
|
|
117
|
-
* @param options Options for the operation
|
|
118
|
-
* @returns A promise of number of matching entities
|
|
119
|
-
*/
|
|
120
|
-
count(modelClass: Class<Entity>, where?: Where, options?: Options): Promise<number>;
|
|
121
|
-
/**
|
|
122
|
-
* Check if an entity exists for the id
|
|
123
|
-
* @param modelClass The model class
|
|
124
|
-
* @param id The entity id value
|
|
125
|
-
* @param options Options for the operation
|
|
126
|
-
* @returns Promise<true> if an entity exists for the id, otherwise
|
|
127
|
-
* Promise<false>
|
|
128
|
-
*/
|
|
129
|
-
exists?<IdType>(modelClass: Class<Entity>, id: IdType, options?: Options): Promise<boolean>;
|
|
130
|
-
}
|
package/lib6/crud-connector.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
//# sourceMappingURL=crud-connector.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crud-connector.js","sourceRoot":"","sources":["../src/crud-connector.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE"}
|
package/lib6/datasource.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AnyObject } from './common-types';
|
|
2
|
-
import { Connector } from './connector';
|
|
3
|
-
/**
|
|
4
|
-
* DataSource denotes a configured connector
|
|
5
|
-
*/
|
|
6
|
-
export interface DataSource {
|
|
7
|
-
name: string;
|
|
8
|
-
connector?: Connector;
|
|
9
|
-
settings: AnyObject;
|
|
10
|
-
[property: string]: any;
|
|
11
|
-
}
|
package/lib6/datasource.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datasource.js","sourceRoot":"","sources":["../src/datasource.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const MODEL_KEY = "loopback:model";
|
|
2
|
-
export declare const PROPERTY_KEY = "loopback:property";
|
|
3
|
-
/**
|
|
4
|
-
* Decorator for model definitions
|
|
5
|
-
* @param definition
|
|
6
|
-
* @returns {(target:any)}
|
|
7
|
-
*/
|
|
8
|
-
export declare function model(definition?: Object): (target: any) => void;
|
|
9
|
-
/**
|
|
10
|
-
* Decorator for model properties
|
|
11
|
-
* @param definition
|
|
12
|
-
* @returns {(target:any, key:string)}
|
|
13
|
-
*/
|
|
14
|
-
export declare function property(definition?: Object): (target: any, key: string) => void;
|
package/lib6/decorators/model.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const context_1 = require("@loopback/context");
|
|
8
|
-
exports.MODEL_KEY = 'loopback:model';
|
|
9
|
-
exports.PROPERTY_KEY = 'loopback:property';
|
|
10
|
-
// tslint:disable:no-any
|
|
11
|
-
/**
|
|
12
|
-
* Decorator for model definitions
|
|
13
|
-
* @param definition
|
|
14
|
-
* @returns {(target:any)}
|
|
15
|
-
*/
|
|
16
|
-
function model(definition) {
|
|
17
|
-
return function (target) {
|
|
18
|
-
// Apply model definition to the model class
|
|
19
|
-
context_1.Reflector.defineMetadata(exports.MODEL_KEY, definition, target);
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
exports.model = model;
|
|
23
|
-
/**
|
|
24
|
-
* Decorator for model properties
|
|
25
|
-
* @param definition
|
|
26
|
-
* @returns {(target:any, key:string)}
|
|
27
|
-
*/
|
|
28
|
-
function property(definition) {
|
|
29
|
-
return function (target, key) {
|
|
30
|
-
// Apply model definition to the model class
|
|
31
|
-
context_1.Reflector.defineMetadata(exports.PROPERTY_KEY, definition, target, key);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
exports.property = property;
|
|
35
|
-
//# sourceMappingURL=model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/decorators/model.ts"],"names":[],"mappings":";AAAA,iDAAiD;AACjD,oCAAoC;AACpC,+CAA+C;AAC/C,gEAAgE;;AAGhE,+CAA4C;AAE/B,QAAA,SAAS,GAAG,gBAAgB,CAAC;AAC7B,QAAA,YAAY,GAAG,mBAAmB,CAAC;AAEhD,wBAAwB;AAExB;;;;GAIG;AACH,eAAsB,UAAmB;IACvC,MAAM,CAAC,UAAS,MAAW;QACzB,4CAA4C;QAC5C,mBAAS,CAAC,cAAc,CAAC,iBAAS,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IAC1D,CAAC,CAAC;AACJ,CAAC;AALD,sBAKC;AAED;;;;GAIG;AACH,kBAAyB,UAAmB;IAC1C,MAAM,CAAC,UAAS,MAAW,EAAE,GAAW;QACtC,4CAA4C;QAC5C,mBAAS,CAAC,cAAc,CAAC,oBAAY,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IAClE,CAAC,CAAC;AACJ,CAAC;AALD,4BAKC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Class } from '../common-types';
|
|
2
|
-
import { Entity } from '../model';
|
|
3
|
-
export declare enum RelationType {
|
|
4
|
-
belongsTo = 0,
|
|
5
|
-
hasOne = 1,
|
|
6
|
-
hasMany = 2,
|
|
7
|
-
embedsOne = 3,
|
|
8
|
-
embedsMany = 4,
|
|
9
|
-
referencesOne = 5,
|
|
10
|
-
referencesMany = 6,
|
|
11
|
-
}
|
|
12
|
-
export declare const RELATION_KEY = "loopback:relation";
|
|
13
|
-
export declare class RelationMetadata {
|
|
14
|
-
type: RelationType;
|
|
15
|
-
target: string | Class<Entity>;
|
|
16
|
-
as: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Decorator for relations
|
|
20
|
-
* @param definition
|
|
21
|
-
* @returns {(target:any, key:string)}
|
|
22
|
-
*/
|
|
23
|
-
export declare function relation(definition?: Object): (target: any, key: string) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Decorator for belongsTo
|
|
26
|
-
* @param definition
|
|
27
|
-
* @returns {(target:any, key:string)}
|
|
28
|
-
*/
|
|
29
|
-
export declare function belongsTo(definition?: Object): (target: any, key: string) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Decorator for hasOne
|
|
32
|
-
* @param definition
|
|
33
|
-
* @returns {(target:any, key:string)}
|
|
34
|
-
*/
|
|
35
|
-
export declare function hasOne(definition?: Object): (target: any, key: string) => void;
|
|
36
|
-
/**
|
|
37
|
-
* Decorator for hasMany
|
|
38
|
-
* @param definition
|
|
39
|
-
* @returns {(target:any, key:string)}
|
|
40
|
-
*/
|
|
41
|
-
export declare function hasMany(definition?: Object): (target: any, key: string) => void;
|
|
42
|
-
/**
|
|
43
|
-
* Decorator for embedsOne
|
|
44
|
-
* @param definition
|
|
45
|
-
* @returns {(target:any, key:string)}
|
|
46
|
-
*/
|
|
47
|
-
export declare function embedsOne(definition?: Object): (target: any, key: string) => void;
|
|
48
|
-
/**
|
|
49
|
-
* Decorator for embedsMany
|
|
50
|
-
* @param definition
|
|
51
|
-
* @returns {(target:any, key:string)}
|
|
52
|
-
*/
|
|
53
|
-
export declare function embedsMany(definition?: Object): (target: any, key: string) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Decorator for referencesOne
|
|
56
|
-
* @param definition
|
|
57
|
-
* @returns {(target:any, key:string)}
|
|
58
|
-
*/
|
|
59
|
-
export declare function referencesOne(definition?: Object): (target: any, key: string) => void;
|
|
60
|
-
/**
|
|
61
|
-
* Decorator for referencesMany
|
|
62
|
-
* @param definition
|
|
63
|
-
* @returns {(target:any, key:string)}
|
|
64
|
-
*/
|
|
65
|
-
export declare function referencesMany(definition?: Object): (target: any, key: string) => void;
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2017. All Rights Reserved.
|
|
3
|
-
// Node module: @loopback/repository
|
|
4
|
-
// This file is licensed under the MIT License.
|
|
5
|
-
// License text available at https://opensource.org/licenses/MIT
|
|
6
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
const context_1 = require("@loopback/context");
|
|
8
|
-
// tslint:disable:no-any
|
|
9
|
-
var RelationType;
|
|
10
|
-
(function (RelationType) {
|
|
11
|
-
RelationType[RelationType["belongsTo"] = 0] = "belongsTo";
|
|
12
|
-
RelationType[RelationType["hasOne"] = 1] = "hasOne";
|
|
13
|
-
RelationType[RelationType["hasMany"] = 2] = "hasMany";
|
|
14
|
-
RelationType[RelationType["embedsOne"] = 3] = "embedsOne";
|
|
15
|
-
RelationType[RelationType["embedsMany"] = 4] = "embedsMany";
|
|
16
|
-
RelationType[RelationType["referencesOne"] = 5] = "referencesOne";
|
|
17
|
-
RelationType[RelationType["referencesMany"] = 6] = "referencesMany";
|
|
18
|
-
})(RelationType = exports.RelationType || (exports.RelationType = {}));
|
|
19
|
-
exports.RELATION_KEY = 'loopback:relation';
|
|
20
|
-
class RelationMetadata {
|
|
21
|
-
}
|
|
22
|
-
exports.RelationMetadata = RelationMetadata;
|
|
23
|
-
/**
|
|
24
|
-
* Decorator for relations
|
|
25
|
-
* @param definition
|
|
26
|
-
* @returns {(target:any, key:string)}
|
|
27
|
-
*/
|
|
28
|
-
function relation(definition) {
|
|
29
|
-
return function (target, key) {
|
|
30
|
-
// Apply model definition to the model class
|
|
31
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, definition, target, key);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
exports.relation = relation;
|
|
35
|
-
/**
|
|
36
|
-
* Decorator for belongsTo
|
|
37
|
-
* @param definition
|
|
38
|
-
* @returns {(target:any, key:string)}
|
|
39
|
-
*/
|
|
40
|
-
function belongsTo(definition) {
|
|
41
|
-
return function (target, key) {
|
|
42
|
-
// Apply model definition to the model class
|
|
43
|
-
const rel = Object.assign({ type: RelationType.belongsTo }, definition);
|
|
44
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.belongsTo = belongsTo;
|
|
48
|
-
/**
|
|
49
|
-
* Decorator for hasOne
|
|
50
|
-
* @param definition
|
|
51
|
-
* @returns {(target:any, key:string)}
|
|
52
|
-
*/
|
|
53
|
-
function hasOne(definition) {
|
|
54
|
-
return function (target, key) {
|
|
55
|
-
// Apply model definition to the model class
|
|
56
|
-
const rel = Object.assign({ type: RelationType.hasOne }, definition);
|
|
57
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
exports.hasOne = hasOne;
|
|
61
|
-
/**
|
|
62
|
-
* Decorator for hasMany
|
|
63
|
-
* @param definition
|
|
64
|
-
* @returns {(target:any, key:string)}
|
|
65
|
-
*/
|
|
66
|
-
function hasMany(definition) {
|
|
67
|
-
return function (target, key) {
|
|
68
|
-
// Apply model definition to the model class
|
|
69
|
-
const rel = Object.assign({ type: RelationType.hasMany }, definition);
|
|
70
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
exports.hasMany = hasMany;
|
|
74
|
-
/**
|
|
75
|
-
* Decorator for embedsOne
|
|
76
|
-
* @param definition
|
|
77
|
-
* @returns {(target:any, key:string)}
|
|
78
|
-
*/
|
|
79
|
-
function embedsOne(definition) {
|
|
80
|
-
return function (target, key) {
|
|
81
|
-
// Apply model definition to the model class
|
|
82
|
-
const rel = Object.assign({ type: RelationType.embedsOne }, definition);
|
|
83
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
exports.embedsOne = embedsOne;
|
|
87
|
-
/**
|
|
88
|
-
* Decorator for embedsMany
|
|
89
|
-
* @param definition
|
|
90
|
-
* @returns {(target:any, key:string)}
|
|
91
|
-
*/
|
|
92
|
-
function embedsMany(definition) {
|
|
93
|
-
return function (target, key) {
|
|
94
|
-
// Apply model definition to the model class
|
|
95
|
-
const rel = Object.assign({ type: RelationType.embedsMany }, definition);
|
|
96
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
exports.embedsMany = embedsMany;
|
|
100
|
-
/**
|
|
101
|
-
* Decorator for referencesOne
|
|
102
|
-
* @param definition
|
|
103
|
-
* @returns {(target:any, key:string)}
|
|
104
|
-
*/
|
|
105
|
-
function referencesOne(definition) {
|
|
106
|
-
return function (target, key) {
|
|
107
|
-
// Apply model definition to the model class
|
|
108
|
-
const rel = Object.assign({ type: RelationType.referencesOne }, definition);
|
|
109
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
exports.referencesOne = referencesOne;
|
|
113
|
-
/**
|
|
114
|
-
* Decorator for referencesMany
|
|
115
|
-
* @param definition
|
|
116
|
-
* @returns {(target:any, key:string)}
|
|
117
|
-
*/
|
|
118
|
-
function referencesMany(definition) {
|
|
119
|
-
return function (target, key) {
|
|
120
|
-
// Apply model definition to the model class
|
|
121
|
-
const rel = Object.assign({ type: RelationType.referencesMany }, definition);
|
|
122
|
-
context_1.Reflector.defineMetadata(exports.RELATION_KEY, rel, target, key);
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
exports.referencesMany = referencesMany;
|
|
126
|
-
//# sourceMappingURL=relation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"relation.js","sourceRoot":"","sources":["../../src/decorators/relation.ts"],"names":[],"mappings":"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"}
|