@bygghammar/cms-platform 0.19.0 → 0.19.2

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@bygghammar/cms-platform",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "Shared CMS platform: blocks, block types, i18n core, UI primitives and design-token contract used by every Bygghammar/Voyara site.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -9,12 +9,8 @@
9
9
 
10
10
  /** Minimal shape of an authenticated request context a host must provide. */
11
11
  export type PlatformAuthContext = {
12
- supabase: {
13
- rpc: (
14
- fn: string,
15
- args: Record<string, unknown>,
16
- ) => Promise<{ data: unknown; error: { message: string } | null }>;
17
- };
12
+ /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
13
+ supabase: { rpc: (fn: any, args: any) => PromiseLike<{ data: any; error: any }> };
18
14
  userId: string;
19
15
  claims?: { email?: string | null } | null;
20
16
  };