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
@@ -11,6 +11,7 @@ export { default as UsersPage } from './users/users-page.svelte';
11
11
  export { default as AcceptInvitePage } from './users/accept-invite-page.svelte';
12
12
  export { default as ResetPasswordPage } from './login/reset-password-page.svelte';
13
13
  export { default as MaintenancePage } from './maintenance/maintenance-page.svelte';
14
+ export { default as AccountPage } from './account/account-page.svelte';
14
15
  export { default as MediaSelector } from '../components/media/media-selector.svelte';
15
16
  export { default as ShopProductsListPage } from './shop/shop-products-list-page.svelte';
16
17
  export { default as ShippingMethodsListPage } from './shop/shipping-methods-list-page.svelte';
@@ -11,6 +11,7 @@ export { default as UsersPage } from './users/users-page.svelte';
11
11
  export { default as AcceptInvitePage } from './users/accept-invite-page.svelte';
12
12
  export { default as ResetPasswordPage } from './login/reset-password-page.svelte';
13
13
  export { default as MaintenancePage } from './maintenance/maintenance-page.svelte';
14
+ export { default as AccountPage } from './account/account-page.svelte';
14
15
  export { default as MediaSelector } from '../components/media/media-selector.svelte';
15
16
  export { default as ShopProductsListPage } from './shop/shop-products-list-page.svelte';
16
17
  export { default as ShippingMethodsListPage } from './shop/shipping-methods-list-page.svelte';
@@ -48,7 +48,7 @@ export declare const getEntryLabels: import("@sveltejs/kit").RemoteQueryFunction
48
48
  ids?: string[] | undefined;
49
49
  search?: string | undefined;
50
50
  limit?: number | undefined;
51
- status?: "draft" | "published" | "all" | undefined;
51
+ status?: "all" | "draft" | "published" | undefined;
52
52
  language?: string | undefined;
