silgi 0.10.11 → 0.11.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.
- package/dist/_chunks/index.mjs +1 -1
- package/dist/cli/writeTypesAndFiles.mjs +17 -15
- package/dist/core/index.mjs +3 -7
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/types/index.d.mts +34 -11
- package/dist/types/index.d.ts +34 -11
- package/dist/types/index.mjs +2 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
|
@@ -734,22 +734,22 @@ function traverseObject(silgi, obj, currentPath = []) {
|
|
|
734
734
|
return;
|
|
735
735
|
if (path.length === 4) {
|
|
736
736
|
const basePath = path.join("/");
|
|
737
|
-
let
|
|
738
|
-
if (node.
|
|
739
|
-
let
|
|
740
|
-
if (node.
|
|
737
|
+
let pathString = "";
|
|
738
|
+
if (node.pathParams) {
|
|
739
|
+
let paths = null;
|
|
740
|
+
if (node.pathParams?._def?.typeName !== void 0) {
|
|
741
741
|
try {
|
|
742
|
-
const shape = node.
|
|
743
|
-
|
|
742
|
+
const shape = node.pathParams?.shape;
|
|
743
|
+
paths = shape ? Object.keys(shape) : null;
|
|
744
744
|
} catch {
|
|
745
|
-
|
|
745
|
+
paths = null;
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
|
-
if (
|
|
749
|
-
|
|
748
|
+
if (paths?.length) {
|
|
749
|
+
pathString = paths.map((p) => `:${p}`).join("/");
|
|
750
750
|
}
|
|
751
751
|
}
|
|
752
|
-
uriMap.set(basePath,
|
|
752
|
+
uriMap.set(basePath, pathString);
|
|
753
753
|
return;
|
|
754
754
|
}
|
|
755
755
|
for (const key in node) {
|
|
@@ -1830,16 +1830,18 @@ async function generateRouterDTS(silgi) {
|
|
|
1830
1830
|
acc[routePath][method] = {
|
|
1831
1831
|
input: `ExtractInputFromURI<'${key}'>`,
|
|
1832
1832
|
output: `ExtractOutputFromURI<'${key}'>`,
|
|
1833
|
-
|
|
1833
|
+
queryParams: `ExtractQueryParamsFromURI<'${key}'>`,
|
|
1834
|
+
pathParams: `ExtractPathParamsFromURI<'${key}'>`
|
|
1834
1835
|
};
|
|
1835
1836
|
return acc;
|
|
1836
1837
|
}, {});
|
|
1837
1838
|
const routerTypes = Object.entries(groupedRoutes).map(([path, methods]) => {
|
|
1838
|
-
const methodEntries = Object.entries(methods).map(([method, { input, output,
|
|
1839
|
+
const methodEntries = Object.entries(methods).map(([method, { input, output, queryParams, pathParams }]) => {
|
|
1839
1840
|
return ` '${method}': {
|
|
1840
1841
|
input: ${input},
|
|
1841
|
-
output: ${output}
|
|
1842
|
-
|
|
1842
|
+
output: ${output},
|
|
1843
|
+
queryParams: ${queryParams},
|
|
1844
|
+
pathParams: ${pathParams}
|
|
1843
1845
|
}`;
|
|
1844
1846
|
}).join(",\n");
|
|
1845
1847
|
return ` '/${path}': {
|
|
@@ -1857,7 +1859,7 @@ ${methodEntries}
|
|
|
1857
1859
|
...routerTypes
|
|
1858
1860
|
].join(",\n");
|
|
1859
1861
|
const context = [
|
|
1860
|
-
"import type { ExtractInputFromURI, ExtractOutputFromURI,
|
|
1862
|
+
"import type { ExtractInputFromURI, ExtractOutputFromURI, ExtractQueryParamsFromURI, ExtractPathParamsFromURI } from 'silgi/types'",
|
|
1861
1863
|
"",
|
|
1862
1864
|
"export interface RouterTypes {",
|
|
1863
1865
|
content,
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createConsola } from 'consola';
|
|
2
|
-
import defu from 'defu';
|
|
2
|
+
import defu, { defu as defu$1 } from 'defu';
|
|
3
3
|
import { createHooks } from 'hookable';
|
|
4
4
|
import { getContext } from 'unctx';
|
|
5
5
|
import { Buffer } from 'node:buffer';
|
|
@@ -589,14 +589,10 @@ async function execute(uriString, input, event, source) {
|
|
|
589
589
|
success = cacheData.success;
|
|
590
590
|
cached = cacheData.cached;
|
|
591
591
|
} else {
|
|
592
|
-
const
|
|
593
|
-
params: operation.routerParams,
|
|
594
|
-
query: operation.query
|
|
595
|
-
};
|
|
592
|
+
const parameters = defu$1(operation.routerParams, operation.query) || {};
|
|
596
593
|
silgiCtx.shared.silgi = (_event) => silgi(_event || event);
|
|
597
594
|
result = await handler?.handler(
|
|
598
|
-
|
|
599
|
-
input,
|
|
595
|
+
defu$1({ parameters }, input),
|
|
600
596
|
silgiCtx.shared,
|
|
601
597
|
event,
|
|
602
598
|
source
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED
package/dist/types/index.d.mts
CHANGED
|
@@ -289,7 +289,8 @@ type BaseSchemaType<T extends StandardSchemaV1> = {
|
|
|
289
289
|
[Action in BaseSilgiMethodType]?: Record<string, {
|
|
290
290
|
input?: T;
|
|
291
291
|
output?: T;
|
|
292
|
-
|
|
292
|
+
pathParams?: T;
|
|
293
|
+
queryParams?: T;
|
|
293
294
|
source?: T;
|
|
294
295
|
}>;
|
|
295
296
|
};
|
|
@@ -329,18 +330,27 @@ type GetSource<T extends {
|
|
|
329
330
|
}> = T['service'] extends keyof SilgiSchema ? T['entity'] extends keyof SilgiSchema[T['service']] ? T['method'] extends keyof SilgiSchema[T['service']][T['entity']] ? T['action'] extends keyof SilgiSchema[T['service']][T['entity']][T['method']] ? SilgiSchema[T['service']][T['entity']][T['method']][T['action']] extends {
|
|
330
331
|
source: infer I;
|
|
331
332
|
} ? I : never : never : never : never : never;
|
|
332
|
-
type
|
|
333
|
+
type GetQueryParams<T extends {
|
|
333
334
|
service: string;
|
|
334
335
|
entity: string;
|
|
335
336
|
method: string;
|
|
336
337
|
action: string;
|
|
337
338
|
}> = T['service'] extends keyof SilgiSchema ? T['entity'] extends keyof SilgiSchema[T['service']] ? T['method'] extends keyof SilgiSchema[T['service']][T['entity']] ? T['action'] extends keyof SilgiSchema[T['service']][T['entity']][T['method']] ? SilgiSchema[T['service']][T['entity']][T['method']][T['action']] extends {
|
|
338
|
-
|
|
339
|
-
} ?
|
|
339
|
+
queryParams: infer Q;
|
|
340
|
+
} ? Q : never : never : never : never : never;
|
|
341
|
+
type GetPathParams<T extends {
|
|
342
|
+
service: string;
|
|
343
|
+
entity: string;
|
|
344
|
+
method: string;
|
|
345
|
+
action: string;
|
|
346
|
+
}> = T['service'] extends keyof SilgiSchema ? T['entity'] extends keyof SilgiSchema[T['service']] ? T['method'] extends keyof SilgiSchema[T['service']][T['entity']] ? T['action'] extends keyof SilgiSchema[T['service']][T['entity']][T['method']] ? SilgiSchema[T['service']][T['entity']][T['method']][T['action']] extends {
|
|
347
|
+
pathParams: infer Q;
|
|
348
|
+
} ? Q : never : never : never : never : never;
|
|
340
349
|
type ExtractInputFromURI<TURI extends keyof SilgiURIs> = GetInput<ExtractPath<TURI>>;
|
|
341
350
|
type ExtractSourceFromURI<TURI extends keyof SilgiURIs> = GetSource<ExtractPath<TURI>>;
|
|
342
351
|
type ExtractOutputFromURI<TURI extends keyof SilgiURIs> = GetOutput<ExtractPath<TURI>>;
|
|
343
|
-
type
|
|
352
|
+
type ExtractQueryParamsFromURI<TURI extends keyof SilgiURIs> = GetQueryParams<ExtractPath<TURI>>;
|
|
353
|
+
type ExtractPathParamsFromURI<TURI extends keyof SilgiURIs> = GetPathParams<ExtractPath<TURI>>;
|
|
344
354
|
|
|
345
355
|
/**
|
|
346
356
|
* @example
|
|
@@ -798,7 +808,14 @@ type SilgiServiceInterface<T extends BaseSchemaType<StandardSchemaV1>> = {
|
|
|
798
808
|
[Method in keyof T[Action]]: {
|
|
799
809
|
input: T[Action][Method]['input'];
|
|
800
810
|
output: T[Action][Method]['output'];
|
|
801
|
-
|
|
811
|
+
/**
|
|
812
|
+
* Example: /api/v1/users/{id}/{name}/{surname}
|
|
813
|
+
*/
|
|
814
|
+
pathParams: T[Action][Method]['pathParams'];
|
|
815
|
+
/**
|
|
816
|
+
* Example: /api/v1/users?name=ali&surname=veli
|
|
817
|
+
*/
|
|
818
|
+
queryParams: T[Action][Method]['queryParams'];
|
|
802
819
|
source: T[Action][Method]['source'];
|
|
803
820
|
};
|
|
804
821
|
} : never;
|
|
@@ -906,11 +923,15 @@ type MethodHandlerType<T> = {
|
|
|
906
923
|
[Action in keyof T]: T[Action] extends Record<string, any> ? {
|
|
907
924
|
[Method in keyof T[Action]]?: {
|
|
908
925
|
default?: {
|
|
909
|
-
input?: StandardSchemaV1.InferInput<T[Action][Method]['input']
|
|
926
|
+
input?: StandardSchemaV1.InferInput<T[Action][Method]['input']> & {
|
|
927
|
+
parameters: StandardSchemaV1.InferInput<T[Action][Method]['pathParams']> & StandardSchemaV1.InferInput<T[Action][Method]['queryParams']>;
|
|
928
|
+
};
|
|
910
929
|
output?: StandardSchemaV1.InferInput<T[Action][Method]['output']>;
|
|
911
930
|
source?: StandardSchemaV1.InferInput<T[Action][Method]['source']>;
|
|
912
931
|
};
|
|
913
|
-
handler: (
|
|
932
|
+
handler: (input: StandardSchemaV1.InferInput<T[Action][Method]['input']> & {
|
|
933
|
+
parameters: StandardSchemaV1.InferInput<T[Action][Method]['pathParams']> & StandardSchemaV1.InferInput<T[Action][Method]['queryParams']>;
|
|
934
|
+
}, shared: SilgiRuntimeShareds, event: SilgiEvents, source: StandardSchemaV1.InferInput<T[Action][Method]['source']>) => EventHandlerResponse<StandardSchemaV1.InferOutput<T[Action][Method]['output']>>;
|
|
914
935
|
modules?: Partial<SilgiRuntimeActions>;
|
|
915
936
|
storage?: StorageConfig<T[Action][Method]['input']>;
|
|
916
937
|
};
|
|
@@ -919,7 +940,9 @@ type MethodHandlerType<T> = {
|
|
|
919
940
|
interface ResolvedMethodHandlerType {
|
|
920
941
|
input?: Partial<BaseSchemaType<any>>;
|
|
921
942
|
output: Partial<BaseSchemaType<any>>;
|
|
922
|
-
handler: (
|
|
943
|
+
handler: (input: StandardSchemaV1.InferInput<any> & {
|
|
944
|
+
parameters: any;
|
|
945
|
+
}, shared: SilgiRuntimeShareds, event: SilgiEvents, source: StandardSchemaV1.InferInput<any>) => Promise<StandardSchemaV1.InferInput<any>>;
|
|
923
946
|
modules?: Partial<SilgiRuntimeActions>;
|
|
924
947
|
storage?: StorageConfig<StandardSchemaV1.InferInput<any>>;
|
|
925
948
|
execute: (input: StandardSchemaV1.InferInput<any>, shared: SilgiRuntimeShareds, event: SilgiEvents, source: StandardSchemaV1.InferInput<any>) => Promise<StandardSchemaV1.InferInput<any>>;
|
|
@@ -956,7 +979,7 @@ interface SilgiRuntimeHooks {
|
|
|
956
979
|
interface SilgiOptions {
|
|
957
980
|
consolaOptions?: Partial<ConsolaOptions>;
|
|
958
981
|
present: PresetNameInput;
|
|
959
|
-
hooks: SilgiRuntimeHooks & DefaultHooks
|
|
982
|
+
hooks: Partial<SilgiRuntimeHooks & DefaultHooks>;
|
|
960
983
|
/**
|
|
961
984
|
* Set to `true` to enable debug mode.
|
|
962
985
|
*
|
|
@@ -1024,4 +1047,4 @@ type Namespaces<T extends BaseNamespaceType> = {
|
|
|
1024
1047
|
|
|
1025
1048
|
declare const autoImportTypes: string[];
|
|
1026
1049
|
|
|
1027
|
-
export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, 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
|
|
1050
|
+
export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, 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 ExtractPathParamsFromURI, type ExtractQueryParamsFromURI, 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/dist/types/index.d.ts
CHANGED
|
@@ -289,7 +289,8 @@ type BaseSchemaType<T extends StandardSchemaV1> = {
|
|
|
289
289
|
[Action in BaseSilgiMethodType]?: Record<string, {
|
|
290
290
|
input?: T;
|
|
291
291
|
output?: T;
|
|
292
|
-
|
|
292
|
+
pathParams?: T;
|
|
293
|
+
queryParams?: T;
|
|
293
294
|
source?: T;
|
|
294
295
|
}>;
|
|
295
296
|
};
|
|
@@ -329,18 +330,27 @@ type GetSource<T extends {
|
|
|
329
330
|
}> = T['service'] extends keyof SilgiSchema ? T['entity'] extends keyof SilgiSchema[T['service']] ? T['method'] extends keyof SilgiSchema[T['service']][T['entity']] ? T['action'] extends keyof SilgiSchema[T['service']][T['entity']][T['method']] ? SilgiSchema[T['service']][T['entity']][T['method']][T['action']] extends {
|
|
330
331
|
source: infer I;
|
|
331
332
|
} ? I : never : never : never : never : never;
|
|
332
|
-
type
|
|
333
|
+
type GetQueryParams<T extends {
|
|
333
334
|
service: string;
|
|
334
335
|
entity: string;
|
|
335
336
|
method: string;
|
|
336
337
|
action: string;
|
|
337
338
|
}> = T['service'] extends keyof SilgiSchema ? T['entity'] extends keyof SilgiSchema[T['service']] ? T['method'] extends keyof SilgiSchema[T['service']][T['entity']] ? T['action'] extends keyof SilgiSchema[T['service']][T['entity']][T['method']] ? SilgiSchema[T['service']][T['entity']][T['method']][T['action']] extends {
|
|
338
|
-
|
|
339
|
-
} ?
|
|
339
|
+
queryParams: infer Q;
|
|
340
|
+
} ? Q : never : never : never : never : never;
|
|
341
|
+
type GetPathParams<T extends {
|
|
342
|
+
service: string;
|
|
343
|
+
entity: string;
|
|
344
|
+
method: string;
|
|
345
|
+
action: string;
|
|
346
|
+
}> = T['service'] extends keyof SilgiSchema ? T['entity'] extends keyof SilgiSchema[T['service']] ? T['method'] extends keyof SilgiSchema[T['service']][T['entity']] ? T['action'] extends keyof SilgiSchema[T['service']][T['entity']][T['method']] ? SilgiSchema[T['service']][T['entity']][T['method']][T['action']] extends {
|
|
347
|
+
pathParams: infer Q;
|
|
348
|
+
} ? Q : never : never : never : never : never;
|
|
340
349
|
type ExtractInputFromURI<TURI extends keyof SilgiURIs> = GetInput<ExtractPath<TURI>>;
|
|
341
350
|
type ExtractSourceFromURI<TURI extends keyof SilgiURIs> = GetSource<ExtractPath<TURI>>;
|
|
342
351
|
type ExtractOutputFromURI<TURI extends keyof SilgiURIs> = GetOutput<ExtractPath<TURI>>;
|
|
343
|
-
type
|
|
352
|
+
type ExtractQueryParamsFromURI<TURI extends keyof SilgiURIs> = GetQueryParams<ExtractPath<TURI>>;
|
|
353
|
+
type ExtractPathParamsFromURI<TURI extends keyof SilgiURIs> = GetPathParams<ExtractPath<TURI>>;
|
|
344
354
|
|
|
345
355
|
/**
|
|
346
356
|
* @example
|
|
@@ -798,7 +808,14 @@ type SilgiServiceInterface<T extends BaseSchemaType<StandardSchemaV1>> = {
|
|
|
798
808
|
[Method in keyof T[Action]]: {
|
|
799
809
|
input: T[Action][Method]['input'];
|
|
800
810
|
output: T[Action][Method]['output'];
|
|
801
|
-
|
|
811
|
+
/**
|
|
812
|
+
* Example: /api/v1/users/{id}/{name}/{surname}
|
|
813
|
+
*/
|
|
814
|
+
pathParams: T[Action][Method]['pathParams'];
|
|
815
|
+
/**
|
|
816
|
+
* Example: /api/v1/users?name=ali&surname=veli
|
|
817
|
+
*/
|
|
818
|
+
queryParams: T[Action][Method]['queryParams'];
|
|
802
819
|
source: T[Action][Method]['source'];
|
|
803
820
|
};
|
|
804
821
|
} : never;
|
|
@@ -906,11 +923,15 @@ type MethodHandlerType<T> = {
|
|
|
906
923
|
[Action in keyof T]: T[Action] extends Record<string, any> ? {
|
|
907
924
|
[Method in keyof T[Action]]?: {
|
|
908
925
|
default?: {
|
|
909
|
-
input?: StandardSchemaV1.InferInput<T[Action][Method]['input']
|
|
926
|
+
input?: StandardSchemaV1.InferInput<T[Action][Method]['input']> & {
|
|
927
|
+
parameters: StandardSchemaV1.InferInput<T[Action][Method]['pathParams']> & StandardSchemaV1.InferInput<T[Action][Method]['queryParams']>;
|
|
928
|
+
};
|
|
910
929
|
output?: StandardSchemaV1.InferInput<T[Action][Method]['output']>;
|
|
911
930
|
source?: StandardSchemaV1.InferInput<T[Action][Method]['source']>;
|
|
912
931
|
};
|
|
913
|
-
handler: (
|
|
932
|
+
handler: (input: StandardSchemaV1.InferInput<T[Action][Method]['input']> & {
|
|
933
|
+
parameters: StandardSchemaV1.InferInput<T[Action][Method]['pathParams']> & StandardSchemaV1.InferInput<T[Action][Method]['queryParams']>;
|
|
934
|
+
}, shared: SilgiRuntimeShareds, event: SilgiEvents, source: StandardSchemaV1.InferInput<T[Action][Method]['source']>) => EventHandlerResponse<StandardSchemaV1.InferOutput<T[Action][Method]['output']>>;
|
|
914
935
|
modules?: Partial<SilgiRuntimeActions>;
|
|
915
936
|
storage?: StorageConfig<T[Action][Method]['input']>;
|
|
916
937
|
};
|
|
@@ -919,7 +940,9 @@ type MethodHandlerType<T> = {
|
|
|
919
940
|
interface ResolvedMethodHandlerType {
|
|
920
941
|
input?: Partial<BaseSchemaType<any>>;
|
|
921
942
|
output: Partial<BaseSchemaType<any>>;
|
|
922
|
-
handler: (
|
|
943
|
+
handler: (input: StandardSchemaV1.InferInput<any> & {
|
|
944
|
+
parameters: any;
|
|
945
|
+
}, shared: SilgiRuntimeShareds, event: SilgiEvents, source: StandardSchemaV1.InferInput<any>) => Promise<StandardSchemaV1.InferInput<any>>;
|
|
923
946
|
modules?: Partial<SilgiRuntimeActions>;
|
|
924
947
|
storage?: StorageConfig<StandardSchemaV1.InferInput<any>>;
|
|
925
948
|
execute: (input: StandardSchemaV1.InferInput<any>, shared: SilgiRuntimeShareds, event: SilgiEvents, source: StandardSchemaV1.InferInput<any>) => Promise<StandardSchemaV1.InferInput<any>>;
|
|
@@ -956,7 +979,7 @@ interface SilgiRuntimeHooks {
|
|
|
956
979
|
interface SilgiOptions {
|
|
957
980
|
consolaOptions?: Partial<ConsolaOptions>;
|
|
958
981
|
present: PresetNameInput;
|
|
959
|
-
hooks: SilgiRuntimeHooks & DefaultHooks
|
|
982
|
+
hooks: Partial<SilgiRuntimeHooks & DefaultHooks>;
|
|
960
983
|
/**
|
|
961
984
|
* Set to `true` to enable debug mode.
|
|
962
985
|
*
|
|
@@ -1024,4 +1047,4 @@ type Namespaces<T extends BaseNamespaceType> = {
|
|
|
1024
1047
|
|
|
1025
1048
|
declare const autoImportTypes: string[];
|
|
1026
1049
|
|
|
1027
|
-
export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, 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
|
|
1050
|
+
export { type AppConfig, type Awaitable, type BaseNamespaceType, type BaseSchemaType, type BaseSilgiMethodType, 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 ExtractPathParamsFromURI, type ExtractQueryParamsFromURI, 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/dist/types/index.mjs
CHANGED