silgi 0.35.1 → 0.35.2

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.35.1";
4
+ const version = "0.35.2";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -893,10 +893,10 @@ interface MergedSilgiSchema {
893
893
  * Creates an object type representing path parameters extracted from a URL pattern.
894
894
  *
895
895
  * @example
896
- * PathParamsObject<'/users/:id/posts/:postId'> // { id: string | number, postId: string | number }
896
+ * PathParamsObject<'/users/:id/posts/:postId'> // { id?: string | number, postId?: string | number }
897
897
  */
898
898
  type PathParamsObject<S extends string> = {
899
- [K in ExtractPathParamKeys<S>]: string | number;
899
+ [K in ExtractPathParamKeys<S>]?: string | number;
900
900
  };
901
901
  /**
902
902
  * Determines if a URL pattern contains any path parameters.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.35.1",
4
+ "version": "0.35.2",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {