@sqlrooms/ai-config 0.26.0-rc.4 → 0.26.0-rc.6
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/README.md +1 -49
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,49 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
## Features
|
|
4
|
-
|
|
5
|
-
- 📝 **DuckDB Configuration**: Define and manage room DuckDB configuration schemas.
|
|
6
|
-
- 🔍 **Type Safety**: Strong TypeScript typing for DuckDB configuration objects.
|
|
7
|
-
- ✅ **Validation**: Zod schemas for runtime validation of DuckDB configurations.
|
|
8
|
-
|
|
9
|
-
## Installation
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npm install @sqlrooms/duckdb-config
|
|
13
|
-
# or
|
|
14
|
-
yarn add @sqlrooms/duckdb-config
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Basic Usage
|
|
18
|
-
|
|
19
|
-
### Working with DuckDB Configuration
|
|
20
|
-
|
|
21
|
-
```tsx
|
|
22
|
-
import {
|
|
23
|
-
DuckDbSliceConfig,
|
|
24
|
-
createDefaultDuckDbConfig,
|
|
25
|
-
} from '@sqlrooms/duckdb-config';
|
|
26
|
-
|
|
27
|
-
// Create a new DuckDB configuration
|
|
28
|
-
const duckDbConfig: DuckDbSliceConfig = createDefaultDuckDbConfig();
|
|
29
|
-
|
|
30
|
-
// This is then used as part of a bigger room configuration.
|
|
31
|
-
// The `RoomConfig` for a room is typically a composition of slice configurations.
|
|
32
|
-
// For example:
|
|
33
|
-
//
|
|
34
|
-
// import {SqlEditorSliceConfig} from '@sqlrooms/sql-editor-config';
|
|
35
|
-
//
|
|
36
|
-
// type RoomConfig = DuckDbSliceConfig & SqlEditorSliceConfig;
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Advanced Features
|
|
40
|
-
|
|
41
|
-
- **Schema Extensions**: Extend base schemas for custom room types
|
|
42
|
-
- **Configuration Validation**: Validate configurations at runtime
|
|
43
|
-
- **Serialization**: Convert configurations to/from JSON for storage
|
|
44
|
-
|
|
45
|
-
For more information, visit the SQLRooms documentation.
|
|
46
|
-
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
```
|
|
1
|
+
AI slice configuration schemas
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqlrooms/ai-config",
|
|
3
|
-
"version": "0.26.0-rc.
|
|
3
|
+
"version": "0.26.0-rc.6",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"typecheck": "tsc --noEmit",
|
|
29
29
|
"typedoc": "typedoc"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "f7b18280e7d81f653bb437cf81b1e23243809053"
|
|
32
32
|
}
|