@dgpholdings/greatoak-shared 1.0.83 → 1.0.85

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.
@@ -15,7 +15,9 @@ export type TApiSignupAnonymousReq = {
15
15
  languageCountryCode: string;
16
16
  deviceUniqueId: string;
17
17
  };
18
- export type TApiSignupAnonymousRes = TApiSigninRes;
18
+ export type TApiSignupAnonymousRes = TApiSigninRes & {
19
+ authType: "anonymous";
20
+ };
19
21
  export type TApiSigninAppleReq = {
20
22
  email?: string;
21
23
  identityToken: string;
@@ -37,8 +39,8 @@ export type TApiSigninEmailRes = TApiSigninRes & {
37
39
  authType: "email";
38
40
  };
39
41
  export type TApiSigninRes = {
40
- token: string;
41
42
  status: 200;
43
+ token: string;
42
44
  user: TUserSignInData;
43
45
  authType: TAuthType;
44
46
  } | {
@@ -49,12 +51,15 @@ export type TApiSigninRes = {
49
51
  };
50
52
  export type TApiSignInTokenReq = {
51
53
  deviceUniqueId: string;
54
+ isLimited: boolean;
52
55
  };
53
56
  export type TApiSignInTokenRes = {
54
57
  message: string;
55
58
  } & ({
56
59
  status: 200;
57
60
  token: string;
61
+ user?: TUserSignInData;
62
+ authType: TAuthType;
58
63
  } | {
59
64
  status: 500;
60
65
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dgpholdings/greatoak-shared",
3
- "version": "1.0.83",
3
+ "version": "1.0.85",
4
4
  "description": "Shared TypeScript types and utilities for @dgpholdings projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",