@cosmol-studio/cosmolkit-core 0.6.0-rc.2 → 0.6.0-rc.4
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/cosmolkit_wasm.d.ts
CHANGED
|
@@ -62,7 +62,8 @@ export interface BatchQueryParamsOptions {
|
|
|
62
62
|
*/
|
|
63
63
|
progressBar?: BatchQueryParams["progressBar"];
|
|
64
64
|
/**
|
|
65
|
-
* One notification after every completed
|
|
65
|
+
* One notification after every completed query row. Retained input errors
|
|
66
|
+
* reject the query before any notification.
|
|
66
67
|
*/
|
|
67
68
|
progressCallback?: BatchQueryParams["progressCallback"];
|
|
68
69
|
}
|
|
@@ -1233,7 +1234,8 @@ export class BatchParams {
|
|
|
1233
1234
|
}
|
|
1234
1235
|
|
|
1235
1236
|
/**
|
|
1236
|
-
* Runtime overrides for ordered read results;
|
|
1237
|
+
* Runtime overrides for ordered read results; retained failures reject a query
|
|
1238
|
+
* before computation. New query failures also raise.
|
|
1237
1239
|
*/
|
|
1238
1240
|
export class BatchQueryParams {
|
|
1239
1241
|
free(): void;
|
|
@@ -1251,7 +1253,8 @@ export class BatchQueryParams {
|
|
|
1251
1253
|
get progressBar(): boolean | undefined;
|
|
1252
1254
|
set progressBar(value: BoolInput | null | undefined);
|
|
1253
1255
|
/**
|
|
1254
|
-
* One notification after every completed
|
|
1256
|
+
* One notification after every completed query row. Retained input errors
|
|
1257
|
+
* reject the query before any notification.
|
|
1255
1258
|
*/
|
|
1256
1259
|
get progressCallback(): (() => void) | undefined;
|
|
1257
1260
|
set progressCallback(value: (() => void) | null | undefined);
|
|
@@ -1999,8 +2002,8 @@ export class CxSmilesFields {
|
|
|
1999
2002
|
[Symbol.dispose](): void;
|
|
2000
2003
|
contains(other: CxSmilesFields): boolean;
|
|
2001
2004
|
union(other: CxSmilesFields): CxSmilesFields;
|
|
2002
|
-
static readonly ALL: CxSmilesFields;
|
|
2003
2005
|
static readonly ALL_BUT_COORDS: CxSmilesFields;
|
|
2006
|
+
static readonly ALL: CxSmilesFields;
|
|
2004
2007
|
static readonly ATOM_LABELS: CxSmilesFields;
|
|
2005
2008
|
static readonly ATOM_PROPS: CxSmilesFields;
|
|
2006
2009
|
static readonly BOND_ATROPISOMER: CxSmilesFields;
|
|
@@ -2683,6 +2686,7 @@ export class LigandRef {
|
|
|
2683
2686
|
static Atom(atom: IndexInput): LigandRef;
|
|
2684
2687
|
constructor(atom?: IndexInput | null);
|
|
2685
2688
|
static readonly ImplicitHydrogen: LigandRef;
|
|
2689
|
+
static readonly LonePair: LigandRef;
|
|
2686
2690
|
readonly atomId: number | undefined;
|
|
2687
2691
|
}
|
|
2688
2692
|
|
|
@@ -3148,6 +3152,11 @@ export class Molecule {
|
|
|
3148
3152
|
atomPropertyString(atom: IndexInput, key: TextInput): string | undefined;
|
|
3149
3153
|
atomPropertyUint(atom: IndexInput, key: TextInput): number | undefined;
|
|
3150
3154
|
atom(index: IndexInput): MoleculeAtom | undefined;
|
|
3155
|
+
/**
|
|
3156
|
+
* Return an independent Uint8Array of atomic numbers in atom-index order.
|
|
3157
|
+
* No atom handles are created; dummy atoms are zero. No free() is needed.
|
|
3158
|
+
*/
|
|
3159
|
+
atomicNumbers(): Uint8Array;
|
|
3151
3160
|
bondPropertyString(bond: IndexInput, key: TextInput): string | undefined;
|
|
3152
3161
|
bond(index: IndexInput): Bond | undefined;
|
|
3153
3162
|
clear3dConformers_(): void;
|
|
@@ -3182,10 +3191,10 @@ export class Molecule {
|
|
|
3182
3191
|
property(key: TextInput): PropertyValue | undefined;
|
|
3183
3192
|
removeHydrogensWithParams_(params: RemoveHsParams | RemoveHsParamsOptions): void;
|
|
3184
3193
|
removeHydrogens_(params?: RemoveHsParams | RemoveHsParamsOptions | null): void;
|
|
3185
|
-
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
3186
3194
|
sanitizeWithParams_(params: SanitizeParams | SanitizeParamsOptions): void;
|
|
3187
|
-
|
|
3195
|
+
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
3188
3196
|
sanitize_(params?: SanitizeParams | SanitizeParamsOptions | null): void;
|
|
3197
|
+
sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
|
|
3189
3198
|
set2dCoordinatesWithParams_(coordinates: CoordinateRows, params: Coordinate2DInputParams | Coordinate2DInputParamsOptions): void;
|
|
3190
3199
|
set2dCoordinates_(coordinates: CoordinateRows, params?: Coordinate2DInputParams | Coordinate2DInputParamsOptions | null): void;
|
|
3191
3200
|
set3dCoordinatesWithParams_(coordinates: Coordinates3D, params: Replace3DCoordinatesParams | Replace3DCoordinatesParamsOptions): void;
|
|
@@ -3203,7 +3212,7 @@ export class Molecule {
|
|
|
3203
3212
|
setOnly3dConformer_(coordinates: Coordinates3D, params?: Coordinate3DInputParams | Coordinate3DInputParamsOptions | null): number;
|
|
3204
3213
|
symmetrizedSssrWithParams(params: RingSearchParams | RingSearchParamsOptions): RingSearchResult;
|
|
3205
3214
|
symmetrizedSssr(params?: RingSearchParams | RingSearchParamsOptions | null): RingSearchResult;
|
|
3206
|
-
tetrahedralStereo(): ReadonlyArray<TetrahedralStereo>;
|
|
3215
|
+
tetrahedralStereo(include_unassigned?: BoolInput | null): ReadonlyArray<TetrahedralStereo>;
|
|
3207
3216
|
toBuilder(): MoleculeBuilder;
|
|
3208
3217
|
toCxSmilesWithParams(params: CxSmilesWriteParams | CxSmilesWriteParamsOptions): string;
|
|
3209
3218
|
toCxSmiles(params?: CxSmilesWriteParams | CxSmilesWriteParamsOptions | null): string;
|
|
@@ -4750,10 +4759,10 @@ export class SanitizeOperations {
|
|
|
4750
4759
|
union(other: SanitizeOperations): SanitizeOperations;
|
|
4751
4760
|
static readonly ADJUST_HS: SanitizeOperations;
|
|
4752
4761
|
static readonly ALL: SanitizeOperations;
|
|
4753
|
-
static readonly CLEANUP: SanitizeOperations;
|
|
4754
4762
|
static readonly CLEANUP_ATROPISOMERS: SanitizeOperations;
|
|
4755
4763
|
static readonly CLEANUP_CHIRALITY: SanitizeOperations;
|
|
4756
4764
|
static readonly CLEANUP_ORGANOMETALLICS: SanitizeOperations;
|
|
4765
|
+
static readonly CLEANUP: SanitizeOperations;
|
|
4757
4766
|
static readonly FIND_RADICALS: SanitizeOperations;
|
|
4758
4767
|
static readonly KEKULIZE: SanitizeOperations;
|
|
4759
4768
|
static readonly NONE: SanitizeOperations;
|
|
@@ -5709,9 +5718,9 @@ export enum TemplateAttachmentOrderErrorKind {
|
|
|
5709
5718
|
export class TetrahedralStereo {
|
|
5710
5719
|
free(): void;
|
|
5711
5720
|
[Symbol.dispose](): void;
|
|
5712
|
-
constructor(center: IndexInput, ligands
|
|
5721
|
+
constructor(center: IndexInput, ligands?: readonly [LigandRef, LigandRef, LigandRef, LigandRef] | null);
|
|
5713
5722
|
readonly center: number;
|
|
5714
|
-
readonly ligands: readonly [LigandRef, LigandRef, LigandRef, LigandRef];
|
|
5723
|
+
readonly ligands: readonly [LigandRef, LigandRef, LigandRef, LigandRef] | undefined;
|
|
5715
5724
|
}
|
|
5716
5725
|
|
|
5717
5726
|
export class TopologyBlock {
|
|
@@ -7197,6 +7206,7 @@ export interface InitOutput {
|
|
|
7197
7206
|
readonly legacystereoerrordetails_valence: (a: number) => number;
|
|
7198
7207
|
readonly ligandref_Atom: (a: number, b: number) => void;
|
|
7199
7208
|
readonly ligandref_ImplicitHydrogen: () => number;
|
|
7209
|
+
readonly ligandref_LonePair: () => number;
|
|
7200
7210
|
readonly ligandref_atomId: (a: number) => number;
|
|
7201
7211
|
readonly ligandref_new: (a: number, b: number) => void;
|
|
7202
7212
|
readonly mappingvalidationerror_details: (a: number) => number;
|
|
@@ -7324,6 +7334,7 @@ export interface InitOutput {
|
|
|
7324
7334
|
readonly molecule_atomPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
7325
7335
|
readonly molecule_atomPropertyStringVector: (a: number, b: number, c: number, d: number) => void;
|
|
7326
7336
|
readonly molecule_atomPropertyUint: (a: number, b: number, c: number, d: number) => void;
|
|
7337
|
+
readonly molecule_atomicNumbers: (a: number, b: number) => void;
|
|
7327
7338
|
readonly molecule_atoms: (a: number, b: number) => void;
|
|
7328
7339
|
readonly molecule_bond: (a: number, b: number, c: number) => void;
|
|
7329
7340
|
readonly molecule_bondPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -7388,7 +7399,7 @@ export interface InitOutput {
|
|
|
7388
7399
|
readonly molecule_setOnly3dConformer_: (a: number, b: number, c: number, d: number) => void;
|
|
7389
7400
|
readonly molecule_symmetrizedSssr: (a: number, b: number, c: number) => void;
|
|
7390
7401
|
readonly molecule_symmetrizedSssrWithParams: (a: number, b: number, c: number) => void;
|
|
7391
|
-
readonly molecule_tetrahedralStereo: (a: number, b: number) => void;
|
|
7402
|
+
readonly molecule_tetrahedralStereo: (a: number, b: number, c: number) => void;
|
|
7392
7403
|
readonly molecule_toBuilder: (a: number) => number;
|
|
7393
7404
|
readonly molecule_toCxSmiles: (a: number, b: number, c: number) => void;
|
|
7394
7405
|
readonly molecule_toCxSmilesWithParams: (a: number, b: number, c: number) => void;
|
|
@@ -8640,32 +8651,32 @@ export interface InitOutput {
|
|
|
8640
8651
|
readonly xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
|
|
8641
8652
|
readonly xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
|
|
8642
8653
|
readonly __wasm_bindgen_func_elem_468: (a: number, b: number, c: number) => void;
|
|
8643
|
-
readonly
|
|
8644
|
-
readonly __wasm_bindgen_func_elem_468_2164: (a: number, b: number, c: number) => void;
|
|
8645
|
-
readonly __wasm_bindgen_func_elem_468_2165: (a: number, b: number, c: number) => void;
|
|
8654
|
+
readonly __wasm_bindgen_func_elem_468_2163: (a: number, b: number, c: number) => void;
|
|
8646
8655
|
readonly __wasm_bindgen_func_elem_468_2166: (a: number, b: number, c: number) => void;
|
|
8647
|
-
readonly
|
|
8648
|
-
readonly
|
|
8656
|
+
readonly __wasm_bindgen_func_elem_468_2167: (a: number, b: number, c: number) => void;
|
|
8657
|
+
readonly __wasm_bindgen_func_elem_468_2168: (a: number, b: number, c: number) => void;
|
|
8649
8658
|
readonly __wasm_bindgen_func_elem_468_2173: (a: number, b: number, c: number) => void;
|
|
8650
8659
|
readonly __wasm_bindgen_func_elem_468_2174: (a: number, b: number, c: number) => void;
|
|
8660
|
+
readonly __wasm_bindgen_func_elem_468_2175: (a: number, b: number, c: number) => void;
|
|
8651
8661
|
readonly __wasm_bindgen_func_elem_468_2176: (a: number, b: number, c: number) => void;
|
|
8652
|
-
readonly
|
|
8653
|
-
readonly __wasm_bindgen_func_elem_468_2182: (a: number, b: number, c: number) => void;
|
|
8662
|
+
readonly __wasm_bindgen_func_elem_468_2178: (a: number, b: number, c: number) => void;
|
|
8654
8663
|
readonly __wasm_bindgen_func_elem_468_2183: (a: number, b: number, c: number) => void;
|
|
8655
8664
|
readonly __wasm_bindgen_func_elem_468_2184: (a: number, b: number, c: number) => void;
|
|
8656
|
-
readonly
|
|
8657
|
-
readonly
|
|
8665
|
+
readonly __wasm_bindgen_func_elem_468_2185: (a: number, b: number, c: number) => void;
|
|
8666
|
+
readonly __wasm_bindgen_func_elem_468_2186: (a: number, b: number, c: number) => void;
|
|
8658
8667
|
readonly __wasm_bindgen_func_elem_468_2189: (a: number, b: number, c: number) => void;
|
|
8659
8668
|
readonly __wasm_bindgen_func_elem_468_2190: (a: number, b: number, c: number) => void;
|
|
8669
|
+
readonly __wasm_bindgen_func_elem_468_2191: (a: number, b: number, c: number) => void;
|
|
8670
|
+
readonly __wasm_bindgen_func_elem_468_2192: (a: number, b: number, c: number) => void;
|
|
8660
8671
|
readonly __wasm_bindgen_func_elem_468_22: (a: number, b: number, c: number) => void;
|
|
8661
|
-
readonly __wasm_bindgen_func_elem_468_2200: (a: number, b: number, c: number) => void;
|
|
8662
8672
|
readonly __wasm_bindgen_func_elem_468_2202: (a: number, b: number, c: number) => void;
|
|
8663
|
-
readonly
|
|
8673
|
+
readonly __wasm_bindgen_func_elem_468_2204: (a: number, b: number, c: number) => void;
|
|
8664
8674
|
readonly __wasm_bindgen_func_elem_468_2205: (a: number, b: number, c: number) => void;
|
|
8665
|
-
readonly __wasm_bindgen_func_elem_468_2206: (a: number, b: number, c: number) => void;
|
|
8666
8675
|
readonly __wasm_bindgen_func_elem_468_2207: (a: number, b: number, c: number) => void;
|
|
8667
8676
|
readonly __wasm_bindgen_func_elem_468_2208: (a: number, b: number, c: number) => void;
|
|
8668
8677
|
readonly __wasm_bindgen_func_elem_468_2209: (a: number, b: number, c: number) => void;
|
|
8678
|
+
readonly __wasm_bindgen_func_elem_468_2210: (a: number, b: number, c: number) => void;
|
|
8679
|
+
readonly __wasm_bindgen_func_elem_468_2211: (a: number, b: number, c: number) => void;
|
|
8669
8680
|
readonly __wasm_bindgen_func_elem_468_24: (a: number, b: number, c: number) => void;
|
|
8670
8681
|
readonly __wasm_bindgen_func_elem_468_25: (a: number, b: number, c: number) => void;
|
|
8671
8682
|
readonly __wasm_bindgen_func_elem_468_26: (a: number, b: number, c: number) => void;
|
|
@@ -8673,18 +8684,18 @@ export interface InitOutput {
|
|
|
8673
8684
|
readonly __wasm_bindgen_func_elem_475: (a: number, b: number, c: number) => void;
|
|
8674
8685
|
readonly __wasm_bindgen_func_elem_477: (a: number, b: number, c: number) => void;
|
|
8675
8686
|
readonly __wasm_bindgen_func_elem_479: (a: number, b: number, c: number) => void;
|
|
8676
|
-
readonly
|
|
8687
|
+
readonly __wasm_bindgen_func_elem_479_1582: (a: number, b: number, c: number) => void;
|
|
8677
8688
|
readonly __wasm_bindgen_func_elem_483: (a: number, b: number, c: number) => void;
|
|
8678
8689
|
readonly __wasm_bindgen_func_elem_487: (a: number, b: number, c: number) => void;
|
|
8679
8690
|
readonly __wasm_bindgen_func_elem_489: (a: number, b: number, c: number) => void;
|
|
8680
|
-
readonly
|
|
8681
|
-
readonly
|
|
8682
|
-
readonly
|
|
8683
|
-
readonly
|
|
8691
|
+
readonly __wasm_bindgen_func_elem_489_2188: (a: number, b: number, c: number) => void;
|
|
8692
|
+
readonly __wasm_bindgen_func_elem_489_2203: (a: number, b: number, c: number) => void;
|
|
8693
|
+
readonly __wasm_bindgen_func_elem_489_2206: (a: number, b: number, c: number) => void;
|
|
8694
|
+
readonly __wasm_bindgen_func_elem_489_2212: (a: number, b: number, c: number) => void;
|
|
8684
8695
|
readonly __wasm_bindgen_func_elem_491: (a: number, b: number, c: number) => void;
|
|
8685
8696
|
readonly __wasm_bindgen_func_elem_494: (a: number, b: number, c: number) => void;
|
|
8686
|
-
readonly
|
|
8687
|
-
readonly
|
|
8697
|
+
readonly __wasm_bindgen_func_elem_494_2187: (a: number, b: number, c: number) => void;
|
|
8698
|
+
readonly __wasm_bindgen_func_elem_494_2197: (a: number, b: number, c: number) => void;
|
|
8688
8699
|
readonly __wasm_bindgen_func_elem_496: (a: number, b: number, c: number) => void;
|
|
8689
8700
|
readonly __wasm_bindgen_func_elem_500: (a: number, b: number, c: number) => void;
|
|
8690
8701
|
readonly __wasm_bindgen_func_elem_502: (a: number, b: number, c: number) => void;
|