@jbrowse/product-core 2.8.0 → 2.9.0

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.
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * #config FormatDetails
3
- * generally exists on the config.json or root config as configuration.formatDetails
3
+ * generally exists on the tracks in the config.json or as a 'session' config as
4
+ * configuration.formatDetails
4
5
  */
5
6
  export declare function FormatDetailsConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
7
  /**
@@ -29,4 +30,12 @@ export declare function FormatDetailsConfigSchemaFactory(): import("@jbrowse/cor
29
30
  defaultValue: number;
30
31
  description: string;
31
32
  };
33
+ /**
34
+ * #slot configuration.formatDetails.maxDepth
35
+ */
36
+ maxDepth: {
37
+ type: string;
38
+ defaultValue: number;
39
+ description: string;
40
+ };
32
41
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -4,7 +4,8 @@ exports.FormatDetailsConfigSchemaFactory = void 0;
4
4
  const configuration_1 = require("@jbrowse/core/configuration");
5
5
  /**
6
6
  * #config FormatDetails
7
- * generally exists on the config.json or root config as configuration.formatDetails
7
+ * generally exists on the tracks in the config.json or as a 'session' config as
8
+ * configuration.formatDetails
8
9
  */
9
10
  function FormatDetailsConfigSchemaFactory() {
10
11
  return (0, configuration_1.ConfigurationSchema)('FormatDetails', {
@@ -32,7 +33,15 @@ function FormatDetailsConfigSchemaFactory() {
32
33
  depth: {
33
34
  type: 'number',
34
35
  defaultValue: 2,
35
- description: 'depth to iterate on subfeatures',
36
+ description: 'depth to iterate the formatDetails->subfeatures callback on subfeatures (used for example to only apply the callback to the first layer of subfeatures)',
37
+ },
38
+ /**
39
+ * #slot configuration.formatDetails.maxDepth
40
+ */
41
+ maxDepth: {
42
+ type: 'number',
43
+ defaultValue: 10000,
44
+ description: 'hide subfeatures greater than a certain depth',
36
45
  },
37
46
  });
38
47
  }
@@ -1850,6 +1850,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1850
1850
  defaultValue: number;
1851
1851
  description: string;
1852
1852
  };
1853
+ maxDepth: {
1854
+ type: string;
1855
+ defaultValue: number;
1856
+ description: string;
1857
+ };
1853
1858
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1854
1859
  formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1855
1860
  config: {
@@ -1832,6 +1832,11 @@ export declare function TracksManagerSessionMixin(pluginManager: PluginManager):
1832
1832
  defaultValue: number;
1833
1833
  description: string;
1834
1834
  };
1835
+ maxDepth: {
1836
+ type: string;
1837
+ defaultValue: number;
1838
+ description: string;
1839
+ };
1835
1840
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1836
1841
  formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1837
1842
  config: {
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * #config FormatDetails
3
- * generally exists on the config.json or root config as configuration.formatDetails
3
+ * generally exists on the tracks in the config.json or as a 'session' config as
4
+ * configuration.formatDetails
4
5
  */
5
6
  export declare function FormatDetailsConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
7
  /**
@@ -29,4 +30,12 @@ export declare function FormatDetailsConfigSchemaFactory(): import("@jbrowse/cor
29
30
  defaultValue: number;
30
31
  description: string;
31
32
  };
33
+ /**
34
+ * #slot configuration.formatDetails.maxDepth
35
+ */
36
+ maxDepth: {
37
+ type: string;
38
+ defaultValue: number;
39
+ description: string;
40
+ };
32
41
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -1,7 +1,8 @@
1
1
  import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
2
  /**
3
3
  * #config FormatDetails
4
- * generally exists on the config.json or root config as configuration.formatDetails
4
+ * generally exists on the tracks in the config.json or as a 'session' config as
5
+ * configuration.formatDetails
5
6
  */
6
7
  export function FormatDetailsConfigSchemaFactory() {
7
8
  return ConfigurationSchema('FormatDetails', {
@@ -29,7 +30,15 @@ export function FormatDetailsConfigSchemaFactory() {
29
30
  depth: {
30
31
  type: 'number',
31
32
  defaultValue: 2,
32
- description: 'depth to iterate on subfeatures',
33
+ description: 'depth to iterate the formatDetails->subfeatures callback on subfeatures (used for example to only apply the callback to the first layer of subfeatures)',
34
+ },
35
+ /**
36
+ * #slot configuration.formatDetails.maxDepth
37
+ */
38
+ maxDepth: {
39
+ type: 'number',
40
+ defaultValue: 10000,
41
+ description: 'hide subfeatures greater than a certain depth',
33
42
  },
34
43
  });
35
44
  }
@@ -1850,6 +1850,11 @@ export declare function SessionTracksManagerSessionMixin(pluginManager: PluginMa
1850
1850
  defaultValue: number;
1851
1851
  description: string;
1852
1852
  };
1853
+ maxDepth: {
1854
+ type: string;
1855
+ defaultValue: number;
1856
+ description: string;
1857
+ };
1853
1858
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1854
1859
  formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1855
1860
  config: {
@@ -1832,6 +1832,11 @@ export declare function TracksManagerSessionMixin(pluginManager: PluginManager):
1832
1832
  defaultValue: number;
1833
1833
  description: string;
1834
1834
  };
1835
+ maxDepth: {
1836
+ type: string;
1837
+ defaultValue: number;
1838
+ description: string;
1839
+ };
1835
1840
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
1836
1841
  formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1837
1842
  config: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/product-core",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
4
4
  "sideEffects": false,
5
5
  "description": "JBrowse 2 code shared between products but not used by plugins",
6
6
  "keywords": [
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@babel/runtime": "^7.16.3",
46
- "@jbrowse/core": "^2.8.0",
46
+ "@jbrowse/core": "^2.9.0",
47
47
  "@mui/icons-material": "^5.0.0",
48
48
  "@mui/material": "^5.10.17",
49
49
  "copy-to-clipboard": "^3.3.1",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "ee8c2bdc8bd4f1a70b1eefda984f04a2830d9ca0"
66
+ "gitHead": "a50b6f67cf8c8f3c65a7b8cd858de2fcca1f2909"
67
67
  }