@tyndall/core 0.0.1 → 0.0.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/README.md CHANGED
@@ -7,8 +7,10 @@ Core framework contracts, routing, configuration schemas, and shared runtime/bui
7
7
  - Define framework-wide types, schemas, and contracts
8
8
  - Build route graphs and route metadata
9
9
  - Attach nested layout metadata for UI adapters when enabled
10
+ - Track special route files (`_app`, `_document`, `_404`, `_error`, `init.server`) for downstream build/runtime usage
10
11
  - Provide route matching, fallback policy evaluation, and page API contracts
11
- - Resolve strict project config including logging and SSR client-routing policies (`logging.level`, `routing.ssrClientRouting`)
12
+ - Resolve strict project config including logging, scroll restoration, and SSR client-routing policies (`logging.level`, `routing.scrollRestoration`, `routing.ssrClientRouting`)
13
+ - Define route data hooks (`init.server`, `getRouteData`) and route data key helpers
12
14
  - Validate build version configuration for downstream manifest/HTML version stamping
13
15
  - Provide client-bootstrap payload application behavior that remains compatible with mounted UI adapter roots
14
16
  - Provide UI adapter streaming interfaces for SSR runtimes that support streaming responses
@@ -5,6 +5,7 @@ export interface ClientRouterBootstrapOptions {
5
5
  clientRenderMode: ClientRenderMode;
6
6
  prefetchPath?: string;
7
7
  linkInterceptionMode?: LinkInterceptionMode;
8
+ scrollRestoration?: boolean;
8
9
  }
9
10
  export declare const CLIENT_ROUTER_BOOTSTRAP_PATH = "/_hyper/client-bootstrap.js";
10
11
  export declare const renderClientRouterBootstrap: (options: ClientRouterBootstrapOptions) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"client-router-bootstrap.d.ts","sourceRoot":"","sources":["../src/client-router-bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEpD,MAAM,WAAW,4BAA4B;IAC3C,cAAc,EAAE,cAAc,CAAC;IAC/B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;CAC7C;AAED,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAE1E,eAAO,MAAM,2BAA2B,GACtC,SAAS,4BAA4B,KACpC,MA8TF,CAAC"}
1
+ {"version":3,"file":"client-router-bootstrap.d.ts","sourceRoot":"","sources":["../src/client-router-bootstrap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGpE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEpD,MAAM,WAAW,4BAA4B;IAC3C,cAAc,EAAE,cAAc,CAAC;IAC/B,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAE1E,eAAO,MAAM,2BAA2B,GACtC,SAAS,4BAA4B,KACpC,MA8kBF,CAAC"}