@syncular/server-dialect-postgres 0.0.1-98 → 0.0.2-126

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.
Files changed (2) hide show
  1. package/README.md +33 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # @syncular/server-dialect-postgres
2
+
3
+ PostgreSQL dialect for the Syncular server sync schema and query patterns (commit log, change log, scopes, snapshot chunks, console tables).
4
+
5
+ Use this when your server is backed by Postgres.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @syncular/server-dialect-postgres
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ```ts
16
+ import { ensureSyncSchema } from '@syncular/server';
17
+ import { createPostgresServerDialect } from '@syncular/server-dialect-postgres';
18
+
19
+ const dialect = createPostgresServerDialect();
20
+ await ensureSyncSchema(db, dialect);
21
+ ```
22
+
23
+ ## Documentation
24
+
25
+ - Dialects: https://syncular.dev/docs/server/dialects
26
+ - Server setup: https://syncular.dev/docs/build/server-setup
27
+
28
+ ## Links
29
+
30
+ - GitHub: https://github.com/syncular/syncular
31
+ - Issues: https://github.com/syncular/syncular/issues
32
+
33
+ > Status: Alpha. APIs and storage layouts may change between releases.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/server-dialect-postgres",
3
- "version": "0.0.1-98",
3
+ "version": "0.0.2-126",
4
4
  "description": "PostgreSQL dialect for the Syncular server",
5
5
  "license": "MIT",
6
6
  "author": "Benjamin Kniffler",
@@ -40,8 +40,8 @@
40
40
  "release": "bunx syncular-publish"
41
41
  },
42
42
  "dependencies": {
43
- "@syncular/core": "0.0.1",
44
- "@syncular/server": "0.0.1"
43
+ "@syncular/core": "0.0.2-126",
44
+ "@syncular/server": "0.0.2-126"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "kysely": "^0.28.0"