Skip to content

Commit e0e9480

Browse files
committed
chore(convex): sync generated types before convex-main backup
1 parent aa5b9de commit e0e9480

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

packages/convex/convex/_generated/api.d.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ import type * as serverSettings from "../serverSettings.js";
2121
import type * as snapshotLists from "../snapshotLists.js";
2222
import type * as stores from "../stores.js";
2323

24-
import type { ApiFromModules, FilterApi, FunctionReference } from "convex/server";
24+
import type {
25+
ApiFromModules,
26+
FilterApi,
27+
FunctionReference,
28+
} from "convex/server";
2529

2630
declare const fullApi: ApiFromModules<{
2731
attachmentStores: typeof attachmentStores;
@@ -46,7 +50,10 @@ declare const fullApi: ApiFromModules<{
4650
* const myFunctionReference = api.myModule.myFunction;
4751
* ```
4852
*/
49-
export declare const api: FilterApi<typeof fullApi, FunctionReference<any, "public">>;
53+
export declare const api: FilterApi<
54+
typeof fullApi,
55+
FunctionReference<any, "public">
56+
>;
5057

5158
/**
5259
* A utility for referencing Convex functions in your app's internal API.
@@ -56,6 +63,9 @@ export declare const api: FilterApi<typeof fullApi, FunctionReference<any, "publ
5663
* const myFunctionReference = internal.myModule.myFunction;
5764
* ```
5865
*/
59-
export declare const internal: FilterApi<typeof fullApi, FunctionReference<any, "internal">>;
66+
export declare const internal: FilterApi<
67+
typeof fullApi,
68+
FunctionReference<any, "internal">
69+
>;
6070

6171
export declare const components: {};

packages/convex/convex/_generated/dataModel.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ export type TableNames = TableNamesInDataModel<DataModel>;
2727
*
2828
* @typeParam TableName - A string literal type of the table name (like "users").
2929
*/
30-
export type Doc<TableName extends TableNames> = DocumentByName<DataModel, TableName>;
30+
export type Doc<TableName extends TableNames> = DocumentByName<
31+
DataModel,
32+
TableName
33+
>;
3134

3235
/**
3336
* An identifier for a document in Convex.
@@ -42,7 +45,8 @@ export type Doc<TableName extends TableNames> = DocumentByName<DataModel, TableN
4245
*
4346
* @typeParam TableName - A string literal type of the table name (like "users").
4447
*/
45-
export type Id<TableName extends TableNames | SystemTableNames> = GenericId<TableName>;
48+
export type Id<TableName extends TableNames | SystemTableNames> =
49+
GenericId<TableName>;
4650

4751
/**
4852
* A type describing your Convex data model.

0 commit comments

Comments
 (0)