mulink 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.tsbuildinfo +1 -1
- package/dist/lib/{chunk-H3NAQ2H4.cjs → chunk-M2HIN5C2.cjs} +92 -12
- package/dist/lib/chunk-M2HIN5C2.cjs.map +1 -0
- package/dist/lib/{chunk-NXP26AJR.js → chunk-RXLPPBZQ.js} +92 -12
- package/dist/lib/chunk-RXLPPBZQ.js.map +1 -0
- package/dist/lib/cli.cjs +16 -16
- package/dist/lib/cli.js +1 -1
- package/dist/lib/client.cjs +18 -18
- package/dist/lib/client.js +2 -2
- package/dist/lib/index.cjs +32 -32
- package/dist/lib/index.js +2 -2
- package/package.json +1 -1
- package/dist/lib/chunk-H3NAQ2H4.cjs.map +0 -1
- package/dist/lib/chunk-NXP26AJR.js.map +0 -1
package/dist/lib/cli.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkM2HIN5C2_cjs = require('./chunk-M2HIN5C2.cjs');
|
|
5
5
|
var commander = require('commander');
|
|
6
6
|
var fs = require('fs');
|
|
7
7
|
var path = require('path');
|
|
8
8
|
|
|
9
|
-
var BANNER = /* @__PURE__ */
|
|
9
|
+
var BANNER = /* @__PURE__ */ chunkM2HIN5C2_cjs.__name((version) => `
|
|
10
10
|
\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2588\u2557 \u2588\u2588\u2557\u2588\u2588\u2557 \u2588\u2588\u2557
|
|
11
11
|
\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2554\u255D
|
|
12
12
|
\u2588\u2588\u2554\u2588\u2588\u2588\u2588\u2554\u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2551 \u2588\u2588\u2551\u2588\u2588\u2554\u2588\u2588\u2557 \u2588\u2588\u2551\u2588\u2588\u2588\u2588\u2588\u2554\u255D
|
|
@@ -18,7 +18,7 @@ var BANNER = /* @__PURE__ */ chunkH3NAQ2H4_cjs.__name((version) => `
|
|
|
18
18
|
\u{1F517} Connect APIs \u2022 Generate Clients \u2022 Type Safety
|
|
19
19
|
\u{1F4E6} Version: ${version} \u2022 \u{1F680} Next.js 16+ \u2022 \u26A1 OpenAPI 3.x
|
|
20
20
|
`, "BANNER");
|
|
21
|
-
var logger = new
|
|
21
|
+
var logger = new chunkM2HIN5C2_cjs.BridgeLogger({ prefix: "\u{1F517} Mulink CLI" });
|
|
22
22
|
function displayBanner(version, updateInfo) {
|
|
23
23
|
let banner = BANNER(version);
|
|
24
24
|
if (updateInfo && updateInfo.updateAvailable) {
|
|
@@ -40,7 +40,7 @@ function displayBanner(version, updateInfo) {
|
|
|
40
40
|
}
|
|
41
41
|
console.log(banner);
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
chunkM2HIN5C2_cjs.__name(displayBanner, "displayBanner");
|
|
44
44
|
function displayColoredBanner(version, updateInfo) {
|
|
45
45
|
const colors = {
|
|
46
46
|
reset: "\x1B[0m",
|
|
@@ -68,9 +68,9 @@ function displayColoredBanner(version, updateInfo) {
|
|
|
68
68
|
}
|
|
69
69
|
console.log(banner);
|
|
70
70
|
}
|
|
71
|
-
|
|
71
|
+
chunkM2HIN5C2_cjs.__name(displayColoredBanner, "displayColoredBanner");
|
|
72
72
|
var program = new commander.Command();
|
|
73
|
-
var versionChecker =
|
|
73
|
+
var versionChecker = chunkM2HIN5C2_cjs.createBridgeVersionChecker(logger);
|
|
74
74
|
program.name("mulink").description("Universal type-safe API integration library for modern web applications").version(versionChecker.getCurrentVersion()).option("-v, --verbose", "Enable verbose logging").option("-q, --quiet", "Suppress non-error output").option("--no-color", "Disable colored output").option("--no-banner", "Disable banner display").hook("preAction", async (thisCommand) => {
|
|
75
75
|
const opts = thisCommand.opts();
|
|
76
76
|
if (opts.verbose) {
|
|
@@ -84,7 +84,7 @@ program.name("mulink").description("Universal type-safe API integration library
|
|
|
84
84
|
let updateInfo = null;
|
|
85
85
|
if (!opts.quiet) {
|
|
86
86
|
try {
|
|
87
|
-
const versionChecker2 =
|
|
87
|
+
const versionChecker2 = chunkM2HIN5C2_cjs.createBridgeVersionChecker(logger);
|
|
88
88
|
const versionInfo = await versionChecker2.checkForUpdates();
|
|
89
89
|
if (versionInfo && versionInfo.updateAvailable) {
|
|
90
90
|
const upgradeCommand = versionChecker2.getUpgradeCommand(versionInfo);
|
|
@@ -111,10 +111,10 @@ program.name("mulink").description("Universal type-safe API integration library
|
|
|
111
111
|
program.command("generate").alias("gen").description("Generate API client code from OpenAPI schema").option("-c, --config <path>", "Path to config file", "link.config.json").option("-w, --watch", "Watch for schema changes and regenerate automatically").option("--dry-run", "Show what would be generated without writing files").action(async (options) => {
|
|
112
112
|
const spinner = logger.spinner("Initializing generation...");
|
|
113
113
|
try {
|
|
114
|
-
const configLoader = new
|
|
114
|
+
const configLoader = new chunkM2HIN5C2_cjs.ConfigurationLoader();
|
|
115
115
|
const config = await configLoader.load(options.config);
|
|
116
116
|
spinner.succeed("Configuration loaded");
|
|
117
|
-
const bridge = new
|
|
117
|
+
const bridge = new chunkM2HIN5C2_cjs.BridgeCore();
|
|
118
118
|
if (options.dryRun) {
|
|
119
119
|
logger.info("\u{1F50D} Dry run mode - validation only");
|
|
120
120
|
const validationSpinner = logger.spinner("Validating schema...");
|
|
@@ -174,7 +174,7 @@ program.command("init").description("Initialize a new Mulink project").option("-
|
|
|
174
174
|
logger.info("If you want to overwrite it, delete the file first or use a different path.");
|
|
175
175
|
process.exit(1);
|
|
176
176
|
}
|
|
177
|
-
const configLoader = new
|
|
177
|
+
const configLoader = new chunkM2HIN5C2_cjs.ConfigurationLoader();
|
|
178
178
|
const config = configLoader.createDefault(options.framework);
|
|
179
179
|
if (options.schema) {
|
|
180
180
|
try {
|
|
@@ -223,9 +223,9 @@ program.command("init").description("Initialize a new Mulink project").option("-
|
|
|
223
223
|
});
|
|
224
224
|
program.command("validate").description("Validate OpenAPI schema and configuration").option("-c, --config <path>", "Path to config file", "link.config.json").option("--schema-only", "Only validate the OpenAPI schema").action(async (options) => {
|
|
225
225
|
try {
|
|
226
|
-
const configLoader = new
|
|
226
|
+
const configLoader = new chunkM2HIN5C2_cjs.ConfigurationLoader();
|
|
227
227
|
const config = await configLoader.load(options.config);
|
|
228
|
-
const bridge = new
|
|
228
|
+
const bridge = new chunkM2HIN5C2_cjs.BridgeCore();
|
|
229
229
|
if (options.schemaOnly) {
|
|
230
230
|
const isValid = await bridge.validateSchema(config.schema);
|
|
231
231
|
if (isValid) {
|
|
@@ -256,9 +256,9 @@ program.command("validate").description("Validate OpenAPI schema and configurati
|
|
|
256
256
|
program.command("clean").description("Clean generated files and cache").option("-c, --config <path>", "Path to config file", "link.config.json").option("--force", "Force clean without confirmation").action(async (options) => {
|
|
257
257
|
const spinner = logger.spinner("Cleaning cache and generated files...");
|
|
258
258
|
try {
|
|
259
|
-
const configLoader = new
|
|
259
|
+
const configLoader = new chunkM2HIN5C2_cjs.ConfigurationLoader();
|
|
260
260
|
const _config = await configLoader.load(options.config);
|
|
261
|
-
const bridge = new
|
|
261
|
+
const bridge = new chunkM2HIN5C2_cjs.BridgeCore();
|
|
262
262
|
bridge.clearCache();
|
|
263
263
|
spinner.succeed("Cache and generated files cleared successfully");
|
|
264
264
|
logger.info("\u{1F9F9} Cleaned:");
|
|
@@ -280,7 +280,7 @@ program.command("clean").description("Clean generated files and cache").option("
|
|
|
280
280
|
});
|
|
281
281
|
program.command("info").description("Show project information and status").option("-c, --config <path>", "Path to config file", "link.config.json").action(async (options) => {
|
|
282
282
|
try {
|
|
283
|
-
const configLoader = new
|
|
283
|
+
const configLoader = new chunkM2HIN5C2_cjs.ConfigurationLoader();
|
|
284
284
|
const config = await configLoader.load(options.config);
|
|
285
285
|
logger.info("\u{1F4CA} Mulink Project Information");
|
|
286
286
|
logger.info("=".repeat(40));
|
|
@@ -307,7 +307,7 @@ program.command("info").description("Show project information and status").optio
|
|
|
307
307
|
program.command("check-updates").alias("update-check").description("Check for available updates").option("--force", "Force check even if recently checked").option("--show-current", "Show current version information").action(async (options) => {
|
|
308
308
|
const spinner = logger.spinner("Checking for updates...");
|
|
309
309
|
try {
|
|
310
|
-
const versionChecker2 =
|
|
310
|
+
const versionChecker2 = chunkM2HIN5C2_cjs.createBridgeVersionChecker(logger);
|
|
311
311
|
const versionInfo = await versionChecker2.checkForUpdates();
|
|
312
312
|
const currentVersion = versionChecker2.getCurrentVersion();
|
|
313
313
|
if (versionInfo) {
|
package/dist/lib/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { BridgeLogger, __name, createBridgeVersionChecker, ConfigurationLoader, BridgeCore } from './chunk-
|
|
2
|
+
import { BridgeLogger, __name, createBridgeVersionChecker, ConfigurationLoader, BridgeCore } from './chunk-RXLPPBZQ.js';
|
|
3
3
|
import { Command } from 'commander';
|
|
4
4
|
import { existsSync } from 'fs';
|
|
5
5
|
import { resolve } from 'path';
|
package/dist/lib/client.cjs
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkM2HIN5C2_cjs = require('./chunk-M2HIN5C2.cjs');
|
|
4
4
|
|
|
5
5
|
// src/client/index.ts
|
|
6
6
|
function createBridgeClient(_config) {
|
|
7
|
-
return new
|
|
7
|
+
return new chunkM2HIN5C2_cjs.BridgeCore();
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
chunkM2HIN5C2_cjs.__name(createBridgeClient, "createBridgeClient");
|
|
10
10
|
function createTypedClient(_config) {
|
|
11
|
-
return new
|
|
11
|
+
return new chunkM2HIN5C2_cjs.BridgeCore();
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
chunkM2HIN5C2_cjs.__name(createTypedClient, "createTypedClient");
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "BridgeCore", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkM2HIN5C2_cjs.BridgeCore; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "BridgeError", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkM2HIN5C2_cjs.BridgeError; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "BridgeLogger", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkM2HIN5C2_cjs.BridgeLogger; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "ConfigurationLoader", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkM2HIN5C2_cjs.ConfigurationLoader; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FileSystemManager", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkM2HIN5C2_cjs.FileSystemManager; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "GenerationError", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkM2HIN5C2_cjs.GenerationError; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "LogLevel", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkM2HIN5C2_cjs.LogLevel; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "OpenApiSchemaParser", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkM2HIN5C2_cjs.OpenApiSchemaParser; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "SchemaParseError", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkM2HIN5C2_cjs.SchemaParseError; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "ValidationError", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkM2HIN5C2_cjs.ValidationError; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "VersionChecker", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkM2HIN5C2_cjs.VersionChecker; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "checkAndNotifyUpdates", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkM2HIN5C2_cjs.checkAndNotifyUpdates; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "createBridgeVersionChecker", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkM2HIN5C2_cjs.createBridgeVersionChecker; }
|
|
66
66
|
});
|
|
67
67
|
exports.createBridgeClient = createBridgeClient;
|
|
68
68
|
exports.createTypedClient = createTypedClient;
|
package/dist/lib/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __name, BridgeCore } from './chunk-
|
|
2
|
-
export { BridgeCore, BridgeError, BridgeLogger, ConfigurationLoader, FileSystemManager, GenerationError, LogLevel, OpenApiSchemaParser, SchemaParseError, ValidationError, VersionChecker, checkAndNotifyUpdates, createBridgeVersionChecker } from './chunk-
|
|
1
|
+
import { __name, BridgeCore } from './chunk-RXLPPBZQ.js';
|
|
2
|
+
export { BridgeCore, BridgeError, BridgeLogger, ConfigurationLoader, FileSystemManager, GenerationError, LogLevel, OpenApiSchemaParser, SchemaParseError, ValidationError, VersionChecker, checkAndNotifyUpdates, createBridgeVersionChecker } from './chunk-RXLPPBZQ.js';
|
|
3
3
|
|
|
4
4
|
// src/client/index.ts
|
|
5
5
|
function createBridgeClient(_config) {
|
package/dist/lib/index.cjs
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkM2HIN5C2_cjs = require('./chunk-M2HIN5C2.cjs');
|
|
4
4
|
|
|
5
5
|
// src/utils/type-guards.ts
|
|
6
6
|
function isDefined(value) {
|
|
7
7
|
return value !== null && value !== void 0;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
chunkM2HIN5C2_cjs.__name(isDefined, "isDefined");
|
|
10
10
|
function isString(value) {
|
|
11
11
|
return typeof value === "string";
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
chunkM2HIN5C2_cjs.__name(isString, "isString");
|
|
14
14
|
function isNumber(value) {
|
|
15
15
|
return typeof value === "number" && !Number.isNaN(value);
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
chunkM2HIN5C2_cjs.__name(isNumber, "isNumber");
|
|
18
18
|
function isObject(value) {
|
|
19
19
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
chunkM2HIN5C2_cjs.__name(isObject, "isObject");
|
|
22
22
|
function isArray(value) {
|
|
23
23
|
return Array.isArray(value);
|
|
24
24
|
}
|
|
25
|
-
|
|
25
|
+
chunkM2HIN5C2_cjs.__name(isArray, "isArray");
|
|
26
26
|
function isFunction(value) {
|
|
27
27
|
return typeof value === "function";
|
|
28
28
|
}
|
|
29
|
-
|
|
29
|
+
chunkM2HIN5C2_cjs.__name(isFunction, "isFunction");
|
|
30
30
|
function isError(error) {
|
|
31
31
|
return error instanceof Error;
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
chunkM2HIN5C2_cjs.__name(isError, "isError");
|
|
34
34
|
function isPromise(value) {
|
|
35
35
|
return value instanceof Promise;
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
chunkM2HIN5C2_cjs.__name(isPromise, "isPromise");
|
|
38
38
|
function isNonEmptyString(value) {
|
|
39
39
|
return isString(value) && value.trim().length > 0;
|
|
40
40
|
}
|
|
41
|
-
|
|
41
|
+
chunkM2HIN5C2_cjs.__name(isNonEmptyString, "isNonEmptyString");
|
|
42
42
|
function isValidUrl(value) {
|
|
43
43
|
if (!isString(value)) {
|
|
44
44
|
return false;
|
|
@@ -50,20 +50,20 @@ function isValidUrl(value) {
|
|
|
50
50
|
return false;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
chunkM2HIN5C2_cjs.__name(isValidUrl, "isValidUrl");
|
|
54
54
|
function isValidFilePath(value) {
|
|
55
55
|
if (!isString(value)) {
|
|
56
56
|
return false;
|
|
57
57
|
}
|
|
58
58
|
return value.length > 0 && !value.includes("\0");
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
chunkM2HIN5C2_cjs.__name(isValidFilePath, "isValidFilePath");
|
|
61
61
|
|
|
62
62
|
// src/utils/memoize.ts
|
|
63
63
|
function memoize(fn, options = {}) {
|
|
64
64
|
const cache = /* @__PURE__ */ new Map();
|
|
65
65
|
const { ttl, maxSize = 100, keyGenerator } = options;
|
|
66
|
-
const memoized = /* @__PURE__ */
|
|
66
|
+
const memoized = /* @__PURE__ */ chunkM2HIN5C2_cjs.__name((...args) => {
|
|
67
67
|
const key = keyGenerator ? keyGenerator(...args) : JSON.stringify(args);
|
|
68
68
|
const entry = cache.get(key);
|
|
69
69
|
const now = Date.now();
|
|
@@ -95,7 +95,7 @@ function memoize(fn, options = {}) {
|
|
|
95
95
|
};
|
|
96
96
|
return memoized;
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
chunkM2HIN5C2_cjs.__name(memoize, "memoize");
|
|
99
99
|
function weakMemoize(fn) {
|
|
100
100
|
const cache = /* @__PURE__ */ new WeakMap();
|
|
101
101
|
return (arg) => {
|
|
@@ -107,10 +107,10 @@ function weakMemoize(fn) {
|
|
|
107
107
|
return value;
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
|
|
110
|
+
chunkM2HIN5C2_cjs.__name(weakMemoize, "weakMemoize");
|
|
111
111
|
function debounce(fn, delay) {
|
|
112
112
|
let timeoutId = null;
|
|
113
|
-
const debounced = /* @__PURE__ */
|
|
113
|
+
const debounced = /* @__PURE__ */ chunkM2HIN5C2_cjs.__name((...args) => {
|
|
114
114
|
if (timeoutId) {
|
|
115
115
|
clearTimeout(timeoutId);
|
|
116
116
|
}
|
|
@@ -127,7 +127,7 @@ function debounce(fn, delay) {
|
|
|
127
127
|
};
|
|
128
128
|
return debounced;
|
|
129
129
|
}
|
|
130
|
-
|
|
130
|
+
chunkM2HIN5C2_cjs.__name(debounce, "debounce");
|
|
131
131
|
function throttle(fn, interval) {
|
|
132
132
|
let lastCall = 0;
|
|
133
133
|
let timeoutId = null;
|
|
@@ -149,63 +149,63 @@ function throttle(fn, interval) {
|
|
|
149
149
|
}
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
chunkM2HIN5C2_cjs.__name(throttle, "throttle");
|
|
153
153
|
|
|
154
154
|
Object.defineProperty(exports, "BridgeCore", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkM2HIN5C2_cjs.BridgeCore; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "BridgeError", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkM2HIN5C2_cjs.BridgeError; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "BridgeLogger", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkM2HIN5C2_cjs.BridgeLogger; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "ConfigurationLoader", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkM2HIN5C2_cjs.ConfigurationLoader; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "FileSystemManager", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkM2HIN5C2_cjs.FileSystemManager; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "GenerationError", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkM2HIN5C2_cjs.GenerationError; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "LogLevel", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkM2HIN5C2_cjs.LogLevel; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "NextJsCodeGenerator", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkM2HIN5C2_cjs.NextJsCodeGenerator; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "OpenApiSchemaParser", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkM2HIN5C2_cjs.OpenApiSchemaParser; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "SchemaParseError", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkM2HIN5C2_cjs.SchemaParseError; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "ValidationError", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkM2HIN5C2_cjs.ValidationError; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "VersionChecker", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkM2HIN5C2_cjs.VersionChecker; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "checkAndNotifyUpdates", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkM2HIN5C2_cjs.checkAndNotifyUpdates; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "createBridgeVersionChecker", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkM2HIN5C2_cjs.createBridgeVersionChecker; }
|
|
209
209
|
});
|
|
210
210
|
exports.debounce = debounce;
|
|
211
211
|
exports.isArray = isArray;
|
package/dist/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { __name } from './chunk-
|
|
2
|
-
export { BridgeCore, BridgeError, BridgeLogger, ConfigurationLoader, FileSystemManager, GenerationError, LogLevel, NextJsCodeGenerator, OpenApiSchemaParser, SchemaParseError, ValidationError, VersionChecker, checkAndNotifyUpdates, createBridgeVersionChecker } from './chunk-
|
|
1
|
+
import { __name } from './chunk-RXLPPBZQ.js';
|
|
2
|
+
export { BridgeCore, BridgeError, BridgeLogger, ConfigurationLoader, FileSystemManager, GenerationError, LogLevel, NextJsCodeGenerator, OpenApiSchemaParser, SchemaParseError, ValidationError, VersionChecker, checkAndNotifyUpdates, createBridgeVersionChecker } from './chunk-RXLPPBZQ.js';
|
|
3
3
|
|
|
4
4
|
// src/utils/type-guards.ts
|
|
5
5
|
function isDefined(value) {
|