@opra/common 1.0.0-alpha.24 → 1.0.0-alpha.26
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/browser.js
CHANGED
|
@@ -12914,6 +12914,12 @@ HttpOperation2.Entity.FindMany = function(arg0, arg1) {
|
|
|
12914
12914
|
decoratorChain.push((operationMeta) => {
|
|
12915
12915
|
const compositionOptions = operationMeta.compositionOptions = operationMeta.compositionOptions || {};
|
|
12916
12916
|
compositionOptions.type = getDataTypeName(args.type);
|
|
12917
|
+
if (args.defaultLimit)
|
|
12918
|
+
compositionOptions.defaultLimit = args.defaultLimit;
|
|
12919
|
+
if (args.defaultProjection)
|
|
12920
|
+
compositionOptions.defaultProjection = args.defaultProjection;
|
|
12921
|
+
if (args.maxLimit)
|
|
12922
|
+
compositionOptions.maxLimit = args.maxLimit;
|
|
12917
12923
|
});
|
|
12918
12924
|
decorator.DefaultSort = (...fields) => {
|
|
12919
12925
|
decoratorChain.push((operationMeta) => {
|
|
@@ -231,6 +231,12 @@ http_operation_js_1.HttpOperation.Entity.FindMany = function (arg0, arg1) {
|
|
|
231
231
|
decoratorChain.push((operationMeta) => {
|
|
232
232
|
const compositionOptions = (operationMeta.compositionOptions = operationMeta.compositionOptions || {});
|
|
233
233
|
compositionOptions.type = getDataTypeName(args.type);
|
|
234
|
+
if (args.defaultLimit)
|
|
235
|
+
compositionOptions.defaultLimit = args.defaultLimit;
|
|
236
|
+
if (args.defaultProjection)
|
|
237
|
+
compositionOptions.defaultProjection = args.defaultProjection;
|
|
238
|
+
if (args.maxLimit)
|
|
239
|
+
compositionOptions.maxLimit = args.maxLimit;
|
|
234
240
|
});
|
|
235
241
|
decorator.DefaultSort = (...fields) => {
|
|
236
242
|
decoratorChain.push((operationMeta) => {
|
|
@@ -229,6 +229,12 @@ HttpOperation.Entity.FindMany = function (arg0, arg1) {
|
|
|
229
229
|
decoratorChain.push((operationMeta) => {
|
|
230
230
|
const compositionOptions = (operationMeta.compositionOptions = operationMeta.compositionOptions || {});
|
|
231
231
|
compositionOptions.type = getDataTypeName(args.type);
|
|
232
|
+
if (args.defaultLimit)
|
|
233
|
+
compositionOptions.defaultLimit = args.defaultLimit;
|
|
234
|
+
if (args.defaultProjection)
|
|
235
|
+
compositionOptions.defaultProjection = args.defaultProjection;
|
|
236
|
+
if (args.maxLimit)
|
|
237
|
+
compositionOptions.maxLimit = args.maxLimit;
|
|
232
238
|
});
|
|
233
239
|
decorator.DefaultSort = (...fields) => {
|
|
234
240
|
decoratorChain.push((operationMeta) => {
|
package/package.json
CHANGED