NuxtJS type definition bugs

This commit is contained in:
SheetJS 2024-11-14 23:18:05 -05:00
parent bd7538cf73
commit 0e1bb0dd67
2 changed files with 17 additions and 5 deletions

@ -48,6 +48,7 @@ SheetJS users have verified this demo in other configurations:
| Platform | Architecture | Demo |
|:-------------------------------------------------------------|:-------------|:------------|
| NVIDIA L40 (48 GB VRAM) + i9-13900K (32 GB RAM) | `linux-x64` | LangChainJS |
| NVIDIA RTX 4070 Ti (12 GB VRAM) + Ryzen 7 5800x (64 GB RAM) | `win11-x64` | LangChainJS |
| NVIDIA RTX 4060 (8 GB VRAM) + Ryzen 7 5700g (32 GB RAM) | `win11-x64` | LangChainJS |
| NVIDIA RTX 3090 (24 GB VRAM) + Ryzen 9 3900XT (128 GB RAM) | `win11-x64` | LangChainJS |
@ -63,6 +64,7 @@ SheetJS users have verified this demo in other configurations:
Special thanks to:
- [Nathan Ayers](https://infocommww.org/)
- [Rasmus Tengstedt](https://tengstedt.dev/)
- [Triston Armstrong](https://tristonarmstrong.com/)
- [Ben Halverson](https://benhalverson.dev/)

@ -46,10 +46,10 @@ that process spreadsheets in the browser.
This demo was tested in the following environments:
| Nuxt Content | Nuxt | Date |
|:-------------|:---------|:-----------|
| `1.15.1` | `2.17.3` | 2024-06-04 |
| `2.12.1` | `3.11.2` | 2024-06-04 |
| Nuxt Content | Nuxt | Date |
|:-------------|:-----------|:-----------|
| `1.15.1` | `2.18.1` | 2024-11-14 |
| `2.13.4` | `3.14.159` | 2024-11-14 |
:::
@ -352,7 +352,7 @@ Replace the property with the following definition:
5) Replace `pages/index.vue` with the following:
```html title="pages/index.vue"
```html title="pages/index.vue (replace contents)"
<!-- sheetjs (C) 2013-present SheetJS -- https://sheetjs.com -->
<template><div>
<div v-for="item in data.data" v-bind:key="item.name">
@ -499,6 +499,16 @@ export default defineTransformer({
The data object returned by the transformer must have the original `_id` key.
The data is stored in the `body` property of the final object.
:::danger pass
When this demo was last tested, there were errors in the NuxtJS types.
**As this affects the official examples, this is a bug in NuxtJS!**
Until the bugs are fixed, type checking should be disabled.
:::
### Custom Modules
NuxtJS modules are the main mechanism for adding transformers to the pipeline.