jamespot-front-business 1.2.52 → 1.2.54
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 +18 -18
- package/package.json +2 -2
- package/rollup.config.mjs +13 -2
package/dist/types.d.ts
CHANGED
|
@@ -1595,10 +1595,10 @@ declare const Bookmark: {
|
|
|
1595
1595
|
resetDeleteBookmarkStatus: _reduxjs_toolkit.ActionCreatorWithPayload<string, "bookmarkList/resetDeleteBookmarkStatus">;
|
|
1596
1596
|
addBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1597
1597
|
type: "bookmarkLink";
|
|
1598
|
+
value: string | null;
|
|
1598
1599
|
id: number;
|
|
1599
1600
|
mainType: string;
|
|
1600
1601
|
uri: string;
|
|
1601
|
-
value: string | null;
|
|
1602
1602
|
srcId: number;
|
|
1603
1603
|
srcType: string;
|
|
1604
1604
|
targetId: number;
|
|
@@ -1615,10 +1615,10 @@ declare const Bookmark: {
|
|
|
1615
1615
|
}, "bookmarkList/addBookmarkRT">;
|
|
1616
1616
|
deleteBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1617
1617
|
type: "bookmarkLink";
|
|
1618
|
+
value: string | null;
|
|
1618
1619
|
id: number;
|
|
1619
1620
|
mainType: string;
|
|
1620
1621
|
uri: string;
|
|
1621
|
-
value: string | null;
|
|
1622
1622
|
srcId: number;
|
|
1623
1623
|
srcType: string;
|
|
1624
1624
|
targetId: number;
|
|
@@ -1635,10 +1635,10 @@ declare const Bookmark: {
|
|
|
1635
1635
|
}, "bookmarkList/deleteBookmarkRT">;
|
|
1636
1636
|
updateBookmarkRT: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1637
1637
|
type: "bookmarkLink";
|
|
1638
|
+
value: string | null;
|
|
1638
1639
|
id: number;
|
|
1639
1640
|
mainType: string;
|
|
1640
1641
|
uri: string;
|
|
1641
|
-
value: string | null;
|
|
1642
1642
|
srcId: number;
|
|
1643
1643
|
srcType: string;
|
|
1644
1644
|
targetId: number;
|
|
@@ -1655,10 +1655,10 @@ declare const Bookmark: {
|
|
|
1655
1655
|
}, "bookmarkList/updateBookmarkRT">;
|
|
1656
1656
|
setEditBookmark: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
1657
1657
|
type: "bookmarkLink";
|
|
1658
|
+
value: string | null;
|
|
1658
1659
|
id: number;
|
|
1659
1660
|
mainType: string;
|
|
1660
1661
|
uri: string;
|
|
1661
|
-
value: string | null;
|
|
1662
1662
|
srcId: number;
|
|
1663
1663
|
srcType: string;
|
|
1664
1664
|
targetId: number;
|
|
@@ -1677,10 +1677,10 @@ declare const Bookmark: {
|
|
|
1677
1677
|
resetStatus: _reduxjs_toolkit.ActionCreatorWithoutPayload<"bookmarkEdit/resetStatus">;
|
|
1678
1678
|
fetchBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiPagingResults<{
|
|
1679
1679
|
type: "bookmarkLink";
|
|
1680
|
+
value: string | null;
|
|
1680
1681
|
id: number;
|
|
1681
1682
|
mainType: string;
|
|
1682
1683
|
uri: string;
|
|
1683
|
-
value: string | null;
|
|
1684
1684
|
srcId: number;
|
|
1685
1685
|
srcType: string;
|
|
1686
1686
|
targetId: number;
|
|
@@ -1711,10 +1711,10 @@ declare const Bookmark: {
|
|
|
1711
1711
|
}>;
|
|
1712
1712
|
addBookmark: _reduxjs_toolkit.AsyncThunk<jamespot_user_api.ApiWrapper<{
|
|
1713
1713
|
type: "bookmarkLink";
|
|
1714
|
+
value: string | null;
|
|
1714
1715
|
id: number;
|
|
1715
1716
|
mainType: string;
|
|
1716
1717
|
uri: string;
|
|
1717
|
-
value: string | null;
|
|
1718
1718
|
srcId: number;
|
|
1719
1719
|
srcType: string;
|
|
1720
1720
|
targetId: number;
|
|
@@ -1730,10 +1730,10 @@ declare const Bookmark: {
|
|
|
1730
1730
|
bookmarkMeta?: string | null | undefined;
|
|
1731
1731
|
} | {
|
|
1732
1732
|
type: string;
|
|
1733
|
+
value: string | null;
|
|
1733
1734
|
id: number;
|
|
1734
1735
|
mainType: string;
|
|
1735
1736
|
uri: string;
|
|
1736
|
-
value: string | null;
|
|
1737
1737
|
srcId: number;
|
|
1738
1738
|
srcType: string;
|
|
1739
1739
|
targetId: number;
|
|
@@ -1753,10 +1753,10 @@ declare const Bookmark: {
|
|
|
1753
1753
|
} | undefined;
|
|
1754
1754
|
}, jamespot_user_api.BaseMessagesOne> | jamespot_user_api.ApiWrapper<{
|
|
1755
1755
|
type: "bookmarkLink";
|
|
1756
|
+
value: string | null;
|
|
1756
1757
|
id: number;
|
|
1757
1758
|
mainType: string;
|
|
1758
1759
|
uri: string;
|
|
1759
|
-
value: string | null;
|
|
1760
1760
|
srcId: number;
|
|
1761
1761
|
srcType: string;
|
|
1762
1762
|
targetId: number;
|
|
@@ -1816,10 +1816,10 @@ declare const Bookmark: {
|
|
|
1816
1816
|
}>;
|
|
1817
1817
|
deleteBookmark: _reduxjs_toolkit.AsyncThunk<void, Pick<{
|
|
1818
1818
|
type: "bookmarkLink";
|
|
1819
|
+
value: string | null;
|
|
1819
1820
|
id: number;
|
|
1820
1821
|
mainType: string;
|
|
1821
1822
|
uri: string;
|
|
1822
|
-
value: string | null;
|
|
1823
1823
|
srcId: number;
|
|
1824
1824
|
srcType: string;
|
|
1825
1825
|
targetId: number;
|
|
@@ -1852,10 +1852,10 @@ declare const Bookmark: {
|
|
|
1852
1852
|
}>;
|
|
1853
1853
|
editBookmark: _reduxjs_toolkit.AsyncThunk<void, Partial<{
|
|
1854
1854
|
type: "bookmarkLink";
|
|
1855
|
+
value: string | null;
|
|
1855
1856
|
id: number;
|
|
1856
1857
|
mainType: string;
|
|
1857
1858
|
uri: string;
|
|
1858
|
-
value: string | null;
|
|
1859
1859
|
srcId: number;
|
|
1860
1860
|
srcType: string;
|
|
1861
1861
|
targetId: number;
|
|
@@ -1890,10 +1890,10 @@ declare const Bookmark: {
|
|
|
1890
1890
|
bookmarkListIsInitialized: (state: RootState$1) => boolean;
|
|
1891
1891
|
bookmarkEditBookmark: (state: RootState$1) => {
|
|
1892
1892
|
type: "bookmarkLink";
|
|
1893
|
+
value: string | null;
|
|
1893
1894
|
id: number;
|
|
1894
1895
|
mainType: string;
|
|
1895
1896
|
uri: string;
|
|
1896
|
-
value: string | null;
|
|
1897
1897
|
srcId: number;
|
|
1898
1898
|
srcType: string;
|
|
1899
1899
|
targetId: number;
|
|
@@ -1910,10 +1910,10 @@ declare const Bookmark: {
|
|
|
1910
1910
|
} | undefined;
|
|
1911
1911
|
bookmarkByArticleId: (state: RootState$1, idArticle: number) => {
|
|
1912
1912
|
type: "bookmarkLink";
|
|
1913
|
+
value: string | null;
|
|
1913
1914
|
id: number;
|
|
1914
1915
|
mainType: string;
|
|
1915
1916
|
uri: string;
|
|
1916
|
-
value: string | null;
|
|
1917
1917
|
srcId: number;
|
|
1918
1918
|
srcType: string;
|
|
1919
1919
|
targetId: number;
|
|
@@ -1930,13 +1930,13 @@ declare const Bookmark: {
|
|
|
1930
1930
|
} | undefined;
|
|
1931
1931
|
};
|
|
1932
1932
|
getRTHandlers: (dispatch: AppDispatch) => ({
|
|
1933
|
-
namespace: "CUSTOM-ACTION";
|
|
1934
|
-
function: "update" | "add" | "remove";
|
|
1935
|
-
handler: (message: jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "update", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "add", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "remove", {}, {}>) => void;
|
|
1936
|
-
} | {
|
|
1937
1933
|
namespace: "BOOKMARKS";
|
|
1938
1934
|
function: "update" | "add" | "delete";
|
|
1939
1935
|
handler: (message: jamespot_user_api.RTMessageObject<"BOOKMARKS", "update", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "add", {}, {}> | jamespot_user_api.RTMessageObject<"BOOKMARKS", "delete", {}, {}>) => void;
|
|
1936
|
+
} | {
|
|
1937
|
+
namespace: "CUSTOM-ACTION";
|
|
1938
|
+
function: "update" | "add" | "remove";
|
|
1939
|
+
handler: (message: jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "update", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "add", {}, {}> | jamespot_user_api.RTMessageObject<"CUSTOM-ACTION", "remove", {}, {}>) => void;
|
|
1940
1940
|
})[];
|
|
1941
1941
|
};
|
|
1942
1942
|
|
|
@@ -2467,7 +2467,7 @@ declare const Calendar: {
|
|
|
2467
2467
|
fulfilledMeta?: unknown;
|
|
2468
2468
|
rejectedMeta?: unknown;
|
|
2469
2469
|
}>;
|
|
2470
|
-
setTypes: _reduxjs_toolkit.AsyncThunk<boolean, ("
|
|
2470
|
+
setTypes: _reduxjs_toolkit.AsyncThunk<boolean, ("socialEvent" | "meeting" | "animatedMeeting" | "boardCard")[], {
|
|
2471
2471
|
dispatch: AppDispatch;
|
|
2472
2472
|
state: RootState$1;
|
|
2473
2473
|
extra: {
|
|
@@ -5232,7 +5232,7 @@ declare const Widget: {
|
|
|
5232
5232
|
fn: "widget-presence-response" | "check-list-response" | "widget-update" | "widget-quick-survey-response";
|
|
5233
5233
|
}[];
|
|
5234
5234
|
selectFlushedWidgets: (state: RootState$1) => string[];
|
|
5235
|
-
selectWidgetContext: (state: RootState$1, uniqid: string) => "
|
|
5235
|
+
selectWidgetContext: (state: RootState$1, uniqid: string) => "comment" | "article" | undefined;
|
|
5236
5236
|
selectWidgetLevel: (state: RootState$1, uniqid: string) => 1 | 2 | 3 | 4 | undefined;
|
|
5237
5237
|
selectWidgetWrapperStyle: (state: RootState$1, uniqid: string) => Record<string, string | number>;
|
|
5238
5238
|
selectWidgetTitleStyle: (state: RootState$1, uniqid: string) => Record<string, string | number>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-front-business",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.54",
|
|
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.54",
|
|
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
|
];
|