@clinia/context-engine-js 0.7.0-rc.4 → 0.7.0-rc.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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/dist/generated/context-engine.d.ts +230 -1488
- package/dist/generated/types.d.ts +12 -0
- package/package.json +3 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { components } from "./context-engine";
|
|
2
2
|
export type ServiceInfo = components["schemas"]["ServiceInfo"];
|
|
3
3
|
export type PatientList = components["schemas"]["PatientList"];
|
|
4
|
+
export type PatientDemographics = components["schemas"]["PatientDemographics"];
|
|
4
5
|
export type PatientDetail = components["schemas"]["PatientDetail"];
|
|
5
6
|
export type ApiError = components["schemas"]["ApiError"];
|
|
6
7
|
export type Patient = components["schemas"]["Patient"];
|
|
@@ -23,11 +24,22 @@ export type IngestSessionBody = components["schemas"]["IngestSessionBody"];
|
|
|
23
24
|
export type BrowseResult = components["schemas"]["BrowseResult"];
|
|
24
25
|
export type ReadResponse = components["schemas"]["ReadResponse"];
|
|
25
26
|
export type Node = components["schemas"]["Node"];
|
|
27
|
+
export type ExtractedFactNode = components["schemas"]["ExtractedFactNode"];
|
|
28
|
+
export type FactNode = components["schemas"]["FactNode"];
|
|
26
29
|
export type FactConflicts = components["schemas"]["FactConflicts"];
|
|
27
30
|
export type ScoredFactMember = components["schemas"]["ScoredFactMember"];
|
|
31
|
+
export type ExtractedNarrativeNode = components["schemas"]["ExtractedNarrativeNode"];
|
|
32
|
+
export type NarrativePassageNode = components["schemas"]["NarrativePassageNode"];
|
|
33
|
+
export type NarrativeNode = components["schemas"]["NarrativeNode"];
|
|
34
|
+
export type LearnedMemoryNode = components["schemas"]["LearnedMemoryNode"];
|
|
35
|
+
export type ExtractedClinicalEventNode = components["schemas"]["ExtractedClinicalEventNode"];
|
|
28
36
|
export type NodeList = components["schemas"]["NodeList"];
|
|
29
37
|
export type Edge = components["schemas"]["Edge"];
|
|
38
|
+
export type ResolutionDecisionEdge = components["schemas"]["ResolutionDecisionEdge"];
|
|
30
39
|
export type NodeRef = components["schemas"]["NodeRef"];
|
|
40
|
+
export type ResolvesToEdge = components["schemas"]["ResolvesToEdge"];
|
|
41
|
+
export type ChunkedIntoEdge = components["schemas"]["ChunkedIntoEdge"];
|
|
42
|
+
export type RelationshipEdge = components["schemas"]["RelationshipEdge"];
|
|
31
43
|
export type EdgeList = components["schemas"]["EdgeList"];
|
|
32
44
|
export type ExtractedFactNodeList = components["schemas"]["ExtractedFactNodeList"];
|
|
33
45
|
export type FactNodeList = components["schemas"]["FactNodeList"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clinia/context-engine-js",
|
|
3
|
-
"version": "0.7.0-rc.
|
|
3
|
+
"version": "0.7.0-rc.5",
|
|
4
4
|
"description": "TypeScript client for the Clinia Context Engine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"clinia",
|
|
@@ -41,12 +41,10 @@
|
|
|
41
41
|
"@types/node": "^22.15.2",
|
|
42
42
|
"openapi-typescript": "^7.13.0",
|
|
43
43
|
"tsup": "^8.5.1",
|
|
44
|
-
"
|
|
45
|
-
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
46
|
-
"yaml": "^2.8.3"
|
|
44
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
47
45
|
},
|
|
48
46
|
"scripts": {
|
|
49
|
-
"generate": "openapi-typescript ../../
|
|
47
|
+
"generate": "openapi-typescript ../../context-engine.yaml -o src/generated/context-engine.ts && pnpm --filter @clinia/api-scripts generate:js-resources && prettier --write src/generated/context-engine.ts",
|
|
50
48
|
"build": "tsup && tsc6 -p tsconfig.build.json",
|
|
51
49
|
"typecheck": "tsc6 --noEmit"
|
|
52
50
|
}
|