@sevenfold/setto-client 0.44.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Session } from '@supabase/supabase-js';
|
|
2
|
-
/**
|
|
3
|
-
* Whether this session is the site's support account: the member a Setto admin
|
|
4
|
-
* signs in as with «Rediger» in the admin. setto-server makes the account and
|
|
5
|
-
* names its one site in `app_metadata.setto_support_site`, which only the
|
|
6
|
-
* service role can write (`src/lib/support-account.ts` there).
|
|
7
|
-
*
|
|
8
|
-
* Read from the session rather than asked of the server, so the editor is
|
|
9
|
-
* there on the first render. It only opens the editor's furniture; every
|
|
10
|
-
* write is still the server's to allow or refuse.
|
|
11
|
-
*/
|
|
12
|
-
export declare function isSupportSession(session: Session | null, siteId: string): boolean;
|