@huyooo/ui 0.8.2 → 0.8.5

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.
@@ -184,7 +184,7 @@ export type Api = {
184
184
  };
185
185
  };
186
186
  subscription: {
187
- /** 供 billing-server 更新用户的订阅信息和权益 */
187
+ /** 供 billing-server 和外部应用更新用户的订阅信息和权益(需要 API Key 认证) */
188
188
  post: {
189
189
  body: {
190
190
  userId: string;
@@ -197,7 +197,7 @@ export type Api = {
197
197
  };
198
198
  };
199
199
  search: {
200
- /** 供其他服务按昵称/邮箱/手机号搜索用户 */
200
+ /** 供其他服务和外部应用按昵称/邮箱/手机号搜索用户(需要 API Key 认证) */
201
201
  post: {
202
202
  body: {
203
203
  appId: string;
@@ -220,7 +220,7 @@ export type Api = {
220
220
  };
221
221
  };
222
222
  trend: {
223
- /** 供 analytics 服务获取用户增长趋势 */
223
+ /** 供 analytics 服务和外部应用获取用户增长趋势(需要 API Key 认证) */
224
224
  post: {
225
225
  body: {
226
226
  appId: string;
@@ -232,7 +232,7 @@ export type Api = {
232
232
  };
233
233
  };
234
234
  organizations: {
235
- /** 供 ones-server 更新用户的组织列表 */
235
+ /** 供 ones-server 和外部应用更新用户的组织列表(需要 API Key 认证) */
236
236
  post: {
237
237
  body: {
238
238
  userId: string;
@@ -494,7 +494,7 @@ export type Api = {
494
494
  };
495
495
  apps: {
496
496
  verify: {
497
- /** 供其他服务验证应用 ID 是否有效 */
497
+ /** 供其他服务和外部应用验证应用 ID 是否有效(需要 API Key 认证) */
498
498
  post: {
499
499
  body: {
500
500
  appId: string;
@@ -866,7 +866,7 @@ export type Api = {
866
866
  };
867
867
  };
868
868
  hasApps: {
869
- /** 检查组织下是否有关联的应用 */
869
+ /** ones-server 和外部应用检查组织下是否有关联的应用(需要 API Key 认证) */
870
870
  post: {
871
871
  body: {
872
872
  organizationId: string;
@@ -1841,7 +1841,7 @@ export interface ApiClient {
1841
1841
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1842
1842
  };
1843
1843
  subscription: {
1844
- /** 供 billing-server 更新用户的订阅信息和权益 */
1844
+ /** 供 billing-server 和外部应用更新用户的订阅信息和权益(需要 API Key 认证) */
1845
1845
  post: (body: {
1846
1846
  userId: string;
1847
1847
  appId: string;
@@ -1851,7 +1851,7 @@ export interface ApiClient {
1851
1851
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1852
1852
  };
1853
1853
  search: {
1854
- /** 供其他服务按昵称/邮箱/手机号搜索用户 */
1854
+ /** 供其他服务和外部应用按昵称/邮箱/手机号搜索用户(需要 API Key 认证) */
1855
1855
  post: (body: {
1856
1856
  appId: string;
1857
1857
  keyword: string;
@@ -1868,7 +1868,7 @@ export interface ApiClient {
1868
1868
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1869
1869
  };
1870
1870
  trend: {
1871
- /** 供 analytics 服务获取用户增长趋势 */
1871
+ /** 供 analytics 服务和外部应用获取用户增长趋势(需要 API Key 认证) */
1872
1872
  post: (body: {
1873
1873
  appId: string;
1874
1874
  startTime: string;
@@ -1877,7 +1877,7 @@ export interface ApiClient {
1877
1877
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
1878
1878
  };
1879
1879
  organizations: {
1880
- /** 供 ones-server 更新用户的组织列表 */
1880
+ /** 供 ones-server 和外部应用更新用户的组织列表(需要 API Key 认证) */
1881
1881
  post: (body: {
1882
1882
  userId: string;
1883
1883
  action: "add" | "remove";
@@ -2067,7 +2067,7 @@ export interface ApiClient {
2067
2067
  };
2068
2068
  apps: {
2069
2069
  verify: {
2070
- /** 供其他服务验证应用 ID 是否有效 */
2070
+ /** 供其他服务和外部应用验证应用 ID 是否有效(需要 API Key 认证) */
2071
2071
  post: (body: {
2072
2072
  appId: string;
2073
2073
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
@@ -2340,7 +2340,7 @@ export interface ApiClient {
2340
2340
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
2341
2341
  };
2342
2342
  hasApps: {
2343
- /** 检查组织下是否有关联的应用 */
2343
+ /** ones-server 和外部应用检查组织下是否有关联的应用(需要 API Key 认证) */
2344
2344
  post: (body: {
2345
2345
  organizationId: string;
2346
2346
  }, config?: RequestConfig) => Promise<ApiResponse<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huyooo/ui",
3
- "version": "0.8.2",
3
+ "version": "0.8.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -93,7 +93,7 @@
93
93
  },
94
94
  "dependencies": {
95
95
  "@unhead/vue": "^2.0.19",
96
- "@vafast/api-client": "^0.3.0",
96
+ "@vafast/api-client": ">=0.3.0",
97
97
  "cos-js-sdk-v5": "^1.10.1",
98
98
  "json-bigint": "^1.0.0",
99
99
  "uuid": "^11.1.0",
@@ -115,4 +115,4 @@
115
115
  "vue-tsc": "^2.0.29"
116
116
  },
117
117
  "gitHead": "3b89c5f3e764bd2502a11e40fdb1a574d9ee508d"
118
- }
118
+ }