@milobedini/shared-types 1.0.49 → 1.0.51
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/types.d.ts +9 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -192,7 +192,7 @@ export type ModulesPlainResponse = {
|
|
|
192
192
|
};
|
|
193
193
|
export type ModulesWithMetaResponse = {
|
|
194
194
|
success: boolean;
|
|
195
|
-
|
|
195
|
+
modules: AvailableModulesItem[];
|
|
196
196
|
};
|
|
197
197
|
export type ModulesResponse = ModulesPlainResponse | ModulesWithMetaResponse;
|
|
198
198
|
export type ModuleResponse = {
|
|
@@ -329,7 +329,7 @@ export type AvailableModulesItem = {
|
|
|
329
329
|
};
|
|
330
330
|
export type AvailableModulesResponse = {
|
|
331
331
|
success: boolean;
|
|
332
|
-
|
|
332
|
+
modules: AvailableModulesItem[];
|
|
333
333
|
};
|
|
334
334
|
export type AssignmentLatestAttemptPreview = {
|
|
335
335
|
_id: string;
|
|
@@ -363,3 +363,10 @@ export type ModulesQuery = {
|
|
|
363
363
|
program?: string;
|
|
364
364
|
withMeta?: boolean | string;
|
|
365
365
|
};
|
|
366
|
+
export type AdminStats = {
|
|
367
|
+
totalUsers: number;
|
|
368
|
+
totalTherapists: number;
|
|
369
|
+
totalPatients: number;
|
|
370
|
+
unverifiedTherapists: AuthUser[];
|
|
371
|
+
completedAttempts: number;
|
|
372
|
+
};
|