@seamlet/astro 1.3.0 → 1.5.0

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/schema.js CHANGED
@@ -39,6 +39,8 @@ import {
39
39
  defaultValue,
40
40
  defineSchema,
41
41
  editable,
42
+ estimateOf,
43
+ file,
42
44
  findRecord,
43
45
  formatFieldPath,
44
46
  group,
@@ -69,6 +71,7 @@ import {
69
71
  parseContent,
70
72
  plainTextOf,
71
73
  productFields,
74
+ ratesField,
72
75
  readFields,
73
76
  readRequestEntries,
74
77
  readRequestForm,
@@ -104,7 +107,7 @@ import {
104
107
  toggle,
105
108
  url,
106
109
  withRecordIds
107
- } from "./chunk-ENMUO442.js";
110
+ } from "./chunk-53O34DN3.js";
108
111
  export {
109
112
  CONSENT_REQUIRED_TEXT,
110
113
  DEFAULT_LONG_TEXT_LENGTH,
@@ -146,6 +149,8 @@ export {
146
149
  defaultValue,
147
150
  defineSchema,
148
151
  editable,
152
+ estimateOf,
153
+ file,
149
154
  findRecord,
150
155
  formatFieldPath,
151
156
  group,
@@ -176,6 +181,7 @@ export {
176
181
  parseContent,
177
182
  plainTextOf,
178
183
  productFields,
184
+ ratesField,
179
185
  readFields,
180
186
  readRequestEntries,
181
187
  readRequestForm,
@@ -1,4 +1,5 @@
1
- import { a as FieldPath, c as Field, d as CollectionField, F as Fields, G as GroupField, C as Content, e as RecordFields, f as RecordOf, g as ContentIssue } from './parse-content-Bnn6Wa-l.js';
1
+ import { h as Field, a as CollectionField, F as Fields, G as GroupField, C as Content, i as RecordFields, g as RecordOf } from './content-ZG6F3MPA.js';
2
+ import { F as FieldPath, C as ContentIssue } from './parse-content-Dtec5MKj.js';
2
3
 
3
4
  /** What a path written on a page points at: a field, or a whole record of a collection. */
4
5
  type FieldTarget = {
package/dist/site.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { ImageMetadata } from 'astro';
2
2
  import { AstroComponentFactory } from 'astro/runtime/server/index.js';
3
- import { C as Content, F as Fields, b as ContentOf } from './parse-content-Bnn6Wa-l.js';
4
- import { a as SiteRecordPages, S as SiteDescription, R as RequestForm } from './site-description-DSHyBrAL.js';
3
+ import { C as Content, F as Fields, e as ContentOf } from './content-ZG6F3MPA.js';
4
+ import { a as SiteRecordPages, S as SiteDescription, R as RequestForm } from './site-description-0UU5Wukx.js';
5
+ import './parse-content-Dtec5MKj.js';
5
6
 
6
7
  /** A page of the site: how the editor names it, and the component that renders it. */
7
8
  interface SeamletPage {
package/dist/site.js CHANGED
@@ -1,17 +1,17 @@
1
- import {
2
- SITE_MODULE_FILE
3
- } from "./chunk-QCVWHHJC.js";
4
1
  import {
5
2
  pagePathOf,
6
3
  previewedPageAt,
7
4
  renderedPageAt,
8
5
  staticPagesOf
9
- } from "./chunk-VQKAWFCQ.js";
6
+ } from "./chunk-62XHZAPK.js";
10
7
  import {
11
8
  checkSiteDescription,
12
9
  formatFieldPath,
13
10
  parseContent
14
- } from "./chunk-ENMUO442.js";
11
+ } from "./chunk-53O34DN3.js";
12
+ import {
13
+ SITE_MODULE_FILE
14
+ } from "./chunk-QCVWHHJC.js";
15
15
 
16
16
  // src/site.ts
17
17
  import { cmsOrigin, siteId, siteTitle } from "virtual:seamlet/config";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamlet/astro",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Connects an Astro site to the Seamlet CMS: the schema of its content, the preview the editor frames, and its published content.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,6 +21,10 @@
21
21
  "types": "./dist/schema.d.ts",
22
22
  "default": "./dist/schema.js"
23
23
  },
24
+ "./feeds": {
25
+ "types": "./dist/feeds.d.ts",
26
+ "default": "./dist/feeds.js"
27
+ },
24
28
  "./bridge": {
25
29
  "types": "./dist/bridge.d.ts",
26
30
  "default": "./dist/bridge.js"