silgi 0.9.34 → 0.10.0

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.
@@ -1,7 +1,9 @@
1
+ import { SilgiCLI, ModuleOptionsCustom, ModuleDefinition, SilgiModule, SilgiPreset, SilgiPresetMeta, EnvOptions, SilgiEvents, SilgiTemplate, ResolvedSilgiTemplate } from 'silgi/types';
1
2
  import { Buffer } from 'node:buffer';
2
3
  import * as consola from 'consola';
3
4
  import { ConsolaOptions } from 'consola';
4
- import { ModuleOptionsCustom, ModuleDefinition, SilgiModule, SilgiCLI, SilgiPreset, SilgiPresetMeta, EnvOptions, SilgiEvents, SilgiTemplate, ResolvedSilgiTemplate } from 'silgi/types';
5
+
6
+ declare function hasError(type: SilgiCLI['errors'][0]['type'], silgi?: SilgiCLI): boolean;
5
7
 
6
8
  /**
7
9
  * Resolve a module from a given root path using an algorithm patterned on
@@ -14,11 +16,7 @@ declare function tryResolveModule(id: string, url?: string | string[]): Promise<
14
16
  declare function writeFile(file: string, contents: Buffer | string, log?: boolean): Promise<void>;
15
17
  declare function isDirectory(path: string): Promise<boolean>;
16
18
 
17
- declare function hash(data: any, type?: {
18
- camelCase?: boolean;
19
- snakeCase?: boolean;
20
- flatCase?: boolean;
21
- }): string;
19
+ declare function hash(data: any): string;
22
20
 
23
21
  declare function isNuxt(): boolean;
24
22
  declare function isNitro(): boolean;
@@ -114,4 +112,4 @@ declare const MODE_RE: RegExp;
114
112
  declare function hasSilgiModule(moduleKey: string, silgi?: SilgiCLI): boolean;
115
113
  declare function hasInstalledModule(moduleKey: string, silgi?: SilgiCLI): boolean;
116
114
 
117
- export { MODE_RE, addTemplate, applyEnv, createResolver, defineSilgiModule, defineSilgiPreset, filterInPlace, hasInstalledModule, hasSilgiModule, hash, isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, prettyPath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, toArray, tryResolveModule, useLogger, useSilgiRuntimeConfig, writeFile };
115
+ export { MODE_RE, addTemplate, applyEnv, createResolver, defineSilgiModule, defineSilgiPreset, filterInPlace, hasError, hasInstalledModule, hasSilgiModule, hash, isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, prettyPath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, toArray, tryResolveModule, useLogger, useSilgiRuntimeConfig, writeFile };
@@ -1,7 +1,9 @@
1
+ import { SilgiCLI, ModuleOptionsCustom, ModuleDefinition, SilgiModule, SilgiPreset, SilgiPresetMeta, EnvOptions, SilgiEvents, SilgiTemplate, ResolvedSilgiTemplate } from 'silgi/types';
1
2
  import { Buffer } from 'node:buffer';
2
3
  import * as consola from 'consola';
3
4
  import { ConsolaOptions } from 'consola';
4
- import { ModuleOptionsCustom, ModuleDefinition, SilgiModule, SilgiCLI, SilgiPreset, SilgiPresetMeta, EnvOptions, SilgiEvents, SilgiTemplate, ResolvedSilgiTemplate } from 'silgi/types';
5
+
6
+ declare function hasError(type: SilgiCLI['errors'][0]['type'], silgi?: SilgiCLI): boolean;
5
7
 
6
8
  /**
7
9
  * Resolve a module from a given root path using an algorithm patterned on
@@ -14,11 +16,7 @@ declare function tryResolveModule(id: string, url?: string | string[]): Promise<
14
16
  declare function writeFile(file: string, contents: Buffer | string, log?: boolean): Promise<void>;
15
17
  declare function isDirectory(path: string): Promise<boolean>;
16
18
 
17
- declare function hash(data: any, type?: {
18
- camelCase?: boolean;
19
- snakeCase?: boolean;
20
- flatCase?: boolean;
21
- }): string;
19
+ declare function hash(data: any): string;
22
20
 
23
21
  declare function isNuxt(): boolean;
24
22
  declare function isNitro(): boolean;
@@ -114,4 +112,4 @@ declare const MODE_RE: RegExp;
114
112
  declare function hasSilgiModule(moduleKey: string, silgi?: SilgiCLI): boolean;
115
113
  declare function hasInstalledModule(moduleKey: string, silgi?: SilgiCLI): boolean;
116
114
 
117
- export { MODE_RE, addTemplate, applyEnv, createResolver, defineSilgiModule, defineSilgiPreset, filterInPlace, hasInstalledModule, hasSilgiModule, hash, isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, prettyPath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, toArray, tryResolveModule, useLogger, useSilgiRuntimeConfig, writeFile };
115
+ export { MODE_RE, addTemplate, applyEnv, createResolver, defineSilgiModule, defineSilgiPreset, filterInPlace, hasError, hasInstalledModule, hasSilgiModule, hash, isDirectory, isH3, isNitro, isNuxt, normalizeTemplate, prettyPath, relativeWithDot, resolveAlias, resolvePath, resolveSilgiModule, resolveSilgiPath, toArray, tryResolveModule, useLogger, useSilgiRuntimeConfig, writeFile };
@@ -1,3 +1,5 @@
1
+ import { c as checkSilgiCompatibility } from '../cli/compatibility.mjs';
2
+ export { h as hasError } from '../cli/compatibility.mjs';
1
3
  import { resolvePath as resolvePath$1 } from 'mlly';
2
4
  import fsp from 'node:fs/promises';
3
5
  import consola, { consola as consola$1 } from 'consola';
@@ -5,10 +7,9 @@ import { relative, resolve, dirname, normalize, isAbsolute, join, parse, basenam
5
7
  import { colors } from 'consola/utils';
6
8
  import { getProperty } from 'dot-prop';
7
9
  import { hash as hash$1 } from 'ohash';
8
- import { camelCase, snakeCase, flatCase } from 'scule';
10
+ import { camelCase, snakeCase } from 'scule';
9
11
  import { useSilgi, tryUseSilgiCLI, useSilgiCLI, tryUseSilgi } from 'silgi/core';
10
12
  import { defu } from 'defu';
11
- import { c as checkSilgiCompatibility } from '../cli/compatibility.mjs';
12
13
  import { existsSync, promises } from 'node:fs';
13
14
  import { fileURLToPath } from 'node:url';
14
15
  import { resolveAlias as resolveAlias$1 } from 'pathe/utils';
@@ -72,17 +73,8 @@ async function isDirectory$1(path) {
72
73
  }
73
74
  }
74
75
 
75
- function hash(data, type) {
76
- if (type?.camelCase) {
77
- return camelCase(hash$1(data));
78
- }
79
- if (type?.snakeCase) {
80
- return snakeCase(hash$1(data));
81
- }
82
- if (type?.flatCase) {
83
- return flatCase(hash$1(data));
84
- }
85
- return flatCase(hash$1(data));
76
+ function hash(data) {
77
+ return camelCase(hash$1(data));
86
78
  }
87
79
 
88
80
  function isNuxt() {
@@ -1,8 +1,9 @@
1
- const version = "0.9.34";
1
+ const version = "0.10.0";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
5
5
  "@nuxt/schema": "^3.15.4",
6
+ "@silgi/ecosystem": "^0.0.10",
6
7
  h3: "^1.14.0",
7
8
  nitropack: "^2.10.4",
8
9
  nuxt: "^3.15.3",
@@ -1,8 +1,9 @@
1
- const version = "0.9.34";
1
+ const version = "0.10.0";
2
2
  const peerDependencies = {
3
3
  "@fastify/deepmerge": "^2.0.2",
4
4
  "@nuxt/kit": "^3.15.3",
5
5
  "@nuxt/schema": "^3.15.4",
6
+ "@silgi/ecosystem": "^0.0.10",
6
7
  h3: "^1.14.0",
7
8
  nitropack: "^2.10.4",
8
9
  nuxt: "^3.15.3",
@@ -34,6 +34,7 @@ interface ImportItem {
34
34
  import: {
35
35
  type?: boolean;
36
36
  name: string;
37
+ key: string;
37
38
  }[];
38
39
  from: string;
39
40
  };
@@ -43,6 +44,10 @@ interface ImportItem {
43
44
  }
44
45
  interface SilgiCLI {
45
46
  _ignore?: Ignore;
47
+ errors: {
48
+ type: 'Parser';
49
+ path?: string;
50
+ }[];
46
51
  services: ResolvedServiceType$1;
47
52
  shareds: SilgiRuntimeShareds$1;
48
53
  uris: Record<string, any>;
@@ -97,7 +102,7 @@ interface NitroBuildInfo {
97
102
  };
98
103
  config?: Partial<PresetOptions>;
99
104
  }
100
- interface CoreTs {
105
+ interface ScanFile {
101
106
  context: string;
102
107
  object: {
103
108
  schemas: any;
@@ -144,10 +149,6 @@ interface GenerateAppOptions {
144
149
  filter?: (template: ResolvedSilgiTemplate<any>) => boolean;
145
150
  }
146
151
  interface PrepareCore extends ImportItem {
147
- uris: string[];
148
- services: string[];
149
- shareds: string[];
150
- schemas: string[];
151
152
  buildSilgiExtraContent: string[];
152
153
  beforeBuildSilgiExtraContent: {
153
154
  value: string;
@@ -241,23 +242,19 @@ interface SilgiCLIHooks extends SilgiHooks {
241
242
  declarations: string[];
242
243
  tsConfig: TSConfig;
243
244
  }) => HookResult;
244
- 'finish:types': (data: CoreTs) => HookResult;
245
245
  'prepare:core.ts': (data: PrepareCore) => HookResult;
246
246
  'after:prepare:core.ts': (content: string[]) => HookResult;
247
+ 'prepare:scan.ts': (data: Pick<ImportItem, 'customImports' | 'importItems'> & {
248
+ uris: string[];
249
+ services: string[];
250
+ shareds: string[];
251
+ schemas: string[];
252
+ modulesURIs: string[];
253
+ }) => HookResult;
254
+ 'after:prepare:scan.ts': (content: string[]) => HookResult;
247
255
  'prepare:schema.ts': (options: SchemaPreparationOptions) => HookResult;
248
256
  'after:prepare:schema.ts': (content: string[]) => HookResult;
249
257
  'prepare:framework.d.ts': (options: {} & ImportItem) => HookResult;
250
- 'read:core.ts': (data: () => Awaitable<{
251
- context: string;
252
- object: {
253
- uris?: string[];
254
- services?: string[];
255
- shareds?: string[];
256
- schemas?: string[];
257
- modulesURIs?: string[];
258
- };
259
- path: string;
260
- }>) => HookResult;
261
258
  /**
262
259
  * Called during `SilgiCLI` generation, to allow customizing, modifying or adding new files to the build directory (either virtually or to written to `.nuxt`).
263
260
  * @param app The configured `SilgiCLI` object
@@ -638,6 +635,9 @@ interface SilgiCLIOptions extends PresetOptions {
638
635
  imports: UnimportPluginOptions | false;
639
636
  watchOptions: ChokidarOptions;
640
637
  nodeModulesDirs: string[];
638
+ devServer: {
639
+ watch: string[];
640
+ };
641
641
  framework: SilgiFrameworkInfo$1;
642
642
  /**
643
643
  * More customizable than `ignorePrefix`: all files matching glob patterns specified inside the `ignore` array will be ignored in building.
@@ -945,7 +945,8 @@ interface Silgi {
945
945
  interface SilgiConfig extends Partial<Omit<Silgi, 'options'>>, Partial<SilgiRuntimeOptions> {
946
946
  options: DeepPartial<SilgiOptions>;
947
947
  }
948
- interface BuildConfig extends Partial<Omit<SilgiConfig, 'services' | 'shared' | 'schemas' | 'uris' | 'modulesURIs' | 'plugins' | 'framework' | 'ready' | 'close' | 'captureError' | '_ignore' | 'plugins' | 'scannedHandlers' | 'options'>> {
948
+ interface BuildConfig extends Partial<Pick<SilgiConfig, 'hooks' | 'hook' | 'callHook' | 'addHooks' | 'logger' | 'storage' | 'envOptions' | 'runtimeConfig' | 'options'>> {
949
+ options: DeepPartial<SilgiOptions>;
949
950
  }
950
951
  type SilgiFunction = typeof silgi;
951
952
 
@@ -1025,4 +1026,4 @@ type Namespaces<T extends BaseNamespaceType> = {
1025
1026
 
1026
1027
  declare const autoImportTypes: string[];
1027
1028
 
1028
- export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, type BuildConfig, type CaptureError, type CapturedErrorContext, type CommandType, type CoreTs, type CreateScope, type DeepPartial, type DefaultHooks, type DefaultNamespaces, type DotenvOptions, type EnvOptions, type EventHandlerResponse, type ExtendContext, type ExtendShared, type ExtractInputFromURI, type ExtractOutputFromURI, type ExtractRouterParamsFromURI, type ExtractSourceFromURI, type FrameworkContext, type GenerateAppOptions, type GraphQLJSON, type HookResult, type ImportItem, type LoadConfigOptions, type MergedSilgiSchema, type MethodHandlerType, type ModuleDefinition, type ModuleHookContext, type ModuleMeta, type ModuleOptionsCustom, type ModuleSetupInstallResult, type ModuleSetupReturn, type Namespaces, type NitroBuildInfo, type PrepareCore, type RequiredServiceType, type ResolvedMethodHandlerType, type ResolvedModuleMeta, type ResolvedModuleOptions, type ResolvedServiceType, type ResolvedSilgiTemplate, type SchemaPreparationOptions, type ServiceType, type Silgi, type SilgiAppPlugin, type SilgiCLI, type SilgiCLIConfig, type SilgiCLIDynamicConfig, type SilgiCLIHooks, type SilgiCLIOptions, type SilgiCompatibility, type SilgiCompatibilityIssue, type SilgiCompatibilityIssues, type SilgiConfig, type SilgiEvents, type SilgiFrameworkInfo, type SilgiFunction, type SilgiHooks, type SilgiModule, type SilgiModuleInput, type SilgiModuleOptions, type SilgiNamespaces, type SilgiOperation, type SilgiOptions, type SilgiPreset, type SilgiPresetMeta, type SilgiRouterTypes, type SilgiRuntimeActions, type SilgiRuntimeContext, type SilgiRuntimeHooks, type SilgiRuntimeMethods, type SilgiRuntimeOptions, type SilgiRuntimeSharedExtends, type SilgiRuntimeShareds, type SilgiSchema, type SilgiServiceInterface, type SilgiStorageBase, type SilgiTemplate, type SilgiURIs, type StorageConfig, type StorageKeyGenerator, type StorageKeyParams, type StorageMounts, type TSReference, type URIsTypes, autoImportTypes };
1029
+ export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, type BuildConfig, type CaptureError, type CapturedErrorContext, type CommandType, type CreateScope, type DeepPartial, type DefaultHooks, type DefaultNamespaces, type DotenvOptions, type EnvOptions, type EventHandlerResponse, type ExtendContext, type ExtendShared, type ExtractInputFromURI, type ExtractOutputFromURI, type ExtractRouterParamsFromURI, type ExtractSourceFromURI, type FrameworkContext, type GenerateAppOptions, type GraphQLJSON, type HookResult, type ImportItem, type LoadConfigOptions, type MergedSilgiSchema, type MethodHandlerType, type ModuleDefinition, type ModuleHookContext, type ModuleMeta, type ModuleOptionsCustom, type ModuleSetupInstallResult, type ModuleSetupReturn, type Namespaces, type NitroBuildInfo, type PrepareCore, type RequiredServiceType, type ResolvedMethodHandlerType, type ResolvedModuleMeta, type ResolvedModuleOptions, type ResolvedServiceType, type ResolvedSilgiTemplate, type ScanFile, type SchemaPreparationOptions, type ServiceType, type Silgi, type SilgiAppPlugin, type SilgiCLI, type SilgiCLIConfig, type SilgiCLIDynamicConfig, type SilgiCLIHooks, type SilgiCLIOptions, type SilgiCompatibility, type SilgiCompatibilityIssue, type SilgiCompatibilityIssues, type SilgiConfig, type SilgiEvents, type SilgiFrameworkInfo, type SilgiFunction, type SilgiHooks, type SilgiModule, type SilgiModuleInput, type SilgiModuleOptions, type SilgiNamespaces, type SilgiOperation, type SilgiOptions, type SilgiPreset, type SilgiPresetMeta, type SilgiRouterTypes, type SilgiRuntimeActions, type SilgiRuntimeContext, type SilgiRuntimeHooks, type SilgiRuntimeMethods, type SilgiRuntimeOptions, type SilgiRuntimeSharedExtends, type SilgiRuntimeShareds, type SilgiSchema, type SilgiServiceInterface, type SilgiStorageBase, type SilgiTemplate, type SilgiURIs, type StorageConfig, type StorageKeyGenerator, type StorageKeyParams, type StorageMounts, type TSReference, type URIsTypes, autoImportTypes };
@@ -34,6 +34,7 @@ interface ImportItem {
34
34
  import: {
35
35
  type?: boolean;
36
36
  name: string;
37
+ key: string;
37
38
  }[];
38
39
  from: string;
39
40
  };
@@ -43,6 +44,10 @@ interface ImportItem {
43
44
  }
44
45
  interface SilgiCLI {
45
46
  _ignore?: Ignore;
47
+ errors: {
48
+ type: 'Parser';
49
+ path?: string;
50
+ }[];
46
51
  services: ResolvedServiceType$1;
47
52
  shareds: SilgiRuntimeShareds$1;
48
53
  uris: Record<string, any>;
@@ -97,7 +102,7 @@ interface NitroBuildInfo {
97
102
  };
98
103
  config?: Partial<PresetOptions>;
99
104
  }
100
- interface CoreTs {
105
+ interface ScanFile {
101
106
  context: string;
102
107
  object: {
103
108
  schemas: any;
@@ -144,10 +149,6 @@ interface GenerateAppOptions {
144
149
  filter?: (template: ResolvedSilgiTemplate<any>) => boolean;
145
150
  }
146
151
  interface PrepareCore extends ImportItem {
147
- uris: string[];
148
- services: string[];
149
- shareds: string[];
150
- schemas: string[];
151
152
  buildSilgiExtraContent: string[];
152
153
  beforeBuildSilgiExtraContent: {
153
154
  value: string;
@@ -241,23 +242,19 @@ interface SilgiCLIHooks extends SilgiHooks {
241
242
  declarations: string[];
242
243
  tsConfig: TSConfig;
243
244
  }) => HookResult;
244
- 'finish:types': (data: CoreTs) => HookResult;
245
245
  'prepare:core.ts': (data: PrepareCore) => HookResult;
246
246
  'after:prepare:core.ts': (content: string[]) => HookResult;
247
+ 'prepare:scan.ts': (data: Pick<ImportItem, 'customImports' | 'importItems'> & {
248
+ uris: string[];
249
+ services: string[];
250
+ shareds: string[];
251
+ schemas: string[];
252
+ modulesURIs: string[];
253
+ }) => HookResult;
254
+ 'after:prepare:scan.ts': (content: string[]) => HookResult;
247
255
  'prepare:schema.ts': (options: SchemaPreparationOptions) => HookResult;
248
256
  'after:prepare:schema.ts': (content: string[]) => HookResult;
249
257
  'prepare:framework.d.ts': (options: {} & ImportItem) => HookResult;
250
- 'read:core.ts': (data: () => Awaitable<{
251
- context: string;
252
- object: {
253
- uris?: string[];
254
- services?: string[];
255
- shareds?: string[];
256
- schemas?: string[];
257
- modulesURIs?: string[];
258
- };
259
- path: string;
260
- }>) => HookResult;
261
258
  /**
262
259
  * Called during `SilgiCLI` generation, to allow customizing, modifying or adding new files to the build directory (either virtually or to written to `.nuxt`).
263
260
  * @param app The configured `SilgiCLI` object
@@ -638,6 +635,9 @@ interface SilgiCLIOptions extends PresetOptions {
638
635
  imports: UnimportPluginOptions | false;
639
636
  watchOptions: ChokidarOptions;
640
637
  nodeModulesDirs: string[];
638
+ devServer: {
639
+ watch: string[];
640
+ };
641
641
  framework: SilgiFrameworkInfo$1;
642
642
  /**
643
643
  * More customizable than `ignorePrefix`: all files matching glob patterns specified inside the `ignore` array will be ignored in building.
@@ -945,7 +945,8 @@ interface Silgi {
945
945
  interface SilgiConfig extends Partial<Omit<Silgi, 'options'>>, Partial<SilgiRuntimeOptions> {
946
946
  options: DeepPartial<SilgiOptions>;
947
947
  }
948
- interface BuildConfig extends Partial<Omit<SilgiConfig, 'services' | 'shared' | 'schemas' | 'uris' | 'modulesURIs' | 'plugins' | 'framework' | 'ready' | 'close' | 'captureError' | '_ignore' | 'plugins' | 'scannedHandlers' | 'options'>> {
948
+ interface BuildConfig extends Partial<Pick<SilgiConfig, 'hooks' | 'hook' | 'callHook' | 'addHooks' | 'logger' | 'storage' | 'envOptions' | 'runtimeConfig' | 'options'>> {
949
+ options: DeepPartial<SilgiOptions>;
949
950
  }
950
951
  type SilgiFunction = typeof silgi;
951
952
 
@@ -1025,4 +1026,4 @@ type Namespaces<T extends BaseNamespaceType> = {
1025
1026
 
1026
1027
  declare const autoImportTypes: string[];
1027
1028
 
1028
- export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, type BuildConfig, type CaptureError, type CapturedErrorContext, type CommandType, type CoreTs, type CreateScope, type DeepPartial, type DefaultHooks, type DefaultNamespaces, type DotenvOptions, type EnvOptions, type EventHandlerResponse, type ExtendContext, type ExtendShared, type ExtractInputFromURI, type ExtractOutputFromURI, type ExtractRouterParamsFromURI, type ExtractSourceFromURI, type FrameworkContext, type GenerateAppOptions, type GraphQLJSON, type HookResult, type ImportItem, type LoadConfigOptions, type MergedSilgiSchema, type MethodHandlerType, type ModuleDefinition, type ModuleHookContext, type ModuleMeta, type ModuleOptionsCustom, type ModuleSetupInstallResult, type ModuleSetupReturn, type Namespaces, type NitroBuildInfo, type PrepareCore, type RequiredServiceType, type ResolvedMethodHandlerType, type ResolvedModuleMeta, type ResolvedModuleOptions, type ResolvedServiceType, type ResolvedSilgiTemplate, type SchemaPreparationOptions, type ServiceType, type Silgi, type SilgiAppPlugin, type SilgiCLI, type SilgiCLIConfig, type SilgiCLIDynamicConfig, type SilgiCLIHooks, type SilgiCLIOptions, type SilgiCompatibility, type SilgiCompatibilityIssue, type SilgiCompatibilityIssues, type SilgiConfig, type SilgiEvents, type SilgiFrameworkInfo, type SilgiFunction, type SilgiHooks, type SilgiModule, type SilgiModuleInput, type SilgiModuleOptions, type SilgiNamespaces, type SilgiOperation, type SilgiOptions, type SilgiPreset, type SilgiPresetMeta, type SilgiRouterTypes, type SilgiRuntimeActions, type SilgiRuntimeContext, type SilgiRuntimeHooks, type SilgiRuntimeMethods, type SilgiRuntimeOptions, type SilgiRuntimeSharedExtends, type SilgiRuntimeShareds, type SilgiSchema, type SilgiServiceInterface, type SilgiStorageBase, type SilgiTemplate, type SilgiURIs, type StorageConfig, type StorageKeyGenerator, type StorageKeyParams, type StorageMounts, type TSReference, type URIsTypes, autoImportTypes };
1029
+ export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, type BuildConfig, type CaptureError, type CapturedErrorContext, type CommandType, type CreateScope, type DeepPartial, type DefaultHooks, type DefaultNamespaces, type DotenvOptions, type EnvOptions, type EventHandlerResponse, type ExtendContext, type ExtendShared, type ExtractInputFromURI, type ExtractOutputFromURI, type ExtractRouterParamsFromURI, type ExtractSourceFromURI, type FrameworkContext, type GenerateAppOptions, type GraphQLJSON, type HookResult, type ImportItem, type LoadConfigOptions, type MergedSilgiSchema, type MethodHandlerType, type ModuleDefinition, type ModuleHookContext, type ModuleMeta, type ModuleOptionsCustom, type ModuleSetupInstallResult, type ModuleSetupReturn, type Namespaces, type NitroBuildInfo, type PrepareCore, type RequiredServiceType, type ResolvedMethodHandlerType, type ResolvedModuleMeta, type ResolvedModuleOptions, type ResolvedServiceType, type ResolvedSilgiTemplate, type ScanFile, type SchemaPreparationOptions, type ServiceType, type Silgi, type SilgiAppPlugin, type SilgiCLI, type SilgiCLIConfig, type SilgiCLIDynamicConfig, type SilgiCLIHooks, type SilgiCLIOptions, type SilgiCompatibility, type SilgiCompatibilityIssue, type SilgiCompatibilityIssues, type SilgiConfig, type SilgiEvents, type SilgiFrameworkInfo, type SilgiFunction, type SilgiHooks, type SilgiModule, type SilgiModuleInput, type SilgiModuleOptions, type SilgiNamespaces, type SilgiOperation, type SilgiOptions, type SilgiPreset, type SilgiPresetMeta, type SilgiRouterTypes, type SilgiRuntimeActions, type SilgiRuntimeContext, type SilgiRuntimeHooks, type SilgiRuntimeMethods, type SilgiRuntimeOptions, type SilgiRuntimeSharedExtends, type SilgiRuntimeShareds, type SilgiSchema, type SilgiServiceInterface, type SilgiStorageBase, type SilgiTemplate, type SilgiURIs, type StorageConfig, type StorageKeyGenerator, type StorageKeyParams, type StorageMounts, type TSReference, type URIsTypes, autoImportTypes };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.9.34",
4
+ "version": "0.10.0",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {
@@ -79,6 +79,7 @@
79
79
  "@fastify/deepmerge": "^2.0.2",
80
80
  "@nuxt/kit": "^3.15.3",
81
81
  "@nuxt/schema": "^3.15.4",
82
+ "@silgi/ecosystem": "^0.0.10",
82
83
  "h3": "^1.14.0",
83
84
  "nitropack": "^2.10.4",
84
85
  "nuxt": "^3.15.3",