@metriport/shared 0.30.1 → 0.32.1-alpha.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/dist/domain/cql-engine/transform.d.ts +2 -2
- package/dist/net/index.d.ts +0 -1
- package/dist/net/index.d.ts.map +1 -1
- package/dist/net/index.js +0 -3
- package/dist/net/index.js.map +1 -1
- package/package.json +3 -2
- package/dist/net/axios.d.ts +0 -3
- package/dist/net/axios.d.ts.map +0 -1
- package/dist/net/axios.js +0 -21
- package/dist/net/axios.js.map +0 -1
|
@@ -15,17 +15,17 @@ export declare const cqlTransformSchema: z.ZodObject<{
|
|
|
15
15
|
cxId: string;
|
|
16
16
|
patientId: string;
|
|
17
17
|
jobId?: string | undefined;
|
|
18
|
-
mode?: "engine" | "cli" | undefined;
|
|
19
18
|
patientBundleS3Key?: string | undefined;
|
|
20
19
|
measuresToExecute?: string[] | undefined;
|
|
20
|
+
mode?: "engine" | "cli" | undefined;
|
|
21
21
|
parameters?: Record<string, unknown> | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
cxId: string;
|
|
24
24
|
patientId: string;
|
|
25
25
|
jobId?: string | undefined;
|
|
26
|
-
mode?: "engine" | "cli" | undefined;
|
|
27
26
|
patientBundleS3Key?: string | undefined;
|
|
28
27
|
measuresToExecute?: string[] | undefined;
|
|
28
|
+
mode?: "engine" | "cli" | undefined;
|
|
29
29
|
parameters?: Record<string, unknown> | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
export type CqlTransformRequest = z.infer<typeof cqlTransformSchema>;
|
package/dist/net/index.d.ts
CHANGED
package/dist/net/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/net/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/net/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC"}
|
package/dist/net/index.js
CHANGED
|
@@ -14,9 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.makeAxiosInstance = void 0;
|
|
18
|
-
var axios_1 = require("./axios");
|
|
19
|
-
Object.defineProperty(exports, "makeAxiosInstance", { enumerable: true, get: function () { return axios_1.makeAxiosInstance; } });
|
|
20
17
|
__exportStar(require("./error"), exports);
|
|
21
18
|
__exportStar(require("./http"), exports);
|
|
22
19
|
__exportStar(require("./retry"), exports);
|
package/dist/net/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/net/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/net/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yCAAuB;AACvB,0CAAwB;AACxB,wCAAsB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metriport/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.1-alpha.0",
|
|
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/",
|
|
@@ -127,5 +127,6 @@
|
|
|
127
127
|
"ts-essentials": "^9.3.1",
|
|
128
128
|
"ts-jest": "29.1.1",
|
|
129
129
|
"typescript": "^4.9.5"
|
|
130
|
-
}
|
|
130
|
+
},
|
|
131
|
+
"gitHead": "728aaff216356820514832c41ee8527af8179df6"
|
|
131
132
|
}
|
package/dist/net/axios.d.ts
DELETED
package/dist/net/axios.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"axios.d.ts","sourceRoot":"","sources":["../../src/net/axios.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAMlE,wBAAgB,iBAAiB,CAAC,MAAM,GAAE,OAAO,CAAC,mBAAmB,CAAM,GAAG,aAAa,CAQ1F"}
|
package/dist/net/axios.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.makeAxiosInstance = void 0;
|
|
7
|
-
const axios_1 = __importDefault(require("axios"));
|
|
8
|
-
const http_1 = __importDefault(require("http"));
|
|
9
|
-
const https_1 = __importDefault(require("https"));
|
|
10
|
-
const isLocalDevelopment = process.env["NODE_ENV"] !== "production";
|
|
11
|
-
function makeAxiosInstance(config = {}) {
|
|
12
|
-
const defaults = {};
|
|
13
|
-
if (isLocalDevelopment) {
|
|
14
|
-
// Fix IPv4 only by default so we don't get errors on local development from Axios trying to use IPv6.
|
|
15
|
-
defaults.httpAgent = new http_1.default.Agent({ family: 4 });
|
|
16
|
-
defaults.httpsAgent = new https_1.default.Agent({ family: 4 });
|
|
17
|
-
}
|
|
18
|
-
return axios_1.default.create({ ...defaults, ...config });
|
|
19
|
-
}
|
|
20
|
-
exports.makeAxiosInstance = makeAxiosInstance;
|
|
21
|
-
//# sourceMappingURL=axios.js.map
|
package/dist/net/axios.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"axios.js","sourceRoot":"","sources":["../../src/net/axios.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAkE;AAClE,gDAAwB;AACxB,kDAA0B;AAE1B,MAAM,kBAAkB,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,YAAY,CAAC;AAEpE,SAAgB,iBAAiB,CAAC,SAAuC,EAAE;IACzE,MAAM,QAAQ,GAAiC,EAAE,CAAC;IAClD,IAAI,kBAAkB,EAAE;QACtB,sGAAsG;QACtG,QAAQ,CAAC,SAAS,GAAG,IAAI,cAAI,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;QACnD,QAAQ,CAAC,UAAU,GAAG,IAAI,eAAK,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,CAAC;KACtD;IACD,OAAO,eAAK,CAAC,MAAM,CAAC,EAAE,GAAG,QAAQ,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;AAClD,CAAC;AARD,8CAQC"}
|