From 580167a1b0466ad703a84e7536df3142ee1142e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kre=C5=A1imir=20Klas?= Date: Wed, 9 Feb 2022 22:51:39 +0100 Subject: [PATCH] ts: add metadata field to Idl type (#1422) --- ts/src/idl.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts/src/idl.ts b/ts/src/idl.ts index afe07ad48..2a20f6153 100644 --- a/ts/src/idl.ts +++ b/ts/src/idl.ts @@ -12,8 +12,11 @@ export type Idl = { events?: IdlEvent[]; errors?: IdlErrorCode[]; constants?: IdlConstant[]; + metadata?: IdlMetadata; }; +export type IdlMetadata = any; + export type IdlConstant = { name: string; type: IdlType;