Socket
Socket
Sign inDemoInstall

@medplum/fhir-router

Package Overview
Dependencies
Maintainers
3
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medplum/fhir-router - npm Package Compare versions

Comparing version 2.0.21 to 2.0.22

1

dist/types/batch.d.ts

@@ -8,3 +8,2 @@ import { Bundle } from '@medplum/fhirtypes';

* See: https://www.hl7.org/fhir/http.html#transaction
*
* @param router The FHIR router.

@@ -11,0 +10,0 @@ * @param repo The FHIR repository.

7

dist/types/fhirrouter.d.ts

@@ -13,6 +13,11 @@ import { OperationOutcome, Resource } from '@medplum/fhirtypes';

export type FhirRouteHandler = (req: FhirRequest, repo: FhirRepository, router: FhirRouter) => Promise<FhirResponse>;
interface FhirOptions {
introspectionEnabled?: boolean;
}
export declare class FhirRouter {
readonly router: Router<FhirRouteHandler>;
constructor();
readonly options: FhirOptions;
constructor(options?: {});
handleRequest(req: FhirRequest, repo: FhirRepository): Promise<FhirResponse>;
}
export {};
import { GraphQLSchema } from 'graphql';
import { FhirRequest, FhirResponse } from './fhirrouter';
import { FhirRequest, FhirResponse, FhirRouter } from './fhirrouter';
import { FhirRepository } from './repo';

@@ -8,4 +8,8 @@ /**

* See: https://www.hl7.org/fhir/graphql.html
* @param req The request details.
* @param repo The current user FHIR repository.
* @param router The router for router options.
* @returns The response.
*/
export declare function graphqlHandler(req: FhirRequest, repo: FhirRepository): Promise<FhirResponse>;
export declare function graphqlHandler(req: FhirRequest, repo: FhirRepository, router: FhirRouter): Promise<FhirResponse>;
export declare function getRootSchema(): GraphQLSchema;

@@ -17,3 +17,2 @@ import { OperationOutcomeError, SearchRequest } from '@medplum/core';

* See: https://www.hl7.org/fhir/http.html#create
*
* @param resource The FHIR resource to create.

@@ -27,3 +26,2 @@ * @returns The created resource.

* See: https://www.hl7.org/fhir/http.html#read
*
* @param resourceType The FHIR resource type.

@@ -38,3 +36,2 @@ * @param id The FHIR resource ID.

* See: https://www.hl7.org/fhir/http.html#read
*
* @param reference The FHIR reference.

@@ -48,3 +45,2 @@ * @returns The FHIR resource.

* See: https://www.hl7.org/fhir/http.html#read
*
* @param references The FHIR references.

@@ -60,3 +56,2 @@ * @returns The FHIR resources.

* See: https://www.hl7.org/fhir/http.html#history
*
* @param resourceType The FHIR resource type.

@@ -71,3 +66,2 @@ * @param id The FHIR resource ID.

* See: https://www.hl7.org/fhir/http.html#vread
*
* @param resourceType The FHIR resource type.

@@ -82,3 +76,2 @@ * @param id The FHIR resource ID.

* See: https://www.hl7.org/fhir/http.html#update
*
* @param resource The FHIR resource to update.

@@ -92,3 +85,2 @@ * @returns The updated resource.

* See: https://www.hl7.org/fhir/http.html#delete
*
* @param resourceType The FHIR resource type.

@@ -102,3 +94,2 @@ * @param id The FHIR resource ID.

* See: https://www.hl7.org/fhir/http.html#patch
*
* @param resourceType The FHIR resource type.

@@ -114,3 +105,2 @@ * @param id The FHIR resource ID.

* See: https://www.hl7.org/fhir/http.html#search
*
* @param searchRequest The FHIR search request.

@@ -128,3 +118,2 @@ * @returns The search results.

* See FHIR search for full details: https://www.hl7.org/fhir/search.html
*
* @param searchRequest The FHIR search request.

@@ -142,3 +131,2 @@ * @returns Promise to the first search result or undefined.

* See FHIR search for full details: https://www.hl7.org/fhir/search.html
*
* @param searchRequest The FHIR search request.

@@ -154,3 +142,2 @@ * @returns Promise to the array of search results.

* See: https://www.hl7.org/fhir/http.html#search
*
* @param searchRequest The FHIR search request.

@@ -168,3 +155,2 @@ * @returns The search results.

* See FHIR search for full details: https://www.hl7.org/fhir/search.html
*
* @param searchRequest The FHIR search request.

@@ -182,3 +168,2 @@ * @returns Promise to the first search result or undefined.

* See FHIR search for full details: https://www.hl7.org/fhir/search.html
*
* @param searchRequest The FHIR search request.

@@ -185,0 +170,0 @@ * @returns Promise to the array of search results.

{
"name": "@medplum/fhir-router",
"version": "2.0.21",
"version": "2.0.22",
"description": "Medplum FHIR Router",

@@ -5,0 +5,0 @@ "author": "Medplum <hello@medplum.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc