silgi 0.0.13 → 0.0.14

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.
@@ -399,13 +399,13 @@ ${zodInterfacesImports.join("\n")}
399
399
  ${importsString.join("\n")}
400
400
 
401
401
  declare module 'silgi' {
402
- type SharedGlobalMerge = ${scopeDatas.some((scope) => scope.context.length > 0) ? `${scopeDatas.filter((scope) => scope.shareds.length > 0).map((scopeData) => {
402
+ type SharedGlobalMerge = ${scopeDatas.some((scope) => scope.context.length > 0) ? `${scopeDatas.filter((scope) => scope.shareds.length > 0).map((scopeData) => {
403
403
  return scopeData.shareds.map((shared) => {
404
404
  if (shared.global) {
405
405
  return shared.value;
406
406
  }
407
407
  }).filter(Boolean).join(" & ");
408
- }).filter(Boolean).join(" & ")}` : "{}"}
408
+ }).filter(Boolean).join(" & ")}` : ""}
409
409
 
410
410
  interface DefaultInterface {
411
411
  ${scopeDatas.some((scope) => scope.services.length > 0) ? `scopes: {
@@ -455,7 +455,7 @@ declare module 'silgi' {
455
455
  return shared.value;
456
456
  }
457
457
  }).filter(Boolean).join(" & ");
458
- }).filter(Boolean).reduce((acc, curr) => acc ? `${acc} & ${curr}` : curr, "") : "{}"}
458
+ }).filter(Boolean).reduce((acc, curr) => acc ? `${acc} & ${curr}` : curr, "") : ""}
459
459
 
460
460
  interface DefaultContext extends ExtendDefaultContext {}
461
461
  }
@@ -3,7 +3,7 @@ import consola from 'consola';
3
3
 
4
4
  const name = "silgi";
5
5
  const type = "module";
6
- const version = "0.0.13";
6
+ const version = "0.0.14";
7
7
  const exports = {
8
8
  ".": {
9
9
  "import": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.0.13",
4
+ "version": "0.0.14",
5
5
  "exports": {
6
6
  ".": {
7
7
  "import": {
@@ -66,7 +66,7 @@
66
66
  },
67
67
  "devDependencies": {
68
68
  "unbuild": "^3.2.0",
69
- "silgi": "0.0.13"
69
+ "silgi": "0.0.14"
70
70
  },
71
71
  "resolutions": {
72
72
  "silgi": "workspace:*"