@cosmol-studio/cosmolkit-core 0.6.0-rc.3 → 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;
|
|
@@ -3149,6 +3152,11 @@ export class Molecule {
|
|
|
3149
3152
|
atomPropertyString(atom: IndexInput, key: TextInput): string | undefined;
|
|
3150
3153
|
atomPropertyUint(atom: IndexInput, key: TextInput): number | undefined;
|
|
3151
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;
|
|
3152
3160
|
bondPropertyString(bond: IndexInput, key: TextInput): string | undefined;
|
|
3153
3161
|
bond(index: IndexInput): Bond | undefined;
|
|
3154
3162
|
clear3dConformers_(): void;
|
|
@@ -3183,10 +3191,10 @@ export class Molecule {
|
|
|
3183
3191
|
property(key: TextInput): PropertyValue | undefined;
|
|
3184
3192
|
removeHydrogensWithParams_(params: RemoveHsParams | RemoveHsParamsOptions): void;
|
|
3185
3193
|
removeHydrogens_(params?: RemoveHsParams | RemoveHsParamsOptions | null): void;
|
|
3186
|
-
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
3187
3194
|
sanitizeWithParams_(params: SanitizeParams | SanitizeParamsOptions): void;
|
|
3188
|
-
|
|
3195
|
+
sanitizeWithParams(params: SanitizeParams | SanitizeParamsOptions): Molecule;
|
|
3189
3196
|
sanitize_(params?: SanitizeParams | SanitizeParamsOptions | null): void;
|
|
3197
|
+
sanitize(params?: SanitizeParams | SanitizeParamsOptions | null): Molecule;
|
|
3190
3198
|
set2dCoordinatesWithParams_(coordinates: CoordinateRows, params: Coordinate2DInputParams | Coordinate2DInputParamsOptions): void;
|
|
3191
3199
|
set2dCoordinates_(coordinates: CoordinateRows, params?: Coordinate2DInputParams | Coordinate2DInputParamsOptions | null): void;
|
|
3192
3200
|
set3dCoordinatesWithParams_(coordinates: Coordinates3D, params: Replace3DCoordinatesParams | Replace3DCoordinatesParamsOptions): void;
|
|
@@ -4751,10 +4759,10 @@ export class SanitizeOperations {
|
|
|
4751
4759
|
union(other: SanitizeOperations): SanitizeOperations;
|
|
4752
4760
|
static readonly ADJUST_HS: SanitizeOperations;
|
|
4753
4761
|
static readonly ALL: SanitizeOperations;
|
|
4754
|
-
static readonly CLEANUP: SanitizeOperations;
|
|
4755
4762
|
static readonly CLEANUP_ATROPISOMERS: SanitizeOperations;
|
|
4756
4763
|
static readonly CLEANUP_CHIRALITY: SanitizeOperations;
|
|
4757
4764
|
static readonly CLEANUP_ORGANOMETALLICS: SanitizeOperations;
|
|
4765
|
+
static readonly CLEANUP: SanitizeOperations;
|
|
4758
4766
|
static readonly FIND_RADICALS: SanitizeOperations;
|
|
4759
4767
|
static readonly KEKULIZE: SanitizeOperations;
|
|
4760
4768
|
static readonly NONE: SanitizeOperations;
|
|
@@ -7326,6 +7334,7 @@ export interface InitOutput {
|
|
|
7326
7334
|
readonly molecule_atomPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
7327
7335
|
readonly molecule_atomPropertyStringVector: (a: number, b: number, c: number, d: number) => void;
|
|
7328
7336
|
readonly molecule_atomPropertyUint: (a: number, b: number, c: number, d: number) => void;
|
|
7337
|
+
readonly molecule_atomicNumbers: (a: number, b: number) => void;
|
|
7329
7338
|
readonly molecule_atoms: (a: number, b: number) => void;
|
|
7330
7339
|
readonly molecule_bond: (a: number, b: number, c: number) => void;
|
|
7331
7340
|
readonly molecule_bondPropertyString: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -8642,32 +8651,32 @@ export interface InitOutput {
|
|
|
8642
8651
|
readonly xyzwriteparams_set_conformerId: (a: number, b: number, c: number) => void;
|
|
8643
8652
|
readonly xyzwriteparams_set_precision: (a: number, b: number, c: number) => void;
|
|
8644
8653
|
readonly __wasm_bindgen_func_elem_468: (a: number, b: number, c: number) => void;
|
|
8645
|
-
readonly
|
|
8646
|
-
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;
|
|
8647
8655
|
readonly __wasm_bindgen_func_elem_468_2166: (a: number, b: number, c: number) => void;
|
|
8648
8656
|
readonly __wasm_bindgen_func_elem_468_2167: (a: number, b: number, c: number) => void;
|
|
8649
|
-
readonly
|
|
8657
|
+
readonly __wasm_bindgen_func_elem_468_2168: (a: number, b: number, c: number) => void;
|
|
8650
8658
|
readonly __wasm_bindgen_func_elem_468_2173: (a: number, b: number, c: number) => void;
|
|
8651
8659
|
readonly __wasm_bindgen_func_elem_468_2174: (a: number, b: number, c: number) => void;
|
|
8652
8660
|
readonly __wasm_bindgen_func_elem_468_2175: (a: number, b: number, c: number) => void;
|
|
8653
|
-
readonly
|
|
8654
|
-
readonly
|
|
8661
|
+
readonly __wasm_bindgen_func_elem_468_2176: (a: number, b: number, c: number) => void;
|
|
8662
|
+
readonly __wasm_bindgen_func_elem_468_2178: (a: number, b: number, c: number) => void;
|
|
8655
8663
|
readonly __wasm_bindgen_func_elem_468_2183: (a: number, b: number, c: number) => void;
|
|
8656
8664
|
readonly __wasm_bindgen_func_elem_468_2184: (a: number, b: number, c: number) => void;
|
|
8657
8665
|
readonly __wasm_bindgen_func_elem_468_2185: (a: number, b: number, c: number) => void;
|
|
8658
|
-
readonly
|
|
8666
|
+
readonly __wasm_bindgen_func_elem_468_2186: (a: number, b: number, c: number) => void;
|
|
8659
8667
|
readonly __wasm_bindgen_func_elem_468_2189: (a: number, b: number, c: number) => void;
|
|
8660
8668
|
readonly __wasm_bindgen_func_elem_468_2190: (a: number, b: number, c: number) => void;
|
|
8661
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;
|
|
8662
8671
|
readonly __wasm_bindgen_func_elem_468_22: (a: number, b: number, c: number) => void;
|
|
8663
|
-
readonly
|
|
8664
|
-
readonly __wasm_bindgen_func_elem_468_2203: (a: number, b: number, c: number) => void;
|
|
8672
|
+
readonly __wasm_bindgen_func_elem_468_2202: (a: number, b: number, c: number) => void;
|
|
8665
8673
|
readonly __wasm_bindgen_func_elem_468_2204: (a: number, b: number, c: number) => void;
|
|
8666
|
-
readonly
|
|
8674
|
+
readonly __wasm_bindgen_func_elem_468_2205: (a: number, b: number, c: number) => void;
|
|
8667
8675
|
readonly __wasm_bindgen_func_elem_468_2207: (a: number, b: number, c: number) => void;
|
|
8668
8676
|
readonly __wasm_bindgen_func_elem_468_2208: (a: number, b: number, c: number) => void;
|
|
8669
8677
|
readonly __wasm_bindgen_func_elem_468_2209: (a: number, b: number, c: number) => void;
|
|
8670
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;
|
|
8671
8680
|
readonly __wasm_bindgen_func_elem_468_24: (a: number, b: number, c: number) => void;
|
|
8672
8681
|
readonly __wasm_bindgen_func_elem_468_25: (a: number, b: number, c: number) => void;
|
|
8673
8682
|
readonly __wasm_bindgen_func_elem_468_26: (a: number, b: number, c: number) => void;
|
|
@@ -8675,18 +8684,18 @@ export interface InitOutput {
|
|
|
8675
8684
|
readonly __wasm_bindgen_func_elem_475: (a: number, b: number, c: number) => void;
|
|
8676
8685
|
readonly __wasm_bindgen_func_elem_477: (a: number, b: number, c: number) => void;
|
|
8677
8686
|
readonly __wasm_bindgen_func_elem_479: (a: number, b: number, c: number) => void;
|
|
8678
|
-
readonly
|
|
8687
|
+
readonly __wasm_bindgen_func_elem_479_1582: (a: number, b: number, c: number) => void;
|
|
8679
8688
|
readonly __wasm_bindgen_func_elem_483: (a: number, b: number, c: number) => void;
|
|
8680
8689
|
readonly __wasm_bindgen_func_elem_487: (a: number, b: number, c: number) => void;
|
|
8681
8690
|
readonly __wasm_bindgen_func_elem_489: (a: number, b: number, c: number) => void;
|
|
8682
|
-
readonly
|
|
8683
|
-
readonly
|
|
8684
|
-
readonly
|
|
8685
|
-
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;
|
|
8686
8695
|
readonly __wasm_bindgen_func_elem_491: (a: number, b: number, c: number) => void;
|
|
8687
8696
|
readonly __wasm_bindgen_func_elem_494: (a: number, b: number, c: number) => void;
|
|
8688
|
-
readonly
|
|
8689
|
-
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;
|
|
8690
8699
|
readonly __wasm_bindgen_func_elem_496: (a: number, b: number, c: number) => void;
|
|
8691
8700
|
readonly __wasm_bindgen_func_elem_500: (a: number, b: number, c: number) => void;
|
|
8692
8701
|
readonly __wasm_bindgen_func_elem_502: (a: number, b: number, c: number) => void;
|