Skip to content

feat: credit system (and refactor: migrate to toasty) - #22

Merged
michaelmattig merged 20 commits into
mainfrom
feat/credits
Aug 19, 2026
Merged

feat: credit system (and refactor: migrate to toasty)#22
michaelmattig merged 20 commits into
mainfrom
feat/credits

Conversation

@ChristianBeilschmidt

@ChristianBeilschmidt ChristianBeilschmidt commented Aug 7, 2026

Copy link
Copy Markdown
Member

Database for migrations needs table

CREATE TABLE IF NOT EXISTS __toasty_migrations (
    id BIGINT PRIMARY KEY,
    name TEXT NOT NULL,
    applied_at TIMESTAMP NOT NULL
)

and data

INSERT INTO __toasty_migrations (id, name, applied_at) VALUES (540260129757782932, 0000_initial.sql, NOW())

Comment thread api-client/typescript/models/CreditsForJob.ts Dismissed
Comment thread api-client/typescript/models/GetCreditsResponse.ts Dismissed
Comment thread api-client/typescript/types/ObservableAPI.ts Dismissed
Comment thread api-client/typescript/types/ObjectParamAPI.ts Dismissed
Comment thread api-client/typescript/types/PromiseAPI.ts Dismissed
@ChristianBeilschmidt
ChristianBeilschmidt marked this pull request as ready for review August 13, 2026 07:08
@ChristianBeilschmidt ChristianBeilschmidt changed the title refactor: migrate to toasty feat: credit system (and refactor: migrate to toasty) Aug 13, 2026
@coveralls

coveralls commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

Coverage is 86.28%feat/credits into main. No base build found for main.

Comment thread backend/database/migrations/0001_migration.sql Outdated
Comment thread backend/examples/query-geo-engine.rs
Comment thread backend/Cargo.toml Outdated
Comment thread backend/src/credits/handler.rs
Comment thread backend/src/credits/handler.rs
Comment thread backend/src/credits/handler.rs
Comment thread backend/src/credits/handler.rs
Comment thread backend/src/credits/queue.rs Outdated
Comment thread backend/src/credits/queue.rs Outdated
Comment thread backend/src/credits/queue.rs
Comment thread backend/src/credits/queue.rs Outdated
Comment thread backend/src/credits/queue.rs Outdated
Comment thread backend/src/credits/queue.rs Outdated
Comment thread backend/database/migrations/0001_migration.sql Outdated
Comment thread backend/src/processes/habitat_distance.rs
Comment thread backend/src/credits/queue.rs Outdated
Comment thread backend/src/credits/queue.rs Outdated
@michaelmattig
michaelmattig added this pull request to the merge queue Aug 19, 2026
Merged via the queue into main with commit 1e7dcf7 Aug 19, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants