@hapaul/api 0.1.17 → 0.1.18

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 (2) hide show
  1. package/dist/index.d.ts +6 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -476,13 +476,15 @@ interface components {
476
476
  code: string;
477
477
  };
478
478
  LoginParamsDto: components["schemas"]["LoginMethod"] & {
479
- /** @description Login platform (e.g. web,ios,android,mp) */
480
- platform?: string | null;
479
+ platform?: null | components["schemas"]["LoginPlatform"];
481
480
  };
481
+ /** @enum {string} */
482
+ LoginPlatform: "web" | "ios" | "android" | "weapp";
482
483
  LoginResponseDto: {
483
484
  /** Format: uuid */
484
485
  userId: string;
485
486
  account: string;
487
+ accessToken: string;
486
488
  };
487
489
  MergeFileChunksDto: {
488
490
  /** Format: uuid */
@@ -561,13 +563,14 @@ interface components {
561
563
  account: string;
562
564
  password: string;
563
565
  ip?: string | null;
564
- platform?: string | null;
566
+ platform?: null | components["schemas"]["LoginPlatform"];
565
567
  };
566
568
  ResponseJson: components["schemas"]["Null"];
567
569
  ResponseJson_LoginResponseDto: {
568
570
  /** Format: uuid */
569
571
  userId: string;
570
572
  account: string;
573
+ accessToken: string;
571
574
  };
572
575
  /** @default null */
573
576
  ResponseJson_Null: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hapaul/api",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [