@apollo-annotation/common 0.3.8 → 0.3.9
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/Change.d.ts +1 -1
- package/dist/Operation.d.ts +5 -3
- package/dist/Operation.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -4
- package/src/Change.ts +1 -1
- package/src/Operation.ts +6 -3
package/dist/Change.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export interface ClientDataStore {
|
|
|
7
7
|
checkResults: Map<string | number, CheckResultI>;
|
|
8
8
|
internetAccounts: AppRootModel['internetAccounts'];
|
|
9
9
|
getInternetAccount(assemblyName?: string, internetAccountId?: string): AppRootModel['internetAccounts'][0];
|
|
10
|
-
loadFeatures(regions: Region[]): void
|
|
10
|
+
loadFeatures(regions: Region[]): Promise<void>;
|
|
11
11
|
loadRefSeq(regions: Region[]): void;
|
|
12
12
|
getFeature(featureId: string): AnnotationFeature | undefined;
|
|
13
13
|
addFeature(assemblyId: string, feature: AnnotationFeatureSnapshot): void;
|
package/dist/Operation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ReadStream } from 'node:fs';
|
|
2
1
|
import { type FileHandle } from 'node:fs/promises';
|
|
3
2
|
import { type AssemblyDocument, type CheckDocument, type FeatureDocument, type FileDocument, type JBrowseConfigDocument, type RefSeqChunkDocument, type RefSeqDocument, type UserDocument } from '@apollo-annotation/schemas';
|
|
3
|
+
import { type GFF3Feature } from '@gmod/gff';
|
|
4
4
|
import { type LoggerService } from '@nestjs/common';
|
|
5
5
|
import { type GenericFilehandle } from 'generic-filehandle';
|
|
6
6
|
import { type ClientSession, type Model } from 'mongoose';
|
|
@@ -27,9 +27,11 @@ export interface ServerDataStore {
|
|
|
27
27
|
jbrowseConfigModel: Model<JBrowseConfigDocument>;
|
|
28
28
|
session: ClientSession;
|
|
29
29
|
filesService: {
|
|
30
|
-
getFileStream(file: FileDocument):
|
|
30
|
+
getFileStream(file: FileDocument): ReadableStream<Uint8Array>;
|
|
31
31
|
getFileHandle(file: FileDocument): GenericFilehandle;
|
|
32
|
-
parseGFF3(stream:
|
|
32
|
+
parseGFF3(stream: ReadableStream<Uint8Array>, parseOptions?: {
|
|
33
|
+
bufferSize?: number;
|
|
34
|
+
}): ReadableStream<GFF3Feature>;
|
|
33
35
|
create(createFileDto: CreateFileDto): void;
|
|
34
36
|
remove(id: string): void;
|
|
35
37
|
};
|
package/dist/Operation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.js","sourceRoot":"","sources":["../src/Operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Operation.js","sourceRoot":"","sources":["../src/Operation.ts"],"names":[],"mappings":";;;AA4EA,MAAsB,SAAS;IAI7B,YAAY,IAAyB,EAAE,OAA0B;;QAC/D,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,OAAO,CAAA;IAC1C,CAAC;IAID,KAAK,CAAC,OAAO,CAAC,OAAyB;QACrC,MAAM,WAAW,GAAG,OAAO,CAAC,QAAQ,CAAA;QACpC,IAAI,WAAW,KAAK,QAAQ,EAAE,CAAC;YAC7B,MAAM,aAAa,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAA;YACnD,OAAO,OAAO,CAAC,cAAc,CAAC,sBAAsB,CAClD,GAAG,IAAI,CAAC,QAAQ,mBAAmB,EACnC,aAAa,EACb,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,CAC7B,CAAA;QACH,CAAC;QACD,IAAI,WAAW,KAAK,WAAW,EAAE,CAAC;YAChC,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAA;QACzC,CAAC;QACD,MAAM,IAAI,KAAK,CACb,iDAAiD,WAAW,GAAG,CAChE,CAAA;IACH,CAAC;CAIF;AA9BD,8BA8BC"}
|