[Foundry P1] Foundry adapter package scaffolding + pf2e actor_to_member #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stand up the adapter architecture and implement the first concrete method.
New backend package
webapp/backend/app/foundry/client.py- authenticated HTTP calls to the Foundry REST APIadapters/base.py- abstract base class / protocol defining the interfaceadapters/pf2e.py- first concrete adapterregistry.py- maps system identifier strings to adapter classesAdapter interface (each method optional; return
Noneto declare unsupported)actor_to_member(foundry_actor)? implement this one onlymember_to_actor,npc_to_actor,journal_to_entry,item_to_item- stubs returningNonefor now (later phases)Boundaries
None; the UI hides the corresponding buttons rather than showing disabled controls.genericadapter - it belongs to Phase 2. Without one real adapter shipped, the interface shape is still speculative.Roadmap: Phase 1 step 4 + architecture section.