silgi 0.37.47 → 0.37.49
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/cli/index.mjs +1 -1
- package/dist/core/index.d.mts +4 -0
- package/dist/types/index.d.mts +1 -1
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/core/index.d.mts
CHANGED
|
@@ -114,6 +114,10 @@ declare function getEventContext<T extends SilgiRuntimeContext>(event?: SilgiEve
|
|
|
114
114
|
* @template Methods - HTTP method definitions
|
|
115
115
|
*
|
|
116
116
|
* @param params - Schema configuration parameters
|
|
117
|
+
* @param params.prefix - API prefix, such as '/api'
|
|
118
|
+
* @param params.namespace - API namespace, such as '/v1'
|
|
119
|
+
* @param params.path - Route path, such as '/users' or '/users/:id'
|
|
120
|
+
* @param params.methods - HTTP method schemas
|
|
117
121
|
* @returns Route schema object with complete type information
|
|
118
122
|
*
|
|
119
123
|
* @example
|
package/dist/types/index.d.mts
CHANGED
|
@@ -664,6 +664,7 @@ interface SilgiOptions {
|
|
|
664
664
|
};
|
|
665
665
|
captureError: CaptureError;
|
|
666
666
|
adapters: Record<string, Adapter<Record<string, any>, TablesSchema, InferModelTypes<TablesSchema>>>;
|
|
667
|
+
meta: SilgiMeta;
|
|
667
668
|
[key: string]: any;
|
|
668
669
|
}
|
|
669
670
|
|
|
@@ -702,7 +703,6 @@ interface Silgi {
|
|
|
702
703
|
}
|
|
703
704
|
interface SilgiConfig extends Partial<Omit<Silgi, 'options'>>, Partial<SilgiRuntimeOptions> {
|
|
704
705
|
options: DeepPartial<SilgiOptions>;
|
|
705
|
-
meta: SilgiMeta;
|
|
706
706
|
}
|
|
707
707
|
interface BuildSilgi {
|
|
708
708
|
framework?: {
|