squarecommonblhelper 8.0.0 → 9.0.0

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/README.md CHANGED
@@ -15,6 +15,16 @@ helper for common bl for my projects.
15
15
 
16
16
  ## changelog
17
17
 
18
+ ### v9.0.0
19
+
20
+ - AuthenticationCommonBL:
21
+ - **breaking change**: remove user_profile_username from GetUserDetailsV0ResponseZ.
22
+
23
+ ### v8.0.1
24
+
25
+ - AuthenticationCommonBL:
26
+ - add username to GetUserDetailsV0ResponseZ.
27
+
18
28
  ### v8.0.0
19
29
 
20
30
  - AuthenticationCommonBL:
@@ -22,6 +22,7 @@ declare class AuthenticationCommonBL {
22
22
  data: {
23
23
  main: {
24
24
  user_id: string;
25
+ username: string;
25
26
  profile: {
26
27
  user_profile_id: number;
27
28
  user_profile_photo_storage_token: string | null;
@@ -29,7 +30,6 @@ declare class AuthenticationCommonBL {
29
30
  user_profile_phone_number: string | null;
30
31
  user_profile_first_name: string | null;
31
32
  user_profile_last_name: string | null;
32
- user_profile_username: string;
33
33
  };
34
34
  apps: string[];
35
35
  sessions: {
@@ -54,6 +54,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
54
54
  data: z.ZodObject<{
55
55
  main: z.ZodObject<{
56
56
  user_id: z.ZodString;
57
+ username: z.ZodString;
57
58
  profile: z.ZodObject<{
58
59
  user_profile_id: z.ZodNumber;
59
60
  user_profile_photo_storage_token: z.ZodNullable<z.ZodString>;
@@ -61,7 +62,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
61
62
  user_profile_phone_number: z.ZodNullable<z.ZodString>;
62
63
  user_profile_first_name: z.ZodNullable<z.ZodString>;
63
64
  user_profile_last_name: z.ZodNullable<z.ZodString>;
64
- user_profile_username: z.ZodString;
65
65
  }, "strict", z.ZodTypeAny, {
66
66
  user_profile_id: number;
67
67
  user_profile_photo_storage_token: string | null;
@@ -69,7 +69,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
69
69
  user_profile_phone_number: string | null;
70
70
  user_profile_first_name: string | null;
71
71
  user_profile_last_name: string | null;
72
- user_profile_username: string;
73
72
  }, {
74
73
  user_profile_id: number;
75
74
  user_profile_photo_storage_token: string | null;
@@ -77,7 +76,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
77
76
  user_profile_phone_number: string | null;
78
77
  user_profile_first_name: string | null;
79
78
  user_profile_last_name: string | null;
80
- user_profile_username: string;
81
79
  }>;
82
80
  apps: z.ZodArray<z.ZodString, "many">;
83
81
  sessions: z.ZodArray<z.ZodObject<{
@@ -92,6 +90,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
92
90
  }>, "many">;
93
91
  }, "strict", z.ZodTypeAny, {
94
92
  user_id: string;
93
+ username: string;
95
94
  profile: {
96
95
  user_profile_id: number;
97
96
  user_profile_photo_storage_token: string | null;
@@ -99,7 +98,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
99
98
  user_profile_phone_number: string | null;
100
99
  user_profile_first_name: string | null;
101
100
  user_profile_last_name: string | null;
102
- user_profile_username: string;
103
101
  };
104
102
  apps: string[];
105
103
  sessions: {
@@ -108,6 +106,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
108
106
  }[];
109
107
  }, {
110
108
  user_id: string;
109
+ username: string;
111
110
  profile: {
112
111
  user_profile_id: number;
113
112
  user_profile_photo_storage_token: string | null;
@@ -115,7 +114,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
115
114
  user_profile_phone_number: string | null;
116
115
  user_profile_first_name: string | null;
117
116
  user_profile_last_name: string | null;
118
- user_profile_username: string;
119
117
  };
120
118
  apps: string[];
121
119
  sessions: {
@@ -126,6 +124,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
126
124
  }, "strict", z.ZodTypeAny, {
127
125
  main: {
128
126
  user_id: string;
127
+ username: string;
129
128
  profile: {
130
129
  user_profile_id: number;
131
130
  user_profile_photo_storage_token: string | null;
@@ -133,7 +132,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
133
132
  user_profile_phone_number: string | null;
134
133
  user_profile_first_name: string | null;
135
134
  user_profile_last_name: string | null;
136
- user_profile_username: string;
137
135
  };
138
136
  apps: string[];
139
137
  sessions: {
@@ -144,6 +142,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
144
142
  }, {
145
143
  main: {
146
144
  user_id: string;
145
+ username: string;
147
146
  profile: {
148
147
  user_profile_id: number;
149
148
  user_profile_photo_storage_token: string | null;
@@ -151,7 +150,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
151
150
  user_profile_phone_number: string | null;
152
151
  user_profile_first_name: string | null;
153
152
  user_profile_last_name: string | null;
154
- user_profile_username: string;
155
153
  };
156
154
  apps: string[];
157
155
  sessions: {
@@ -165,6 +163,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
165
163
  data: {
166
164
  main: {
167
165
  user_id: string;
166
+ username: string;
168
167
  profile: {
169
168
  user_profile_id: number;
170
169
  user_profile_photo_storage_token: string | null;
@@ -172,7 +171,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
172
171
  user_profile_phone_number: string | null;
173
172
  user_profile_first_name: string | null;
174
173
  user_profile_last_name: string | null;
175
- user_profile_username: string;
176
174
  };
177
175
  apps: string[];
178
176
  sessions: {
@@ -187,6 +185,7 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
187
185
  data: {
188
186
  main: {
189
187
  user_id: string;
188
+ username: string;
190
189
  profile: {
191
190
  user_profile_id: number;
192
191
  user_profile_photo_storage_token: string | null;
@@ -194,7 +193,6 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
194
193
  user_profile_phone_number: string | null;
195
194
  user_profile_first_name: string | null;
196
195
  user_profile_last_name: string | null;
197
- user_profile_username: string;
198
196
  };
199
197
  apps: string[];
200
198
  sessions: {
@@ -12,6 +12,7 @@ const GetUserDetailsV0ResponseZ = APIOutputZ.extend({
12
12
  data: z.strictObject({
13
13
  main: z.strictObject({
14
14
  user_id: z.string(),
15
+ username: z.string(),
15
16
  profile: z.strictObject({
16
17
  user_profile_id: z.number(),
17
18
  user_profile_photo_storage_token: z.string().nullable(),
@@ -19,7 +20,6 @@ const GetUserDetailsV0ResponseZ = APIOutputZ.extend({
19
20
  user_profile_phone_number: z.string().nullable(),
20
21
  user_profile_first_name: z.string().nullable(),
21
22
  user_profile_last_name: z.string().nullable(),
22
- user_profile_username: z.string(),
23
23
  }),
24
24
  apps: z.array(z.string()),
25
25
  sessions: z.array(z.strictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarecommonblhelper",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "description": "helper for common bl for my projects.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",