@rnacanvas/draw 14.1.0 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/CTDrawer.d.ts
CHANGED
|
@@ -7,6 +7,13 @@ export declare class CTDrawer {
|
|
|
7
7
|
*
|
|
8
8
|
* Throws if unable to parse the CT string.
|
|
9
9
|
*/
|
|
10
|
-
draw(ctString: string):
|
|
10
|
+
draw(ctString: string): Drawn | never;
|
|
11
11
|
}
|
|
12
|
+
type Drawn = {
|
|
13
|
+
/**
|
|
14
|
+
* The drawn bases.
|
|
15
|
+
*/
|
|
16
|
+
readonly bases: Iterable<ReturnType<InstanceType<typeof Drawing>['addBase']>>;
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
12
19
|
//# sourceMappingURL=CTDrawer.d.ts.map
|
package/dist/CTDrawer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CTDrawer.d.ts","sourceRoot":"","sources":["../src/CTDrawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC,qBAAa,QAAQ;;gBAGP,aAAa,EAAE,OAAO;IAIlC;;;;OAIG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"CTDrawer.d.ts","sourceRoot":"","sources":["../src/CTDrawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAYzC,qBAAa,QAAQ;;gBAGP,aAAa,EAAE,OAAO;IAIlC;;;;OAIG;IACH,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK;CAsCtC;AAED,KAAK,KAAK,GAAG;IACX;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;CAC/E,CAAC"}
|
|
@@ -22,6 +22,13 @@ export declare class DotBracketDrawer {
|
|
|
22
22
|
* @param seq The sequence of the structure to draw.
|
|
23
23
|
* @param dotBracket Dot-bracket notation of the base-pairs in the structure to draw.
|
|
24
24
|
*/
|
|
25
|
-
draw(seq: string, dotBracket: string):
|
|
25
|
+
draw(seq: string, dotBracket: string): Drawn | never;
|
|
26
26
|
}
|
|
27
|
+
type Drawn = {
|
|
28
|
+
/**
|
|
29
|
+
* The drawn bases.
|
|
30
|
+
*/
|
|
31
|
+
readonly bases: Iterable<ReturnType<InstanceType<typeof Drawing>['addBase']>>;
|
|
32
|
+
};
|
|
33
|
+
export {};
|
|
27
34
|
//# sourceMappingURL=DotBracketDrawer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DotBracketDrawer.d.ts","sourceRoot":"","sources":["../src/DotBracketDrawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUzC;;GAEG;AACH,qBAAa,gBAAgB;IACf,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,OAAO;IAE1C;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"DotBracketDrawer.d.ts","sourceRoot":"","sources":["../src/DotBracketDrawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAUzC;;GAEG;AACH,qBAAa,gBAAgB;IACf,OAAO,CAAC,aAAa;gBAAb,aAAa,EAAE,OAAO;IAE1C;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK;CAqBrD;AAED,KAAK,KAAK,GAAG;IACX;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;CAC/E,CAAC"}
|