bananass 0.1.2 → 0.2.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.
Files changed (95) hide show
  1. package/build/babel-plugins/transform-array-prototype-to-reversed/transform-array-prototype-to-reversed.d.ts +6 -2
  2. package/build/babel-plugins/transform-array-prototype-to-sorted/transform-array-prototype-to-sorted.d.ts +6 -2
  3. package/build/babel-plugins/transform-object-has-own/transform-object-has-own.d.ts +6 -2
  4. package/build/cli/bananass-add.d.ts +2 -2
  5. package/build/cli/bananass-bug.d.ts +2 -2
  6. package/build/cli/bananass-build.d.ts +2 -2
  7. package/build/cli/bananass-discussion.d.ts +2 -2
  8. package/build/cli/bananass-home.d.ts +2 -2
  9. package/build/cli/bananass-info.d.ts +2 -2
  10. package/build/cli/bananass-open.d.ts +2 -2
  11. package/build/cli/bananass-repo.d.ts +2 -2
  12. package/build/cli/bananass-run.d.ts +2 -2
  13. package/build/cli/global.d.ts +2 -3
  14. package/build/commands/bananass-bug/bug.d.ts +2 -2
  15. package/build/commands/bananass-build/build.d.ts +2 -4
  16. package/build/commands/bananass-discussion/discussion.d.ts +2 -2
  17. package/build/commands/bananass-home/home.d.ts +2 -2
  18. package/build/commands/bananass-info/info.d.ts +2 -2
  19. package/build/commands/bananass-open/open.d.ts +3 -4
  20. package/build/commands/bananass-repo/repo.d.ts +2 -2
  21. package/build/commands/bananass-run/run.d.ts +3 -6
  22. package/build/commands/bananass-run/test-runner.d.ts +4 -5
  23. package/build/core/cli/options.d.ts +1 -1
  24. package/build/core/conf/config-loader/config-loader.d.ts +2 -2
  25. package/build/core/conf/default-config-object/default-config-object.d.ts +8 -16
  26. package/build/core/constants.d.ts +1 -1
  27. package/build/core/structs/config-object/config-object.d.ts +6 -6
  28. package/build/core/structs/config-object-add/config-object-add.d.ts +6 -7
  29. package/build/core/structs/config-object-browser/config-object-browser.d.ts +6 -7
  30. package/build/core/structs/config-object-bug/config-object-bug.d.ts +6 -7
  31. package/build/core/structs/config-object-build/config-object-build.d.ts +6 -7
  32. package/build/core/structs/config-object-console/config-object-console.d.ts +6 -7
  33. package/build/core/structs/config-object-discussion/config-object-discussion.d.ts +6 -7
  34. package/build/core/structs/config-object-home/config-object-home.d.ts +6 -7
  35. package/build/core/structs/config-object-info/config-object-info.d.ts +6 -7
  36. package/build/core/structs/config-object-open/config-object-open.d.ts +6 -7
  37. package/build/core/structs/config-object-repo/config-object-repo.d.ts +6 -7
  38. package/build/core/structs/config-object-run/config-object-run.d.ts +6 -7
  39. package/build/core/structs/input/input.d.ts +6 -7
  40. package/build/core/structs/output/output.d.ts +6 -7
  41. package/build/core/structs/problem/problem.d.ts +6 -7
  42. package/build/core/structs/problems/problems.d.ts +6 -7
  43. package/build/core/structs/solution/solution.d.ts +6 -7
  44. package/build/core/structs/solution-with-testcases/solution-with-testcases.d.ts +6 -7
  45. package/build/core/structs/testcase/testcase.d.ts +6 -7
  46. package/build/core/structs/testcases/testcases.d.ts +6 -7
  47. package/build/core/types.d.ts +1 -1
  48. package/package.json +7 -7
  49. package/src/babel-plugins/transform-array-prototype-to-reversed/transform-array-prototype-to-reversed.js +9 -1
  50. package/src/babel-plugins/transform-array-prototype-to-sorted/transform-array-prototype-to-sorted.js +9 -1
  51. package/src/babel-plugins/transform-object-has-own/transform-object-has-own.js +9 -1
  52. package/src/cli/bananass-add.js +1 -1
  53. package/src/cli/bananass-bug.js +5 -5
  54. package/src/cli/bananass-build.js +1 -1
  55. package/src/cli/bananass-discussion.js +5 -5
  56. package/src/cli/bananass-home.js +5 -5
  57. package/src/cli/bananass-info.js +1 -1
  58. package/src/cli/bananass-open.js +5 -5
  59. package/src/cli/bananass-repo.js +5 -5
  60. package/src/cli/bananass-run.js +1 -1
  61. package/src/cli/global.js +1 -2
  62. package/src/commands/bananass-bug/bug.js +6 -12
  63. package/src/commands/bananass-build/build.js +9 -7
  64. package/src/commands/bananass-discussion/discussion.js +6 -12
  65. package/src/commands/bananass-home/home.js +6 -12
  66. package/src/commands/bananass-info/info.js +3 -3
  67. package/src/commands/bananass-open/open.js +10 -16
  68. package/src/commands/bananass-repo/repo.js +6 -12
  69. package/src/commands/bananass-run/run.js +7 -6
  70. package/src/commands/bananass-run/test-runner.js +10 -8
  71. package/src/core/cli/options.js +3 -3
  72. package/src/core/conf/config-loader/config-loader.js +1 -1
  73. package/src/core/conf/default-config-object/default-config-object.js +15 -15
  74. package/src/core/constants.js +1 -2
  75. package/src/core/structs/config-object/config-object.js +3 -3
  76. package/src/core/structs/config-object-add/config-object-add.js +3 -4
  77. package/src/core/structs/config-object-browser/config-object-browser.js +4 -5
  78. package/src/core/structs/config-object-bug/config-object-bug.js +3 -4
  79. package/src/core/structs/config-object-build/config-object-build.js +3 -4
  80. package/src/core/structs/config-object-console/config-object-console.js +3 -4
  81. package/src/core/structs/config-object-discussion/config-object-discussion.js +3 -4
  82. package/src/core/structs/config-object-home/config-object-home.js +3 -4
  83. package/src/core/structs/config-object-info/config-object-info.js +3 -4
  84. package/src/core/structs/config-object-open/config-object-open.js +3 -4
  85. package/src/core/structs/config-object-repo/config-object-repo.js +3 -4
  86. package/src/core/structs/config-object-run/config-object-run.js +3 -4
  87. package/src/core/structs/input/input.js +3 -4
  88. package/src/core/structs/output/output.js +3 -4
  89. package/src/core/structs/problem/problem.js +3 -4
  90. package/src/core/structs/problems/problems.js +3 -5
  91. package/src/core/structs/solution/solution.js +3 -4
  92. package/src/core/structs/solution-with-testcases/solution-with-testcases.js +3 -5
  93. package/src/core/structs/testcase/testcase.js +3 -5
  94. package/src/core/structs/testcases/testcases.js +3 -5
  95. package/src/core/types.js +1 -1
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @import { PluginObj } from '@babel/core';
3
+ */
1
4
  /**
2
5
  * Transform ES2023 `Array.prototype.toReversed()` to `Array.prototype.slice().reverse()`.
3
6
  *
@@ -5,6 +8,7 @@
5
8
  * - `slice()`: ES3
6
9
  * - `reverse()`: ES1
7
10
  *
8
- * @return {import("@babel/core").PluginObj}
11
+ * @return {PluginObj}
9
12
  */
