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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.37.47";
4
+ const version = "0.37.49";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -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
@@ -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?: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.37.47",
4
+ "version": "0.37.49",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {