@lssm/lib.presentation-runtime-core 0.0.0-canary-20251217052941 → 0.0.0-canary-20251217060433

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 (2) hide show
  1. package/dist/index.d.ts +26 -0
  2. package/package.json +2 -2
@@ -0,0 +1,26 @@
1
+ //#region src/index.d.ts
2
+ interface ListState<TFilters extends Record<string, unknown>> {
3
+ q: string;
4
+ page: number;
5
+ limit: number;
6
+ sort?: string | null;
7
+ filters: TFilters;
8
+ }
9
+ type ListFetcher<TVars, TItem> = (vars: TVars) => Promise<{
10
+ items: TItem[];
11
+ totalItems?: number;
12
+ totalPages?: number;
13
+ }>;
14
+ interface NextAliasOptions {
15
+ uiKitWeb?: string;
16
+ uiKitNative?: string;
17
+ presentationReact?: string;
18
+ presentationNative?: string;
19
+ }
20
+ declare function withPresentationNextAliases(config: any, opts?: NextAliasOptions): any;
21
+ type MetroAliasOptions = NextAliasOptions & {
22
+ monorepoRoot?: string;
23
+ };
24
+ declare function withPresentationMetroAliases(config: any, opts?: MetroAliasOptions): any;
25
+ //#endregion
26
+ export { ListFetcher, ListState, MetroAliasOptions, NextAliasOptions, withPresentationMetroAliases, withPresentationNextAliases };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/lib.presentation-runtime-core",
3
- "version": "0.0.0-canary-20251217052941",
3
+ "version": "0.0.0-canary-20251217060433",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "README.md"
30
30
  ],
31
31
  "exports": {
32
- ".": "./src/index.ts",
32
+ ".": "./dist/index.js",
33
33
  "./*": "./*"
34
34
  },
35
35
  "publishConfig": {