Skip to content

feat(facade): tanstack param + Web Host CDN 1.0.40 (EE2-2265)#66

Open
AndrewKirkovski wants to merge 2 commits into
masterfrom
feat/facade-tanstack-query-config
Open

feat(facade): tanstack param + Web Host CDN 1.0.40 (EE2-2265)#66
AndrewKirkovski wants to merge 2 commits into
masterfrom
feat/facade-tanstack-query-config

Conversation

@AndrewKirkovski

Copy link
Copy Markdown
Contributor

EE2-2265 — facade tanstack param + CDN 1.0.40

Rebased onto current master (preserves the strict security policies from 9d624bc / f01b29d). Adds, on top:

  • tanstack requirement (default {}) → config_handler returns it as top-level tanstack in /api/public/facade/config ({ default?, content?, lists? } — global + per-role TanStack Query defaults). Mirrors the api_routes / axios_defaults JSON-requirement pattern.
  • Web Host CDN ref 1.0.391.0.40 (_index.yaml fe_facade_url default, Makefile, README, config_handler_test).
  • README + a config_handler_test case for the tanstack decode.

Published

wippy/facade@0.6.16 (26.3 KB pack, public_files included).

Verified

Boot-verified in app-template-raw on the published 0.6.16 (no replacements/override): /api/public/facade/config returns facade_url=webcomponents-1.0.40, tanstack flows when set (content/lists), security block boots clean.

🤖 Generated with Claude Code

…ppConfig.tanstack

Expose a `tanstack` JSON requirement (default "{}") that the config handler
decodes and returns as top-level `tanstack` in /api/public/facade/config, so the
Web Host can apply TanStack Query defaults globally and per role-based category
(content/lists). Mirrors the api_routes/axios_defaults JSON-requirement pattern.

- config_handler.lua: read tanstack via non_empty_map_or_nil(get_req_json_any),
  add `tanstack` to the returned config table
- _index.yaml: tanstack ns.requirement → wippy.facade:tanstack .default
- config_handler_test.lua: tanstack in REQ_NAMES + defaults; default + decode tests
- README: tanstack row in the optional JSON parameters table

Stacked on the theme_mode facade branch (config_handler already returns themeMode).
Point fe_facade_url default (+ Makefile/README/config_handler_test) at the
1.0.40 host bundle, matching the tanstack + postMessage-hardening release.
Pairs with the facade tanstack requirement on this branch (publish 0.6.13).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant