Skip to content

Commit d540ee2

Browse files
committed
update ContextTypes
1 parent a73bcba commit d540ee2

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77
## [Unreleased]
88

99
### Added
10-
* Add a notes field to trade type ([#1563](https://github.com/finos/FDC3/pull/1563))
11-
* Add a notes filed to order and product types ([#1597](https://github.com/finos/FDC3/pull/1597))
10+
* Add a notes field to Trade type ([#1563](https://github.com/finos/FDC3/pull/1563))
11+
* Add a notes filed to Order and Product types ([#1597](https://github.com/finos/FDC3/pull/1597))
1212
### Changed
1313

1414
### Deprecated

packages/fdc3-context/generated/context/ContextTypes.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1587,6 +1587,10 @@ export interface Order {
15871587
* An optional human-readable summary of the order.
15881588
*/
15891589
name?: string;
1590+
/**
1591+
* Additional notes or comments about the order.
1592+
*/
1593+
notes?: string;
15901594
type: 'fdc3.order';
15911595
[property: string]: any;
15921596
}
@@ -1627,6 +1631,10 @@ export interface ProductObject {
16271631
* A human-readable summary of the product.
16281632
*/
16291633
name?: string;
1634+
/**
1635+
* Additional notes or comments about the product.
1636+
*/
1637+
notes?: string;
16301638
type: 'fdc3.product';
16311639
[property: string]: any;
16321640
}
@@ -1697,6 +1705,10 @@ export interface OrderElement {
16971705
* An optional human-readable summary of the order.
16981706
*/
16991707
name?: string;
1708+
/**
1709+
* Additional notes or comments about the order.
1710+
*/
1711+
notes?: string;
17001712
type: 'fdc3.order';
17011713
[property: string]: any;
17021714
}
@@ -1904,6 +1916,10 @@ export interface Product {
19041916
* A human-readable summary of the product.
19051917
*/
19061918
name?: string;
1919+
/**
1920+
* Additional notes or comments about the product.
1921+
*/
1922+
notes?: string;
19071923
type: 'fdc3.product';
19081924
[property: string]: any;
19091925
}
@@ -1980,6 +1996,10 @@ export interface Trade {
19801996
* A human-readable summary of the trade.
19811997
*/
19821998
name?: string;
1999+
/**
2000+
* Additional notes or comments about the trade.
2001+
*/
2002+
notes?: string;
19832003
/**
19842004
* A product that is the subject of the trade.
19852005
*/
@@ -2044,6 +2064,10 @@ export interface TradeElement {
20442064
* A human-readable summary of the trade.
20452065
*/
20462066
name?: string;
2067+
/**
2068+
* Additional notes or comments about the trade.
2069+
*/
2070+
notes?: string;
20472071
/**
20482072
* A product that is the subject of the trade.
20492073
*/
@@ -2966,6 +2990,7 @@ const typeMap: any = {
29662990
{ json: 'details', js: 'details', typ: u(undefined, r('PurpleOrderDetails')) },
29672991
{ json: 'id', js: 'id', typ: m('') },
29682992
{ json: 'name', js: 'name', typ: u(undefined, '') },
2993+
{ json: 'notes', js: 'notes', typ: u(undefined, '') },
29692994
{ json: 'type', js: 'type', typ: r('OrderType') },
29702995
],
29712996
'any'
@@ -2976,6 +3001,7 @@ const typeMap: any = {
29763001
{ json: 'id', js: 'id', typ: m('') },
29773002
{ json: 'instrument', js: 'instrument', typ: u(undefined, r('InstrumentElement')) },
29783003
{ json: 'name', js: 'name', typ: u(undefined, '') },
3004+
{ json: 'notes', js: 'notes', typ: u(undefined, '') },
29793005
{ json: 'type', js: 'type', typ: r('ProductType') },
29803006
],
29813007
'any'
@@ -2994,6 +3020,7 @@ const typeMap: any = {
29943020
{ json: 'details', js: 'details', typ: u(undefined, r('FluffyOrderDetails')) },
29953021
{ json: 'id', js: 'id', typ: m('') },
29963022
{ json: 'name', js: 'name', typ: u(undefined, '') },
3023+
{ json: 'notes', js: 'notes', typ: u(undefined, '') },
29973024
{ json: 'type', js: 'type', typ: r('OrderType') },
29983025
],
29993026
'any'
@@ -3049,6 +3076,7 @@ const typeMap: any = {
30493076
{ json: 'id', js: 'id', typ: m('') },
30503077
{ json: 'instrument', js: 'instrument', typ: u(undefined, r('InstrumentElement')) },
30513078
{ json: 'name', js: 'name', typ: u(undefined, '') },
3079+
{ json: 'notes', js: 'notes', typ: u(undefined, '') },
30523080
{ json: 'type', js: 'type', typ: r('ProductType') },
30533081
],
30543082
'any'
@@ -3067,6 +3095,7 @@ const typeMap: any = {
30673095
[
30683096
{ json: 'id', js: 'id', typ: m('') },
30693097
{ json: 'name', js: 'name', typ: u(undefined, '') },
3098+
{ json: 'notes', js: 'notes', typ: u(undefined, '') },
30703099
{ json: 'product', js: 'product', typ: r('ProductObject') },
30713100
{ json: 'type', js: 'type', typ: r('TradeType') },
30723101
],
@@ -3085,6 +3114,7 @@ const typeMap: any = {
30853114
[
30863115
{ json: 'id', js: 'id', typ: m('') },
30873116
{ json: 'name', js: 'name', typ: u(undefined, '') },
3117+
{ json: 'notes', js: 'notes', typ: u(undefined, '') },
30883118
{ json: 'product', js: 'product', typ: r('ProductObject') },
30893119
{ json: 'type', js: 'type', typ: r('TradeType') },
30903120
],

0 commit comments

Comments
 (0)