kunkun/packages/schema
Huakun 48e2e47f96
Some checks failed
CI / build-test (macos-14) (push) Has been cancelled
CI / build-test (ubuntu-24.04) (push) Has been cancelled
CI / build-test (windows-latest) (push) Has been cancelled
JSR Publish / publish (push) Has been cancelled
NPM Package Publish / publish-npm (push) Has been cancelled
Remove supabase (#263)
* remove supabase package

* upgrade valibot

* removed supabase package

Migration not complete yet

* update submodule

* fixed some supabase errors

* Add new fields to extension models

- Added `id` field to `ExtPublish`
- Expanded `DBExtension` with multiple new properties:
  - `api_version`, `author_id`, `created_at`,
  - `downloads`, `icon`, `identifier`,
  - `long_description`, `name`,
  - `readme`, `short_description`,
  - and `tarball_size`

* Refactor: clean up unused Supabase imports

- Removed commented-out Supabase imports from various files to streamline the codebase.
- Updated `created_at` type in `ExtPublish` model from `date` to `string` for consistency.

* update icon enum to union

* fix type errors after removing supabase

* format

* more types fixed

* feat: enhance command handling and update SDK version
2025-03-26 08:50:55 -04:00
..
__tests__ App Setup (#2) 2024-11-03 13:54:44 -05:00
scripts Remove supabase (#263) 2025-03-26 08:50:55 -04:00
src File Transfer (Local Network) (#34) 2024-12-11 08:14:40 -05:00
.gitignore App Setup (#2) 2024-11-03 13:54:44 -05:00
package.json Remove supabase (#263) 2025-03-26 08:50:55 -04:00
README.md App Setup (#2) 2024-11-03 13:54:44 -05:00
tsconfig.json App Setup (#2) 2024-11-03 13:54:44 -05:00

npx supabase gen types typescript --project-id "$PROJECT_REF" --schema public > supabase/types/supabase.ts

Add the following to .env:

SUPABASE_URL=
SUPABASE_SERVICE_ROLE_KEY=
S3_ENDPOINT=
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=