forked from tailscale/golink
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to convex 1.3.1 and add format param to api calls (#2)
- Loading branch information
1 parent
35783ca
commit 422634e
Showing
21 changed files
with
809 additions
and
1,094 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
{ | ||
"project": "golink", | ||
"team": "convex", | ||
"prodUrl": "https://merry-grouse-70.convex.cloud", | ||
"functions": "src/convex/", | ||
"authInfo": [] | ||
"functions": "src/convex/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,6 @@ | |
"typescript": "^4.9.5" | ||
}, | ||
"dependencies": { | ||
"convex": "^0.9.1" | ||
"convex": "^1.3.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,43 @@ | ||
/* eslint-disable */ | ||
/** | ||
* Generated API. | ||
* Generated `api` utility. | ||
* | ||
* THIS CODE IS AUTOMATICALLY GENERATED. | ||
* | ||
* Generated by convex@0.9.1. | ||
* To regenerate, run `npx convex codegen`. | ||
* Generated by convex@1.3.1. | ||
* To regenerate, run `npx convex dev`. | ||
* @module | ||
*/ | ||
|
||
import type { ApiFromModules } from "convex/api"; | ||
import type { | ||
ApiFromModules, | ||
FilterApi, | ||
FunctionReference, | ||
} from "convex/server"; | ||
import type * as clear from "../clear"; | ||
import type * as load from "../load"; | ||
import type * as stats from "../stats"; | ||
import type * as store from "../store"; | ||
|
||
/** | ||
* A type describing your app's public Convex API. | ||
* A utility for referencing Convex functions in your app's API. | ||
* | ||
* This `API` type includes information about the arguments and return | ||
* types of your app's query and mutation functions. | ||
* | ||
* This type should be used with type-parameterized classes like | ||
* `ConvexReactClient` to create app-specific types. | ||
* Usage: | ||
* ```js | ||
* const myFunctionReference = api.myModule.myFunction; | ||
* ``` | ||
*/ | ||
export type API = ApiFromModules<{ | ||
declare const fullApi: ApiFromModules<{ | ||
clear: typeof clear; | ||
load: typeof load; | ||
stats: typeof stats; | ||
store: typeof store; | ||
}>; | ||
export declare const api: FilterApi< | ||
typeof fullApi, | ||
FunctionReference<any, "public"> | ||
>; | ||
export declare const internal: FilterApi< | ||
typeof fullApi, | ||
FunctionReference<any, "internal"> | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* eslint-disable */ | ||
/** | ||
* Generated `api` utility. | ||
* | ||
* THIS CODE IS AUTOMATICALLY GENERATED. | ||
* | ||
* Generated by [email protected]. | ||
* To regenerate, run `npx convex dev`. | ||
* @module | ||
*/ | ||
|
||
import { anyApi } from "convex/server"; | ||
|
||
/** | ||
* A utility for referencing Convex functions in your app's API. | ||
* | ||
* Usage: | ||
* ```js | ||
* const myFunctionReference = api.myModule.myFunction; | ||
* ``` | ||
*/ | ||
export const api = anyApi; | ||
export const internal = anyApi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.