feat(facade): tanstack param + Web Host CDN 1.0.40 (EE2-2265)#66
Open
AndrewKirkovski wants to merge 2 commits into
Open
feat(facade): tanstack param + Web Host CDN 1.0.40 (EE2-2265)#66AndrewKirkovski wants to merge 2 commits into
AndrewKirkovski wants to merge 2 commits into
Conversation
…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).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EE2-2265 — facade
tanstackparam + CDN 1.0.40Rebased onto current
master(preserves the strict security policies from9d624bc/f01b29d). Adds, on top:tanstackrequirement (default{}) →config_handlerreturns it as top-leveltanstackin/api/public/facade/config({ default?, content?, lists? }— global + per-role TanStack Query defaults). Mirrors theapi_routes/axios_defaultsJSON-requirement pattern.1.0.39→1.0.40(_index.yamlfe_facade_urldefault,Makefile,README,config_handler_test).config_handler_testcase for the tanstack decode.Published
wippy/facade@0.6.16(26.3 KB pack,public_filesincluded).Verified
Boot-verified in app-template-raw on the published 0.6.16 (no replacements/override):
/api/public/facade/configreturnsfacade_url=webcomponents-1.0.40,tanstackflows when set (content/lists), security block boots clean.🤖 Generated with Claude Code