@lssm/lib.presentation-runtime-core 1.11.1 → 1.41.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/README.md +5 -0
- package/package.json +3 -3
- package/dist/index.d.ts +0 -26
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/lib.presentation-runtime-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.41.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"typescript": "^5.9.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"tsdown": "^0.
|
|
23
|
+
"tsdown": "^0.17.4",
|
|
24
24
|
"typescript": "^5.9.3"
|
|
25
25
|
},
|
|
26
26
|
"files": [
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"README.md"
|
|
29
29
|
],
|
|
30
30
|
"exports": {
|
|
31
|
-
".": "./
|
|
31
|
+
".": "./src/index.ts",
|
|
32
32
|
"./*": "./*"
|
|
33
33
|
},
|
|
34
34
|
"publishConfig": {
|
package/dist/index.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|