rouzer 1.0.0-beta.21 → 1.0.0-beta.22

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/route.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { RoutePattern } from '@remix-run/route-pattern';
2
2
  import type { RouteRequestFactory, RouteSchema, RouteSchemaMap, Unchecked } from './types.js';
3
3
  export declare function $type<T>(): Unchecked<T>;
4
+ export declare namespace $type {
5
+ var symbol: symbol;
6
+ }
4
7
  export type Route<P extends string = string, T extends RouteSchemaMap = RouteSchemaMap> = {
5
8
  path: RoutePattern<P>;
6
9
  methods: T;
package/dist/route.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { RoutePattern } from '@remix-run/route-pattern';
2
2
  import { mapEntries } from './common.js';
3
3
  export function $type() {
4
- return null;
4
+ return $type.symbol;
5
5
  }
6
+ $type.symbol = Symbol();
6
7
  export function route(pattern, methods) {
7
8
  const path = new RoutePattern(pattern);
8
9
  const createFetch = (method, schema) => (args = {}) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rouzer",
3
- "version": "1.0.0-beta.21",
3
+ "version": "1.0.0-beta.22",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {