@ysgroup/contracts 0.1.10 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +22 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ysgroup/contracts",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
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",
@@ -1441,6 +1450,19 @@ export const AUTHORIZATION_FIELD_CATALOG = {
1441
1450
  "selectable": true,
1442
1451
  "system_required": false,
1443
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": ""
1444
1466
  }
1445
1467
  ],
1446
1468
  "accounts": [