@soma-vertical-web/multi-lib 0.0.37 → 0.0.38
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/cms/Sections/BannerCarousel/BannerCarousel.d.ts +2 -2
- package/cms/Sections/BannerCarousel/index.d.ts +1 -1
- package/cms/index.d.ts +1 -1
- package/index.js +9 -9
- package/index.mjs +1232 -1227
- package/package.json +1 -1
- package/types/cms/Sections/BannerCarousel/index.d.ts +4 -1
- package/types/data/actions/index.d.ts +1 -2
- package/types/utils.d.ts +3 -0
package/package.json
CHANGED
|
@@ -18,9 +18,12 @@ export interface BannerCarouselSectionType extends ISectionResponseBase {
|
|
|
18
18
|
banners: BannerType[];
|
|
19
19
|
componentIndex: number;
|
|
20
20
|
first?: boolean;
|
|
21
|
-
icons: ICONSType;
|
|
22
21
|
};
|
|
23
22
|
}
|
|
23
|
+
export interface BannerCarouselProps {
|
|
24
|
+
data: BannerCarouselSectionType;
|
|
25
|
+
ICONS: ICONSType;
|
|
26
|
+
}
|
|
24
27
|
export interface BannerCarouselControllersType {
|
|
25
28
|
prevOnClick: () => void;
|
|
26
29
|
nextOnClick: () => void;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import { IntRange } from '../../utils';
|
|
1
2
|
import { FetchFunctionsProps, FetchOptions } from '../api';
|
|
2
3
|
|
|
3
|
-
type Enumerate<N extends number, Acc extends number[] = []> = Acc['length'] extends N ? Acc[number] : Enumerate<N, [...Acc, Acc['length']]>;
|
|
4
|
-
type IntRange<F extends number, T extends number> = Exclude<Enumerate<T>, Enumerate<F>>;
|
|
5
4
|
type searchResourcesRange = IntRange<1, 101>;
|
|
6
5
|
export interface PayloadProps {
|
|
7
6
|
[key: string]: FormDataEntryValue;
|
package/types/utils.d.ts
ADDED