@medplum/fhir-router 2.0.5 → 2.0.6

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.
@@ -95,7 +95,7 @@
95
95
  }
96
96
  return {
97
97
  resourceType: 'Bundle',
98
- type: 'batch-response',
98
+ type: (bundleType + '-response'),
99
99
  entry: resultEntries,
100
100
  };
101
101
  }
@@ -13533,7 +13533,7 @@ spurious results.`);
13533
13533
  function buildPropertyFields(resourceType, fields) {
13534
13534
  const schema = core.getResourceTypeSchema(resourceType);
13535
13535
  const properties = schema.properties;
13536
- if (core.isResourceType(schema)) {
13536
+ if (core.isResourceTypeSchema(schema)) {
13537
13537
  fields.resourceType = {
13538
13538
  type: new GraphQLNonNull(GraphQLString),
13539
13539
  description: 'Resource Type',