Explorar el Código

ts: add metadata field to Idl type (#1422)

Krešimir Klas hace 3 años
padre
commit
580167a1b0
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      ts/src/idl.ts

+ 3 - 0
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;