includio-cms 0.33.0 → 0.34.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.
Files changed (39) hide show
  1. package/API.md +5 -6
  2. package/CHANGELOG.md +8 -0
  3. package/DOCS.md +1 -1
  4. package/dist/admin/auth-client.d.ts +2488 -2488
  5. package/dist/admin/client/index.d.ts +1 -0
  6. package/dist/admin/client/index.js +1 -0
  7. package/dist/admin/remote/entry.remote.d.ts +2 -2
  8. package/dist/admin/remote/invite.d.ts +2 -2
  9. package/dist/admin/remote/shop.remote.d.ts +6 -6
  10. package/dist/cli/scaffold/admin.js +1 -1
  11. package/dist/components/ui/button-group/button-group-separator.svelte.d.ts +1 -1
  12. package/dist/components/ui/command/command.svelte.d.ts +1 -1
  13. package/dist/components/ui/field/field-label.svelte.d.ts +1 -1
  14. package/dist/components/ui/input/input.svelte.d.ts +1 -1
  15. package/dist/components/ui/input-group/input-group-input.svelte.d.ts +1 -1
  16. package/dist/components/ui/item/item-separator.svelte.d.ts +1 -1
  17. package/dist/components/ui/select/select-group-heading.svelte.d.ts +1 -1
  18. package/dist/components/ui/sidebar/sidebar-input.svelte.d.ts +1 -1
  19. package/dist/components/ui/sidebar/sidebar-separator.svelte.d.ts +1 -1
  20. package/dist/core/index.d.ts +0 -1
  21. package/dist/core/index.js +4 -1
  22. package/dist/paraglide/messages/_index.d.ts +3 -36
  23. package/dist/paraglide/messages/_index.js +3 -71
  24. package/dist/paraglide/messages/hello_world.d.ts +5 -0
  25. package/dist/paraglide/messages/hello_world.js +33 -0
  26. package/dist/paraglide/messages/login_hello.d.ts +16 -0
  27. package/dist/paraglide/messages/login_hello.js +34 -0
  28. package/dist/paraglide/messages/login_please_login.d.ts +16 -0
  29. package/dist/paraglide/messages/login_please_login.js +34 -0
  30. package/dist/sveltekit/server/index.d.ts +1 -0
  31. package/dist/sveltekit/server/index.js +3 -0
  32. package/dist/updates/0.34.1/index.d.ts +2 -0
  33. package/dist/updates/0.34.1/index.js +11 -0
  34. package/dist/updates/index.js +3 -1
  35. package/package.json +1 -1
  36. package/dist/paraglide/messages/en.d.ts +0 -5
  37. package/dist/paraglide/messages/en.js +0 -14
  38. package/dist/paraglide/messages/pl.d.ts +0 -5
  39. 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.1
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: **488** · 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`
@@ -141,6 +137,7 @@ Tags:
141
137
  ### `includio-cms/admin/client`
142
138
 
143
139
  - `const AcceptInvitePage: LegacyComponentType`
140
+ - `const AccountPage: LegacyComponentType`
144
141
  - `const AdminAfterLoginLayout: LegacyComponentType`
145
142
  - `interface AdminConfig` — Optional admin UI configuration — extension points for the panel sidebar
146
143
  - `const AdminLayout: LegacyComponentType`
@@ -332,6 +329,7 @@ Tags:
332
329
  - `extractMediaRefs(doc: StructuredContentDoc): MediaRef[]` — Extract media references from figure/video/image nodes.
333
330
  - `extractText(doc: StructuredContentDoc): string` — Extract all plain text from doc (useful for excerpts, search indexing).
334
331
  - `generateApiKey(): string` — Generate a cryptographically random API key (32 bytes, base64url-encoded).
332
+ - `getMailer(): EmailAdapter | null` — Returns the configured email adapter from the active CMS singleton, or
335
333
  - `getPreviewEntry(event: RequestEvent, options: { language: string }): Promise<Entry | null>` — Resolves the preview entry from a `?preview=<versionId>` query param.
336
334
  - `includioCMS(cmsConfig: CMSConfig): Handle[]` — SvelteKit `Handle[]` array that initializes the CMS, generates runtime
337
335
  - `parseFormDataForSubmission(formData: FormData, fields: FormField[]): Promise<Record<string, unknown>>` — Parses multipart `FormData` into a typed record of field values, handling
@@ -341,6 +339,7 @@ Tags:
341
339
  - `resolveEntry(opts: ResolveEntryOptions): Promise<Entry | null>` — Fetch a single populated Entry.
342
340
  - `interface ResolveEntryOptions`
343
341
  - `type ResolveStatus = 'published' | 'draft' | 'scheduled'` — Status filter for `resolveEntry`/`resolveEntries`/`countEntries`.
342
+ - `sendMail(options: SendMailOptions): Promise<void>` — Send an email through the configured CMS email adapter. Thin convenience
344
343
 
345
344
  ### `includio-cms/db-postgres`
346
345
 
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to includio-cms are documented here.
4
4
  Generated from `src/lib/updates/` — do not edit manually.
5
5
 
6
+ ## 0.34.1 — 2026-06-03
7
+
8
+ Fix: `AccountPage` eksportowany z głównego barrela `includio-cms/admin/client` (wcześniej brakowało go w eksportach, a scaffold importował z nieistniejącego subpath `includio-cms/admin/client/account`). Generowany `+page.svelte` dla konta importuje teraz z `includio-cms/admin/client`. Additive only.
9
+
10
+ ### Fixed
11
+ - `AccountPage` dodany do eksportów `includio-cms/admin/client`.
12
+ - Scaffold (`admin/(afterLogin)/account/+page.svelte`) importuje `AccountPage` z `includio-cms/admin/client` zamiast nieistniejącego `includio-cms/admin/client/account`.
13
+
6
14
  ## 0.34.0 — 2026-06-03
7
15
 
8
16
  Soft-delete zamówień (admin-only) — administrator może ukryć zamówienie z listy bez utraty danych. Odwracalne (kosz + przywracanie), bezpieczne księgowo: nie kasuje wiersza, faktur ani historii. Dozwolone tylko dla „bezpiecznych" statusów bez płatności (`new`, `awaitingPayment`, `cancelled`, `paymentRejected`) i zablokowane dla zamówień z wystawioną fakturą. Cała funkcja widoczna wyłącznie dla roli `admin`. Additive only — bez breaking changes.
package/DOCS.md CHANGED
@@ -1,4 +1,4 @@
1
- # Includio CMS Documentation (v0.33.0)
1
+ # Includio CMS Documentation (v0.34.1)
2
2
 
3
3
  > This file is auto-generated from the docs site. For the latest version, update the package.
4
4