jamespot-front-business 1.2.52 → 1.2.53
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/dist/types.d.ts +23 -23
- package/package.json +2 -2
- package/rollup.config.mjs +13 -2
package/dist/types.d.ts
CHANGED
|
@@ -1594,18 +1594,18 @@ declare const Bookmark: {
|
|
|
1594
1594
|
resetMoveBookmarkStatus: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkList/resetMoveBookmarkStatus">;
|
|
1595
1595
|
resetDeleteBookmarkStatus: _reduxjs_toolkit.ActionCreatorWithPayload<string, "bookmarkList/resetDeleteBookmarkStatus">;
|
|
1596
1596
|
addBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1597
|
-
type: "bookmarkLink";
|
|
1598
1597
|
id: number;
|
|
1599
1598
|
mainType: string;
|
|
1599
|
+
type: "bookmarkLink";
|
|
1600
1600
|
uri: string;
|
|
1601
1601
|
value: string | null;
|
|
1602
1602
|
srcId: number;
|
|
1603
1603
|
srcType: string;
|
|
1604
1604
|
targetId: number;
|
|
1605
1605
|
targetType: string | null;
|
|
1606
|
-
url?: string | null | undefined;
|
|
1607
1606
|
dateCreation?: string | undefined;
|
|
1608
1607
|
dateModified?: string | null | undefined;
|
|
1608
|
+
url?: string | null | undefined;
|
|
1609
1609
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1610
1610
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1611
1611
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1614,18 +1614,18 @@ declare const Bookmark: {
|
|
|
1614
1614
|
bookmarkMeta?: string | null | undefined;
|
|
1615
1615
|
}, "bookmarkList/addBookmarkRT">;
|
|
1616
1616
|
deleteBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1617
|
-
type: "bookmarkLink";
|
|
1618
1617
|
id: number;
|
|
1619
1618
|
mainType: string;
|
|
1619
|
+
type: "bookmarkLink";
|
|
1620
1620
|
uri: string;
|
|
1621
1621
|
value: string | null;
|
|
1622
1622
|
srcId: number;
|
|
1623
1623
|
srcType: string;
|
|
1624
1624
|
targetId: number;
|
|
1625
1625
|
targetType: string | null;
|
|
1626
|
-
url?: string | null | undefined;
|
|
1627
1626
|
dateCreation?: string | undefined;
|
|
1628
1627
|
dateModified?: string | null | undefined;
|
|
1628
|
+
url?: string | null | undefined;
|
|
1629
1629
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1630
1630
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1631
1631
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1634,18 +1634,18 @@ declare const Bookmark: {
|
|
|
1634
1634
|
bookmarkMeta?: string | null | undefined;
|
|
1635
1635
|
}, "bookmarkList/deleteBookmarkRT">;
|
|
1636
1636
|
updateBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1637
|
-
type: "bookmarkLink";
|
|
1638
1637
|
id: number;
|
|
1639
1638
|
mainType: string;
|
|
1639
|
+
type: "bookmarkLink";
|
|
1640
1640
|
uri: string;
|
|
1641
1641
|
value: string | null;
|
|
1642
1642
|
srcId: number;
|
|
1643
1643
|
srcType: string;
|
|
1644
1644
|
targetId: number;
|
|
1645
1645
|
targetType: string | null;
|
|
1646
|
-
url?: string | null | undefined;
|
|
1647
1646
|
dateCreation?: string | undefined;
|
|
1648
1647
|
dateModified?: string | null | undefined;
|
|
1648
|
+
url?: string | null | undefined;
|
|
1649
1649
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1650
1650
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1651
1651
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1654,18 +1654,18 @@ declare const Bookmark: {
|
|
|
1654
1654
|
bookmarkMeta?: string | null | undefined;
|
|
1655
1655
|
}, "bookmarkList/updateBookmarkRT">;
|
|
1656
1656
|
setEditBookmark: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1657
|
-
type: "bookmarkLink";
|
|
1658
1657
|
id: number;
|
|
1659
1658
|
mainType: string;
|
|
1659
|
+
type: "bookmarkLink";
|
|
1660
1660
|
uri: string;
|
|
1661
1661
|
value: string | null;
|
|
1662
1662
|
srcId: number;
|
|
1663
1663
|
srcType: string;
|
|
1664
1664
|
targetId: number;
|
|
1665
1665
|
targetType: string | null;
|
|
1666
|
-
url?: string | null | undefined;
|
|
1667
1666
|
dateCreation?: string | undefined;
|
|
1668
1667
|
dateModified?: string | null | undefined;
|
|
1668
|
+
url?: string | null | undefined;
|
|
1669
1669
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1670
1670
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1671
1671
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1676,18 +1676,18 @@ declare const Bookmark: {
|
|
|
1676
1676
|
unsetEditBookmark: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/unsetEditBookmark">;
|
|
1677
1677
|
resetStatus: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/resetStatus">;
|
|
1678
1678
|
fetchBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiPagingResults<{
|
|
1679
|
-
type: "bookmarkLink";
|
|
1680
1679
|
id: number;
|
|
1681
1680
|
mainType: string;
|
|
1681
|
+
type: "bookmarkLink";
|
|
1682
1682
|
uri: string;
|
|
1683
1683
|
value: string | null;
|
|
1684
1684
|
srcId: number;
|
|
1685
1685
|
srcType: string;
|
|
1686
1686
|
targetId: number;
|
|
1687
1687
|
targetType: string | null;
|
|
1688
|
-
url?: string | null | undefined;
|
|
1689
1688
|
dateCreation?: string | undefined;
|
|
1690
1689
|
dateModified?: string | null | undefined;
|
|
1690
|
+
url?: string | null | undefined;
|
|
1691
1691
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1692
1692
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1693
1693
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1710,18 +1710,18 @@ declare const Bookmark: {
|
|
|
1710
1710
|
rejectedMeta?: unknown;
|
|
1711
1711
|
}>;
|
|
1712
1712
|
addBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<{
|
|
1713
|
-
type: "bookmarkLink";
|
|
1714
1713
|
id: number;
|
|
1715
1714
|
mainType: string;
|
|
1715
|
+
type: "bookmarkLink";
|
|
1716
1716
|
uri: string;
|
|
1717
1717
|
value: string | null;
|
|
1718
1718
|
srcId: number;
|
|
1719
1719
|
srcType: string;
|
|
1720
1720
|
targetId: number;
|
|
1721
1721
|
targetType: string | null;
|
|
1722
|
-
url?: string | null | undefined;
|
|
1723
1722
|
dateCreation?: string | undefined;
|
|
1724
1723
|
dateModified?: string | null | undefined;
|
|
1724
|
+
url?: string | null | undefined;
|
|
1725
1725
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1726
1726
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1727
1727
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1729,9 +1729,9 @@ declare const Bookmark: {
|
|
|
1729
1729
|
bookmarkLabel?: string | undefined;
|
|
1730
1730
|
bookmarkMeta?: string | null | undefined;
|
|
1731
1731
|
} | {
|
|
1732
|
-
type: string;
|
|
1733
1732
|
id: number;
|
|
1734
1733
|
mainType: string;
|
|
1734
|
+
type: string;
|
|
1735
1735
|
uri: string;
|
|
1736
1736
|
value: string | null;
|
|
1737
1737
|
srcId: number;
|
|
@@ -1752,18 +1752,18 @@ declare const Bookmark: {
|
|
|
1752
1752
|
dateModified: string;
|
|
1753
1753
|
} | undefined;
|
|
1754
1754
|
}, jamespot_user_api.BaseMessagesOne> | jamespot_user_api.ApiWrapper<{
|
|
1755
|
-
type: "bookmarkLink";
|
|
1756
1755
|
id: number;
|
|
1757
1756
|
mainType: string;
|
|
1757
|
+
type: "bookmarkLink";
|
|
1758
1758
|
uri: string;
|
|
1759
1759
|
value: string | null;
|
|
1760
1760
|
srcId: number;
|
|
1761
1761
|
srcType: string;
|
|
1762
1762
|
targetId: number;
|
|
1763
1763
|
targetType: string | null;
|
|
1764
|
-
url?: string | null | undefined;
|
|
1765
1764
|
dateCreation?: string | undefined;
|
|
1766
1765
|
dateModified?: string | null | undefined;
|
|
1766
|
+
url?: string | null | undefined;
|
|
1767
1767
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1768
1768
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1769
1769
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1815,18 +1815,18 @@ declare const Bookmark: {
|
|
|
1815
1815
|
rejectedMeta?: unknown;
|
|
1816
1816
|
}>;
|
|
1817
1817
|
deleteBookmark: _reduxjs_toolkit.AsyncThunk<void, Pick<{
|
|
1818
|
-
type: "bookmarkLink";
|
|
1819
1818
|
id: number;
|
|
1820
1819
|
mainType: string;
|
|
1820
|
+
type: "bookmarkLink";
|
|
1821
1821
|
uri: string;
|
|
1822
1822
|
value: string | null;
|
|
1823
1823
|
srcId: number;
|
|
1824
1824
|
srcType: string;
|
|
1825
1825
|
targetId: number;
|
|
1826
1826
|
targetType: string | null;
|
|
1827
|
-
url?: string | null | undefined;
|
|
1828
1827
|
dateCreation?: string | undefined;
|
|
1829
1828
|
dateModified?: string | null | undefined;
|
|
1829
|
+
url?: string | null | undefined;
|
|
1830
1830
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1831
1831
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1832
1832
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1851,18 +1851,18 @@ declare const Bookmark: {
|
|
|
1851
1851
|
rejectedMeta?: unknown;
|
|
1852
1852
|
}>;
|
|
1853
1853
|
editBookmark: _reduxjs_toolkit.AsyncThunk<void, Partial<{
|
|
1854
|
-
type: "bookmarkLink";
|
|
1855
1854
|
id: number;
|
|
1856
1855
|
mainType: string;
|
|
1856
|
+
type: "bookmarkLink";
|
|
1857
1857
|
uri: string;
|
|
1858
1858
|
value: string | null;
|
|
1859
1859
|
srcId: number;
|
|
1860
1860
|
srcType: string;
|
|
1861
1861
|
targetId: number;
|
|
1862
1862
|
targetType: string | null;
|
|
1863
|
-
url?: string | null | undefined;
|
|
1864
1863
|
dateCreation?: string | undefined;
|
|
1865
1864
|
dateModified?: string | null | undefined;
|
|
1865
|
+
url?: string | null | undefined;
|
|
1866
1866
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1867
1867
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1868
1868
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1889,18 +1889,18 @@ declare const Bookmark: {
|
|
|
1889
1889
|
bookmarkList: (state: RootState$1) => bookmarkListState;
|
|
1890
1890
|
bookmarkListIsInitialized: (state: RootState$1) => boolean;
|
|
1891
1891
|
bookmarkEditBookmark: (state: RootState$1) => {
|
|
1892
|
-
type: "bookmarkLink";
|
|
1893
1892
|
id: number;
|
|
1894
1893
|
mainType: string;
|
|
1894
|
+
type: "bookmarkLink";
|
|
1895
1895
|
uri: string;
|
|
1896
1896
|
value: string | null;
|
|
1897
1897
|
srcId: number;
|
|
1898
1898
|
srcType: string;
|
|
1899
1899
|
targetId: number;
|
|
1900
1900
|
targetType: string | null;
|
|
1901
|
-
url?: string | null | undefined;
|
|
1902
1901
|
dateCreation?: string | undefined;
|
|
1903
1902
|
dateModified?: string | null | undefined;
|
|
1903
|
+
url?: string | null | undefined;
|
|
1904
1904
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1905
1905
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1906
1906
|
bookmarkUrl?: string | null | undefined;
|
|
@@ -1909,18 +1909,18 @@ declare const Bookmark: {
|
|
|
1909
1909
|
bookmarkMeta?: string | null | undefined;
|
|
1910
1910
|
} | undefined;
|
|
1911
1911
|
bookmarkByArticleId: (state: RootState$1, idArticle: number) => {
|
|
1912
|
-
type: "bookmarkLink";
|
|
1913
1912
|
id: number;
|
|
1914
1913
|
mainType: string;
|
|
1914
|
+
type: "bookmarkLink";
|
|
1915
1915
|
uri: string;
|
|
1916
1916
|
value: string | null;
|
|
1917
1917
|
srcId: number;
|
|
1918
1918
|
srcType: string;
|
|
1919
1919
|
targetId: number;
|
|
1920
1920
|
targetType: string | null;
|
|
1921
|
-
url?: string | null | undefined;
|
|
1922
1921
|
dateCreation?: string | undefined;
|
|
1923
1922
|
dateModified?: string | null | undefined;
|
|
1923
|
+
url?: string | null | undefined;
|
|
1924
1924
|
_src?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1925
1925
|
_target?: jamespot_user_api.jObjectLittle | jamespot_user_api.jUserLittle | undefined;
|
|
1926
1926
|
bookmarkUrl?: string | null | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.53",
|
|
4
4
|
"description": "typescript utils",
|
|
5
5
|
"main": "dist/cjs.js",
|
|
6
6
|
"module": "dist/esm.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"eslint-config-prettier": "^8.10.2",
|
|
32
32
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
33
33
|
"eslint-plugin-import": "^2.32.0",
|
|
34
|
-
"jamespot-user-api": "^1.2.
|
|
34
|
+
"jamespot-user-api": "^1.2.53",
|
|
35
35
|
"jest": "^30.2.0",
|
|
36
36
|
"jest-environment-jsdom": "^30.2.0",
|
|
37
37
|
"prettier": "^3.6.2",
|
package/rollup.config.mjs
CHANGED
|
@@ -6,6 +6,17 @@ import dts from 'rollup-plugin-dts';
|
|
|
6
6
|
const pkg = require('./package.json');
|
|
7
7
|
import json from '@rollup/plugin-json';
|
|
8
8
|
|
|
9
|
+
function exitAfterBuild() {
|
|
10
|
+
return {
|
|
11
|
+
name: 'exit-after-build',
|
|
12
|
+
closeBundle() {
|
|
13
|
+
if (!process.env.ROLLUP_WATCH) {
|
|
14
|
+
setImmediate(() => process.exit(0));
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
9
20
|
export default [
|
|
10
21
|
{
|
|
11
22
|
input: 'src/index.ts',
|
|
@@ -30,7 +41,7 @@ export default [
|
|
|
30
41
|
file: pkg.types,
|
|
31
42
|
format: 'es',
|
|
32
43
|
},
|
|
33
|
-
|
|
34
|
-
plugins: [dts(), json()],
|
|
44
|
+
external: ['redux', '@reduxjs/toolkit', 'jamespot-user-api', 'uuid'],
|
|
45
|
+
plugins: [dts(), json(), exitAfterBuild()],
|
|
35
46
|
},
|
|
36
47
|
];
|