includio-cms 0.33.0 → 0.34.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.
Files changed (32) hide show
  1. package/API.md +4 -6
  2. package/DOCS.md +1 -1
  3. package/dist/admin/auth-client.d.ts +2488 -2488
  4. package/dist/admin/remote/entry.remote.d.ts +2 -2
  5. package/dist/admin/remote/invite.d.ts +2 -2
  6. package/dist/admin/remote/shop.remote.d.ts +6 -6
  7. package/dist/components/ui/button-group/button-group-separator.svelte.d.ts +1 -1
  8. package/dist/components/ui/command/command.svelte.d.ts +1 -1
  9. package/dist/components/ui/field/field-label.svelte.d.ts +1 -1
  10. package/dist/components/ui/input/input.svelte.d.ts +1 -1
  11. package/dist/components/ui/input-group/input-group-input.svelte.d.ts +1 -1
  12. package/dist/components/ui/item/item-separator.svelte.d.ts +1 -1
  13. package/dist/components/ui/select/select-group-heading.svelte.d.ts +1 -1
  14. package/dist/components/ui/sidebar/sidebar-input.svelte.d.ts +1 -1
  15. package/dist/components/ui/sidebar/sidebar-separator.svelte.d.ts +1 -1
  16. package/dist/core/index.d.ts +0 -1
  17. package/dist/core/index.js +4 -1
  18. package/dist/paraglide/messages/_index.d.ts +3 -36
  19. package/dist/paraglide/messages/_index.js +3 -71
  20. package/dist/paraglide/messages/hello_world.d.ts +5 -0
  21. package/dist/paraglide/messages/hello_world.js +33 -0
  22. package/dist/paraglide/messages/login_hello.d.ts +16 -0
  23. package/dist/paraglide/messages/login_hello.js +34 -0
  24. package/dist/paraglide/messages/login_please_login.d.ts +16 -0
  25. package/dist/paraglide/messages/login_please_login.js +34 -0
  26. package/dist/sveltekit/server/index.d.ts +1 -0
  27. package/dist/sveltekit/server/index.js +3 -0
  28. package/package.json +1 -1
  29. package/dist/paraglide/messages/en.d.ts +0 -5
  30. package/dist/paraglide/messages/en.js +0 -14
  31. package/dist/paraglide/messages/pl.d.ts +0 -5
  32. package/dist/paraglide/messages/pl.js +0 -14
package/API.md CHANGED
@@ -1,8 +1,8 @@
1
- # includio-cms — Public API v0.33.0
1
+ # includio-cms — Public API v0.34.0
2
2
 
3
3
  > Auto-generated by `scripts/generate-api-md.ts`. Do not edit by hand.
4
4
 
5
- Entry points: **19** · Stable: **489** · Experimental: **4**
5
+ Entry points: **19** · Stable: **487** · Experimental: **4**
6
6
 
7
7
  Tags:
8
8
  - `@public` — frozen for v1.0; semver-protected.
@@ -14,19 +14,15 @@ Tags:
14
14
  ### `includio-cms`
15
15
 
16
16
  - `interface EmailAdapter` — Contract for email adapters. Used by `better-auth` reset-password flow and form submission
17
- - `getMailer(): EmailAdapter | null` — Returns the configured email adapter from the active CMS singleton, or
18
17
  - `type ResolvedSeo = { [K in keyof SeoFieldData]: K extends 'ogImage' ? string | MediaFile | undefined : string | unde...` — Normalized SEO data — localized values flattened by `language`. A stable
19
18
  - `resolveSeo(entry: { seo?: Record<string, unknown> } | Record<string,..., language?: string): ResolvedSeo` — Resolve `entry.seo` into flat fields, flattening localized objects by
20
- - `sendMail(options: SendMailOptions): Promise<void>` — Send an email through the configured CMS email adapter. Thin convenience
21
19
  - `interface SendMailOptions`
22
20
 
23
21
  ### `includio-cms/core`
24
22
 
25
23
  - `interface EmailAdapter` — Contract for email adapters. Used by `better-auth` reset-password flow and form submission
26
- - `getMailer(): EmailAdapter | null` — Returns the configured email adapter from the active CMS singleton, or
27
24
  - `type ResolvedSeo = { [K in keyof SeoFieldData]: K extends 'ogImage' ? string | MediaFile | undefined : string | unde...` — Normalized SEO data — localized values flattened by `language`. A stable
28
25
  - `resolveSeo(entry: { seo?: Record<string, unknown> } | Record<string,..., language?: string): ResolvedSeo` — Resolve `entry.seo` into flat fields, flattening localized objects by
29
- - `sendMail(options: SendMailOptions): Promise<void>` — Send an email through the configured CMS email adapter. Thin convenience
30
26
  - `interface SendMailOptions`
31
27
 
32
28
  ### `includio-cms/core/server`
@@ -332,6 +328,7 @@ Tags:
332
328
  - `extractMediaRefs(doc: StructuredContentDoc): MediaRef[]` — Extract media references from figure/video/image nodes.
333
329
  - `extractText(doc: StructuredContentDoc): string` — Extract all plain text from doc (useful for excerpts, search indexing).
334
330
  - `generateApiKey(): string` — Generate a cryptographically random API key (32 bytes, base64url-encoded).
331
+ - `getMailer(): EmailAdapter | null` — Returns the configured email adapter from the active CMS singleton, or
335
332
  - `getPreviewEntry(event: RequestEvent, options: { language: string }): Promise<Entry | null>` — Resolves the preview entry from a `?preview=<versionId>` query param.
336
333
  - `includioCMS(cmsConfig: CMSConfig): Handle[]` — SvelteKit `Handle[]` array that initializes the CMS, generates runtime
337
334
  - `parseFormDataForSubmission(formData: FormData, fields: FormField[]): Promise<Record<string, unknown>>` — Parses multipart `FormData` into a typed record of field values, handling
@@ -341,6 +338,7 @@ Tags:
341
338
  - `resolveEntry(opts: ResolveEntryOptions): Promise<Entry | null>` — Fetch a single populated Entry.
342
339
  - `interface ResolveEntryOptions`
343
340
  - `type ResolveStatus = 'published' | 'draft' | 'scheduled'` — Status filter for `resolveEntry`/`resolveEntries`/`countEntries`.
341
+ - `sendMail(options: SendMailOptions): Promise<void>` — Send an email through the configured CMS email adapter. Thin convenience
344
342
 
345
343
  ### `includio-cms/db-postgres`
346
344
 
package/DOCS.md CHANGED
@@ -1,4 +1,4 @@
1
- # Includio CMS Documentation (v0.33.0)
1
+ # Includio CMS Documentation (v0.34.0)
2
2
 
3
3
  > This file is auto-generated from the docs site. For the latest version, update the package.
4
4