| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| components | ||
| global | ||
| pageComponents | ||
| pages | ||
| service | ||
| types | ||
| web | ||
| env.ts | ||
| instrumentation-node.ts | ||
| instrumentation.ts |
The schema-detection aggregate in exportAll builds its $match from teamId (returned by authDataset as a string). find() casts the string to ObjectId, but aggregate() does not schema-cast $match values, so the aggregation matched zero documents. exportSchema became undefined, indexCount/hasMetadata fell back to 0/false, and the CSV header collapsed to q,a. Wrap teamId and dataset _ids in Types.ObjectId so the aggregate $match works. dataset _ids are already ObjectId from .lean(), so that wrap is defensive. Co-authored-by: Claude <noreply@anthropic.com>
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| components | Loading commit data... | |
| global | Loading commit data... | |
| pageComponents | Loading commit data... | |
| pages | Loading commit data... | |
| service | Loading commit data... | |
| types | Loading commit data... | |
| web | Loading commit data... | |
| env.ts | Loading commit data... | |
| instrumentation-node.ts | Loading commit data... | |
| instrumentation.ts | Loading commit data... |