@jbrowse/product-core 2.6.2 → 2.6.3

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.
@@ -0,0 +1,22 @@
1
+ /**
2
+ * #config FormatAbout
3
+ * generally exists on the config.json or root config as configuration.formatAbout
4
+ */
5
+ export declare function FormatAboutConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ /**
7
+ * #slot configuration.formatAbout.config
8
+ */
9
+ config: {
10
+ type: string;
11
+ description: string;
12
+ defaultValue: {};
13
+ contextVariable: string[];
14
+ };
15
+ /**
16
+ * #slot configuration.formatAbout.hideUris
17
+ */
18
+ hideUris: {
19
+ type: string;
20
+ defaultValue: boolean;
21
+ };
22
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormatAboutConfigSchemaFactory = void 0;
4
+ const configuration_1 = require("@jbrowse/core/configuration");
5
+ /**
6
+ * #config FormatAbout
7
+ * generally exists on the config.json or root config as configuration.formatAbout
8
+ */
9
+ function FormatAboutConfigSchemaFactory() {
10
+ return (0, configuration_1.ConfigurationSchema)('FormatAbout', {
11
+ /**
12
+ * #slot configuration.formatAbout.config
13
+ */
14
+ config: {
15
+ type: 'frozen',
16
+ description: 'formats configuration object in about dialog',
17
+ defaultValue: {},
18
+ contextVariable: ['config'],
19
+ },
20
+ /**
21
+ * #slot configuration.formatAbout.hideUris
22
+ */
23
+ hideUris: {
24
+ type: 'boolean',
25
+ defaultValue: false,
26
+ },
27
+ });
28
+ }
29
+ exports.FormatAboutConfigSchemaFactory = FormatAboutConfigSchemaFactory;
@@ -0,0 +1,32 @@
1
+ /**
2
+ * #config FormatDetails
3
+ * generally exists on the config.json or root config as configuration.formatDetails
4
+ */
5
+ export declare function FormatDetailsConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ /**
7
+ * #slot configuration.formatDetails.feature
8
+ */
9
+ feature: {
10
+ type: string;
11
+ description: string;
12
+ defaultValue: {};
13
+ contextVariable: string[];
14
+ };
15
+ /**
16
+ * #slot configuration.formatDetails.subfeatures
17
+ */
18
+ subfeatures: {
19
+ type: string;
20
+ description: string;
21
+ defaultValue: {};
22
+ contextVariable: string[];
23
+ };
24
+ /**
25
+ * #slot configuration.formatDetails.depth
26
+ */
27
+ depth: {
28
+ type: string;
29
+ defaultValue: number;
30
+ description: string;
31
+ };
32
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormatDetailsConfigSchemaFactory = void 0;
4
+ const configuration_1 = require("@jbrowse/core/configuration");
5
+ /**
6
+ * #config FormatDetails
7
+ * generally exists on the config.json or root config as configuration.formatDetails
8
+ */
9
+ function FormatDetailsConfigSchemaFactory() {
10
+ return (0, configuration_1.ConfigurationSchema)('FormatDetails', {
11
+ /**
12
+ * #slot configuration.formatDetails.feature
13
+ */
14
+ feature: {
15
+ type: 'frozen',
16
+ description: 'adds extra fields to the feature details',
17
+ defaultValue: {},
18
+ contextVariable: ['feature'],
19
+ },
20
+ /**
21
+ * #slot configuration.formatDetails.subfeatures
22
+ */
23
+ subfeatures: {
24
+ type: 'frozen',
25
+ description: 'adds extra fields to the subfeatures of a feature',
26
+ defaultValue: {},
27
+ contextVariable: ['feature'],
28
+ },
29
+ /**
30
+ * #slot configuration.formatDetails.depth
31
+ */
32
+ depth: {
33
+ type: 'number',
34
+ defaultValue: 2,
35
+ description: 'depth to iterate on subfeatures',
36
+ },
37
+ });
38
+ }
39
+ exports.FormatDetailsConfigSchemaFactory = FormatDetailsConfigSchemaFactory;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * #config HierarchicalConfigSchema
3
+ * generally exists on the config.json or root config as configuration.hierarchical
4
+ */
5
+ export declare function HierarchicalConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ sort: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
7
+ /**
8
+ * #slot configuration.hierarchical.sort.trackNames
9
+ */
10
+ trackNames: {
11
+ type: string;
12
+ defaultValue: boolean;
13
+ };
14
+ /**
15
+ * #slot configuration.hierarchical.sort.categories
16
+ */
17
+ categories: {
18
+ type: string;
19
+ defaultValue: boolean;
20
+ };
21
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
22
+ defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
23
+ /**
24
+ * #slot configuration.hierarchical.defaultCollapse.categoryNames
25
+ */
26
+ categoryNames: {
27
+ type: string;
28
+ defaultValue: never[];
29
+ };
30
+ /**
31
+ * #slot configuration.hierarchical.defaultCollapse.topLevelCategories
32
+ */
33
+ topLevelCategories: {
34
+ type: string;
35
+ defaultValue: boolean;
36
+ };
37
+ /**
38
+ * #slot configuration.hierarchical.defaultCollapse.subCategories
39
+ */
40
+ subCategories: {
41
+ type: string;
42
+ defaultValue: boolean;
43
+ };
44
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
45
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HierarchicalConfigSchemaFactory = void 0;
4
+ const configuration_1 = require("@jbrowse/core/configuration");
5
+ /**
6
+ * #config HierarchicalConfigSchema
7
+ * generally exists on the config.json or root config as configuration.hierarchical
8
+ */
9
+ function HierarchicalConfigSchemaFactory() {
10
+ return (0, configuration_1.ConfigurationSchema)('hierarchical', {
11
+ sort: (0, configuration_1.ConfigurationSchema)('hierarchicalSort', {
12
+ /**
13
+ * #slot configuration.hierarchical.sort.trackNames
14
+ */
15
+ trackNames: {
16
+ type: 'boolean',
17
+ defaultValue: false,
18
+ },
19
+ /**
20
+ * #slot configuration.hierarchical.sort.categories
21
+ */
22
+ categories: {
23
+ type: 'boolean',
24
+ defaultValue: false,
25
+ },
26
+ }),
27
+ defaultCollapsed: (0, configuration_1.ConfigurationSchema)('defaultCollapsed', {
28
+ /**
29
+ * #slot configuration.hierarchical.defaultCollapse.categoryNames
30
+ */
31
+ categoryNames: {
32
+ type: 'stringArray',
33
+ defaultValue: [],
34
+ },
35
+ /**
36
+ * #slot configuration.hierarchical.defaultCollapse.topLevelCategories
37
+ */
38
+ topLevelCategories: {
39
+ type: 'boolean',
40
+ defaultValue: false,
41
+ },
42
+ /**
43
+ * #slot configuration.hierarchical.defaultCollapse.subCategories
44
+ */
45
+ subCategories: {
46
+ type: 'boolean',
47
+ defaultValue: false,
48
+ },
49
+ }),
50
+ });
51
+ }
52
+ exports.HierarchicalConfigSchemaFactory = HierarchicalConfigSchemaFactory;
@@ -1,2 +1,5 @@
1
1
  export * from './BaseRootModel';
