@trycourier/react-hooks
Advanced tools
Comparing version 1.21.1-internal.2710ef0.0 to 1.21.1-internal.a7e897e.0
@@ -8,3 +8,3 @@ "use strict"; | ||
}); | ||
exports["default"] = exports.DEFAULT_TABS = void 0; | ||
exports["default"] = void 0; | ||
@@ -19,15 +19,2 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); | ||
var DEFAULT_TABS = [{ | ||
id: "unread", | ||
label: "Unread", | ||
filters: { | ||
isRead: false | ||
} | ||
}, { | ||
id: "all", | ||
label: "All Messages", | ||
filters: {} | ||
}]; | ||
exports.DEFAULT_TABS = DEFAULT_TABS; | ||
var makeMessage = function makeMessage(message) { | ||
@@ -52,5 +39,3 @@ var _message$content, _message$content2, _message$content3, _message$content4, _message$content5; | ||
view: "messages", | ||
unreadMessageCount: 0, | ||
tabs: DEFAULT_TABS, | ||
currentTab: DEFAULT_TABS[0] | ||
unreadMessageCount: 0 | ||
}; | ||
@@ -57,0 +42,0 @@ |
{ | ||
"name": "@trycourier/react-hooks", | ||
"version": "1.21.1-internal.2710ef0.0+2710ef0", | ||
"version": "1.21.1-internal.a7e897e.0+a7e897e", | ||
"description": "", | ||
@@ -22,4 +22,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@trycourier/client-graphql": "^1.21.1-internal.2710ef0.0+2710ef0", | ||
"@trycourier/react-provider": "^1.21.1-internal.2710ef0.0+2710ef0", | ||
"@trycourier/client-graphql": "^1.21.1-internal.a7e897e.0+a7e897e", | ||
"@trycourier/react-provider": "^1.21.1-internal.a7e897e.0+a7e897e", | ||
"deep-extend": "^0.6.0", | ||
@@ -39,3 +39,3 @@ "rimraf": "^3.0.2" | ||
}, | ||
"gitHead": "2710ef01c1a1208fa386b6743169766694d0e0ec" | ||
"gitHead": "a7e897e9d72e90d3b019159f27fb6a8de449bf2c" | ||
} |
import { IInbox } from "./types"; | ||
export declare const DEFAULT_TABS: ({ | ||
id: string; | ||
label: string; | ||
filters: { | ||
isRead: boolean; | ||
}; | ||
} | { | ||
id: string; | ||
label: string; | ||
filters: { | ||
isRead?: undefined; | ||
}; | ||
})[]; | ||
declare const _default: (state: IInbox | undefined, action: any) => IInbox; | ||
export default _default; | ||
//# sourceMappingURL=reducer.d.ts.map |
@@ -31,3 +31,2 @@ import { Brand, IActionBlock, ITextBlock } from "@trycourier/react-provider"; | ||
isOpen?: boolean; | ||
tabs?: ITab[]; | ||
currentTab?: ITab; | ||
@@ -34,0 +33,0 @@ isLoading?: boolean; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
33348
520