Files
stream.api/buf.gen.yaml
lethdat dfd999e058 feat: add test database setup and usage helpers
- Introduced a new test file for setting up an in-memory SQLite database for testing purposes.
- Added helper functions for seeding test data, including users, plans, subscriptions, and wallet transactions.
- Implemented usage helpers to load user video counts and storage usage.
- Created user payload struct and functions to build user payloads with preferences and wallet balance.
- Refactored gRPC server setup to include new services and handlers.
- Updated proto files to simplify service definitions by removing redundant service prefixes.
2026-03-25 18:36:03 +07:00

20 lines
478 B
YAML

version: v2
plugins:
- remote: buf.build/protocolbuffers/go
out: internal/api/proto
opt:
- paths=source_relative
- remote: buf.build/grpc/go
out: internal/api/proto
opt:
- paths=source_relative
- remote: buf.build/community/stephenh-ts-proto
out: ../stream.ui/src/server/api/proto
opt:
- env=node
- esModuleInterop=true
- outputServices=grpc-js
- useOptionals=all
- forceLong=number
- useDate=string