10
- export default function transformArrayPrototypeToReversed(): import("@babel/core").PluginObj;
13
+ export default function transformArrayPrototypeToReversed(): PluginObj;
14
+ import type { PluginObj } from '@babel/core';
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @import { PluginObj } from '@babel/core';
3
+ */
1
4
  /**
2
5
  * Transform ES2023 `Array.prototype.toSorted(compareFn)` to `Array.prototype.slice().sort(compareFn)`.
3
6
  *
@@ -5,6 +8,7 @@
5
8
  * - `slice()`: ES3
6
9
  * - `sort()`: ES1
7
10
  *
8
- * @return {import("@babel/core").PluginObj}
11
+ * @return {PluginObj}
9
12
  */
10
- export default function transformArrayPrototypeToSorted(): import("@babel/core").PluginObj;
13
+ export default function transformArrayPrototypeToSorted(): PluginObj;
14
+ import type { PluginObj } from '@babel/core';
@@ -1,8 +1,12 @@
1
+ /**
2
+ * @import { PluginObj } from '@babel/core';
3
+ */
1
4
  /**
2
5
  * Transform ES2022 `Object.hasOwn(obj, prop)` to `Object.prototype.hasOwnProperty.call(obj, prop)`.
3
6
  *
4
7
  * Compatibility: ES1
5
8
  *
6
- * @return {import("@babel/core").PluginObj}
9
+ * @return {PluginObj}
7
10
  */
8
- export default function transformObjectHasOwn(): import("@babel/core").PluginObj;
11
+ export default function transformObjectHasOwn(): PluginObj;
12
+ import type { PluginObj } from '@babel/core';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Add: `npx bananass add` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function add(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Bug: `npx bananass bug` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function bug(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Build: `npx bananass build` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function build(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Discussion: `npx bananass discussion` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function discussion(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Home: `npx bananass home` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function home(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Info: `npx bananass info` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function info(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Open: `npx bananass open` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function open(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Repo: `npx bananass repo` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function repo(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,9 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Run: `npx bananass run` command.
6
6
  * @param {Command} program The `commander` package's `program`.
7
7
  */
8
8
  export default function run(program: Command): void;
9
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,10 +1,9 @@
1
1
  /**
2
- * @typedef {import('commander').Command} Command
2
+ * @import { Command } from 'commander';
3
3
  */
4
4
  /**
5
5
  * Global: `npx bananass` command.
6
- *
7
6
  * @param {Command} program The `commander` package's `program`.
8
7
  */
9
8
  export default function global(program: Command): void;
10
- export type Command = import("commander").Command;
9
+ import type { Command } from 'commander';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
2
+ * @import { ConfigObject } from '../../core/types.js';
3
3
  */
4
4
  /**
5
5
  * Asynchronously open the github issues in a browser.
@@ -7,4 +7,4 @@
7
7
  * @async
8
8
  */
9
9
  export default function bug(configObject?: ConfigObject): Promise<void>;
10
- export type ConfigObject = import("../../core/types.js").ConfigObject;
10
+ import type { ConfigObject } from '../../core/types.js';
@@ -5,7 +5,5 @@
5
5
  * @async
6
6
  */
7
7
  export default function build(problems: Problems, configObject?: ConfigObject): Promise<void>;
8
- export type WebpackConfig = import("webpack").Configuration;
9
- export type BabelPluginItem = import("@babel/core").PluginItem;
10
- export type Problems = import("../../core/types.js").Problems;
11
- export type ConfigObject = import("../../core/types.js").ConfigObject;
8
+ import type { Problems } from '../../core/types.js';
9
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
2
+ * @import { ConfigObject } from '../../core/types.js';
3
3
  */
4
4
  /**
5
5
  * Asynchronously open the github discussions in a browser.
@@ -7,4 +7,4 @@
7
7
  * @async
8
8
  */
9
9
  export default function discussion(configObject?: ConfigObject): Promise<void>;
10
- export type ConfigObject = import("../../core/types.js").ConfigObject;
10
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
2
+ * @import { ConfigObject } from '../../core/types.js';
3
3
  */
4
4
  /**
5
5
  * Asynchronously open the official documentation homepage in a browser.
@@ -7,4 +7,4 @@
7
7
  * @async
8
8
  */
9
9
  export default function home(configObject?: ConfigObject): Promise<void>;
10
- export type ConfigObject = import("../../core/types.js").ConfigObject;
10
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
2
+ * @import { ConfigObject } from '../../core/types.js';
3
3
  */
4
4
  /**
5
5
  * Asynchronously print relevant details about the current system which can be used to report bugs.
@@ -7,4 +7,4 @@
7
7
  * @async
8
8
  */
9
9
  export default function info(configObject?: ConfigObject): Promise<void>;
10
- export type ConfigObject = import("../../core/types.js").ConfigObject;
10
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,6 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').Problems} Problems
3
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
2
+ * @import { Problems, ConfigObject } from '../../core/types.js';
4
3
  */
5
4
  /**
6
5
  * Asynchronously open the given baekjoon problem numbers in a browser
@@ -9,5 +8,5 @@
9
8
  * @async
10
9
  */
11
10
  export default function home(problems: Problems, configObject?: ConfigObject): Promise<void>;
12
- export type Problems = import("../../core/types.js").Problems;
13
- export type ConfigObject = import("../../core/types.js").ConfigObject;
11
+ import type { Problems } from '../../core/types.js';
12
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
2
+ * @import { ConfigObject } from '../../core/types.js';
3
3
  */
4
4
  /**
5
5
  * Asynchronously open the github repository in a browser.
@@ -7,4 +7,4 @@
7
7
  * @async
8
8
  */
9
9
  export default function repo(configObject?: ConfigObject): Promise<void>;
10
- export type ConfigObject = import("../../core/types.js").ConfigObject;
10
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,7 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../core/types.js').Problems} Problems
3
- * @typedef {import('../../core/types.js').ConfigObject} ConfigObject
4
- * @typedef {import('../../core/types.js').SolutionWithTestcases} SolutionWithTestcases
2
+ * @import { Problems, ConfigObject, SolutionWithTestcases } from '../../core/types.js';
5
3
  */
6
4
  /**
7
5
  * Asynchronously run generated testcases and compare them with the expected outputs.
@@ -10,6 +8,5 @@
10
8
  * @async
11
9
  */
12
10
  export default function run(problems: Problems, configObject?: ConfigObject): Promise<void>;
13
- export type Problems = import("../../core/types.js").Problems;
14
- export type ConfigObject = import("../../core/types.js").ConfigObject;
15
- export type SolutionWithTestcases = import("../../core/types.js").SolutionWithTestcases;
11
+ import type { Problems } from '../../core/types.js';
12
+ import type { ConfigObject } from '../../core/types.js';
@@ -1,13 +1,12 @@
1
1
  /**
2
2
  * Test runner. Return an object with test results.
3
- *
4
3
  * @param {SolutionWithTestcases} solutionWithTestcases
5
4
  */
6
5
  export default function testRunner(solutionWithTestcases: SolutionWithTestcases): {
7
6
  results: {
8
7
  input: string;
9
- outputExpected: import("../../core/types.js").Output;
10
- outputActual: import("../../core/types.js").Output;
8
+ outputExpected: Output;
9
+ outputActual: Output;
11
10
  outputExpectedTransformed: string;
12
11
  outputActualTransformed: string;
13
12
  isTestPassed: boolean;
@@ -17,5 +16,5 @@ export default function testRunner(solutionWithTestcases: SolutionWithTestcases)
17
16
  numberOfTestsFailed: number;
18
17
  isAllTestsPassed: boolean;
19
18
  };
20
- export type SolutionWithTestcases = import("../../core/types.js").SolutionWithTestcases;
21
- export type Output = import("../../core/types.js").Output;
19
+ import type { SolutionWithTestcases } from '../../core/types.js';
20
+ import type { Output } from '../../core/types.js';
@@ -7,7 +7,7 @@ export const outDir: [string, string];
7
7
  /** @type {[string, string]} */
8
8
  export const browser: [string, string];
9
9
  /** @type {[string, string]} */
10
- export const secretMode: [string, string];
10
+ export const secret: [string, string];
11
11
  /** @type {[string, string]} */
12
12
  export const debug: [string, string];
13
13
  /** @type {[string, string]} */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @typedef {import('../../types.js').ConfigObject} ConfigObject
2
+ * @import { ConfigObject } from '../../types.js';
3
3
  */
4
4
  /**
5
5
  * Load and merge configuration objects.
@@ -18,4 +18,4 @@ export default function configLoader({ cwd, cliConfigObject, defaultConfigObject
18
18
  cliConfigObject?: ConfigObject;
19
19
  defaultConfigObject?: ConfigObject;
20
20
  }): Promise<ConfigObject>;
21
- export type ConfigObject = import("../../types.js").ConfigObject;
21
+ import type { ConfigObject } from '../../types.js';
@@ -2,28 +2,20 @@ declare const _default: {
2
2
  cwd: string;
3
3
  entryDir: string;
4
4
  outDir: string;
5
- browser: import("../../types.js").ConfigObjectBrowser;
6
- console: import("../../types.js").ConfigObjectConsole;
5
+ browser: ConfigObjectBrowser;
6
+ console: ConfigObjectConsole;
7
7
  add: any;
8
8
  bug: any;
9
- build: import("../../types.js").ConfigObjectBuild;
9
+ build: ConfigObjectBuild;
10
10
  discussion: any;
11
11
  home: any;
12
- info: import("../../types.js").ConfigObjectInfo;
12
+ info: ConfigObjectInfo;
13
13
  open: any;
14
14
  repo: any;
15
15
  run: any;
16
16
  };
17
17
  export default _default;
18
- export type ConfigObject = import("../../types.js").ConfigObject;
19
- export type ConfigObjectBrowser = import("../../types.js").ConfigObjectBrowser;
20
- export type ConfigObjectConsole = import("../../types.js").ConfigObjectConsole;
21
- export type ConfigObjectAdd = import("../../types.js").ConfigObjectAdd;
22
- export type ConfigObjectBug = import("../../types.js").ConfigObjectBug;
23
- export type ConfigObjectBuild = import("../../types.js").ConfigObjectBuild;
24
- export type ConfigObjectDiscussion = import("../../types.js").ConfigObjectDiscussion;
25
- export type ConfigObjectHome = import("../../types.js").ConfigObjectHome;
26
- export type ConfigObjectInfo = import("../../types.js").ConfigObjectInfo;
27
- export type ConfigObjectOpen = import("../../types.js").ConfigObjectOpen;
28
- export type ConfigObjectRepo = import("../../types.js").ConfigObjectRepo;
29
- export type ConfigObjectRun = import("../../types.js").ConfigObjectRun;
18
+ import type { ConfigObjectBrowser } from '../../types.js';
19
+ import type { ConfigObjectConsole } from '../../types.js';
20
+ import type { ConfigObjectBuild } from '../../types.js';
21
+ import type { ConfigObjectInfo } from '../../types.js';
@@ -35,4 +35,4 @@ export const WEBPACK_BANNER: string;
35
35
  export const BANANASS_PKG_NAMES: string[];
36
36
  export const SUPPORTED_SOLUTION_FILE_EXTENSIONS: string[];
37
37
  export const SUPPORTED_CONFIG_FILE_EXTENSIONS: string[];
38
- export type Problem = import("./types.js").Problem;
38
+ import type { Problem } from "./types.js";
@@ -1,12 +1,12 @@
1
1
  export default ConfigObject;
2
- export type ConfigObject = import("../../types.js").ConfigObject;
3
- export type ConfigObjectStruct = import("superstruct").Struct<ConfigObject>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObject} ConfigObject
6
- * @typedef {import('superstruct').Struct<ConfigObject>} ConfigObjectStruct
3
+ * @import { ConfigObject } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObject` type struct.
10
- * @type {ConfigObjectStruct}
8
+ * @type {Struct<ConfigObject>}
11
9
  */
12
- declare const ConfigObject: ConfigObjectStruct;
10
+ declare const ConfigObject: Struct<ConfigObject>;
11
+ import type { ConfigObject } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectAdd;
2
- export type ConfigObjectAdd = import("../../types.js").ConfigObjectAdd;
3
- export type ConfigObjectAddStruct = import("superstruct").Struct<ConfigObjectAdd>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectAdd} ConfigObjectAdd
6
- * @typedef {import('superstruct').Struct<ConfigObjectAdd>} ConfigObjectAddStruct
3
+ * @import { ConfigObjectAdd } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectAdd` type struct.
10
- *
11
- * @type {ConfigObjectAddStruct}
8
+ * @type {Struct<ConfigObjectAdd>}
12
9
  */
13
- declare const ConfigObjectAdd: ConfigObjectAddStruct;
10
+ declare const ConfigObjectAdd: Struct<ConfigObjectAdd>;
11
+ import type { ConfigObjectAdd } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectBrowser;
2
- export type ConfigObjectBrowser = import("../../types.js").ConfigObjectBrowser;
3
- export type ConfigObjectBrowserStruct = import("superstruct").Struct<ConfigObjectBrowser>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectBrowser} ConfigObjectBrowser
6
- * @typedef {import('superstruct').Struct<ConfigObjectBrowser>} ConfigObjectBrowserStruct
3
+ * @import { ConfigObjectBrowser } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectBrowser` type struct.
10
- *
11
- * @type {ConfigObjectBrowserStruct}
8
+ * @type {Struct<ConfigObjectBrowser>}
12
9
  */
13
- declare const ConfigObjectBrowser: ConfigObjectBrowserStruct;
10
+ declare const ConfigObjectBrowser: Struct<ConfigObjectBrowser>;
11
+ import type { ConfigObjectBrowser } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectBug;
2
- export type ConfigObjectBug = import("../../types.js").ConfigObjectBug;
3
- export type ConfigObjectBugStruct = import("superstruct").Struct<ConfigObjectBug>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectBug} ConfigObjectBug
6
- * @typedef {import('superstruct').Struct<ConfigObjectBug>} ConfigObjectBugStruct
3
+ * @import { ConfigObjectBug } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectBug` type struct.
10
- *
11
- * @type {ConfigObjectBugStruct}
8
+ * @type {Struct<ConfigObjectBug>}
12
9
  */
13
- declare const ConfigObjectBug: ConfigObjectBugStruct;
10
+ declare const ConfigObjectBug: Struct<ConfigObjectBug>;
11
+ import type { ConfigObjectBug } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectBuild;
2
- export type ConfigObjectBuild = import("../../types.js").ConfigObjectBuild;
3
- export type ConfigObjectBuildStruct = import("superstruct").Struct<ConfigObjectBuild>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectBuild} ConfigObjectBuild
6
- * @typedef {import('superstruct').Struct<ConfigObjectBuild>} ConfigObjectBuildStruct
3
+ * @import { ConfigObjectBuild } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectBuild` type struct.
10
- *
11
- * @type {ConfigObjectBuildStruct}
8
+ * @type {Struct<ConfigObjectBuild>}
12
9
  */
13
- declare const ConfigObjectBuild: ConfigObjectBuildStruct;
10
+ declare const ConfigObjectBuild: Struct<ConfigObjectBuild>;
11
+ import type { ConfigObjectBuild } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectConsole;
2
- export type ConfigObjectConsole = import("../../types.js").ConfigObjectConsole;
3
- export type ConfigObjectConsoleStruct = import("superstruct").Struct<ConfigObjectConsole>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectConsole} ConfigObjectConsole
6
- * @typedef {import('superstruct').Struct<ConfigObjectConsole>} ConfigObjectConsoleStruct
3
+ * @import { ConfigObjectConsole } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectConsole` type struct.
10
- *
11
- * @type {ConfigObjectConsoleStruct}
8
+ * @type {Struct<ConfigObjectConsole>}
12
9
  */
13
- declare const ConfigObjectConsole: ConfigObjectConsoleStruct;
10
+ declare const ConfigObjectConsole: Struct<ConfigObjectConsole>;
11
+ import type { ConfigObjectConsole } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectDiscussion;
2
- export type ConfigObjectDiscussion = import("../../types.js").ConfigObjectDiscussion;
3
- export type ConfigObjectDiscussionStruct = import("superstruct").Struct<ConfigObjectDiscussion>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectDiscussion} ConfigObjectDiscussion
6
- * @typedef {import('superstruct').Struct<ConfigObjectDiscussion>} ConfigObjectDiscussionStruct
3
+ * @import { ConfigObjectDiscussion } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectDiscussion` type struct.
10
- *
11
- * @type {ConfigObjectDiscussionStruct}
8
+ * @type {Struct<ConfigObjectDiscussion>}
12
9
  */
13
- declare const ConfigObjectDiscussion: ConfigObjectDiscussionStruct;
10
+ declare const ConfigObjectDiscussion: Struct<ConfigObjectDiscussion>;
11
+ import type { ConfigObjectDiscussion } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectHome;
2
- export type ConfigObjectHome = import("../../types.js").ConfigObjectHome;
3
- export type ConfigObjectHomeStruct = import("superstruct").Struct<ConfigObjectHome>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectHome} ConfigObjectHome
6
- * @typedef {import('superstruct').Struct<ConfigObjectHome>} ConfigObjectHomeStruct
3
+ * @import { ConfigObjectHome } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectHome` type struct.
10
- *
11
- * @type {ConfigObjectHomeStruct}
8
+ * @type {Struct<ConfigObjectHome>}
12
9
  */
13
- declare const ConfigObjectHome: ConfigObjectHomeStruct;
10
+ declare const ConfigObjectHome: Struct<ConfigObjectHome>;
11
+ import type { ConfigObjectHome } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectInfo;
2
- export type ConfigObjectInfo = import("../../types.js").ConfigObjectInfo;
3
- export type ConfigObjectInfoStruct = import("superstruct").Struct<ConfigObjectInfo>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectInfo} ConfigObjectInfo
6
- * @typedef {import('superstruct').Struct<ConfigObjectInfo>} ConfigObjectInfoStruct
3
+ * @import { ConfigObjectInfo } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectInfo` type struct.
10
- *
11
- * @type {ConfigObjectInfoStruct}
8
+ * @type {Struct<ConfigObjectInfo>}
12
9
  */
13
- declare const ConfigObjectInfo: ConfigObjectInfoStruct;
10
+ declare const ConfigObjectInfo: Struct<ConfigObjectInfo>;
11
+ import type { ConfigObjectInfo } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectOpen;
2
- export type ConfigObjectOpen = import("../../types.js").ConfigObjectOpen;
3
- export type ConfigObjectOpenStruct = import("superstruct").Struct<ConfigObjectOpen>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectOpen} ConfigObjectOpen
6
- * @typedef {import('superstruct').Struct<ConfigObjectOpen>} ConfigObjectOpenStruct
3
+ * @import { ConfigObjectOpen } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectOpen` type struct.
10
- *
11
- * @type {ConfigObjectOpenStruct}
8
+ * @type {Struct<ConfigObjectOpen>}
12
9
  */
13
- declare const ConfigObjectOpen: ConfigObjectOpenStruct;
10
+ declare const ConfigObjectOpen: Struct<ConfigObjectOpen>;
11
+ import type { ConfigObjectOpen } from '../../types.js';
12
+ import type { Struct } from 'superstruct';
@@ -1,13 +1,12 @@
1
1
  export default ConfigObjectRepo;
2
- export type ConfigObjectRepo = import("../../types.js").ConfigObjectRepo;
3
- export type ConfigObjectRepoStruct = import("superstruct").Struct<ConfigObjectRepo>;
4
2
  /**
5
- * @typedef {import('../../types.js').ConfigObjectRepo} ConfigObjectRepo
6
- * @typedef {import('superstruct').Struct<ConfigObjectRepo>} ConfigObjectRepoStruct
3
+ * @import { ConfigObjectRepo } from '../../types.js';
4
+ * @import { Struct } from 'superstruct';
7
5
  */
8
6
  /**
9
7
  * `ConfigObjectRepo` type struct.
10
- *
11
- * @type {ConfigObjectRepoStruct}
8
+ * @type {Struct<ConfigObjectRepo>}
12
9
  */
13
- declare const ConfigObjectRepo: ConfigObjectRepoStruct;
10
+ declare const ConfigObjectRepo: Struct<ConfigObjectRepo>;
11
+ import type { ConfigObjectRepo } from '../../types.js';
12
+ import type { Struct } from 'superstruct';