@plutocms/pluto 0.9.0 → 0.9.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/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## [0.9.1](https://github.com/plutocms/pluto/compare/v0.9.0...v0.9.1) (2026-09-13)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * **content:** import content types explicitly instead of relying on auto-import ([#141](https://github.com/plutocms/pluto/issues/141)) ([57bd5ab](https://github.com/plutocms/pluto/commit/57bd5ab7d8c9c4748fe679196a0ed08222040082))
10
+
4
11
  ## [0.9.0](https://github.com/plutocms/pluto/compare/v0.8.1...v0.9.0) (2026-09-13)
5
12
 
6
13
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plutocms/pluto",
3
3
  "type": "module",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "The layerable CMS",
6
6
  "author": "Victor Ribeiro",
7
7
  "license": "MIT",
@@ -1,3 +1,5 @@
1
+ import type { PlutoContentItem, PlutoContentType, PlutoField } from '../types/content'
2
+
1
3
  /** Resolves the storage column for a field. Falls back to `field.name` when `field.column` is unset. */
2
4
  export function fieldColumn(field: PlutoField): string {
3
5
  return field.column ?? field.name
@@ -1,3 +1,5 @@
1
+ import type { PlutoContentType } from '../types/content'
2
+
1
3
  export interface ContentValidationError {
2
4
  field: string
3
5
  message: string
@@ -1,3 +1,5 @@
1
+ import type { PlutoContentType } from '../types/content'
2
+
1
3
  /**
2
4
  * Declares a content type. This is an identity function: it returns `type`
3
5
  * unchanged. Its only job is type inference at the call site — wrapping a