@yinuo-ngm/server 1.0.9 → 1.0.10

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.
@@ -40,13 +40,12 @@ const api_1 = require("@yinuo-ngm/api");
40
40
  const fastify_plugin_1 = __importDefault(require("fastify-plugin"));
41
41
  const path = __importStar(require("path"));
42
42
  const env_1 = require("../env");
43
- const json_collection_repo_1 = require("@yinuo-ngm/api/src/infra/storage/json/json-collection-repo");
44
43
  exports.default = (0, fastify_plugin_1.default)(async function apiClientPlugin(fastify) {
45
44
  const rootDir = path.join(env_1.env.dataDir, "api");
46
45
  const repo = new api_1.JsonRequestRepo({ rootDir });
47
46
  const envRepo = new api_1.JsonEnvRepo({ rootDir });
48
47
  const historyRepo = new api_1.JsonHistoryRepo({ rootDir });
49
- const collectionRepo = new json_collection_repo_1.JsonCollectionRepo({ rootDir });
48
+ const collectionRepo = new api_1.JsonCollectionRepo({ rootDir });
50
49
  const http = new api_1.NodeHttpClient();
51
50
  const resolver = new api_1.VariableResolver();
52
51
  const sendService = new api_1.ApiSendService(repo, envRepo, historyRepo, http, resolver);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yinuo-ngm/server",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "a server package for Yinuo NG Manager",
5
5
  "author": "ZhangJing <892295834@qq.com>",
6
6
  "license": "ISC",