File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 88 * @module
99 */
1010
11+ import type * as http from "../http.js" ;
1112import type * as stats from "../stats.js" ;
1213
1314import type {
@@ -24,6 +25,7 @@ import type {
2425 * ```
2526 */
2627declare const fullApi : ApiFromModules < {
28+ http : typeof http ;
2729 stats : typeof stats ;
2830} > ;
2931declare const fullApiWithMounts : typeof fullApi ;
Original file line number Diff line number Diff line change 1+ import { ossStats } from './stats'
2+ import { httpRouter } from 'convex/server'
3+
4+ const http = httpRouter ( )
5+
6+ ossStats . registerRoutes ( http )
7+
8+ export default http
Original file line number Diff line number Diff line change 11import { OssStats } from '@erquhart/convex-oss-stats'
22import { components } from './_generated/api'
33
4- const ossStats = new OssStats ( components . ossStats , {
4+ export const ossStats = new OssStats ( components . ossStats , {
55 githubOwners : [ 'tanstack' ] ,
66 npmOrgs : [ 'tanstack' ] ,
77} )
Original file line number Diff line number Diff line change 77 "type" : " module" ,
88 "scripts" : {
99 "dev" : " vinxi dev" ,
10- "dev:convex" : " convex dev" ,
10+ "dev:convex" : " convex dev --tail-logs " ,
1111 "build" : " vinxi build" ,
1212 "start" : " vinxi start" ,
1313 "lint" : " prettier --check '**/*' --ignore-unknown && eslint --ext .ts,.tsx ./app" ,
You can’t perform that action at this time.
0 commit comments