@mitreka/coreflow-types 0.0.22 → 0.0.24

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.
Files changed (3) hide show
  1. package/auth.ts +8 -1
  2. package/imager.ts +5 -5
  3. package/package.json +1 -1
package/auth.ts CHANGED
@@ -189,7 +189,14 @@ export type TokenExpires = {
189
189
 
190
190
  export type TokenPair = {
191
191
  access_token: string;
192
- refresh_token: string;
192
+ refresh_token?: string;
193
+ };
194
+
195
+ export type UserAccount = {
196
+ id: string,
197
+ name: string,
198
+ email: string,
199
+ avatar: string
193
200
  };
194
201
 
195
202
  export type UserIdentity = {
package/imager.ts CHANGED
@@ -1,8 +1,8 @@
1
- export type CreateAvatarOptions = {
2
- raw?: boolean
3
- }
1
+ export type ImageCreationOptions = {
2
+ encoding?: 'base64';
3
+ };
4
4
 
5
- export type CreateAvatarResponse = {
5
+ export type ImageCreationResponse = {
6
6
  mime: string;
7
7
  data: string;
8
- }
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitreka/coreflow-types",
3
- "version": "0.0.22",
3
+ "version": "0.0.24",
4
4
  "description": "CoreFlow Types Definition",
5
5
  "author": {
6
6
  "name": "Riyan Widiyanto",