@apollo-annotation/common 0.1.19 → 0.1.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo-annotation/common",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/GMOD/Apollo3.git",
@@ -11,12 +11,21 @@
11
11
  "build": "tsc"
12
12
  },
13
13
  "dependencies": {
14
- "@apollo-annotation/schemas": "^0.1.19",
14
+ "@apollo-annotation/schemas": "^0.1.20",
15
15
  "@gmod/gff": "1.2.0",
16
16
  "@jbrowse/core": "^2.13.1",
17
17
  "bson-objectid": "^2.0.4",
18
18
  "tslib": "^2.3.1"
19
19
  },
20
+ "devDependencies": {
21
+ "@apollo-annotation/mst": "^0.1.20",
22
+ "@nestjs/common": "^10.1.0",
23
+ "@nestjs/core": "^10.1.0",
24
+ "@types/node": "^18.14.2",
25
+ "generic-filehandle": "^3.0.0",
26
+ "mongoose": "^6.12.0",
27
+ "typescript": "^5.5.3"
28
+ },
20
29
  "peerDependencies": {
21
30
  "@mui/material": "^5.11.14",
22
31
  "@mui/x-data-grid": "^7.0.0",
@@ -29,14 +38,6 @@
29
38
  "rxjs": "^7.4.0",
30
39
  "tss-react": "^4.6.1"
31
40
  },
32
- "devDependencies": {
33
- "@apollo-annotation/mst": "^0.1.19",
34
- "@nestjs/common": "^10.1.0",
35
- "@nestjs/core": "^10.1.0",
36
- "@types/node": "^18.14.2",
37
- "mongoose": "^6.12.0",
38
- "typescript": "^5.5.3"
39
- },
40
41
  "publishConfig": {
41
42
  "access": "public"
42
43
  }
package/src/Operation.ts CHANGED
@@ -15,6 +15,7 @@ import {
15
15
  } from '@apollo-annotation/schemas'
16
16
  import type { LoggerService } from '@nestjs/common'
17
17
  import type { ClientSession, Model } from 'mongoose'
18
+ import { GenericFilehandle } from 'generic-filehandle'
18
19
 
19
20
  export interface LocalGFF3DataStore {
20
21
  typeName: 'LocalGFF3'
@@ -41,6 +42,7 @@ export interface ServerDataStore {
41
42
  session: ClientSession
42
43
  filesService: {
43
44
  getFileStream(file: FileDocument): ReadStream
45
+ getFileHandle(file: FileDocument): GenericFilehandle
44
46
  parseGFF3(stream: ReadStream): ReadStream
45
47
  create(createFileDto: CreateFileDto): void
46
48
  remove(id: string): void