From f3e8d084b250b55cf3749ad80ee0deaa46392e75 Mon Sep 17 00:00:00 2001 From: Andrei Floricel Date: Fri, 16 Feb 2024 16:57:52 +0200 Subject: [PATCH] Add experimental context types Signed-off-by: Andrei Floricel --- src/context/ContextType.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/context/ContextType.ts b/src/context/ContextType.ts index 27975f2e9..1069ba68a 100644 --- a/src/context/ContextType.ts +++ b/src/context/ContextType.ts @@ -30,7 +30,17 @@ export type StandardContextType = | 'fdc3.transactionResult' | 'fdc3.valuation'; +/** + * @see https://fdc3.finos.org/docs/context/spec#standard-context-types + */ +export type ExperimentalContextType = + | 'fdc3.order' + | 'fdc3.orderList' + | 'fdc3.product' + | 'fdc3.trade' + | 'fdc3.tradeList'; + /** * @see https://fdc3.finos.org/docs/context/spec */ -export type ContextType = StandardContextType | string; +export type ContextType = StandardContextType | ExperimentalContextType | (string & {});