@chkit/plugin-backfill 0.1.0-beta.4 → 0.1.0-beta.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 +40 -0
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# @chkit/plugin-backfill
|
|
2
|
+
|
|
3
|
+
Plugin for data backfill operations in chkit.
|
|
4
|
+
|
|
5
|
+
Part of the [chkit](https://github.com/obsessiondb/chkit) monorepo.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
bun add -d @chkit/plugin-backfill
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Register the plugin in your config:
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
// clickhouse.config.ts
|
|
19
|
+
import { defineConfig } from '@chkit/core'
|
|
20
|
+
import { backfill } from '@chkit/plugin-backfill'
|
|
21
|
+
|
|
22
|
+
export default defineConfig({
|
|
23
|
+
schema: './src/db/schema/**/*.ts',
|
|
24
|
+
outDir: './chkit',
|
|
25
|
+
plugins: [
|
|
26
|
+
backfill(),
|
|
27
|
+
],
|
|
28
|
+
clickhouse: {
|
|
29
|
+
url: process.env.CLICKHOUSE_URL ?? 'http://localhost:8123',
|
|
30
|
+
},
|
|
31
|
+
})
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Documentation
|
|
35
|
+
|
|
36
|
+
See the [chkit documentation](https://chkit.obsessiondb.com).
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
[MIT](../../LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chkit/plugin-backfill",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"clean": "rm -rf dist"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@chkit/core": "0.1.0-beta.
|
|
26
|
+
"@chkit/core": "0.1.0-beta.6"
|
|
27
27
|
}
|
|
28
28
|
}
|