forked from get-convex/convex-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.d.ts
206 lines (204 loc) · 10.4 KB
/
api.d.ts
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
/* eslint-disable */
/**
* Generated `api` utility.
*
* THIS CODE IS AUTOMATICALLY GENERATED.
*
* To regenerate, run `npx convex dev`.
* @module
*/
import type {
ApiFromModules,
FilterApi,
FunctionReference,
} from "convex/server";
import type * as actionsArgsWithValidation from "../actionsArgsWithValidation.js";
import type * as actionsCircularError from "../actionsCircularError.js";
import type * as actionsCircularErrorFixedResults from "../actionsCircularErrorFixedResults.js";
import type * as actionsCircularErrorFixedReturn from "../actionsCircularErrorFixedReturn.js";
import type * as actionsConstructor from "../actionsConstructor.js";
import type * as actionsContext from "../actionsContext.js";
import type * as actionsContextRunMutation from "../actionsContextRunMutation.js";
import type * as actionsNPM from "../actionsNPM.js";
import type * as actionsNode from "../actionsNode.js";
import type * as actionsScheduleFromMutation from "../actionsScheduleFromMutation.js";
import type * as applicationErrors from "../applicationErrors.js";
import type * as authFunctions from "../authFunctions.js";
import type * as authFunctionsFields from "../authFunctionsFields.js";
import type * as authFunctionsFieldsJS from "../authFunctionsFieldsJS.js";
import type * as bestPractices_helperFunctions from "../bestPractices/helperFunctions.js";
import type * as bestPractices_index from "../bestPractices/index.js";
import type * as bestPracticesHelpersTeams from "../bestPracticesHelpersTeams.js";
import type * as bestPracticesHelpersTeamsJS from "../bestPracticesHelpersTeamsJS.js";
import type * as clerkMessages from "../clerkMessages.js";
import type * as counter from "../counter.js";
import type * as crons from "../crons.js";
import type * as deletingFiles from "../deletingFiles.js";
import type * as fileMetadata from "../fileMetadata.js";
import type * as foods from "../foods.js";
import type * as functions from "../functions.js";
import type * as goClientExample from "../goClientExample.js";
import type * as httpActionConstructor from "../httpActionConstructor.js";
import type * as httpActionExample from "../httpActionExample.js";
import type * as images from "../images.js";
import type * as imagesJS from "../imagesJS.js";
import type * as imagesMetadata from "../imagesMetadata.js";
import type * as internalFunctionsCall from "../internalFunctionsCall.js";
import type * as internalFunctionsDefinitionWithoutValidation from "../internalFunctionsDefinitionWithoutValidation.js";
import type * as internalFunctionsDefinitionWithoutValidationJS from "../internalFunctionsDefinitionWithoutValidationJS.js";
import type * as messages from "../messages.js";
import type * as mutationsArgsWithValidation from "../mutationsArgsWithValidation.js";
import type * as mutationsArgsWithoutValidation from "../mutationsArgsWithoutValidation.js";
import type * as mutationsArgsWithoutValidationJS from "../mutationsArgsWithoutValidationJS.js";
import type * as mutationsConstructor from "../mutationsConstructor.js";
import type * as mutationsContext from "../mutationsContext.js";
import type * as mutationsContextDB from "../mutationsContextDB.js";
import type * as mutationsExample from "../mutationsExample.js";
import type * as mutationsHelper from "../mutationsHelper.js";
import type * as mutationsHelperJS from "../mutationsHelperJS.js";
import type * as mutationsNPM from "../mutationsNPM.js";
import type * as myFunctions from "../myFunctions.js";
import type * as myMutations from "../myMutations.js";
import type * as payments from "../payments.js";
import type * as plans from "../plans.js";
import type * as queriesArgsWithValidation from "../queriesArgsWithValidation.js";
import type * as queriesArgsWithoutValidation from "../queriesArgsWithoutValidation.js";
import type * as queriesArgsWithoutValidationJS from "../queriesArgsWithoutValidationJS.js";
import type * as queriesConstructor from "../queriesConstructor.js";
import type * as queriesContext from "../queriesContext.js";
import type * as queriesContextDB from "../queriesContextDB.js";
import type * as queriesExample from "../queriesExample.js";
import type * as queriesHelper from "../queriesHelper.js";
import type * as queriesHelperJS from "../queriesHelperJS.js";
import type * as queriesNPM from "../queriesNPM.js";
import type * as readingDataAverage from "../readingDataAverage.js";
import type * as readingDataDbGet from "../readingDataDbGet.js";
import type * as readingDataDbQuery from "../readingDataDbQuery.js";
import type * as readingDataGroupByJS from "../readingDataGroupByJS.js";
import type * as readingDataGroupByTS from "../readingDataGroupByTS.js";
import type * as readingDataJoin from "../readingDataJoin.js";
import type * as schemasCircular from "../schemasCircular.js";
import type * as tasks from "../tasks.js";
import type * as tour2Messages from "../tour2Messages.js";
import type * as tour2Schema from "../tour2Schema.js";
import type * as tour3Messages from "../tour3Messages.js";
import type * as tour3ai from "../tour3ai.js";
import type * as tsGeneration from "../tsGeneration.js";
import type * as typescriptContextTypes from "../typescriptContextTypes.js";
import type * as typescriptSystemFieldsTypes from "../typescriptSystemFieldsTypes.js";
import type * as typescriptValidatorTypes from "../typescriptValidatorTypes.js";
import type * as typescriptWithSchema from "../typescriptWithSchema.js";
import type * as typescriptWithValidation from "../typescriptWithValidation.js";
import type * as typescriptWithoutValidation from "../typescriptWithoutValidation.js";
import type * as userHelpers from "../userHelpers.js";
import type * as userHelpersJS from "../userHelpersJS.js";
import type * as vectorSearch from "../vectorSearch.js";
import type * as vectorSearch2 from "../vectorSearch2.js";
import type * as writingDataDelete from "../writingDataDelete.js";
import type * as writingDataInsert from "../writingDataInsert.js";
import type * as writingDataPatch from "../writingDataPatch.js";
import type * as writingDataReplace from "../writingDataReplace.js";
/**
* A utility for referencing Convex functions in your app's API.
*
* Usage:
* ```js
* const myFunctionReference = api.myModule.myFunction;
* ```
*/
declare const fullApi: ApiFromModules<{
actionsArgsWithValidation: typeof actionsArgsWithValidation;
actionsCircularError: typeof actionsCircularError;
actionsCircularErrorFixedResults: typeof actionsCircularErrorFixedResults;
actionsCircularErrorFixedReturn: typeof actionsCircularErrorFixedReturn;
actionsConstructor: typeof actionsConstructor;
actionsContext: typeof actionsContext;
actionsContextRunMutation: typeof actionsContextRunMutation;
actionsNPM: typeof actionsNPM;
actionsNode: typeof actionsNode;
actionsScheduleFromMutation: typeof actionsScheduleFromMutation;
applicationErrors: typeof applicationErrors;
authFunctions: typeof authFunctions;
authFunctionsFields: typeof authFunctionsFields;
authFunctionsFieldsJS: typeof authFunctionsFieldsJS;
"bestPractices/helperFunctions": typeof bestPractices_helperFunctions;
"bestPractices/index": typeof bestPractices_index;
bestPracticesHelpersTeams: typeof bestPracticesHelpersTeams;
bestPracticesHelpersTeamsJS: typeof bestPracticesHelpersTeamsJS;
clerkMessages: typeof clerkMessages;
counter: typeof counter;
crons: typeof crons;
deletingFiles: typeof deletingFiles;
fileMetadata: typeof fileMetadata;
foods: typeof foods;
functions: typeof functions;
goClientExample: typeof goClientExample;
httpActionConstructor: typeof httpActionConstructor;
httpActionExample: typeof httpActionExample;
images: typeof images;
imagesJS: typeof imagesJS;
imagesMetadata: typeof imagesMetadata;
internalFunctionsCall: typeof internalFunctionsCall;
internalFunctionsDefinitionWithoutValidation: typeof internalFunctionsDefinitionWithoutValidation;
internalFunctionsDefinitionWithoutValidationJS: typeof internalFunctionsDefinitionWithoutValidationJS;
messages: typeof messages;
mutationsArgsWithValidation: typeof mutationsArgsWithValidation;
mutationsArgsWithoutValidation: typeof mutationsArgsWithoutValidation;
mutationsArgsWithoutValidationJS: typeof mutationsArgsWithoutValidationJS;
mutationsConstructor: typeof mutationsConstructor;
mutationsContext: typeof mutationsContext;
mutationsContextDB: typeof mutationsContextDB;
mutationsExample: typeof mutationsExample;
mutationsHelper: typeof mutationsHelper;
mutationsHelperJS: typeof mutationsHelperJS;
mutationsNPM: typeof mutationsNPM;
myFunctions: typeof myFunctions;
myMutations: typeof myMutations;
payments: typeof payments;
plans: typeof plans;
queriesArgsWithValidation: typeof queriesArgsWithValidation;
queriesArgsWithoutValidation: typeof queriesArgsWithoutValidation;
queriesArgsWithoutValidationJS: typeof queriesArgsWithoutValidationJS;
queriesConstructor: typeof queriesConstructor;
queriesContext: typeof queriesContext;
queriesContextDB: typeof queriesContextDB;
queriesExample: typeof queriesExample;
queriesHelper: typeof queriesHelper;
queriesHelperJS: typeof queriesHelperJS;
queriesNPM: typeof queriesNPM;
readingDataAverage: typeof readingDataAverage;
readingDataDbGet: typeof readingDataDbGet;
readingDataDbQuery: typeof readingDataDbQuery;
readingDataGroupByJS: typeof readingDataGroupByJS;
readingDataGroupByTS: typeof readingDataGroupByTS;
readingDataJoin: typeof readingDataJoin;
schemasCircular: typeof schemasCircular;
tasks: typeof tasks;
tour2Messages: typeof tour2Messages;
tour2Schema: typeof tour2Schema;
tour3Messages: typeof tour3Messages;
tour3ai: typeof tour3ai;
tsGeneration: typeof tsGeneration;
typescriptContextTypes: typeof typescriptContextTypes;
typescriptSystemFieldsTypes: typeof typescriptSystemFieldsTypes;
typescriptValidatorTypes: typeof typescriptValidatorTypes;
typescriptWithSchema: typeof typescriptWithSchema;
typescriptWithValidation: typeof typescriptWithValidation;
typescriptWithoutValidation: typeof typescriptWithoutValidation;
userHelpers: typeof userHelpers;
userHelpersJS: typeof userHelpersJS;
vectorSearch: typeof vectorSearch;
vectorSearch2: typeof vectorSearch2;
writingDataDelete: typeof writingDataDelete;
writingDataInsert: typeof writingDataInsert;
writingDataPatch: typeof writingDataPatch;
writingDataReplace: typeof writingDataReplace;
}>;
export declare const api: FilterApi<
typeof fullApi,
FunctionReference<any, "public">
>;
export declare const internal: FilterApi<
typeof fullApi,
FunctionReference<any, "internal">
>;