@unitflow/router 0.2.1 → 0.2.3

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/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * as Router from "./public.js";
2
2
  export * as Route from "./route.js";
3
3
  export type * from "./public.js";
4
- export type { WithChild, PrefixedTuple, PrefixedRoute, WithMiddleware, MembersOf, } from "./route.js";
5
4
  /**
6
5
  * Registration point for the app's router. Declared HERE — in the package
7
6
  * entry — because module augmentation only merges with an interface declared
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAgBpC,mBAAmB,aAAa,CAAC;AACjC,YAAY,EACV,SAAS,EACT,aAAa,EACb,aAAa,EACb,cAAc,EACd,SAAS,GACV,MAAM,YAAY,CAAC;AAEpB;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,QAAQ;CAAG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAepC,mBAAmB,aAAa,CAAC;AAEjC;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,QAAQ;CAAG"}
package/dist/public.d.ts CHANGED
@@ -11,5 +11,5 @@
11
11
  * application code should never need to name it.
12
12
  */
13
13
  export { RedirectError, NotFoundError, isRedirectError, isNotFoundError, Middleware, make, History, browserHistoryLayer, hashHistoryLayer, memoryHistoryLayer, createMemoryHistory, createBrowserHistory, createHashHistory, defaultParseSearch, defaultStringifySearch, } from "./router.js";
14
- export type { SearchPrimitive, SearchValue, RawSearch, SearchRecord, PathParams, JoinPath, SearchCodec, AnySearchCodec, AnySchemaCodec, RouteContext, RouteOptions, Route, MiddlewareContext, MiddlewareHandler, MiddlewareClass, AnyMiddleware, ProvidesOf, RouteGroup, AnyRouteGroup, RoutesOf, ParsedLocation, RouterHistory, HistoryFactory, RouteMatch, RouterState, RouterOptions, ActiveOptions, Blocker, NavigatePayload, RouterShape, RouterModel, RouterTargets, RouteModel, PagesModel, AnyPagesModel, PagesShape, PageMap, RouteUnitShape, RouteShapes, RouteIds, AnyRouter, RegisteredRouter, RouterGroupOf, RouterIdOf, RouterRoutes, RoutePath, RouteByPath, MatchByPath, MatchUnion, ToOptions, RawToOptions, NavigateOptions, AppRouter, } from "./router.js";
14
+ export type { SearchPrimitive, SearchValue, RawSearch, SearchRecord, PathParams, JoinPath, SearchCodec, AnySearchCodec, AnySchemaCodec, RouteContext, RouteOptions, Route, MiddlewareContext, MiddlewareHandler, MiddlewareClass, AnyMiddleware, ProvidesOf, RouteGroup, AnyRouteGroup, RoutesOf, WithChild, PrefixedTuple, PrefixedRoute, WithMiddleware, MembersOf, ParsedLocation, RouterHistory, HistoryFactory, RouteMatch, RouterState, RouterOptions, ActiveOptions, Blocker, NavigatePayload, RouterShape, RouterModel, RouterTargets, RouteModel, PagesModel, AnyPagesModel, PagesShape, PageMap, RouteUnitShape, RouteShapes, RouteIds, AnyRouter, RegisteredRouter, RouterGroupOf, RouterIdOf, RouterRoutes, RoutePath, RouteByPath, MatchByPath, MatchUnion, ToOptions, RawToOptions, NavigateOptions, AppRouter, } from "./router.js";
15
15
  //# sourceMappingURL=public.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../src/public.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAEL,aAAa,EACb,aAAa,EACb,eAAe,EACf,eAAe,EAEf,UAAU,EAEV,IAAI,EAGJ,OAAO,EACP,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,aAAa,CAAC;AAErB,YAAY,EACV,eAAe,EACf,WAAW,EACX,SAAS,EACT,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,WAAW,EACX,cAAc,EACd,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EACR,cAAc,EACd,aAAa,EACb,cAAc,EACd,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACb,OAAO,EACP,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,OAAO,EACP,cAAc,EACd,WAAW,EACX,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,SAAS,EACT,YAAY,EACZ,eAAe,EACf,SAAS,GACV,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../src/public.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAEL,aAAa,EACb,aAAa,EACb,eAAe,EACf,eAAe,EAEf,UAAU,EAEV,IAAI,EAGJ,OAAO,EACP,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,GACvB,MAAM,aAAa,CAAC;AAErB,YAAY,EACV,eAAe,EACf,WAAW,EACX,SAAS,EACT,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,WAAW,EACX,cAAc,EACd,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,KAAK,EACL,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,QAAQ,EAOR,SAAS,EACT,aAAa,EACb,aAAa,EACb,cAAc,EACd,SAAS,EACT,cAAc,EACd,aAAa,EACb,cAAc,EACd,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACb,OAAO,EACP,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,OAAO,EACP,cAAc,EACd,WAAW,EACX,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,YAAY,EACZ,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,EACV,SAAS,EACT,YAAY,EACZ,eAAe,EACf,SAAS,GACV,MAAM,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unitflow/router",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "description": "Effect-native, Unitflow-aware typed router with React bindings.",
6
6
  "license": "MIT",
@@ -16,13 +16,17 @@
16
16
  "./react": {
17
17
  "types": "./dist/react.d.ts",
18
18
  "default": "./dist/react.js"
19
+ },
20
+ "./router": {
21
+ "types": "./dist/router.d.ts",
22
+ "default": "./dist/router.js"
19
23
  }
20
24
  },
21
25
  "main": "./dist/index.js",
22
26
  "types": "./dist/index.d.ts",
23
27
  "dependencies": {
24
- "@unitflow/core": "^0.3.1",
25
- "@unitflow/react": "^0.3.1"
28
+ "@unitflow/react": "^0.3.1",
29
+ "@unitflow/core": "^0.3.1"
26
30
  },
27
31
  "peerDependencies": {
28
32
  "effect": "4.0.0-beta.88",