@apollo-annotation/jbrowse-plugin-apollo 1.0.1 → 1.1.1

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.
Files changed (172) hide show
  1. package/dist/ApolloInternetAccount/components/AuthTypeSelector.d.ts +8 -2
  2. package/dist/ApolloInternetAccount/components/AuthTypeSelector.d.ts.map +1 -1
  3. package/dist/ApolloInternetAccount/components/LoginButtons.d.ts +8 -3
  4. package/dist/ApolloInternetAccount/components/LoginButtons.d.ts.map +1 -1
  5. package/dist/ApolloInternetAccount/configSchema.d.ts +44 -0
  6. package/dist/ApolloInternetAccount/configSchema.d.ts.map +1 -0
  7. package/dist/ApolloInternetAccount/model.d.ts +174 -0
  8. package/dist/ApolloInternetAccount/model.d.ts.map +1 -0
  9. package/dist/ApolloJobModel.d.ts.map +1 -1
  10. package/dist/ApolloRefNameAliasAdapter/configSchema.d.ts +8 -0
  11. package/dist/ApolloRefNameAliasAdapter/configSchema.d.ts.map +1 -0
  12. package/dist/ApolloSequenceAdapter/configSchema.d.ts +8 -0
  13. package/dist/ApolloSequenceAdapter/configSchema.d.ts.map +1 -0
  14. package/dist/ApolloTextSearchAdapter/configSchema.d.ts +20 -0
  15. package/dist/ApolloTextSearchAdapter/configSchema.d.ts.map +1 -0
  16. package/dist/BackendDrivers/CollaborationServerDriver.d.ts +1 -1
  17. package/dist/BackendDrivers/CollaborationServerDriver.d.ts.map +1 -1
  18. package/dist/BackendDrivers/LocalDriver/LocalDriver.d.ts.map +1 -1
  19. package/dist/FeatureDetailsWidget/ApolloFeatureDetailsWidget.d.ts.map +1 -1
  20. package/dist/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.d.ts.map +1 -1
  21. package/dist/FeatureDetailsWidget/Attributes.d.ts.map +1 -1
  22. package/dist/FeatureDetailsWidget/DefaultAttributeEditor.d.ts.map +1 -1
  23. package/dist/FeatureDetailsWidget/DefaultAttributeViewer.d.ts.map +1 -1
  24. package/dist/FeatureDetailsWidget/NumberTextField.d.ts.map +1 -1
  25. package/dist/FeatureDetailsWidget/StringTextField.d.ts.map +1 -1
  26. package/dist/FeatureDetailsWidget/TranscriptSequence.d.ts.map +1 -1
  27. package/dist/FeatureDetailsWidget/TranscriptWidgetEditLocation.d.ts.map +1 -1
  28. package/dist/FeatureDetailsWidget/Translation.d.ts +14 -0
  29. package/dist/FeatureDetailsWidget/Translation.d.ts.map +1 -0
  30. package/dist/LinearApolloDisplay/components/CheckResultWarnings.d.ts.map +1 -1
  31. package/dist/LinearApolloDisplay/configSchema.d.ts +2 -0
  32. package/dist/LinearApolloDisplay/configSchema.d.ts.map +1 -0
  33. package/dist/LinearApolloDisplay/glyphs/ExonGlyph.d.ts.map +1 -1
  34. package/dist/LinearApolloDisplay/glyphs/GeneGlyph.d.ts.map +1 -1
  35. package/dist/LinearApolloDisplay/glyphs/TranscriptGlyph.d.ts.map +1 -1
  36. package/dist/LinearApolloDisplay/stateModel/base.d.ts +1 -18
  37. package/dist/LinearApolloDisplay/stateModel/base.d.ts.map +1 -1
  38. package/dist/LinearApolloDisplay/stateModel/index.d.ts +1 -17
  39. package/dist/LinearApolloDisplay/stateModel/index.d.ts.map +1 -1
  40. package/dist/LinearApolloDisplay/stateModel/layouts.d.ts +2 -19
  41. package/dist/LinearApolloDisplay/stateModel/layouts.d.ts.map +1 -1
  42. package/dist/LinearApolloDisplay/stateModel/mouseEvents.d.ts +2 -34
  43. package/dist/LinearApolloDisplay/stateModel/mouseEvents.d.ts.map +1 -1
  44. package/dist/LinearApolloDisplay/stateModel/rendering.d.ts +2 -19
  45. package/dist/LinearApolloDisplay/stateModel/rendering.d.ts.map +1 -1
  46. package/dist/LinearApolloReferenceSequenceDisplay/configSchema.d.ts +2 -0
  47. package/dist/LinearApolloReferenceSequenceDisplay/configSchema.d.ts.map +1 -0
  48. package/dist/LinearApolloReferenceSequenceDisplay/stateModel/base.d.ts +1 -1
  49. package/dist/LinearApolloReferenceSequenceDisplay/stateModel/base.d.ts.map +1 -1
  50. package/dist/LinearApolloReferenceSequenceDisplay/stateModel/index.d.ts +1 -1
  51. package/dist/LinearApolloReferenceSequenceDisplay/stateModel/rendering.d.ts +1 -1
  52. package/dist/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.d.ts.map +1 -1
  53. package/dist/LinearApolloSixFrameDisplay/configSchema.d.ts +2 -0
  54. package/dist/LinearApolloSixFrameDisplay/configSchema.d.ts.map +1 -0
  55. package/dist/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.d.ts.map +1 -1
  56. package/dist/LinearApolloSixFrameDisplay/stateModel/base.d.ts +1 -1
  57. package/dist/LinearApolloSixFrameDisplay/stateModel/base.d.ts.map +1 -1
  58. package/dist/LinearApolloSixFrameDisplay/stateModel/index.d.ts +1 -1
  59. package/dist/LinearApolloSixFrameDisplay/stateModel/index.d.ts.map +1 -1
  60. package/dist/LinearApolloSixFrameDisplay/stateModel/layouts.d.ts +2 -3
  61. package/dist/LinearApolloSixFrameDisplay/stateModel/layouts.d.ts.map +1 -1
  62. package/dist/LinearApolloSixFrameDisplay/stateModel/mouseEvents.d.ts +2 -2
  63. package/dist/LinearApolloSixFrameDisplay/stateModel/mouseEvents.d.ts.map +1 -1
  64. package/dist/LinearApolloSixFrameDisplay/stateModel/rendering.d.ts +2 -3
  65. package/dist/LinearApolloSixFrameDisplay/stateModel/rendering.d.ts.map +1 -1
  66. package/dist/OntologyManager/OntologyStore/fulltext.d.ts.map +1 -1
  67. package/dist/OntologyManager/index.d.ts +734 -0
  68. package/dist/OntologyManager/index.d.ts.map +1 -0
  69. package/dist/TabularEditor/HybridGrid/NumberCell.d.ts.map +1 -1
  70. package/dist/components/AddCodingSequence.d.ts +14 -0
  71. package/dist/components/AddCodingSequence.d.ts.map +1 -0
  72. package/dist/components/AddRefSeqAliases.d.ts.map +1 -1
  73. package/dist/components/CopyFeature.d.ts.map +1 -1
  74. package/dist/components/CreateApolloAnnotation.d.ts.map +1 -1
  75. package/dist/components/DeleteFeature.d.ts.map +1 -1
  76. package/dist/components/DownloadGFF3.d.ts.map +1 -1
  77. package/dist/components/DuplicateFeatureDialog.d.ts +12 -0
  78. package/dist/components/DuplicateFeatureDialog.d.ts.map +1 -0
  79. package/dist/components/ImportAnnotations.d.ts +9 -0
  80. package/dist/components/ImportAnnotations.d.ts.map +1 -0
  81. package/dist/components/ManageUsers.d.ts.map +1 -1
  82. package/dist/components/OntologyTermMultiSelect.d.ts.map +1 -1
  83. package/dist/components/ViewChangeLog.d.ts.map +1 -1
  84. package/dist/components/index.d.ts +2 -0
  85. package/dist/components/index.d.ts.map +1 -1
  86. package/dist/extensions/annotationFromPileup.d.ts.map +1 -1
  87. package/dist/index.d.ts.map +1 -1
  88. package/dist/index.esm.js +835 -434
  89. package/dist/index.esm.js.map +1 -1
  90. package/dist/jbrowse-plugin-apollo.cjs.development.js +830 -429
  91. package/dist/jbrowse-plugin-apollo.cjs.development.js.map +1 -1
  92. package/dist/jbrowse-plugin-apollo.cjs.production.min.js +1 -1
  93. package/dist/jbrowse-plugin-apollo.cjs.production.min.js.map +1 -1
  94. package/dist/jbrowse-plugin-apollo.umd.development.js +868 -468
  95. package/dist/jbrowse-plugin-apollo.umd.development.js.map +1 -1
  96. package/dist/jbrowse-plugin-apollo.umd.production.min.js +1 -1
  97. package/dist/jbrowse-plugin-apollo.umd.production.min.js.map +1 -1
  98. package/dist/session/ClientDataStore.d.ts +2194 -0
  99. package/dist/session/ClientDataStore.d.ts.map +1 -0
  100. package/dist/session/handleApolloFeaturesUrlParam.d.ts +8 -0
  101. package/dist/session/handleApolloFeaturesUrlParam.d.ts.map +1 -0
  102. package/dist/session/session.d.ts +6788 -0
  103. package/dist/session/session.d.ts.map +1 -0
  104. package/dist/util/displayUtils.d.ts +36 -0
  105. package/dist/util/displayUtils.d.ts.map +1 -0
  106. package/dist/util/sequenceUtils.d.ts +2 -0
  107. package/dist/util/sequenceUtils.d.ts.map +1 -0
  108. package/package.json +14 -14
  109. package/src/ApolloInternetAccount/components/AuthTypeSelector.tsx +73 -38
  110. package/src/ApolloInternetAccount/components/LoginButtons.tsx +31 -10
  111. package/src/ApolloInternetAccount/model.ts +8 -5
  112. package/src/ApolloJobModel.ts +3 -8
  113. package/src/ApolloTextSearchAdapter/ApolloTextSearchAdapter.ts +1 -1
  114. package/src/BackendDrivers/CollaborationServerDriver.ts +7 -11
  115. package/src/BackendDrivers/LocalDriver/LocalDriver.ts +9 -3
  116. package/src/FeatureDetailsWidget/ApolloFeatureDetailsWidget.tsx +1 -0
  117. package/src/FeatureDetailsWidget/ApolloTranscriptDetailsWidget.tsx +4 -2
  118. package/src/FeatureDetailsWidget/Attributes.tsx +1 -0
  119. package/src/FeatureDetailsWidget/DefaultAttributeEditor.tsx +1 -0
  120. package/src/FeatureDetailsWidget/DefaultAttributeViewer.tsx +1 -0
  121. package/src/FeatureDetailsWidget/NumberTextField.tsx +1 -0
  122. package/src/FeatureDetailsWidget/StringTextField.tsx +1 -0
  123. package/src/FeatureDetailsWidget/TranscriptSequence.tsx +2 -1
  124. package/src/FeatureDetailsWidget/TranscriptWidgetEditLocation.tsx +17 -354
  125. package/src/FeatureDetailsWidget/Translation.tsx +366 -0
  126. package/src/LinearApolloDisplay/components/CheckResultWarnings.tsx +4 -1
  127. package/src/LinearApolloDisplay/glyphs/ExonGlyph.ts +2 -5
  128. package/src/LinearApolloDisplay/glyphs/GeneGlyph.ts +4 -6
  129. package/src/LinearApolloDisplay/glyphs/TranscriptGlyph.ts +39 -6
  130. package/src/LinearApolloDisplay/stateModel/base.ts +47 -23
  131. package/src/LinearApolloDisplay/stateModel/layouts.ts +7 -5
  132. package/src/LinearApolloDisplay/stateModel/mouseEvents.ts +4 -1
  133. package/src/LinearApolloDisplay/stateModel/rendering.ts +1 -5
  134. package/src/LinearApolloReferenceSequenceDisplay/stateModel/base.ts +10 -10
  135. package/src/LinearApolloSixFrameDisplay/components/LinearApolloSixFrameDisplay.tsx +5 -3
  136. package/src/LinearApolloSixFrameDisplay/components/TrackLines.tsx +1 -1
  137. package/src/LinearApolloSixFrameDisplay/glyphs/GeneGlyph.ts +2 -3
  138. package/src/LinearApolloSixFrameDisplay/stateModel/base.ts +12 -20
  139. package/src/LinearApolloSixFrameDisplay/stateModel/layouts.ts +10 -6
  140. package/src/LinearApolloSixFrameDisplay/stateModel/mouseEvents.ts +38 -45
  141. package/src/LinearApolloSixFrameDisplay/stateModel/rendering.ts +1 -4
  142. package/src/OntologyManager/OntologyStore/fulltext.ts +0 -2
  143. package/src/OntologyManager/OntologyStore/index.ts +1 -1
  144. package/src/TabularEditor/HybridGrid/ChangeHandling.ts +2 -2
  145. package/src/TabularEditor/HybridGrid/NumberCell.tsx +2 -1
  146. package/src/components/AddAssemblyAliases.tsx +1 -1
  147. package/src/components/AddCodingSequence.tsx +255 -0
  148. package/src/components/AddFeature.tsx +1 -1
  149. package/src/components/AddRefSeqAliases.tsx +3 -2
  150. package/src/components/CopyFeature.tsx +9 -7
  151. package/src/components/CreateApolloAnnotation.tsx +32 -24
  152. package/src/components/DeleteAssembly.tsx +2 -2
  153. package/src/components/DeleteFeature.tsx +1 -4
  154. package/src/components/DownloadGFF3.tsx +4 -3
  155. package/src/components/DuplicateFeatureDialog.tsx +154 -0
  156. package/src/components/DuplicateTranscript.tsx +1 -1
  157. package/src/components/FilterTranscripts.tsx +1 -1
  158. package/src/components/ImportAnnotations.tsx +108 -0
  159. package/src/components/ManageUsers.tsx +1 -2
  160. package/src/components/OntologyTermAutocomplete.tsx +1 -3
  161. package/src/components/OntologyTermMultiSelect.tsx +3 -1
  162. package/src/components/ViewChangeLog.tsx +2 -1
  163. package/src/components/index.ts +2 -0
  164. package/src/extensions/annotationFromPileup.ts +34 -26
  165. package/src/index.ts +9 -8
  166. package/src/session/ClientDataStore.ts +16 -21
  167. package/src/session/handleApolloFeaturesUrlParam.ts +122 -0
  168. package/src/session/session.ts +49 -9
  169. package/src/util/annotationFeatureUtils.ts +1 -1
  170. package/src/util/displayUtils.ts +1 -1
  171. package/src/util/glyphUtils.ts +3 -3
  172. package/src/util/sequenceUtils.ts +29 -0
