@ysgroup/contracts 0.1.9 → 0.1.11
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 +47 -5
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -937,6 +937,15 @@ export const AUTHORIZATION_TABLE_META = {
|
|
|
937
937
|
}
|
|
938
938
|
} as const;
|
|
939
939
|
export const DERIVED_FIELD_SPECS = {
|
|
940
|
+
"owners": [
|
|
941
|
+
{
|
|
942
|
+
"key": "team_name",
|
|
943
|
+
"title": "团队名称",
|
|
944
|
+
"source_table": "teams",
|
|
945
|
+
"source_field": "name",
|
|
946
|
+
"dependency_policy": "same_record"
|
|
947
|
+
}
|
|
948
|
+
],
|
|
940
949
|
"users": [
|
|
941
950
|
{
|
|
942
951
|
"key": "owner_name",
|
|
@@ -946,7 +955,7 @@ export const DERIVED_FIELD_SPECS = {
|
|
|
946
955
|
"dependency_policy": "same_record"
|
|
947
956
|
},
|
|
948
957
|
{
|
|
949
|
-
"key": "
|
|
958
|
+
"key": "is_admin",
|
|
950
959
|
"title": "应用管理员",
|
|
951
960
|
"source_table": "user_app",
|
|
952
961
|
"source_field": "admin",
|
|
@@ -960,6 +969,13 @@ export const DERIVED_FIELD_SPECS = {
|
|
|
960
969
|
"source_table": "owners",
|
|
961
970
|
"source_field": "name",
|
|
962
971
|
"dependency_policy": "same_record"
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"key": "broker_name",
|
|
975
|
+
"title": "开户公司名称",
|
|
976
|
+
"source_table": "brokers",
|
|
977
|
+
"source_field": "broker_name",
|
|
978
|
+
"dependency_policy": "same_record"
|
|
963
979
|
}
|
|
964
980
|
]
|
|
965
981
|
} as const;
|
|
@@ -1011,9 +1027,9 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1011
1027
|
"kind": "original",
|
|
1012
1028
|
"type": "<class 'bool'>",
|
|
1013
1029
|
"sensitivity": "public",
|
|
1014
|
-
"selectable":
|
|
1015
|
-
"system_required":
|
|
1016
|
-
"blocked_reason": ""
|
|
1030
|
+
"selectable": false,
|
|
1031
|
+
"system_required": false,
|
|
1032
|
+
"blocked_reason": "系统安全字段,禁止进入同步流"
|
|
1017
1033
|
},
|
|
1018
1034
|
{
|
|
1019
1035
|
"key": "username",
|
|
@@ -1109,7 +1125,7 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1109
1125
|
"blocked_reason": ""
|
|
1110
1126
|
},
|
|
1111
1127
|
{
|
|
1112
|
-
"key": "
|
|
1128
|
+
"key": "is_admin",
|
|
1113
1129
|
"title": "应用管理员",
|
|
1114
1130
|
"source_table": "user_app",
|
|
1115
1131
|
"source_field": "admin",
|
|
@@ -1434,6 +1450,19 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1434
1450
|
"selectable": true,
|
|
1435
1451
|
"system_required": false,
|
|
1436
1452
|
"blocked_reason": ""
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"key": "team_name",
|
|
1456
|
+
"title": "团队名称",
|
|
1457
|
+
"source_table": "teams",
|
|
1458
|
+
"source_field": "name",
|
|
1459
|
+
"dependency_policy": "same_record",
|
|
1460
|
+
"kind": "derived",
|
|
1461
|
+
"type": "derived",
|
|
1462
|
+
"sensitivity": "public",
|
|
1463
|
+
"selectable": true,
|
|
1464
|
+
"system_required": false,
|
|
1465
|
+
"blocked_reason": ""
|
|
1437
1466
|
}
|
|
1438
1467
|
],
|
|
1439
1468
|
"accounts": [
|
|
@@ -1789,6 +1818,19 @@ export const AUTHORIZATION_FIELD_CATALOG = {
|
|
|
1789
1818
|
"selectable": true,
|
|
1790
1819
|
"system_required": false,
|
|
1791
1820
|
"blocked_reason": ""
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"key": "broker_name",
|
|
1824
|
+
"title": "开户公司名称",
|
|
1825
|
+
"source_table": "brokers",
|
|
1826
|
+
"source_field": "broker_name",
|
|
1827
|
+
"dependency_policy": "same_record",
|
|
1828
|
+
"kind": "derived",
|
|
1829
|
+
"type": "derived",
|
|
1830
|
+
"sensitivity": "public",
|
|
1831
|
+
"selectable": true,
|
|
1832
|
+
"system_required": false,
|
|
1833
|
+
"blocked_reason": ""
|
|
1792
1834
|
}
|
|
1793
1835
|
],
|
|
1794
1836
|
"exchange_accounts": [
|