@mastra/upstash 0.14.5 → 0.14.6-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/package.json +18 -5
- package/.turbo/turbo-build.log +0 -4
- package/PAGINATION.md +0 -397
- package/docker-compose.yaml +0 -15
- package/eslint.config.js +0 -6
- package/src/index.ts +0 -3
- package/src/storage/domains/legacy-evals/index.ts +0 -279
- package/src/storage/domains/memory/index.ts +0 -1039
- package/src/storage/domains/operations/index.ts +0 -168
- package/src/storage/domains/scores/index.ts +0 -231
- package/src/storage/domains/traces/index.ts +0 -172
- package/src/storage/domains/utils.ts +0 -65
- package/src/storage/domains/workflows/index.ts +0 -280
- package/src/storage/index.test.ts +0 -13
- package/src/storage/index.ts +0 -404
- package/src/vector/filter.test.ts +0 -558
- package/src/vector/filter.ts +0 -260
- package/src/vector/hybrid.test.ts +0 -1455
- package/src/vector/index.test.ts +0 -1205
- package/src/vector/index.ts +0 -291
- package/src/vector/prompt.ts +0 -77
- package/src/vector/types.ts +0 -26
- package/tsconfig.build.json +0 -9
- package/tsconfig.json +0 -5
- package/tsup.config.ts +0 -17
- package/vitest.config.ts +0 -11
package/src/vector/index.ts
DELETED
|
@@ -1,291 +0,0 @@
|
|
|
1
|
-
import { randomUUID } from 'node:crypto';
|
|
2
|
-
import { MastraError, ErrorDomain, ErrorCategory } from '@mastra/core/error';
|
|
3
|
-
import { MastraVector } from '@mastra/core/vector';
|
|
4
|
-
import type {
|
|
5
|
-
CreateIndexParams,
|
|
6
|
-
DeleteIndexParams,
|
|
7
|
-
DeleteVectorParams,
|
|
8
|
-
DescribeIndexParams,
|
|
9
|
-
IndexStats,
|
|
10
|
-
QueryResult,
|
|
11
|
-
} from '@mastra/core/vector';
|
|
12
|
-
import { Index } from '@upstash/vector';
|
|
13
|
-
|
|
14
|
-
import { UpstashFilterTranslator } from './filter';
|
|
15
|
-
import type { UpstashVectorFilter } from './filter';
|
|
16
|
-
import type { UpstashUpsertVectorParams, UpstashQueryVectorParams, UpstashUpdateVectorParams } from './types';
|
|
17
|
-
|
|
18
|
-
export class UpstashVector extends MastraVector<UpstashVectorFilter> {
|
|
19
|
-
private client: Index;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Creates a new UpstashVector instance.
|
|
23
|
-
* @param {object} params - The parameters for the UpstashVector.
|
|
24
|
-
* @param {string} params.url - The URL of the Upstash vector index.
|
|
25
|
-
* @param {string} params.token - The token for the Upstash vector index.
|
|
26
|
-
*/
|
|
27
|
-
constructor({ url, token }: { url: string; token: string }) {
|
|
28
|
-
super();
|
|
29
|
-
this.client = new Index({
|
|
30
|
-
url,
|
|
31
|
-
token,
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Upserts vectors into the index.
|
|
37
|
-
* @param {UpsertVectorParams} params - The parameters for the upsert operation.
|
|
38
|
-
* @returns {Promise<string[]>} A promise that resolves to the IDs of the upserted vectors.
|
|
39
|
-
*/
|
|
40
|
-
async upsert({
|
|
41
|
-
indexName: namespace,
|
|
42
|
-
vectors,
|
|
43
|
-
metadata,
|
|
44
|
-
ids,
|
|
45
|
-
sparseVectors,
|
|
46
|
-
}: UpstashUpsertVectorParams): Promise<string[]> {
|
|
47
|
-
const generatedIds = ids || vectors.map(() => randomUUID());
|
|
48
|
-
|
|
49
|
-
const points = vectors.map((vector, index) => ({
|
|
50
|
-
id: generatedIds[index]!,
|
|
51
|
-
vector,
|
|
52
|
-
...(sparseVectors?.[index] && { sparseVector: sparseVectors[index] }),
|
|
53
|
-
metadata: metadata?.[index],
|
|
54
|
-
}));
|
|
55
|
-
|
|
56
|
-
try {
|
|
57
|
-
await this.client.upsert(points, {
|
|
58
|
-
namespace,
|
|
59
|
-
});
|
|
60
|
-
return generatedIds;
|
|
61
|
-
} catch (error) {
|
|
62
|
-
throw new MastraError(
|
|
63
|
-
{
|
|
64
|
-
id: 'STORAGE_UPSTASH_VECTOR_UPSERT_FAILED',
|
|
65
|
-
domain: ErrorDomain.STORAGE,
|
|
66
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
67
|
-
details: { namespace, vectorCount: vectors.length },
|
|
68
|
-
},
|
|
69
|
-
error,
|
|
70
|
-
);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Transforms a Mastra vector filter into an Upstash-compatible filter string.
|
|
76
|
-
* @param {UpstashVectorFilter} [filter] - The filter to transform.
|
|
77
|
-
* @returns {string | undefined} The transformed filter string, or undefined if no filter is provided.
|
|
78
|
-
*/
|
|
79
|
-
transformFilter(filter?: UpstashVectorFilter) {
|
|
80
|
-
const translator = new UpstashFilterTranslator();
|
|
81
|
-
return translator.translate(filter);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Creates a new index. For Upstash, this is a no-op as indexes (known as namespaces in Upstash) are created on-the-fly.
|
|
86
|
-
* @param {CreateIndexParams} _params - The parameters for creating the index (ignored).
|
|
87
|
-
* @returns {Promise<void>} A promise that resolves when the operation is complete.
|
|
88
|
-
*/
|
|
89
|
-
async createIndex(_params: CreateIndexParams): Promise<void> {
|
|
90
|
-
this.logger.debug('No need to call createIndex for Upstash');
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Queries the vector index.
|
|
95
|
-
* @param {QueryVectorParams} params - The parameters for the query operation. indexName is the namespace in Upstash.
|
|
96
|
-
* @returns {Promise<QueryResult[]>} A promise that resolves to the query results.
|
|
97
|
-
*/
|
|
98
|
-
async query({
|
|
99
|
-
indexName: namespace,
|
|
100
|
-
queryVector,
|
|
101
|
-
topK = 10,
|
|
102
|
-
filter,
|
|
103
|
-
includeVector = false,
|
|
104
|
-
sparseVector,
|
|
105
|
-
fusionAlgorithm,
|
|
106
|
-
queryMode,
|
|
107
|
-
}: UpstashQueryVectorParams): Promise<QueryResult[]> {
|
|
108
|
-
try {
|
|
109
|
-
const ns = this.client.namespace(namespace);
|
|
110
|
-
|
|
111
|
-
const filterString = this.transformFilter(filter);
|
|
112
|
-
const results = await ns.query({
|
|
113
|
-
topK,
|
|
114
|
-
vector: queryVector,
|
|
115
|
-
...(sparseVector && { sparseVector }),
|
|
116
|
-
includeVectors: includeVector,
|
|
117
|
-
includeMetadata: true,
|
|
118
|
-
...(filterString ? { filter: filterString } : {}),
|
|
119
|
-
...(fusionAlgorithm && { fusionAlgorithm }),
|
|
120
|
-
...(queryMode && { queryMode }),
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
// Map the results to our expected format
|
|
124
|
-
return (results || []).map(result => ({
|
|
125
|
-
id: `${result.id}`,
|
|
126
|
-
score: result.score,
|
|
127
|
-
metadata: result.metadata,
|
|
128
|
-
...(includeVector && { vector: result.vector || [] }),
|
|
129
|
-
}));
|
|
130
|
-
} catch (error) {
|
|
131
|
-
throw new MastraError(
|
|
132
|
-
{
|
|
133
|
-
id: 'STORAGE_UPSTASH_VECTOR_QUERY_FAILED',
|
|
134
|
-
domain: ErrorDomain.STORAGE,
|
|
135
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
136
|
-
details: { namespace, topK },
|
|
137
|
-
},
|
|
138
|
-
error,
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Lists all namespaces in the Upstash vector index, which correspond to indexes.
|
|
145
|
-
* @returns {Promise<string[]>} A promise that resolves to a list of index names.
|
|
146
|
-
*/
|
|
147
|
-
async listIndexes(): Promise<string[]> {
|
|
148
|
-
try {
|
|
149
|
-
const indexes = await this.client.listNamespaces();
|
|
150
|
-
return indexes.filter(Boolean);
|
|
151
|
-
} catch (error) {
|
|
152
|
-
throw new MastraError(
|
|
153
|
-
{
|
|
154
|
-
id: 'STORAGE_UPSTASH_VECTOR_LIST_INDEXES_FAILED',
|
|
155
|
-
domain: ErrorDomain.STORAGE,
|
|
156
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
157
|
-
},
|
|
158
|
-
error,
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Retrieves statistics about a vector index.
|
|
165
|
-
*
|
|
166
|
-
* @param {string} indexName - The name of the namespace to describe
|
|
167
|
-
* @returns A promise that resolves to the index statistics including dimension, count and metric
|
|
168
|
-
*/
|
|
169
|
-
async describeIndex({ indexName: namespace }: DescribeIndexParams): Promise<IndexStats> {
|
|
170
|
-
try {
|
|
171
|
-
const info = await this.client.info();
|
|
172
|
-
|
|
173
|
-
return {
|
|
174
|
-
dimension: info.dimension,
|
|
175
|
-
count: info.namespaces?.[namespace]?.vectorCount || 0,
|
|
176
|
-
metric: info?.similarityFunction?.toLowerCase() as 'cosine' | 'euclidean' | 'dotproduct',
|
|
177
|
-
};
|
|
178
|
-
} catch (error) {
|
|
179
|
-
throw new MastraError(
|
|
180
|
-
{
|
|
181
|
-
id: 'STORAGE_UPSTASH_VECTOR_DESCRIBE_INDEX_FAILED',
|
|
182
|
-
domain: ErrorDomain.STORAGE,
|
|
183
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
184
|
-
details: { namespace },
|
|
185
|
-
},
|
|
186
|
-
error,
|
|
187
|
-
);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Deletes an index (namespace).
|
|
193
|
-
* @param {DeleteIndexParams} params - The parameters for the delete operation.
|
|
194
|
-
* @returns {Promise<void>} A promise that resolves when the deletion is complete.
|
|
195
|
-
*/
|
|
196
|
-
async deleteIndex({ indexName: namespace }: DeleteIndexParams): Promise<void> {
|
|
197
|
-
try {
|
|
198
|
-
await this.client.deleteNamespace(namespace);
|
|
199
|
-
} catch (error) {
|
|
200
|
-
throw new MastraError(
|
|
201
|
-
{
|
|
202
|
-
id: 'STORAGE_UPSTASH_VECTOR_DELETE_INDEX_FAILED',
|
|
203
|
-
domain: ErrorDomain.STORAGE,
|
|
204
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
205
|
-
details: { namespace },
|
|
206
|
-
},
|
|
207
|
-
error,
|
|
208
|
-
);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Updates a vector by its ID with the provided vector and/or metadata.
|
|
214
|
-
* @param indexName - The name of the namespace containing the vector.
|
|
215
|
-
* @param id - The ID of the vector to update.
|
|
216
|
-
* @param update - An object containing the vector and/or metadata to update.
|
|
217
|
-
* @param update.vector - An optional array of numbers representing the new vector.
|
|
218
|
-
* @param update.metadata - An optional record containing the new metadata.
|
|
219
|
-
* @returns A promise that resolves when the update is complete.
|
|
220
|
-
* @throws Will throw an error if no updates are provided or if the update operation fails.
|
|
221
|
-
*/
|
|
222
|
-
async updateVector({ indexName: namespace, id, update }: UpstashUpdateVectorParams): Promise<void> {
|
|
223
|
-
if (!update.vector && !update.metadata && !update.sparseVector) {
|
|
224
|
-
throw new MastraError({
|
|
225
|
-
id: 'STORAGE_UPSTASH_VECTOR_UPDATE_VECTOR_FAILED',
|
|
226
|
-
domain: ErrorDomain.STORAGE,
|
|
227
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
228
|
-
details: { namespace, id },
|
|
229
|
-
text: 'No update data provided',
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
// The upstash client throws an exception as: 'This index requires dense/sparse vectors' when
|
|
234
|
-
// only metadata is present in the update object.
|
|
235
|
-
if (!update.vector && !update.sparseVector && update.metadata) {
|
|
236
|
-
throw new MastraError({
|
|
237
|
-
id: 'STORAGE_UPSTASH_VECTOR_UPDATE_VECTOR_FAILED',
|
|
238
|
-
domain: ErrorDomain.STORAGE,
|
|
239
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
240
|
-
details: { namespace, id },
|
|
241
|
-
text: 'Both vector and metadata must be provided for an update',
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
try {
|
|
246
|
-
const points: any = { id };
|
|
247
|
-
|
|
248
|
-
if (update.vector) points.vector = update.vector;
|
|
249
|
-
if (update.metadata) points.metadata = update.metadata;
|
|
250
|
-
if (update.sparseVector) points.sparseVector = update.sparseVector;
|
|
251
|
-
|
|
252
|
-
await this.client.upsert(points, { namespace });
|
|
253
|
-
} catch (error) {
|
|
254
|
-
throw new MastraError(
|
|
255
|
-
{
|
|
256
|
-
id: 'STORAGE_UPSTASH_VECTOR_UPDATE_VECTOR_FAILED',
|
|
257
|
-
domain: ErrorDomain.STORAGE,
|
|
258
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
259
|
-
details: { namespace, id },
|
|
260
|
-
},
|
|
261
|
-
error,
|
|
262
|
-
);
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Deletes a vector by its ID.
|
|
268
|
-
* @param indexName - The name of the namespace containing the vector.
|
|
269
|
-
* @param id - The ID of the vector to delete.
|
|
270
|
-
* @returns A promise that resolves when the deletion is complete.
|
|
271
|
-
* @throws Will throw an error if the deletion operation fails.
|
|
272
|
-
*/
|
|
273
|
-
async deleteVector({ indexName: namespace, id }: DeleteVectorParams): Promise<void> {
|
|
274
|
-
try {
|
|
275
|
-
await this.client.delete(id, {
|
|
276
|
-
namespace,
|
|
277
|
-
});
|
|
278
|
-
} catch (error) {
|
|
279
|
-
const mastraError = new MastraError(
|
|
280
|
-
{
|
|
281
|
-
id: 'STORAGE_UPSTASH_VECTOR_DELETE_VECTOR_FAILED',
|
|
282
|
-
domain: ErrorDomain.STORAGE,
|
|
283
|
-
category: ErrorCategory.THIRD_PARTY,
|
|
284
|
-
details: { namespace, id },
|
|
285
|
-
},
|
|
286
|
-
error,
|
|
287
|
-
);
|
|
288
|
-
this.logger?.error(mastraError.toString());
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
package/src/vector/prompt.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Vector store specific prompt that details supported operators and examples.
|
|
3
|
-
* This prompt helps users construct valid filters for Upstash Vector.
|
|
4
|
-
*/
|
|
5
|
-
export const UPSTASH_PROMPT = `When querying Upstash Vector, you can ONLY use the operators listed below. Any other operators will be rejected.
|
|
6
|
-
Important: Don't explain how to construct the filter - use the specified operators and fields to search the content and return relevant results.
|
|
7
|
-
If a user tries to give an explicit operator that is not supported, reject the filter entirely and let them know that the operator is not supported.
|
|
8
|
-
|
|
9
|
-
Basic Comparison Operators:
|
|
10
|
-
- $eq: Exact match (default when using field: value)
|
|
11
|
-
Example: { "category": "electronics" }
|
|
12
|
-
- $ne: Not equal
|
|
13
|
-
Example: { "category": { "$ne": "electronics" } }
|
|
14
|
-
- $gt: Greater than
|
|
15
|
-
Example: { "price": { "$gt": 100 } }
|
|
16
|
-
- $gte: Greater than or equal
|
|
17
|
-
Example: { "price": { "$gte": 100 } }
|
|
18
|
-
- $lt: Less than
|
|
19
|
-
Example: { "price": { "$lt": 100 } }
|
|
20
|
-
- $lte: Less than or equal
|
|
21
|
-
Example: { "price": { "$lte": 100 } }
|
|
22
|
-
|
|
23
|
-
Array Operators:
|
|
24
|
-
- $in: Match any value in array
|
|
25
|
-
Example: { "category": { "$in": ["electronics", "books"] } }
|
|
26
|
-
- $nin: Does not match any value in array
|
|
27
|
-
Example: { "category": { "$nin": ["electronics", "books"] } }
|
|
28
|
-
|
|
29
|
-
Logical Operators:
|
|
30
|
-
- $and: Logical AND (can be implicit or explicit)
|
|
31
|
-
Implicit Example: { "price": { "$gt": 100 }, "category": "electronics" }
|
|
32
|
-
Explicit Example: { "$and": [{ "price": { "$gt": 100 } }, { "category": "electronics" }] }
|
|
33
|
-
- $or: Logical OR
|
|
34
|
-
Example: { "$or": [{ "price": { "$lt": 50 } }, { "category": "books" }] }
|
|
35
|
-
|
|
36
|
-
Element Operators:
|
|
37
|
-
- $exists: Check if field exists
|
|
38
|
-
Example: { "rating": { "$exists": true } }
|
|
39
|
-
|
|
40
|
-
Restrictions:
|
|
41
|
-
- Regex patterns are not supported
|
|
42
|
-
- Only $and and $or logical operators are supported at the top level
|
|
43
|
-
- Empty arrays in $in/$nin will return no results
|
|
44
|
-
- Nested fields are supported using dot notation
|
|
45
|
-
- Multiple conditions on the same field are supported with both implicit and explicit $and
|
|
46
|
-
- At least one key-value pair is required in filter object
|
|
47
|
-
- Empty objects and undefined values are treated as no filter
|
|
48
|
-
- Invalid types in comparison operators will throw errors
|
|
49
|
-
- All non-logical operators must be used within a field condition
|
|
50
|
-
Valid: { "field": { "$gt": 100 } }
|
|
51
|
-
Valid: { "$and": [...] }
|
|
52
|
-
Invalid: { "$gt": 100 }
|
|
53
|
-
- Logical operators must contain field conditions, not direct operators
|
|
54
|
-
Valid: { "$and": [{ "field": { "$gt": 100 } }] }
|
|
55
|
-
Invalid: { "$and": [{ "$gt": 100 }] }
|
|
56
|
-
- Logical operators ($and, $or):
|
|
57
|
-
- Can only be used at top level or nested within other logical operators
|
|
58
|
-
- Can not be used on a field level, or be nested inside a field
|
|
59
|
-
- Can not be used inside an operator
|
|
60
|
-
- Valid: { "$and": [{ "field": { "$gt": 100 } }] }
|
|
61
|
-
- Valid: { "$or": [{ "$and": [{ "field": { "$gt": 100 } }] }] }
|
|
62
|
-
- Invalid: { "field": { "$and": [{ "$gt": 100 }] } }
|
|
63
|
-
- Invalid: { "field": { "$or": [{ "$gt": 100 }] } }
|
|
64
|
-
- Invalid: { "field": { "$gt": { "$and": [{...}] } } }
|
|
65
|
-
|
|
66
|
-
Example Complex Query:
|
|
67
|
-
{
|
|
68
|
-
"$and": [
|
|
69
|
-
{ "category": { "$in": ["electronics", "computers"] } },
|
|
70
|
-
{ "price": { "$gte": 100, "$lte": 1000 } },
|
|
71
|
-
{ "rating": { "$exists": true, "$gt": 4 } },
|
|
72
|
-
{ "$or": [
|
|
73
|
-
{ "stock": { "$gt": 0 } },
|
|
74
|
-
{ "preorder": true }
|
|
75
|
-
]}
|
|
76
|
-
]
|
|
77
|
-
}`;
|
package/src/vector/types.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { UpsertVectorParams, QueryVectorParams, UpdateVectorParams } from '@mastra/core/vector';
|
|
2
|
-
import type { FusionAlgorithm, QueryMode } from '@upstash/vector';
|
|
3
|
-
import type { UpstashVectorFilter } from './filter';
|
|
4
|
-
|
|
5
|
-
export interface UpstashSparseVector {
|
|
6
|
-
indices: number[];
|
|
7
|
-
values: number[];
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface UpstashUpsertVectorParams extends UpsertVectorParams {
|
|
11
|
-
sparseVectors?: UpstashSparseVector[];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface UpstashQueryVectorParams extends QueryVectorParams<UpstashVectorFilter> {
|
|
15
|
-
sparseVector?: UpstashSparseVector;
|
|
16
|
-
fusionAlgorithm?: FusionAlgorithm;
|
|
17
|
-
queryMode?: QueryMode;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface UpstashUpdateVectorParams extends UpdateVectorParams {
|
|
21
|
-
update: {
|
|
22
|
-
vector?: number[];
|
|
23
|
-
metadata?: Record<string, any>;
|
|
24
|
-
sparseVector?: UpstashSparseVector;
|
|
25
|
-
};
|
|
26
|
-
}
|
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
package/tsup.config.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { generateTypes } from '@internal/types-builder';
|
|
2
|
-
import { defineConfig } from 'tsup';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
entry: ['src/index.ts'],
|
|
6
|
-
format: ['esm', 'cjs'],
|
|
7
|
-
clean: true,
|
|
8
|
-
dts: false,
|
|
9
|
-
splitting: true,
|
|
10
|
-
treeshake: {
|
|
11
|
-
preset: 'smallest',
|
|
12
|
-
},
|
|
13
|
-
sourcemap: true,
|
|
14
|
-
onSuccess: async () => {
|
|
15
|
-
await generateTypes(process.cwd());
|
|
16
|
-
},
|
|
17
|
-
});
|