@metriport/shared 0.14.4-alpha.0 → 0.14.5
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/dist/api/pagination.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ export type ResponseMeta = {
|
|
|
2
2
|
prevPage?: string | null;
|
|
3
3
|
nextPage?: string | null;
|
|
4
4
|
itemsOnPage: number;
|
|
5
|
+
/** Indicates the total number of items in all pages; only available in the first page. */
|
|
6
|
+
itemsInTotal?: number;
|
|
5
7
|
};
|
|
6
8
|
export type PaginatedResponse<T, PropertyName extends string> = {
|
|
7
9
|
meta: ResponseMeta;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/api/pagination.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../src/api/pagination.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,0FAA0F;IAC1F,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,CAAC,EAAE,YAAY,SAAS,MAAM,IAAI;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GAAG;KACtF,CAAC,IAAI,YAAY,GAAG,CAAC,EAAE;CACzB,CAAC"}
|
|
@@ -39,8 +39,8 @@ function getDefaultLimit(operation) {
|
|
|
39
39
|
}
|
|
40
40
|
exports.getDefaultLimit = getDefaultLimit;
|
|
41
41
|
const defaultOperationLimits = {
|
|
42
|
-
patientCreateOrUpdate:
|
|
43
|
-
documentQuery:
|
|
44
|
-
consolidatedDataQuery:
|
|
42
|
+
patientCreateOrUpdate: 15,
|
|
43
|
+
documentQuery: 20,
|
|
44
|
+
consolidatedDataQuery: 120,
|
|
45
45
|
};
|
|
46
46
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/shared",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.5",
|
|
4
4
|
"description": "Common code shared across packages - by Metriport Inc.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"ts-jest": "29.1.1",
|
|
84
84
|
"typescript": "^4.9.5"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "a54c10c235c75031b77e4730794d99cbd772de6e"
|
|
87
87
|
}
|