53
53
  }, {
54
54
  id: string;
@@ -110,7 +110,7 @@ export declare const getRecentEntries: import("@sveltejs/kit").RemoteQueryFuncti
110
110
  }, {
111
111
  entryId: string;
112
112
  slug: string;
113
- kind: "collection" | "single";
113
+ kind: "single" | "collection";
114
114
  containerLabel: Localized;
115
115
  label: string | null;
116
116
  labelLanguage: string | null;
@@ -2,11 +2,11 @@ import type { UserRole } from '../../types/roles.js';
2
2
  export declare function createInvitation(email: string, role: UserRole, createdBy: string): Promise<{
3
3
  id: string;
4
4
  createdAt: Date;
5
- role: string;
6
5
  email: string;
7
6
  expiresAt: Date;
8
- createdBy: string;
9
7
  token: string;
8
+ role: string;
9
+ createdBy: string;
10
10
  usedAt: Date | null;
11
11
  }>;
12
12
  export declare function getInvitationByToken(token: string): Promise<{
@@ -96,7 +96,7 @@ export declare const listOrdersAdmin: import("@sveltejs/kit").RemoteQueryFunctio
96
96
  search?: string | undefined;
97
97
  limit?: number | undefined;
98
98
  offset?: number | undefined;
99
- deleted?: "exclude" | "only" | "include" | undefined;
99
+ deleted?: "only" | "include" | "exclude" | undefined;
100
100
  } | undefined, {
101
101
  items: {
102
102
  number: string;
@@ -319,12 +319,12 @@ export declare const getOrderRefundsAdmin: import("@sveltejs/kit").RemoteQueryFu
319
319
  currency: string;
320
320
  updatedAt: Date;
321
321
  amount: number;
322
- orderId: string;
323
322
  provider: string;
323
+ createdBy: string | null;
324
+ orderId: string;
324
325
  providerRef: string | null;
325
326
  paymentId: string | null;
326
327
  reason: string | null;
327
- createdBy: string | null;
328
328
  }[];
329
329
  refundedAmount: number;
330
330
  remainingRefundable: number;
@@ -359,8 +359,8 @@ export declare const getOrderInvoiceAdmin: import("@sveltejs/kit").RemoteQueryFu
359
359
  status: import("../../db-postgres/schema/shop/index.js").ShopInvoiceStatus;
360
360
  updatedAt: Date;
361
361
  raw: unknown;
362
- orderId: string;
363
362
  provider: string;
363
+ orderId: string;
364
364
  kind: string;
365
365
  externalId: string | null;
366
366
  pdfUrl: string | null;
@@ -382,8 +382,8 @@ export declare const issueInvoiceCmd: import("@sveltejs/kit").RemoteCommand<{
382
382
  status: import("../../db-postgres/schema/shop/index.js").ShopInvoiceStatus;
383
383
  updatedAt: Date;
384
384
  raw: unknown;
385
- orderId: string;
386
385
  provider: string;
386
+ orderId: string;
387
387
  kind: string;
388
388
  externalId: string | null;
389
389
  pdfUrl: string | null;
@@ -448,9 +448,9 @@ export declare const createCouponCmd: import("@sveltejs/kit").RemoteCommand<{
448
448
  isActive: boolean;
449
449
  createdAt: Date;
450
450
  updatedAt: Date;
451
- type: import("../../db-postgres/schema/shop/index.js").ShopCouponType;
452
451
  expiresAt: Date | null;
453
452
  value: string;
453
+ type: import("../../db-postgres/schema/shop/index.js").ShopCouponType;
454
454
  minOrderAmount: number | null;
455
455
  maxUses: number | null;
456
456
  usedCount: number;
@@ -160,7 +160,7 @@ export async function load({ params }) {
160
160
  path: 'admin/(afterLogin)/account/+page.svelte',
161
161
  content: `${GENERATED_COMMENT}
162
162
  <script lang="ts">
163
- import { AccountPage } from 'includio-cms/admin/client/account';
163
+ import { AccountPage } from 'includio-cms/admin/client';
164
164
  </script>
165
165
 
166
166
  <AccountPage />
@@ -1,7 +1,7 @@
1
1
  declare const ButtonGroupSeparator: import("svelte").Component<Omit<{
2
2
  orientation?: import("bits-ui").Orientation;
3
3
  decorative?: boolean;
4
- }, "children" | "child"> & {
4
+ }, "child" | "children"> & {
5
5
  child?: import("svelte").Snippet<[{
6
6
  props: Record<string, unknown>;
7
7
  }]> | undefined;
@@ -3,6 +3,6 @@ export type CommandRootApi = CommandPrimitive.Root;
3
3
  type $$ComponentProps = CommandPrimitive.RootProps & {
4
4
  api?: CommandRootApi | null;
5
5
  };
6
- declare const Command: import("svelte").Component<$$ComponentProps, {}, "ref" | "value" | "api">;
6
+ declare const Command: import("svelte").Component<$$ComponentProps, {}, "ref" | "api" | "value">;
7
7
  type Command = ReturnType<typeof Command>;
8
8
  export default Command;
@@ -1,4 +1,4 @@
1
- declare const FieldLabel: import("svelte").Component<Omit<{}, "children" | "child"> & {
1
+ declare const FieldLabel: import("svelte").Component<Omit<{}, "child" | "children"> & {
2
2
  child?: import("svelte").Snippet<[{
3
3
  props: Record<string, unknown>;
4
4
  }]> | undefined;
@@ -8,6 +8,6 @@ type Props = WithElementRef<Omit<HTMLInputAttributes, "type"> & ({
8
8
  type?: InputType;
9
9
  files?: undefined;
10
10
  })>;
11
- declare const Input: import("svelte").Component<Props, {}, "ref" | "files" | "value">;
11
+ declare const Input: import("svelte").Component<Props, {}, "ref" | "value" | "files">;
12
12
  type Input = ReturnType<typeof Input>;
13
13
  export default Input;
@@ -2,7 +2,7 @@ declare const InputGroupInput: import("svelte").Component<(Omit<import("svelte/e
2
2
  type: "file";
3
3
  files?: FileList;
4
4
  } | {
5
- type?: "number" | "image" | "url" | "text" | "date" | "search" | "radio" | "color" | "button" | "checkbox" | (string & {}) | "email" | "tel" | "password" | "time" | "month" | "hidden" | "reset" | "submit" | "datetime-local" | "range" | "week";
5
+ type?: "number" | "image" | "url" | "text" | "date" | "search" | "radio" | "hidden" | "email" | "password" | (string & {}) | "reset" | "color" | "button" | "checkbox" | "tel" | "time" | "month" | "submit" | "datetime-local" | "range" | "week";
6
6
  files?: undefined;
7
7
  })) & {
8
8
  ref?: HTMLElement | null | undefined;
@@ -1,7 +1,7 @@
1
1
  declare const ItemSeparator: import("svelte").Component<Omit<{
2
2
  orientation?: import("bits-ui").Orientation;
3
3
  decorative?: boolean;
4
- }, "children" | "child"> & {
4
+ }, "child" | "children"> & {
5
5
  child?: import("svelte").Snippet<[{
6
6
  props: Record<string, unknown>;
7
7
  }]> | undefined;
@@ -1,4 +1,4 @@
1
- declare const SelectGroupHeading: import("svelte").Component<Omit<{}, "children" | "child"> & {
1
+ declare const SelectGroupHeading: import("svelte").Component<Omit<{}, "child" | "children"> & {
2
2
  child?: import("svelte").Snippet<[{
3
3
  props: Record<string, unknown>;
4
4
  }]> | undefined;
@@ -2,7 +2,7 @@ declare const SidebarInput: import("svelte").Component<(Omit<import("svelte/elem
2
2
  type: "file";
3
3
  files?: FileList;
4
4
  } | {
5
- type?: "number" | "image" | "url" | "text" | "date" | "search" | "radio" | "color" | "button" | "checkbox" | (string & {}) | "email" | "tel" | "password" | "time" | "month" | "hidden" | "reset" | "submit" | "datetime-local" | "range" | "week";
5
+ type?: "number" | "image" | "url" | "text" | "date" | "search" | "radio" | "hidden" | "email" | "password" | (string & {}) | "reset" | "color" | "button" | "checkbox" | "tel" | "time" | "month" | "submit" | "datetime-local" | "range" | "week";
6
6
  files?: undefined;
7
7
  })) & {
8
8
  ref?: HTMLElement | null | undefined;
@@ -1,7 +1,7 @@
1
1
  declare const SidebarSeparator: import("svelte").Component<Omit<{
2
2
  orientation?: import("bits-ui").Orientation;
3
3
  decorative?: boolean;
4
- }, "children" | "child"> & {
4
+ }, "child" | "children"> & {
5
5
  child?: import("svelte").Snippet<[{
6
6
  props: Record<string, unknown>;
7
7
  }]> | undefined;
@@ -1,3 +1,2 @@
1
1
  export { resolveSeo, type ResolvedSeo } from './fields/resolveSeo.js';
2
- export { getMailer, sendMail } from './cms.js';
3
2
  export type { EmailAdapter, SendMailOptions } from '../types/adapters/email.js';
@@ -1,2 +1,5 @@
1
+ // `resolveSeo` is client-safe (pure). `getMailer`/`sendMail` moved to the server
2
+ // entry (`includio-cms/sveltekit/server`) so importing SEO helpers in a
3
+ // browser/component bundle no longer pulls in `cms.js` and its server graph
4
+ // ($env/dynamic/private).
1
5
  export { resolveSeo } from './fields/resolveSeo.js';
2
- export { getMailer, sendMail } from './cms.js';
@@ -1,36 +1,3 @@
1
- export function hello_world(inputs: {
2
- name: NonNullable<unknown>;
3
- }, options?: {
4
- locale?: "en" | "pl";
5
- }): string;
6
- /**
7
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
8
- *
9
- * - Changing this function will be over-written by the next build.
10
- *
11
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
12
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
13
- *
14
- * @param {{}} inputs
15
- * @param {{ locale?: "en" | "pl" }} options
16
- * @returns {string}
17
- */
18
- declare function login_hello(inputs?: {}, options?: {
19
- locale?: "en" | "pl";
20
- }): string;
21
- /**
22
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
23
- *
24
- * - Changing this function will be over-written by the next build.
25
- *
26
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
27
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
28
- *
29
- * @param {{}} inputs
30
- * @param {{ locale?: "en" | "pl" }} options
31
- * @returns {string}
32
- */
33
- declare function login_please_login(inputs?: {}, options?: {
34
- locale?: "en" | "pl";
35
- }): string;
36
- export { login_hello as login.hello, login_please_login as login.please_login };
1
+ export * from "./hello_world.js";
2
+ export * from "./login_hello.js";
3
+ export * from "./login_please_login.js";
@@ -1,72 +1,4 @@
1
1
  /* eslint-disable */
2
- import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from "../runtime.js"
3
- import * as en from "./en.js"
4
- import * as pl from "./pl.js"
5
- /**
6
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
7
- *
8
- * - Changing this function will be over-written by the next build.
9
- *
10
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
11
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
12
- *
13
- * @param {{ name: NonNullable<unknown> }} inputs
14
- * @param {{ locale?: "en" | "pl" }} options
15
- * @returns {string}
16
- */
17
- /* @__NO_SIDE_EFFECTS__ */
18
- export const hello_world = (inputs, options = {}) => {
19
- if (experimentalMiddlewareLocaleSplitting && isServer === false) {
20
- return /** @type {any} */ (globalThis).__paraglide_ssr.hello_world(inputs)
21
- }
22
- const locale = options.locale ?? getLocale()
23
- trackMessageCall("hello_world", locale)
24
- if (locale === "en") return en.hello_world(inputs)
25
- return pl.hello_world(inputs)
26
- };
27
- /**
28
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
29
- *
30
- * - Changing this function will be over-written by the next build.
31
- *
32
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
33
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
34
- *
35
- * @param {{}} inputs
36
- * @param {{ locale?: "en" | "pl" }} options
37
- * @returns {string}
38
- */
39
- /* @__NO_SIDE_EFFECTS__ */
40
- const login_hello = (inputs = {}, options = {}) => {
41
- if (experimentalMiddlewareLocaleSplitting && isServer === false) {
42
- return /** @type {any} */ (globalThis).__paraglide_ssr.login_hello(inputs)
43
- }
44
- const locale = options.locale ?? getLocale()
45
- trackMessageCall("login_hello", locale)
46
- if (locale === "en") return en.login_hello(inputs)
47
- return pl.login_hello(inputs)
48
- };
49
- export { login_hello as "login.hello" }
50
- /**
51
- * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
52
- *
53
- * - Changing this function will be over-written by the next build.
54
- *
55
- * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
56
- * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
57
- *
58
- * @param {{}} inputs
59
- * @param {{ locale?: "en" | "pl" }} options
60
- * @returns {string}
61
- */
62
- /* @__NO_SIDE_EFFECTS__ */
63
- const login_please_login = (inputs = {}, options = {}) => {
64
- if (experimentalMiddlewareLocaleSplitting && isServer === false) {
65
- return /** @type {any} */ (globalThis).__paraglide_ssr.login_please_login(inputs)
66
- }
67
- const locale = options.locale ?? getLocale()
68
- trackMessageCall("login_please_login", locale)
69
- if (locale === "en") return en.login_please_login(inputs)
70
- return pl.login_please_login(inputs)
71
- };
72
- export { login_please_login as "login.please_login" }
2
+ export * from './hello_world.js'
3
+ export * from './login_hello.js'
4
+ export * from './login_please_login.js'
@@ -0,0 +1,5 @@
1
+ export function hello_world(inputs: {
2
+ name: NonNullable<unknown>;
3
+ }, options?: {
4
+ locale?: "en" | "pl";
5
+ }): string;
@@ -0,0 +1,33 @@
1
+ /* eslint-disable */
2
+ import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+
4
+ const en_hello_world = /** @type {(inputs: { name: NonNullable<unknown> }) => string} */ (i) => {
5
+ return `Hello, ${i.name} from en!`
6
+ };
7
+
8
+ const pl_hello_world = /** @type {(inputs: { name: NonNullable<unknown> }) => string} */ (i) => {
9
+ return `Hello, ${i.name} from pl!`
10
+ };
11
+
12
+ /**
13
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
14
+ *
15
+ * - Changing this function will be over-written by the next build.
16
+ *
17
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
18
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
19
+ *
20
+ * @param {{ name: NonNullable<unknown> }} inputs
21
+ * @param {{ locale?: "en" | "pl" }} options
22
+ * @returns {string}
23
+ */
24
+ /* @__NO_SIDE_EFFECTS__ */
25
+ export const hello_world = (inputs, options = {}) => {
26
+ if (experimentalMiddlewareLocaleSplitting && isServer === false) {
27
+ return /** @type {any} */ (globalThis).__paraglide_ssr.hello_world(inputs)
28
+ }
29
+ const locale = options.locale ?? getLocale()
30
+ trackMessageCall("hello_world", locale)
31
+ if (locale === "en") return en_hello_world(inputs)
32
+ return pl_hello_world(inputs)
33
+ };
@@ -0,0 +1,16 @@
1
+ export { login_hello as login.hello };
2
+ /**
3
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
4
+ *
5
+ * - Changing this function will be over-written by the next build.
6
+ *
7
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
8
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
9
+ *
10
+ * @param {{}} inputs
11
+ * @param {{ locale?: "en" | "pl" }} options
12
+ * @returns {string}
13
+ */
14
+ declare function login_hello(inputs?: {}, options?: {
15
+ locale?: "en" | "pl";
16
+ }): string;
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+
4
+ const en_login_hello = /** @type {(inputs: {}) => string} */ () => {
5
+ return `Welcome back`
6
+ };
7
+
8
+ const pl_login_hello = /** @type {(inputs: {}) => string} */ () => {
9
+ return `Witaj ponownie`
10
+ };
11
+
12
+ /**
13
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
14
+ *
15
+ * - Changing this function will be over-written by the next build.
16
+ *
17
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
18
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
19
+ *
20
+ * @param {{}} inputs
21
+ * @param {{ locale?: "en" | "pl" }} options
22
+ * @returns {string}
23
+ */
24
+ /* @__NO_SIDE_EFFECTS__ */
25
+ const login_hello = (inputs = {}, options = {}) => {
26
+ if (experimentalMiddlewareLocaleSplitting && isServer === false) {
27
+ return /** @type {any} */ (globalThis).__paraglide_ssr.login_hello(inputs)
28
+ }
29
+ const locale = options.locale ?? getLocale()
30
+ trackMessageCall("login_hello", locale)
31
+ if (locale === "en") return en_login_hello(inputs)
32
+ return pl_login_hello(inputs)
33
+ };
34
+ export { login_hello as "login.hello" }
@@ -0,0 +1,16 @@
1
+ export { login_please_login as login.please_login };
2
+ /**
3
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
4
+ *
5
+ * - Changing this function will be over-written by the next build.
6
+ *
7
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
8
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
9
+ *
10
+ * @param {{}} inputs
11
+ * @param {{ locale?: "en" | "pl" }} options
12
+ * @returns {string}
13
+ */
14
+ declare function login_please_login(inputs?: {}, options?: {
15
+ locale?: "en" | "pl";
16
+ }): string;
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ import { getLocale, trackMessageCall, experimentalMiddlewareLocaleSplitting, isServer } from '../runtime.js';
3
+
4
+ const en_login_please_login = /** @type {(inputs: {}) => string} */ () => {
5
+ return `Login to your account`
6
+ };
7
+
8
+ const pl_login_please_login = /** @type {(inputs: {}) => string} */ () => {
9
+ return `Zaloguj się na swoje konto`
10
+ };
11
+
12
+ /**
13
+ * This function has been compiled by [Paraglide JS](https://inlang.com/m/gerre34r).
14
+ *
15
+ * - Changing this function will be over-written by the next build.
16
+ *
17
+ * - If you want to change the translations, you can either edit the source files e.g. `en.json`, or
18
+ * use another inlang app like [Fink](https://inlang.com/m/tdozzpar) or the [VSCode extension Sherlock](https://inlang.com/m/r7kp499g).
19
+ *
20
+ * @param {{}} inputs
21
+ * @param {{ locale?: "en" | "pl" }} options
22
+ * @returns {string}
23
+ */
24
+ /* @__NO_SIDE_EFFECTS__ */
25
+ const login_please_login = (inputs = {}, options = {}) => {
26
+ if (experimentalMiddlewareLocaleSplitting && isServer === false) {
27
+ return /** @type {any} */ (globalThis).__paraglide_ssr.login_please_login(inputs)
28
+ }
29
+ const locale = options.locale ?? getLocale()
30
+ trackMessageCall("login_please_login", locale)
31
+ if (locale === "en") return en_login_please_login(inputs)
32
+ return pl_login_please_login(inputs)
33
+ };
34
+ export { login_please_login as "login.please_login" }
@@ -1,6 +1,7 @@
1
1
  export { includioCMS } from './handle.js';
2
2
  export { cmsLayoutLoad } from './layout.js';
3
3
  export { resolveEntry, resolveEntries, countEntries, type ResolveEntryOptions, type ResolveEntriesOptions, type CountEntriesOptions, type PopulateConfig, type ResolveStatus } from '../../core/server/entries/operations/resolveEntry.js';
4
+ export { getMailer, sendMail } from '../../core/cms.js';
4
5
  export { createFormSubmission } from '../../core/server/forms/submissions/operations/create.js';
5
6
  export { parseFormDataForSubmission } from '../../core/server/forms/submissions/utils/parseMultipart.js';
6
7
  export { createConsentLog } from '../../core/server/consentLogs/operations/create.js';
@@ -1,6 +1,9 @@
1
1
  export { includioCMS } from './handle.js';
2
2
  export { cmsLayoutLoad } from './layout.js';
3
3
  export { resolveEntry, resolveEntries, countEntries } from '../../core/server/entries/operations/resolveEntry.js';
4
+ // Moved from `includio-cms/core` (0.34.x): keep on the server entry so the
5
+ // client-safe `core` barrel (`resolveSeo`) no longer drags in the server graph.
6
+ export { getMailer, sendMail } from '../../core/cms.js';
4
7
  export { createFormSubmission } from '../../core/server/forms/submissions/operations/create.js';
5
8
  export { parseFormDataForSubmission } from '../../core/server/forms/submissions/utils/parseMultipart.js';
6
9
  export { createConsentLog } from '../../core/server/consentLogs/operations/create.js';
@@ -0,0 +1,2 @@
1
+ import type { CmsUpdate } from '../index.js';
2
+ export declare const update: CmsUpdate;
@@ -0,0 +1,11 @@
1
+ export const update = {
2
+ version: '0.34.1',
3
+ date: '2026-06-03',
4
+ description: '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.',
5
+ features: [],
6
+ fixes: [
7
+ '`AccountPage` dodany do eksportów `includio-cms/admin/client`.',
8
+ 'Scaffold (`admin/(afterLogin)/account/+page.svelte`) importuje `AccountPage` z `includio-cms/admin/client` zamiast nieistniejącego `includio-cms/admin/client/account`.'
9
+ ],
10
+ breakingChanges: []
11
+ };
@@ -64,6 +64,7 @@ import { update as update0261 } from './0.26.1/index.js';
64
64
  import { update as update0270 } from './0.27.0/index.js';
65
65
  import { update as update0280 } from './0.28.0/index.js';
66
66
  import { update as update0340 } from './0.34.0/index.js';
67
+ import { update as update0341 } from './0.34.1/index.js';
67
68
  export const updates = [
68
69
  update0065,
69
70
  update0066,
@@ -130,7 +131,8 @@ export const updates = [
130
131
  update0261,
131
132
  update0270,
132
133
  update0280,
133
- update0340
134
+ update0340,
135
+ update0341
134
136
  ];
135
137
  export const getUpdatesFrom = (fromVersion) => {
136
138
  const fromParts = fromVersion.split('.').map(Number);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "includio-cms",
3
- "version": "0.33.0",
3
+ "version": "0.34.1",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -1,5 +0,0 @@
1
- export const hello_world: (inputs: {
2
- name: NonNullable<unknown>;
3
- }) => string;
4
- export const login_hello: (inputs: {}) => string;
5
- export const login_please_login: (inputs: {}) => string;
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
-
3
-
4
- export const hello_world = /** @type {(inputs: { name: NonNullable<unknown> }) => string} */ (i) => {
5
- return `Hello, ${i.name} from en!`
6
- };
7
-
8
- export const login_hello = /** @type {(inputs: {}) => string} */ () => {
9
- return `Welcome back`
10
- };
11
-
12
- export const login_please_login = /** @type {(inputs: {}) => string} */ () => {
13
- return `Login to your account`
14
- };
@@ -1,5 +0,0 @@
1
- export const hello_world: (inputs: {
2
- name: NonNullable<unknown>;
3
- }) => string;
4
- export const login_hello: (inputs: {}) => string;
5
- export const login_please_login: (inputs: {}) => string;
@@ -1,14 +0,0 @@
1
- /* eslint-disable */
2
-
3
-
4
- export const hello_world = /** @type {(inputs: { name: NonNullable<unknown> }) => string} */ (i) => {
5
- return `Hello, ${i.name} from pl!`
6
- };
7
-
8
- export const login_hello = /** @type {(inputs: {}) => string} */ () => {
9
- return `Witaj ponownie`
10
- };
11
-
12
- export const login_please_login = /** @type {(inputs: {}) => string} */ () => {
13
- return `Zaloguj się na swoje konto`
14
- };