@ysgroup/contracts 0.1.17 → 0.1.19

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/package.json +1 -1
  2. package/src/index.ts +6 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/contracts",
3
- "version": "0.1.17",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/index.ts CHANGED
@@ -162,7 +162,8 @@ export const ENUM_META = {
162
162
  "INCOME_SWAP": {
163
163
  "name": "收益互换账户",
164
164
  "agent": [
165
- "STOCK"
165
+ "STOCK",
166
+ "FUTURES"
166
167
  ]
167
168
  },
168
169
  "FUTURES_OPTION": {
@@ -661,7 +662,7 @@ export interface App {
661
662
  "title"?: string; /** 应用名称 */
662
663
  "kind"?: AppKind; /** 类型 */
663
664
  "status"?: AppStatus; /** 状态 */
664
- "logo_url"?: string; /** Logo链接 */
665
+ "has_logo"?: boolean; /** 应用Logo */
665
666
  "website_url"?: string; /** 访问链接 */
666
667
  "memo"?: string; /** 备注 */
667
668
  "weight"?: number; /** 门户排序权重 */
@@ -4300,9 +4301,9 @@ export const FIELD_SPECS = {
4300
4301
  "sensitivity": "public"
4301
4302
  },
4302
4303
  {
4303
- "key": "logo_url",
4304
- "title": "Logo链接",
4305
- "widget": "text",
4304
+ "key": "has_logo",
4305
+ "title": "应用Logo",
4306
+ "widget": "switch",
4306
4307
  "enum": null,
4307
4308
  "required": false,
4308
4309
  "sensitivity": "public"