2
2
  export * from './InternetAccounts';
3
+ export * from './FormatAbout';
4
+ export * from './FormatDetails';
5
+ export * from './HierarchicalConfig';
@@ -16,3 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./BaseRootModel"), exports);
18
18
  __exportStar(require("./InternetAccounts"), exports);
19
+ __exportStar(require("./FormatAbout"), exports);
20
+ __exportStar(require("./FormatDetails"), exports);
21
+ __exportStar(require("./HierarchicalConfig"), exports);
@@ -0,0 +1,22 @@
1
+ /**
2
+ * #config FormatAbout
3
+ * generally exists on the config.json or root config as configuration.formatAbout
4
+ */
5
+ export declare function FormatAboutConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ /**
7
+ * #slot configuration.formatAbout.config
8
+ */
9
+ config: {
10
+ type: string;
11
+ description: string;
12
+ defaultValue: {};
13
+ contextVariable: string[];
14
+ };
15
+ /**
16
+ * #slot configuration.formatAbout.hideUris
17
+ */
18
+ hideUris: {
19
+ type: string;
20
+ defaultValue: boolean;
21
+ };
22
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -0,0 +1,25 @@
1
+ import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
+ /**
3
+ * #config FormatAbout
4
+ * generally exists on the config.json or root config as configuration.formatAbout
5
+ */
6
+ export function FormatAboutConfigSchemaFactory() {
7
+ return ConfigurationSchema('FormatAbout', {
8
+ /**
9
+ * #slot configuration.formatAbout.config
10
+ */
11
+ config: {
12
+ type: 'frozen',
13
+ description: 'formats configuration object in about dialog',
14
+ defaultValue: {},
15
+ contextVariable: ['config'],
16
+ },
17
+ /**
18
+ * #slot configuration.formatAbout.hideUris
19
+ */
20
+ hideUris: {
21
+ type: 'boolean',
22
+ defaultValue: false,
23
+ },
24
+ });
25
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * #config FormatDetails
3
+ * generally exists on the config.json or root config as configuration.formatDetails
4
+ */
5
+ export declare function FormatDetailsConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ /**
7
+ * #slot configuration.formatDetails.feature
8
+ */
9
+ feature: {
10
+ type: string;
11
+ description: string;
12
+ defaultValue: {};
13
+ contextVariable: string[];
14
+ };
15
+ /**
16
+ * #slot configuration.formatDetails.subfeatures
17
+ */
18
+ subfeatures: {
19
+ type: string;
20
+ description: string;
21
+ defaultValue: {};
22
+ contextVariable: string[];
23
+ };
24
+ /**
25
+ * #slot configuration.formatDetails.depth
26
+ */
27
+ depth: {
28
+ type: string;
29
+ defaultValue: number;
30
+ description: string;
31
+ };
32
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -0,0 +1,35 @@
1
+ import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
+ /**
3
+ * #config FormatDetails
4
+ * generally exists on the config.json or root config as configuration.formatDetails
5
+ */
6
+ export function FormatDetailsConfigSchemaFactory() {
7
+ return ConfigurationSchema('FormatDetails', {
8
+ /**
9
+ * #slot configuration.formatDetails.feature
10
+ */
11
+ feature: {
12
+ type: 'frozen',
13
+ description: 'adds extra fields to the feature details',
14
+ defaultValue: {},
15
+ contextVariable: ['feature'],
16
+ },
17
+ /**
18
+ * #slot configuration.formatDetails.subfeatures
19
+ */
20
+ subfeatures: {
21
+ type: 'frozen',
22
+ description: 'adds extra fields to the subfeatures of a feature',
23
+ defaultValue: {},
24
+ contextVariable: ['feature'],
25
+ },
26
+ /**
27
+ * #slot configuration.formatDetails.depth
28
+ */
29
+ depth: {
30
+ type: 'number',
31
+ defaultValue: 2,
32
+ description: 'depth to iterate on subfeatures',
33
+ },
34
+ });
35
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * #config HierarchicalConfigSchema
3
+ * generally exists on the config.json or root config as configuration.hierarchical
4
+ */
5
+ export declare function HierarchicalConfigSchemaFactory(): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
6
+ sort: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
7
+ /**
8
+ * #slot configuration.hierarchical.sort.trackNames
9
+ */
10
+ trackNames: {
11
+ type: string;
12
+ defaultValue: boolean;
13
+ };
14
+ /**
15
+ * #slot configuration.hierarchical.sort.categories
16
+ */
17
+ categories: {
18
+ type: string;
19
+ defaultValue: boolean;
20
+ };
21
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
22
+ defaultCollapsed: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
23
+ /**
24
+ * #slot configuration.hierarchical.defaultCollapse.categoryNames
25
+ */
26
+ categoryNames: {
27
+ type: string;
28
+ defaultValue: never[];
29
+ };
30
+ /**
31
+ * #slot configuration.hierarchical.defaultCollapse.topLevelCategories
32
+ */
33
+ topLevelCategories: {
34
+ type: string;
35
+ defaultValue: boolean;
36
+ };
37
+ /**
38
+ * #slot configuration.hierarchical.defaultCollapse.subCategories
39
+ */
40
+ subCategories: {
41
+ type: string;
42
+ defaultValue: boolean;
43
+ };
44
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
45
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
@@ -0,0 +1,48 @@
1
+ import { ConfigurationSchema } from '@jbrowse/core/configuration';
2
+ /**
3
+ * #config HierarchicalConfigSchema
4
+ * generally exists on the config.json or root config as configuration.hierarchical
5
+ */
6
+ export function HierarchicalConfigSchemaFactory() {
7
+ return ConfigurationSchema('hierarchical', {
8
+ sort: ConfigurationSchema('hierarchicalSort', {
9
+ /**
10
+ * #slot configuration.hierarchical.sort.trackNames
11
+ */
12
+ trackNames: {
13
+ type: 'boolean',
14
+ defaultValue: false,
15
+ },
16
+ /**
17
+ * #slot configuration.hierarchical.sort.categories
18
+ */
19
+ categories: {
20
+ type: 'boolean',
21
+ defaultValue: false,
22
+ },
23
+ }),
24
+ defaultCollapsed: ConfigurationSchema('defaultCollapsed', {
25
+ /**
26
+ * #slot configuration.hierarchical.defaultCollapse.categoryNames
27
+ */
28
+ categoryNames: {
29
+ type: 'stringArray',
30
+ defaultValue: [],
31
+ },
32
+ /**
33
+ * #slot configuration.hierarchical.defaultCollapse.topLevelCategories
34
+ */
35
+ topLevelCategories: {
36
+ type: 'boolean',
37
+ defaultValue: false,
38
+ },
39
+ /**
40
+ * #slot configuration.hierarchical.defaultCollapse.subCategories
41
+ */
42
+ subCategories: {
43
+ type: 'boolean',
44
+ defaultValue: false,
45
+ },
46
+ }),
47
+ });
48
+ }
@@ -1,2 +1,5 @@
1
1
  export * from './BaseRootModel';
2
2
  export * from './InternetAccounts';
3
+ export * from './FormatAbout';
4
+ export * from './FormatDetails';
5
+ export * from './HierarchicalConfig';
@@ -1,2 +1,5 @@
1
1
  export * from './BaseRootModel';
2
2
  export * from './InternetAccounts';
3
+ export * from './FormatAbout';
4
+ export * from './FormatDetails';
5
+ export * from './HierarchicalConfig';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/product-core",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "sideEffects": false,
5
5
  "description": "JBrowse 2 code shared between products but not used by plugins",
6
6
  "keywords": [
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "bbea587a402d9974acdd804a33f4b77f31a2fd5f"
66
+ "gitHead": "ed402c87efb0904858d602c363bd1757d5742129"
67
67
  }