@natch-the-storage/heathershaw-platform-types 1.23.1 → 1.23.2
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/build/validators.d.ts +1 -0
- package/build/validators.js +1 -0
- package/package.json +1 -1
package/build/validators.d.ts
CHANGED
|
@@ -1337,6 +1337,7 @@ export declare const ApiRoutes: {
|
|
|
1337
1337
|
};
|
|
1338
1338
|
patientRecords: {
|
|
1339
1339
|
list: (id?: number, type?: "partner" | "direct") => string;
|
|
1340
|
+
listAll: string;
|
|
1340
1341
|
get: (id: number) => string;
|
|
1341
1342
|
getByUser: (userId: string) => string;
|
|
1342
1343
|
create: string;
|
package/build/validators.js
CHANGED
|
@@ -533,6 +533,7 @@ export const ApiRoutes = {
|
|
|
533
533
|
},
|
|
534
534
|
patientRecords: {
|
|
535
535
|
list: (id, type) => '/api/patient-records' + `${type ? '?' + type + '=' + id : ''}`,
|
|
536
|
+
listAll: '/api/patient-records/all',
|
|
536
537
|
get: (id) => `/api/patient-records/${id}`,
|
|
537
538
|
getByUser: (userId) => `/api/patient-records/users/${userId}`,
|
|
538
539
|
create: '/api/patient-records',
|