@molecule/api-resource-follow 1.0.6 → 1.0.7

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 CHANGED
@@ -3,7 +3,7 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-10-16T00:32:23.444Z
6
+ Generated: 2026-10-16T05:33:21.397Z
7
7
  -->
8
8
 
9
9
  # @molecule/api-resource-follow
@@ -326,7 +326,7 @@ Peer dependencies:
326
326
  the rows come back; reading the response as a bare array — or `res.data` alone (which is
327
327
  the envelope) — yields an EMPTY list.
328
328
  Table: `src/__setup__/follows.sql` creates the single `follows` table. An
329
- mlcl-scaffolded API replays `__setup__/*.sql` automatically on migrate;
329
+ mlcl-scaffolded API replays `__setup__/*.sql` on migrate (a `CREATE TABLE IF NOT EXISTS`, so a table the app's own migrations already create keeps only its own columns: ALTER in the ones it lacks);
330
330
  anywhere else run it once — nothing at runtime creates it.
331
331
 
332
332
  The follower is ALWAYS the authenticated user: handlers read
package/dist/index.d.ts CHANGED
@@ -24,7 +24,7 @@
24
24
  * the rows come back; reading the response as a bare array — or `res.data` alone (which is
25
25
  * the envelope) — yields an EMPTY list.
26
26
  * Table: `src/__setup__/follows.sql` creates the single `follows` table. An
27
- * mlcl-scaffolded API replays `__setup__/*.sql` automatically on migrate;
27
+ * mlcl-scaffolded API replays `__setup__/*.sql` on migrate (a `CREATE TABLE IF NOT EXISTS`, so a table the app's own migrations already create keeps only its own columns: ALTER in the ones it lacks);
28
28
  * anywhere else run it once — nothing at runtime creates it.
29
29
  *
30
30
  * The follower is ALWAYS the authenticated user: handlers read
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * the rows come back; reading the response as a bare array — or `res.data` alone (which is
25
25
  * the envelope) — yields an EMPTY list.
26
26
  * Table: `src/__setup__/follows.sql` creates the single `follows` table. An
27
- * mlcl-scaffolded API replays `__setup__/*.sql` automatically on migrate;
27
+ * mlcl-scaffolded API replays `__setup__/*.sql` on migrate (a `CREATE TABLE IF NOT EXISTS`, so a table the app's own migrations already create keeps only its own columns: ALTER in the ones it lacks);
28
28
  * anywhere else run it once — nothing at runtime creates it.
29
29
  *
30
30
  * The follower is ALWAYS the authenticated user: handlers read
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-resource-follow",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Follow/unfollow users or any resource with polymorphic targeting",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",