@@ -0,0 +1,734 @@
1
+ import { LocalPathLocation, UriLocation } from '@jbrowse/core/util/types/mst';
2
+ import { type Instance } from '@jbrowse/mobx-state-tree';
3
+ import OntologyStore, { type OntologyStoreOptions } from './OntologyStore';
4
+ export { isDeprecated } from './OntologyStore/indexeddb-schema';
5
+ export declare const OntologyRecordType: import("@jbrowse/mobx-state-tree").IModelType<{
6
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
7
+ version: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
8
+ source: import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
9
+ locationType: "UriLocation";
10
+ uri: string;
11
+ baseUri: string | undefined;
12
+ internetAccountId: string | undefined;
13
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
14
+ internetAccountType: string;
15
+ authInfo: any;
16
+ }> | undefined;
17
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
18
+ locationType: "BlobLocation";
19
+ name: string;
20
+ blobId: string;
21
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
22
+ locationType: "LocalPathLocation";
23
+ localPath: string;
24
+ }>, {
25
+ locationType: "UriLocation";
26
+ uri: string;
27
+ internetAccountId: string | undefined;
28
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
29
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
30
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
31
+ }> | undefined;
32
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
33
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
34
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
35
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
36
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
37
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
38
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
39
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
40
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
41
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
42
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
43
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
44
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
45
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
46
+ }, {}> | ({
47
+ locationType: "UriLocation";
48
+ uri: string;
49
+ } & Partial<{
50
+ locationType: "UriLocation";
51
+ uri: string;
52
+ baseUri: string | undefined;
53
+ internetAccountId: string | undefined;
54
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
55
+ internetAccountType: string;
56
+ authInfo: any;
57
+ }> | undefined;
58
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>;
59
+ options: import("@jbrowse/mobx-state-tree").IType<OntologyStoreOptions, OntologyStoreOptions, OntologyStoreOptions>;
60
+ equivalentTypes: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>;
61
+ }, {
62
+ dataStore: undefined | OntologyStore;
63
+ startedEquivalentTypeRequests: Set<string>;
64
+ } & {
65
+ /** does nothing, just used to access the model to force its lifecycle hooks to run */
66
+ ping(): void;
67
+ initDataStore(): void;
68
+ afterCreate(): void;
69
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
70
+ } & {
71
+ loadEquivalentTypes: (type: string) => Promise<void>;
72
+ } & {
73
+ afterCreate(): void;
74
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
75
+ } & {
76
+ isTypeOf(queryType: string, typeOf: string): boolean;
77
+ }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
78
+ export declare const OntologyManagerType: import("@jbrowse/mobx-state-tree").IModelType<{
79
+ ontologies: import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IModelType<{
80
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
81
+ version: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
82
+ source: import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
83
+ locationType: "UriLocation";
84
+ uri: string;
85
+ baseUri: string | undefined;
86
+ internetAccountId: string | undefined;
87
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
88
+ internetAccountType: string;
89
+ authInfo: any;
90
+ }> | undefined;
91
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
92
+ locationType: "BlobLocation";
93
+ name: string;
94
+ blobId: string;
95
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
96
+ locationType: "LocalPathLocation";
97
+ localPath: string;
98
+ }>, {
99
+ locationType: "UriLocation";
100
+ uri: string;
101
+ internetAccountId: string | undefined;
102
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
103
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
104
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
105
+ }> | undefined;
106
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
107
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
108
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
109
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
110
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
111
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
112
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
113
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
114
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
115
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
116
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
117
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
118
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
119
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
120
+ }, {}> | ({
121
+ locationType: "UriLocation";
122
+ uri: string;
123
+ } & Partial<{
124
+ locationType: "UriLocation";
125
+ uri: string;
126
+ baseUri: string | undefined;
127
+ internetAccountId: string | undefined;
128
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
129
+ internetAccountType: string;
130
+ authInfo: any;
131
+ }> | undefined;
132
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>;
133
+ options: import("@jbrowse/mobx-state-tree").IType<OntologyStoreOptions, OntologyStoreOptions, OntologyStoreOptions>;
134
+ equivalentTypes: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>;
135
+ }, {
136
+ dataStore: undefined | OntologyStore;
137
+ startedEquivalentTypeRequests: Set<string>;
138
+ } & {
139
+ /** does nothing, just used to access the model to force its lifecycle hooks to run */
140
+ ping(): void;
141
+ initDataStore(): void;
142
+ afterCreate(): void;
143
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
144
+ } & {
145
+ loadEquivalentTypes: (type: string) => Promise<void>;
146
+ } & {
147
+ afterCreate(): void;
148
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
149
+ } & {
150
+ isTypeOf(queryType: string, typeOf: string): boolean;
151
+ }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
152
+ prefixes: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>, [undefined]>;
153
+ }, {
154
+ readonly featureTypeOntologyName: string;
155
+ } & {
156
+ /**
157
+ * gets the OntologyRecord for the ontology we should be
158
+ * using for feature types (e.g. SO or maybe biotypes)
159
+ **/
160
+ readonly featureTypeOntology: ({
161
+ name: string;
162
+ version: string;
163
+ source: ({
164
+ locationType: "BlobLocation";
165
+ name: string;
166
+ blobId: string;
167
+ } & import("@jbrowse/mobx-state-tree").NonEmptyObject & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
168
+ locationType: "UriLocation";
169
+ uri: string;
170
+ baseUri: string | undefined;
171
+ internetAccountId: string | undefined;
172
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
173
+ internetAccountType: string;
174
+ authInfo: any;
175
+ }> | undefined;
176
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
177
+ locationType: "BlobLocation";
178
+ name: string;
179
+ blobId: string;
180
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
181
+ locationType: "LocalPathLocation";
182
+ localPath: string;
183
+ }>, {
184
+ locationType: "UriLocation";
185
+ uri: string;
186
+ internetAccountId: string | undefined;
187
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
188
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
189
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
190
+ }> | undefined;
191
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
192
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
193
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
194
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
195
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
196
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
197
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
198
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
199
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
200
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
201
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
202
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
203
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
204
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
205
+ }, {}> | ({
206
+ locationType: "UriLocation";
207
+ uri: string;
208
+ } & Partial<{
209
+ locationType: "UriLocation";
210
+ uri: string;
211
+ baseUri: string | undefined;
212
+ internetAccountId: string | undefined;
213
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
214
+ internetAccountType: string;
215
+ authInfo: any;
216
+ }> | undefined;
217
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>>) | ({
218
+ locationType: "LocalPathLocation";
219
+ localPath: string;
220
+ } & import("@jbrowse/mobx-state-tree").NonEmptyObject & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
221
+ locationType: "UriLocation";
222
+ uri: string;
223
+ baseUri: string | undefined;
224
+ internetAccountId: string | undefined;
225
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
226
+ internetAccountType: string;
227
+ authInfo: any;
228
+ }> | undefined;
229
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
230
+ locationType: "BlobLocation";
231
+ name: string;
232
+ blobId: string;
233
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
234
+ locationType: "LocalPathLocation";
235
+ localPath: string;
236
+ }>, {
237
+ locationType: "UriLocation";
238
+ uri: string;
239
+ internetAccountId: string | undefined;
240
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
241
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
242
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
243
+ }> | undefined;
244
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
245
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
246
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
247
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
248
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
249
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
250
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
251
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
252
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
253
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
254
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
255
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
256
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
257
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
258
+ }, {}> | ({
259
+ locationType: "UriLocation";
260
+ uri: string;
261
+ } & Partial<{
262
+ locationType: "UriLocation";
263
+ uri: string;
264
+ baseUri: string | undefined;
265
+ internetAccountId: string | undefined;
266
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
267
+ internetAccountType: string;
268
+ authInfo: any;
269
+ }> | undefined;
270
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>>) | ({
271
+ locationType: "UriLocation";
272
+ uri: string;
273
+ } & Partial<{
274
+ locationType: "UriLocation";
275
+ uri: string;
276
+ baseUri: string | undefined;
277
+ internetAccountId: string | undefined;
278
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
279
+ internetAccountType: string;
280
+ authInfo: any;
281
+ }> | undefined;
282
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
283
+ locationType: "UriLocation";
284
+ uri: string;
285
+ baseUri: string | undefined;
286
+ internetAccountId: string | undefined;
287
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
288
+ internetAccountType: string;
289
+ authInfo: any;
290
+ }> | undefined;
291
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
292
+ locationType: "BlobLocation";
293
+ name: string;
294
+ blobId: string;
295
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
296
+ locationType: "LocalPathLocation";
297
+ localPath: string;
298
+ }>, {
299
+ locationType: "UriLocation";
300
+ uri: string;
301
+ internetAccountId: string | undefined;
302
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
303
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
304
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
305
+ }> | undefined;
306
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
307
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
308
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
309
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
310
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
311
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
312
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
313
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
314
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
315
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
316
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
317
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
318
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
319
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
320
+ }, {}> | ({
321
+ locationType: "UriLocation";
322
+ uri: string;
323
+ } & Partial<{
324
+ locationType: "UriLocation";
325
+ uri: string;
326
+ baseUri: string | undefined;
327
+ internetAccountId: string | undefined;
328
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
329
+ internetAccountType: string;
330
+ authInfo: any;
331
+ }> | undefined;
332
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>>);
333
+ options: OntologyStoreOptions & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IType<OntologyStoreOptions, OntologyStoreOptions, OntologyStoreOptions>>;
334
+ equivalentTypes: import("@jbrowse/mobx-state-tree").IMSTMap<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>>;
335
+ } & import("@jbrowse/mobx-state-tree").NonEmptyObject & {
336
+ dataStore: undefined | OntologyStore;
337
+ startedEquivalentTypeRequests: Set<string>;
338
+ } & {
339
+ /** does nothing, just used to access the model to force its lifecycle hooks to run */
340
+ ping(): void;
341
+ initDataStore(): void;
342
+ afterCreate(): void;
343
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
344
+ } & {
345
+ loadEquivalentTypes: (type: string) => Promise<void>;
346
+ } & {
347
+ afterCreate(): void;
348
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
349
+ } & {
350
+ isTypeOf(queryType: string, typeOf: string): boolean;
351
+ } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
352
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
353
+ version: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
354
+ source: import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
355
+ locationType: "UriLocation";
356
+ uri: string;
357
+ baseUri: string | undefined;
358
+ internetAccountId: string | undefined;
359
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
360
+ internetAccountType: string;
361
+ authInfo: any;
362
+ }> | undefined;
363
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
364
+ locationType: "BlobLocation";
365
+ name: string;
366
+ blobId: string;
367
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
368
+ locationType: "LocalPathLocation";
369
+ localPath: string;
370
+ }>, {
371
+ locationType: "UriLocation";
372
+ uri: string;
373
+ internetAccountId: string | undefined;
374
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
375
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
376
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
377
+ }> | undefined;
378
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
379
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
380
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
381
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
382
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
383
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
384
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
385
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
386
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
387
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
388
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
389
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
390
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
391
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
392
+ }, {}> | ({
393
+ locationType: "UriLocation";
394
+ uri: string;
395
+ } & Partial<{
396
+ locationType: "UriLocation";
397
+ uri: string;
398
+ baseUri: string | undefined;
399
+ internetAccountId: string | undefined;
400
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
401
+ internetAccountType: string;
402
+ authInfo: any;
403
+ }> | undefined;
404
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>;
405
+ options: import("@jbrowse/mobx-state-tree").IType<OntologyStoreOptions, OntologyStoreOptions, OntologyStoreOptions>;
406
+ equivalentTypes: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>;
407
+ }, {
408
+ dataStore: undefined | OntologyStore;
409
+ startedEquivalentTypeRequests: Set<string>;
410
+ } & {
411
+ /** does nothing, just used to access the model to force its lifecycle hooks to run */
412
+ ping(): void;
413
+ initDataStore(): void;
414
+ afterCreate(): void;
415
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
416
+ } & {
417
+ loadEquivalentTypes: (type: string) => Promise<void>;
418
+ } & {
419
+ afterCreate(): void;
420
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
421
+ } & {
422
+ isTypeOf(queryType: string, typeOf: string): boolean;
423
+ }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
424
+ findOntology(name: string, version?: string): ({
425
+ name: string;
426
+ version: string;
427
+ source: ({
428
+ locationType: "BlobLocation";
429
+ name: string;
430
+ blobId: string;
431
+ } & import("@jbrowse/mobx-state-tree").NonEmptyObject & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
432
+ locationType: "UriLocation";
433
+ uri: string;
434
+ baseUri: string | undefined;
435
+ internetAccountId: string | undefined;
436
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
437
+ internetAccountType: string;
438
+ authInfo: any;
439
+ }> | undefined;
440
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
441
+ locationType: "BlobLocation";
442
+ name: string;
443
+ blobId: string;
444
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
445
+ locationType: "LocalPathLocation";
446
+ localPath: string;
447
+ }>, {
448
+ locationType: "UriLocation";
449
+ uri: string;
450
+ internetAccountId: string | undefined;
451
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
452
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
453
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
454
+ }> | undefined;
455
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
456
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
457
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
458
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
459
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
460
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
461
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
462
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
463
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
464
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
465
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
466
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
467
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
468
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
469
+ }, {}> | ({
470
+ locationType: "UriLocation";
471
+ uri: string;
472
+ } & Partial<{
473
+ locationType: "UriLocation";
474
+ uri: string;
475
+ baseUri: string | undefined;
476
+ internetAccountId: string | undefined;
477
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
478
+ internetAccountType: string;
479
+ authInfo: any;
480
+ }> | undefined;
481
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>>) | ({
482
+ locationType: "LocalPathLocation";
483
+ localPath: string;
484
+ } & import("@jbrowse/mobx-state-tree").NonEmptyObject & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
485
+ locationType: "UriLocation";
486
+ uri: string;
487
+ baseUri: string | undefined;
488
+ internetAccountId: string | undefined;
489
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
490
+ internetAccountType: string;
491
+ authInfo: any;
492
+ }> | undefined;
493
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
494
+ locationType: "BlobLocation";
495
+ name: string;
496
+ blobId: string;
497
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
498
+ locationType: "LocalPathLocation";
499
+ localPath: string;
500
+ }>, {
501
+ locationType: "UriLocation";
502
+ uri: string;
503
+ internetAccountId: string | undefined;
504
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
505
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
506
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
507
+ }> | undefined;
508
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
509
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
510
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
511
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
512
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
513
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
514
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
515
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
516
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
517
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
518
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
519
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
520
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
521
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
522
+ }, {}> | ({
523
+ locationType: "UriLocation";
524
+ uri: string;
525
+ } & Partial<{
526
+ locationType: "UriLocation";
527
+ uri: string;
528
+ baseUri: string | undefined;
529
+ internetAccountId: string | undefined;
530
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
531
+ internetAccountType: string;
532
+ authInfo: any;
533
+ }> | undefined;
534
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>>) | ({
535
+ locationType: "UriLocation";
536
+ uri: string;
537
+ } & Partial<{
538
+ locationType: "UriLocation";
539
+ uri: string;
540
+ baseUri: string | undefined;
541
+ internetAccountId: string | undefined;
542
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
543
+ internetAccountType: string;
544
+ authInfo: any;
545
+ }> | undefined;
546
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
547
+ locationType: "UriLocation";
548
+ uri: string;
549
+ baseUri: string | undefined;
550
+ internetAccountId: string | undefined;
551
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
552
+ internetAccountType: string;
553
+ authInfo: any;
554
+ }> | undefined;
555
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
556
+ locationType: "BlobLocation";
557
+ name: string;
558
+ blobId: string;
559
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
560
+ locationType: "LocalPathLocation";
561
+ localPath: string;
562
+ }>, {
563
+ locationType: "UriLocation";
564
+ uri: string;
565
+ internetAccountId: string | undefined;
566
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
567
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
568
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
569
+ }> | undefined;
570
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
571
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
572
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
573
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
574
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
575
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
576
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
577
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
578
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
579
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
580
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
581
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
582
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
583
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
584
+ }, {}> | ({
585
+ locationType: "UriLocation";
586
+ uri: string;
587
+ } & Partial<{
588
+ locationType: "UriLocation";
589
+ uri: string;
590
+ baseUri: string | undefined;
591
+ internetAccountId: string | undefined;
592
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
593
+ internetAccountType: string;
594
+ authInfo: any;
595
+ }> | undefined;
596
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>>);
597
+ options: OntologyStoreOptions & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IType<OntologyStoreOptions, OntologyStoreOptions, OntologyStoreOptions>>;
598
+ equivalentTypes: import("@jbrowse/mobx-state-tree").IMSTMap<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>> & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>>;
599
+ } & import("@jbrowse/mobx-state-tree").NonEmptyObject & {
600
+ dataStore: undefined | OntologyStore;
601
+ startedEquivalentTypeRequests: Set<string>;
602
+ } & {
603
+ /** does nothing, just used to access the model to force its lifecycle hooks to run */
604
+ ping(): void;
605
+ initDataStore(): void;
606
+ afterCreate(): void;
607
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
608
+ } & {
609
+ loadEquivalentTypes: (type: string) => Promise<void>;
610
+ } & {
611
+ afterCreate(): void;
612
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
613
+ } & {
614
+ isTypeOf(queryType: string, typeOf: string): boolean;
615
+ } & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<{
616
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
617
+ version: import("@jbrowse/mobx-state-tree").IType<string | undefined, string, string>;
618
+ source: import("@jbrowse/mobx-state-tree").ITypeUnion<import("@jbrowse/mobx-state-tree").ModelCreationType<{
619
+ locationType: "UriLocation";
620
+ uri: string;
621
+ baseUri: string | undefined;
622
+ internetAccountId: string | undefined;
623
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
624
+ internetAccountType: string;
625
+ authInfo: any;
626
+ }> | undefined;
627
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
628
+ locationType: "BlobLocation";
629
+ name: string;
630
+ blobId: string;
631
+ }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
632
+ locationType: "LocalPathLocation";
633
+ localPath: string;
634
+ }>, {
635
+ locationType: "UriLocation";
636
+ uri: string;
637
+ internetAccountId: string | undefined;
638
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
639
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
640
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
641
+ }> | undefined;
642
+ } | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
643
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
644
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
645
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
646
+ }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
647
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
648
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
649
+ }>, import("@jbrowse/mobx-state-tree").ModelInstanceType<{
650
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
651
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
652
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
653
+ }, {}> | import("@jbrowse/mobx-state-tree").ModelInstanceType<{
654
+ locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
655
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
656
+ }, {}> | ({
657
+ locationType: "UriLocation";
658
+ uri: string;
659
+ } & Partial<{
660
+ locationType: "UriLocation";
661
+ uri: string;
662
+ baseUri: string | undefined;
663
+ internetAccountId: string | undefined;
664
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
665
+ internetAccountType: string;
666
+ authInfo: any;
667
+ }> | undefined;
668
+ }> & import("@jbrowse/mobx-state-tree").NonEmptyObject)>;
669
+ options: import("@jbrowse/mobx-state-tree").IType<OntologyStoreOptions, OntologyStoreOptions, OntologyStoreOptions>;
670
+ equivalentTypes: import("@jbrowse/mobx-state-tree").IMapType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").ISimpleType<string>>>;
671
+ }, {
672
+ dataStore: undefined | OntologyStore;
673
+ startedEquivalentTypeRequests: Set<string>;
674
+ } & {
675
+ /** does nothing, just used to access the model to force its lifecycle hooks to run */
676
+ ping(): void;
677
+ initDataStore(): void;
678
+ afterCreate(): void;
679
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
680
+ } & {
681
+ loadEquivalentTypes: (type: string) => Promise<void>;
682
+ } & {
683
+ afterCreate(): void;
684
+ setEquivalentTypes(type: string, equivalentTypes: string[]): void;
685
+ } & {
686
+ isTypeOf(queryType: string, typeOf: string): boolean;
687
+ }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>) | undefined;
688
+ openOntology(name: string, version?: string): OntologyStore | undefined;
689
+ /**
690
+ * compact the given URI using the currently configured
691
+ * prefixes
692
+ */
693
+ applyPrefixes(uri: string): string;
694
+ /**
695
+ * expand the given compacted URI using the currently
696
+ * configured prefixes
697
+ */
698
+ expandPrefixes(uri: string): string;
699
+ } & {
700
+ addOntology(name: string, version: string, source: Instance<typeof LocalPathLocation> | Instance<typeof UriLocation>, options?: OntologyStoreOptions): void;
701
+ }, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>;
702
+ export default OntologyManagerType;
703
+ export type { OntologyClass, OntologyProperty, OntologyTerm, TextIndexFieldDefinition, } from './OntologyStore/types';
704
+ export { defaultTextIndexFields, isOntologyClass, isOntologyProperty, } from './OntologyStore/types';
705
+ export declare const OntologyRecordConfiguration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
706
+ name: {
707
+ type: string;
708
+ description: string;
709
+ defaultValue: string;
710
+ };
711
+ version: {
712
+ type: string;
713
+ description: string;
714
+ defaultValue: string;
715
+ };
716
+ source: {
717
+ type: string;
718
+ description: string;
719
+ defaultValue: {
720
+ locationType: string;
721
+ uri: string;
722
+ };
723
+ };
724
+ textIndexFields: {
725
+ type: string;
726
+ description: string;
727
+ defaultValue: import("./OntologyStore/types").TextIndexFieldDefinition[];
728
+ };
729
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
730
+ export interface OntologyManager extends Instance<typeof OntologyManagerType> {
731
+ }
732
+ export interface OntologyRecord extends Instance<typeof OntologyRecordType> {
733
+ }
734
+ //# sourceMappingURL=index.d.ts.map