mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
da763bd55f
Adds an `isomorphic` virtual SDK platform whose spec is the union of the `client` and `server` specs. Lets a single SDK release (e.g. the web SDK) surface methods from both runtimes — including ones that are hidden from the `server` spec or auth-excluded from it. - `APP_SDK_PLATFORM_ISOMORPHIC` constant - Specs.php emits `swagger2-<v>-isomorphic.json` (and OpenAPI3) using a union filter; `getKeys()` / `getAuthCounts()` extended accordingly - SDKs.php honors an optional `specPlatform` per-SDK config override so a server-family SDK can point at the isomorphic spec - Format/Swagger2 + OpenAPI3 use a shared `effectivePlatforms()` helper so the additional-methods filter expands isomorphic to client+server, preserving rename pairs like `createMfaAuthenticator` ↔ `createMFAAuthenticator`