@ysgroup/contracts 0.1.30 → 0.1.31
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.
- package/package.json +1 -1
- package/src/index.ts +25 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -397,6 +397,12 @@ export interface NavCategory {
|
|
|
397
397
|
"fund_code"?: string; /** 基金代码 */
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
+
export interface TradingNodeAddress {
|
|
401
|
+
"name"?: string; /** 名称 */
|
|
402
|
+
"ip"?: string; /** IP */
|
|
403
|
+
"port"?: number; /** Port */
|
|
404
|
+
}
|
|
405
|
+
|
|
400
406
|
export interface Team {
|
|
401
407
|
"_id"?: string; /** 主键 */
|
|
402
408
|
"created_at"?: number; /** 创建时间 */
|
|
@@ -623,6 +629,7 @@ export interface TradingNode {
|
|
|
623
629
|
"branch_name": string; /** 营业部名称 */
|
|
624
630
|
"node_name": string; /** 节点名称 */
|
|
625
631
|
"server_room": string; /** 所在机房 */
|
|
632
|
+
"addresses"?: TradingNodeAddress[]; /** 节点IP */
|
|
626
633
|
"memo"?: string; /** 备注 */
|
|
627
634
|
}
|
|
628
635
|
|
|
@@ -3199,6 +3206,16 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
3199
3206
|
"system_required": false,
|
|
3200
3207
|
"blocked_reason": ""
|
|
3201
3208
|
},
|
|
3209
|
+
{
|
|
3210
|
+
"key": "addresses",
|
|
3211
|
+
"title": "节点IP",
|
|
3212
|
+
"kind": "original",
|
|
3213
|
+
"type": "list[ys_base.contracts.master.TradingNodeAddress]",
|
|
3214
|
+
"sensitivity": "public",
|
|
3215
|
+
"selectable": true,
|
|
3216
|
+
"system_required": false,
|
|
3217
|
+
"blocked_reason": ""
|
|
3218
|
+
},
|
|
3202
3219
|
{
|
|
3203
3220
|
"key": "memo",
|
|
3204
3221
|
"title": "备注",
|
|
@@ -4642,6 +4659,14 @@ export const FIELD_SPECS = {
|
|
|
4642
4659
|
"required": true,
|
|
4643
4660
|
"sensitivity": "public"
|
|
4644
4661
|
},
|
|
4662
|
+
{
|
|
4663
|
+
"key": "addresses",
|
|
4664
|
+
"title": "节点IP",
|
|
4665
|
+
"widget": "tags",
|
|
4666
|
+
"enum": null,
|
|
4667
|
+
"required": false,
|
|
4668
|
+
"sensitivity": "public"
|
|
4669
|
+
},
|
|
4645
4670
|
{
|
|
4646
4671
|
"key": "memo",
|
|
4647
4672
|
"title": "备注",
|