@freehour/supabase-core 1.3.0 → 1.5.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/README.md +4 -5
- package/dist/data-service.d.ts +65 -2944
- package/dist/data-service.d.ts.map +1 -1
- package/dist/database-service.d.ts +14 -68
- package/dist/database-service.d.ts.map +1 -1
- package/dist/database.d.ts +38 -41
- package/dist/database.d.ts.map +1 -1
- package/dist/generated/database.d.ts +642 -0
- package/dist/generated/database.d.ts.map +1 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +385 -389
- package/dist/postgrest.d.ts +159 -0
- package/dist/postgrest.d.ts.map +1 -0
- package/dist/storage.d.ts +2 -2
- package/dist/storage.d.ts.map +1 -1
- package/package.json +5 -4
- package/dist/data.d.ts +0 -53
- package/dist/data.d.ts.map +0 -1
- package/dist/postgrest-extensions.d.ts +0 -180
- package/dist/postgrest-extensions.d.ts.map +0 -1
- package/dist/relation.d.ts +0 -29
- package/dist/relation.d.ts.map +0 -1
- package/dist/select.d.ts +0 -26
- package/dist/select.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ bun pm trust @freehour/supabase-core
|
|
|
29
29
|
|
|
30
30
|
### Configuration
|
|
31
31
|
|
|
32
|
-
If you generate migrations from schemas, make sure to include the `supabase-core` schema in your `schema_paths` in `supabase/config.toml`.
|
|
32
|
+
If you generate migrations from schemas, make sure to include the `supabase-core` db schema in your `schema_paths` in `supabase/config.toml`.
|
|
33
33
|
|
|
34
34
|
```toml
|
|
35
35
|
schema_paths = ["./schemas/supabase-core/*.sql", /* your app schema paths */]
|
|
@@ -37,14 +37,13 @@ schema_paths = ["./schemas/supabase-core/*.sql", /* your app schema paths */]
|
|
|
37
37
|
|
|
38
38
|
### Building
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
If you chaged the database schema run the build script:
|
|
41
41
|
|
|
42
42
|
```bash
|
|
43
|
-
|
|
44
|
-
bunx supabase db diff -f 0000_supabase_core
|
|
43
|
+
./scripts/build.sh
|
|
45
44
|
```
|
|
46
45
|
|
|
47
|
-
|
|
46
|
+
otherwise, you can just build the package:
|
|
48
47
|
|
|
49
48
|
```bash
|
|
50
49
|
bun run build
|