@floatingpixels/supabase-nuxt 0.5.8 → 0.5.10
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/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -97,6 +97,7 @@ const module$1 = defineNuxtModule({
|
|
|
97
97
|
include: [
|
|
98
98
|
...config.optimizeDeps?.include || [],
|
|
99
99
|
"@floatingpixels/supabase-nuxt > @supabase/postgrest-js",
|
|
100
|
+
"@floatingpixels/supabase-nuxt > @supabase/supabase-js",
|
|
100
101
|
"@floatingpixels/supabase-nuxt > cookie"
|
|
101
102
|
]
|
|
102
103
|
};
|
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
import type { SupabaseClient } from '@supabase/supabase-js';
|
|
2
|
-
export declare const useSupabaseClient: <T>() => SupabaseClient<T, "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">, ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_1 ? T_1 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_1 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_1 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never, Omit<T, "__InternalSupabase">[("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_2 ? T_2 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_2 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_2 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never] extends
|
|
2
|
+
export declare const useSupabaseClient: <T>() => SupabaseClient<T, "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">, ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_1 ? T_1 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_1 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_1 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never, Omit<T, "__InternalSupabase">[("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_2 ? T_2 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_2 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_2 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never] extends {
|
|
3
|
+
Tables: Record<string, {
|
|
4
|
+
Row: Record<string, unknown>;
|
|
5
|
+
Insert: Record<string, unknown>;
|
|
6
|
+
Update: Record<string, unknown>;
|
|
7
|
+
Relationships: {
|
|
8
|
+
foreignKeyName: string;
|
|
9
|
+
columns: string[];
|
|
10
|
+
isOneToOne?: boolean;
|
|
11
|
+
referencedRelation: string;
|
|
12
|
+
referencedColumns: string[];
|
|
13
|
+
}[];
|
|
14
|
+
}>;
|
|
15
|
+
Views: Record<string, {
|
|
16
|
+
Row: Record<string, unknown>;
|
|
17
|
+
Insert: Record<string, unknown>;
|
|
18
|
+
Update: Record<string, unknown>;
|
|
19
|
+
Relationships: {
|
|
20
|
+
foreignKeyName: string;
|
|
21
|
+
columns: string[];
|
|
22
|
+
isOneToOne?: boolean;
|
|
23
|
+
referencedRelation: string;
|
|
24
|
+
referencedColumns: string[];
|
|
25
|
+
}[];
|
|
26
|
+
} | {
|
|
27
|
+
Row: Record<string, unknown>;
|
|
28
|
+
Relationships: {
|
|
29
|
+
foreignKeyName: string;
|
|
30
|
+
columns: string[];
|
|
31
|
+
isOneToOne?: boolean;
|
|
32
|
+
referencedRelation: string;
|
|
33
|
+
referencedColumns: string[];
|
|
34
|
+
}[];
|
|
35
|
+
}>;
|
|
36
|
+
Functions: Record<string, {
|
|
37
|
+
Args: Record<string, unknown> | never;
|
|
38
|
+
Returns: unknown;
|
|
39
|
+
SetofOptions?: {
|
|
40
|
+
isSetofReturn?: boolean | undefined;
|
|
41
|
+
isOneToOne?: boolean | undefined;
|
|
42
|
+
isNotNullable?: boolean | undefined;
|
|
43
|
+
to: string;
|
|
44
|
+
from: string;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
} ? Omit<T, "__InternalSupabase">[("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_3 ? T_3 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_3 extends string & Exclude<keyof T, "__InternalSupabase"> ? T_3 : "public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<Exclude<keyof T, "__InternalSupabase">, "__InternalSupabase"> : never : never] : never, ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) extends infer T_4 ? T_4 extends ("public" extends Exclude<keyof T, "__InternalSupabase"> ? Exclude<keyof T, "__InternalSupabase"> & "public" : string & Exclude<keyof T, "__InternalSupabase">) ? T_4 extends string & Exclude<keyof T, "__InternalSupabase"> ? T extends {
|
|
3
48
|
__InternalSupabase: {
|
|
4
49
|
PostgrestVersion: string;
|
|
5
50
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floatingpixels/supabase-nuxt",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.10",
|
|
4
4
|
"description": "Supabase module for Nuxt",
|
|
5
5
|
"repository": "floatingpixels/supabase-nuxt",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,36 +59,36 @@
|
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
61
|
"@supabase/ssr": "^0.8.0",
|
|
62
|
-
"@supabase/supabase-js": "^2.
|
|
62
|
+
"@supabase/supabase-js": "^2.88.0",
|
|
63
63
|
"cookie": "^1.1.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@nuxt/devtools": "3.1.1",
|
|
67
|
-
"@nuxt/eslint-config": "^1.
|
|
68
|
-
"@nuxt/kit": "^4.2.
|
|
67
|
+
"@nuxt/eslint-config": "^1.12.1",
|
|
68
|
+
"@nuxt/kit": "^4.2.2",
|
|
69
69
|
"@nuxt/module-builder": "^1.0.2",
|
|
70
|
-
"@nuxt/schema": "^4.2.
|
|
70
|
+
"@nuxt/schema": "^4.2.2",
|
|
71
71
|
"@nuxt/test-utils": "3.21.0",
|
|
72
72
|
"@playwright/test": "^1.57.0",
|
|
73
73
|
"@snaplet/copycat": "^6.0.0",
|
|
74
74
|
"@snaplet/seed": "^0.98.0",
|
|
75
75
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
76
|
-
"@types/node": "^24.10.
|
|
77
|
-
"@vitest/coverage-v8": "4.0.
|
|
76
|
+
"@types/node": "^24.10.4",
|
|
77
|
+
"@vitest/coverage-v8": "4.0.16",
|
|
78
78
|
"@vue/test-utils": "^2.4.6",
|
|
79
79
|
"changelogen": "^0.6.2",
|
|
80
|
-
"eslint": "^9.39.
|
|
80
|
+
"eslint": "^9.39.2",
|
|
81
81
|
"eslint-config-prettier": "^10.1.8",
|
|
82
82
|
"happy-dom": "^20.0.11",
|
|
83
|
-
"nuxt": "^4.2.
|
|
83
|
+
"nuxt": "^4.2.2",
|
|
84
84
|
"playwright-core": "^1.57.0",
|
|
85
85
|
"postgres": "^3.4.7",
|
|
86
86
|
"prettier": "^3.7.4",
|
|
87
|
-
"release-it": "^19.0
|
|
88
|
-
"supabase": "^2.
|
|
87
|
+
"release-it": "^19.1.0",
|
|
88
|
+
"supabase": "^2.67.2",
|
|
89
89
|
"typescript": "5.9.3",
|
|
90
|
-
"vitest": "^4.0.
|
|
91
|
-
"vue-tsc": "^3.1.
|
|
90
|
+
"vitest": "^4.0.16",
|
|
91
|
+
"vue-tsc": "^3.1.8"
|
|
92
92
|
},
|
|
93
93
|
"pnpm": {
|
|
94
94
|
"onlyBuiltDependencies": [
|