clivly 0.23.0 → 0.23.1
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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,6 +106,13 @@ second — a signup shows up, an edit updates, a deleted row's record is
|
|
|
106
106
|
archived — while the scheduled sync keeps catching everything else. Existing
|
|
107
107
|
configs are left unchanged; add the line yourself to opt in.
|
|
108
108
|
|
|
109
|
+
From `0.23.0` the scaffolded config sets `appIdStore: drizzleAppIdStore(db)`
|
|
110
|
+
and imports everything from `clivly/drizzle` in one statement. The store keeps
|
|
111
|
+
the ID Clivly issues to your app in a one-row `crm_clivly_app` table your app
|
|
112
|
+
creates on first run, so Clivly can recognise the same app in another
|
|
113
|
+
workspace. If you run `drizzle-kit push`, add `tablesFilter: ["!crm_clivly_app"]` to your drizzle config so push does not offer to drop it. Existing configs are left unchanged; add the
|
|
114
|
+
line yourself to opt in.
|
|
115
|
+
|
|
109
116
|
| Flag | Purpose |
|
|
110
117
|
| --- | --- |
|
|
111
118
|
| `--dry-run` | Show what would be written; write nothing |
|
|
@@ -555,6 +562,7 @@ import {
|
|
|
555
562
|
fromDrizzle,
|
|
556
563
|
fromDrizzleProjection,
|
|
557
564
|
discoverFromDrizzle,
|
|
565
|
+
drizzleAppIdStore,
|
|
558
566
|
} from "clivly/drizzle";
|
|
559
567
|
import { clivlyVite } from "clivly/vite";
|
|
560
568
|
import { createClerkAuthAdapter } from "clivly/auth/clerk";
|