feat: auto-sync name changes to connected users (#31923) * feat: auto-sync name changes to connected users * fix: rename to faceId * fix: pr feedback * fix: mobile build (cherry picked from commit aec7c0d97bd6679b2b300e72e870b83c5ef13c85) Co-authored-by: Jason Rasmussen <jason@rasm.me>
@immich/sdk
A TypeScript SDK for interfacing with the Immich API.
Install
npm i --save @immich/sdk
Usage
For a more detailed example, check out the @immich/cli.
import { getAllAlbums, getMyUser, init } from "@immich/sdk";
const API_KEY = "<API_KEY>"; // process.env.IMMICH_API_KEY
init({ baseUrl: "https://demo.immich.app/api", apiKey: API_KEY });
const user = await getMyUser();
const albums = await getAllAlbums({});
console.log({ user, albums });