@eventcatalog/sdk 2.17.1 → 2.17.2
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1326,7 +1326,7 @@ var addMessageToService = (directory) => async (id, direction, event, version) =
|
|
|
1326
1326
|
}
|
|
1327
1327
|
const path8 = existingResource.split(/[\\/]+services/)[0];
|
|
1328
1328
|
const pathToResource = (0, import_node_path7.join)(path8, "services");
|
|
1329
|
-
await rmServiceById(directory)(id, version);
|
|
1329
|
+
await rmServiceById(directory)(id, version, true);
|
|
1330
1330
|
await writeService(pathToResource)(service, { format: extension === ".md" ? "md" : "mdx" });
|
|
1331
1331
|
};
|
|
1332
1332
|
var serviceHasVersion = (directory) => async (id, version) => {
|
|
@@ -1359,7 +1359,7 @@ var addEntityToService = (directory) => async (id, entity, version) => {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
const path8 = existingResource.split(/[\\/]+services/)[0];
|
|
1361
1361
|
const pathToResource = (0, import_node_path7.join)(path8, "services");
|
|
1362
|
-
await rmServiceById(directory)(id, version);
|
|
1362
|
+
await rmServiceById(directory)(id, version, true);
|
|
1363
1363
|
await writeService(pathToResource)(service, { format: extension === ".md" ? "md" : "mdx" });
|
|
1364
1364
|
};
|
|
1365
1365
|
var addDataStoreToService = (directory) => async (id, operation, dataStore, version) => {
|
|
@@ -1395,7 +1395,7 @@ var addDataStoreToService = (directory) => async (id, operation, dataStore, vers
|
|
|
1395
1395
|
}
|
|
1396
1396
|
const path8 = existingResource.split(/[\\/]+services/)[0];
|
|
1397
1397
|
const pathToResource = (0, import_node_path7.join)(path8, "services");
|
|
1398
|
-
await rmServiceById(directory)(id, version);
|
|
1398
|
+
await rmServiceById(directory)(id, version, true);
|
|
1399
1399
|
await writeService(pathToResource)(service, { format: extension === ".md" ? "md" : "mdx" });
|
|
1400
1400
|
};
|
|
1401
1401
|
|