/ packages / interfaces / src / MetaData / Library / IGenericLibrary.ts
IGenericLibrary.ts
 1  export interface IGenericLibrary<TType extends string> {
 2  	/**
 3  	 * Id of the library. Must be unique.
 4  	 */
 5  	id: string;
 6  
 7  	/**
 8  	 * Name of the library. Must be unique.
 9  	 */
10  	name: string;
11  
12  	/**
13  	 * IPNS path to update from.
14  	 */
15  	upstream: string;
16  
17  	/**
18  	 * Type of the library.
19  	 */
20  	type: TType;
21  }