-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathapi.d.ts
More file actions
73 lines (67 loc) · 2.01 KB
/
Copy pathapi.d.ts
File metadata and controls
73 lines (67 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/* eslint-disable */
/**
* Generated `api` utility.
*
* THIS CODE IS AUTOMATICALLY GENERATED.
*
* To regenerate, run `npx convex dev`.
* @module
*/
import type * as admin from "../admin.js";
import type * as catchError from "../catchError.js";
import type * as e2e from "../e2e.js";
import type * as example from "../example.js";
import type * as inlineTest from "../inlineTest.js";
import type * as nestedWorkflow from "../nestedWorkflow.js";
import type * as oversized from "../oversized.js";
import type * as passingSignals from "../passingSignals.js";
import type * as test_contextRoundtrip from "../test/contextRoundtrip.js";
import type * as test_oldSyntax from "../test/oldSyntax.js";
import type * as transcription from "../transcription.js";
import type * as userConfirmation from "../userConfirmation.js";
import type {
ApiFromModules,
FilterApi,
FunctionReference,
} from "convex/server";
declare const fullApi: ApiFromModules<{
admin: typeof admin;
catchError: typeof catchError;
e2e: typeof e2e;
example: typeof example;
inlineTest: typeof inlineTest;
nestedWorkflow: typeof nestedWorkflow;
oversized: typeof oversized;
passingSignals: typeof passingSignals;
"test/contextRoundtrip": typeof test_contextRoundtrip;
"test/oldSyntax": typeof test_oldSyntax;
transcription: typeof transcription;
userConfirmation: typeof userConfirmation;
}>;
/**
* A utility for referencing Convex functions in your app's public API.
*
* Usage:
* ```js
* const myFunctionReference = api.myModule.myFunction;
* ```
*/
export declare const api: FilterApi<
typeof fullApi,
FunctionReference<any, "public">
>;
/**
* A utility for referencing Convex functions in your app's internal API.
*
* Usage:
* ```js
* const myFunctionReference = internal.myModule.myFunction;
* ```
*/
export declare const internal: FilterApi<
typeof fullApi,
FunctionReference<any, "internal">
>;
export declare const components: {
workflow: import("@convex-dev/workflow/_generated/component.js").ComponentApi<"workflow">;
};