@molecule/api-resource-article 1.1.1 → 1.1.2

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/dist/index.d.ts CHANGED
@@ -57,8 +57,10 @@
57
57
  * ```
58
58
  *
59
59
  * @remarks
60
- * - **Migration required: this package ships every table it reads, four in
61
- * all.** `src/__setup__/articles.sql` creates the `articles` and `article_tags` tables;
60
+ * - **A scaffold that lists this package already has these tables** — its `__setup__` SQL is
61
+ * copied into the app at create time and replayed on every boot, so do not copy it into
62
+ * `api/migrations/` yourself. This package ships every table it reads, four in
63
+ * all. `src/__setup__/articles.sql` creates the `articles` and `article_tags` tables;
62
64
  * `src/__setup__/articles_position.sql` adds the `position` column to a database whose
63
65
  * `article_tags` predates it; `src/__setup__/reactions.sql` and `src/__setup__/follows.sql` create the
64
66
  * `reactions` and `follows` tables, which this package reads directly by name
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AAEH,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoHG;AAEH,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -57,8 +57,10 @@
57
57
  * ```
58
58
  *
59
59
  * @remarks
60
- * - **Migration required: this package ships every table it reads, four in
61
- * all.** `src/__setup__/articles.sql` creates the `articles` and `article_tags` tables;
60
+ * - **A scaffold that lists this package already has these tables** — its `__setup__` SQL is
61
+ * copied into the app at create time and replayed on every boot, so do not copy it into
62
+ * `api/migrations/` yourself. This package ships every table it reads, four in
63
+ * all. `src/__setup__/articles.sql` creates the `articles` and `article_tags` tables;
62
64
  * `src/__setup__/articles_position.sql` adds the `position` column to a database whose
63
65
  * `article_tags` predates it; `src/__setup__/reactions.sql` and `src/__setup__/follows.sql` create the
64
66
  * `reactions` and `follows` tables, which this package reads directly by name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@molecule/api-resource-article",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Articles and blog posts: unique slugs, tags, favorites, a followed-authors feed, and filtered, paginated lists",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -35,8 +35,8 @@
35
35
  "devDependencies": {
36
36
  "@molecule/api-database": "1.1.3",
37
37
  "@molecule/api-database-sqlite": "1.2.6",
38
- "@molecule/api-resource-follow": "1.0.7",
39
- "@molecule/api-resource-reaction": "1.0.4",
38
+ "@molecule/api-resource-follow": "1.0.8",
39
+ "@molecule/api-resource-reaction": "1.0.5",
40
40
  "@molecule/api-slug": "1.0.1",
41
41
  "@types/node": "26.1.2",
42
42
  "typescript": "6.0.3",