Feat v0.2.9 builtin retirement (#13)
Some checks failed
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Failing after 2m15s
CI/CD / test-sqlite (push) Successful in 2m36s
CI/CD / build-and-deploy (push) Has been skipped

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #13.
This commit is contained in:
2026-03-27 16:46:50 +00:00
committed by xcaliber
parent babfe66721
commit 8580e1d93e
21 changed files with 42 additions and 439 deletions

View File

@@ -12,8 +12,7 @@ type PackageStore interface {
// Seed upserts a package at startup. Does NOT overwrite the enabled
// flag if the row already exists (admin toggle survives restarts).
// Called by the page engine for core surfaces and by
// SeedBuiltinPackages() for builtin extensions.
// Called by the page engine for core surfaces.
Seed(ctx context.Context, id, title, source string, manifest map[string]any) error
// List returns all registered packages, ordered by source then title.
@@ -39,7 +38,7 @@ type PackageStore interface {
// ── Extended lifecycle ───────────────────────────────
// Create inserts a new package with all fields. Used by the install
// handler and by SeedBuiltinPackages() for first-time seeding.
// handler for .pkg uploads.
Create(ctx context.Context, pkg *PackageRegistration) error
// Update modifies mutable fields on an existing package.