@medplum/fhirtypes 0.9.21 → 0.9.24

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/Project.d.ts CHANGED
@@ -70,4 +70,9 @@ export interface Project {
70
70
  * A list of approved Google Client IDs for Google Authentication.
71
71
  */
72
72
  googleClientId?: string[];
73
+
74
+ /**
75
+ * A list of approved reCAPTCHA site keys for new user registration.
76
+ */
77
+ recaptchaSiteKey?: string[];
73
78
  }
package/dist/User.d.ts CHANGED
@@ -4,6 +4,8 @@
4
4
  */
5
5
 
6
6
  import { Meta } from './Meta';
7
+ import { Project } from './Project';
8
+ import { Reference } from './Reference';
7
9
 
8
10
  /**
9
11
  * OAuth user.
@@ -56,4 +58,10 @@ export interface User {
56
58
  * Encrypted hash of the user's password.
57
59
  */
58
60
  passwordHash?: string;
61
+
62
+ /**
63
+ * Optional project if the user only exists for the project. This is used
64
+ * for the project-specific user database.
65
+ */
66
+ project?: Reference<Project>;
59
67
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/fhirtypes",
3
- "version": "0.9.21",
3
+ "version": "0.9.24",
4
4
  "description": "Medplum FHIR Type Definitions",
5
5
  "author": "Medplum <hello@medplum.com>",
6
6
  "license": "Apache-2.0",