@supernova-studio/client 0.59.10 → 0.59.11
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/index.d.mts +264 -1
- package/dist/index.d.ts +264 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/users/authenticated-user.ts +4 -1
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { UserOnboardingDepartment, UserOnboardingJobLevel, UserSource } from "@supernova-studio/model";
|
|
1
|
+
import { UserOnboardingDepartment, UserOnboardingJobLevel, UserSource, UserTheme } from "@supernova-studio/model";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { DTOUser, DTOUserProfile } from "./user";
|
|
4
4
|
|
|
5
5
|
export const DTOUserOnboardingDepartment = UserOnboardingDepartment;
|
|
6
6
|
export const DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
|
|
7
7
|
export const DTOUserSource = UserSource;
|
|
8
|
+
export const DTOUserTheme = UserTheme;
|
|
8
9
|
|
|
9
10
|
export const DTOUserOnboarding = z.object({
|
|
10
11
|
companyName: z.string().optional(),
|
|
@@ -21,6 +22,7 @@ export const DTOUserOnboarding = z.object({
|
|
|
21
22
|
|
|
22
23
|
export const DTOAuthenticatedUserProfile = DTOUserProfile.extend({
|
|
23
24
|
onboarding: DTOUserOnboarding.optional(),
|
|
25
|
+
theme: DTOUserTheme.optional(),
|
|
24
26
|
});
|
|
25
27
|
|
|
26
28
|
export const DTOAuthenticatedUser = DTOUser.extend({
|
|
@@ -37,6 +39,7 @@ export const DTOAuthenticatedUserResponse = z.object({
|
|
|
37
39
|
export type DTOUserOnboardingDepartment = z.infer<typeof DTOUserOnboardingDepartment>;
|
|
38
40
|
export type DTOUserOnboardingJobLevel = z.infer<typeof DTOUserOnboardingJobLevel>;
|
|
39
41
|
export type DTOUserSource = z.infer<typeof DTOUserSource>;
|
|
42
|
+
export type DTOUserTheme = z.infer<typeof DTOUserTheme>;
|
|
40
43
|
export type DTOUserOnboarding = z.infer<typeof DTOUserOnboarding>;
|
|
41
44
|
export type DTOAuthenticatedUserProfile = z.infer<typeof DTOAuthenticatedUserProfile>;
|
|
42
45
|
export type DTOAuthenticatedUser = z.infer<typeof DTOAuthenticatedUser>;
|