silgi 0.7.22 → 0.7.23
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/_chunks/index.mjs +1 -1
- package/dist/cli/prepare.mjs +10 -10
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -305,21 +305,21 @@ function scanActionModulesUris(silgi, obj, currentPath = []) {
|
|
|
305
305
|
if (path.length === 4) {
|
|
306
306
|
const basePath = path.join("/");
|
|
307
307
|
let moduleName = "";
|
|
308
|
-
if (node.modules?.
|
|
309
|
-
let
|
|
310
|
-
if (node.modules?.
|
|
311
|
-
moduleName = "
|
|
312
|
-
|
|
308
|
+
if (node.modules?.graphql) {
|
|
309
|
+
let field = null;
|
|
310
|
+
if (node.modules?.graphql?.field) {
|
|
311
|
+
moduleName = "graphql";
|
|
312
|
+
field = node.modules?.graphql?.field;
|
|
313
313
|
}
|
|
314
|
-
if (!
|
|
314
|
+
if (!field) {
|
|
315
315
|
return;
|
|
316
316
|
}
|
|
317
317
|
uriMap[moduleName] ??= {};
|
|
318
|
-
if (uriMap[moduleName].
|
|
319
|
-
silgi.logger.withTag("scanActionModulesUris").error(`Hata ${moduleName} ${
|
|
318
|
+
if (typeof uriMap[moduleName].field === "object" && uriMap[moduleName].field[field]) {
|
|
319
|
+
silgi.logger.withTag("scanActionModulesUris").error(`Hata ${moduleName} ${field} ${basePath} bu zaten burada kullanilmis.`);
|
|
320
320
|
}
|
|
321
|
-
uriMap[moduleName].
|
|
322
|
-
uriMap[moduleName].
|
|
321
|
+
uriMap[moduleName].field ??= {};
|
|
322
|
+
uriMap[moduleName].field[field] = basePath;
|
|
323
323
|
}
|
|
324
324
|
return;
|
|
325
325
|
}
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED