@freelog/tools-lib 0.1.142 → 0.1.144

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.
@@ -121,8 +121,9 @@ interface LoginParamsType {
121
121
  export declare function login({ goTo }?: LoginParamsType): string;
122
122
  interface LoginParamsType {
123
123
  goTo?: string;
124
+ invitationCode?: string;
124
125
  }
125
- export declare function logon({ goTo }?: LoginParamsType): string;
126
+ export declare function logon({ goTo, ...params }?: LoginParamsType): string;
126
127
  interface RetrieveUserPasswordParamsType {
127
128
  goTo?: string;
128
129
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freelog/tools-lib",
3
- "version": "0.1.142",
3
+ "version": "0.1.144",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -51,7 +51,7 @@ export function create(params: CreateParamsType) {
51
51
  // 更新资源信息
52
52
  interface UpdateParamsType {
53
53
  resourceId: string;
54
- status: 0 | 1;
54
+ status?: 0 | 1;
55
55
  intro?: string;
56
56
  tags?: string[];
57
57
  coverImages?: string[];