@novu/client
Advanced tools
Comparing version 0.14.0 to 0.15.0
import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared'; | ||
import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery } from '../index'; | ||
import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery, IUnreadCountQuery } from '../index'; | ||
export declare class ApiService { | ||
@@ -26,3 +26,3 @@ private backendUrl; | ||
getUnseenCount(query?: IUnseenCountQuery): Promise<any>; | ||
getUnreadCount(query?: IUnseenCountQuery): Promise<any>; | ||
getUnreadCount(query?: IUnreadCountQuery): Promise<any>; | ||
getTabCount(query?: ITabCountQuery): Promise<any>; | ||
@@ -29,0 +29,0 @@ getOrganization(): Promise<any>; |
@@ -5,3 +5,9 @@ import { IPreferenceChannels } from '@novu/shared'; | ||
seen?: boolean; | ||
limit?: number; | ||
} | ||
export interface IUnreadCountQuery { | ||
feedIdentifier?: string | string[]; | ||
read?: boolean; | ||
limit?: number; | ||
} | ||
export interface IStoreQuery { | ||
@@ -11,2 +17,3 @@ feedIdentifier?: string | string[]; | ||
read?: boolean; | ||
limit?: number; | ||
} | ||
@@ -17,2 +24,3 @@ export interface ITabCountQuery { | ||
read?: boolean; | ||
limit?: number; | ||
} | ||
@@ -19,0 +27,0 @@ export interface IUserPreferenceSettings { |
import { IMessage, ButtonTypeEnum, MessageActionStatusEnum, IPaginatedResponse } from '@novu/shared'; | ||
import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery } from '../index'; | ||
import { ITabCountQuery, IStoreQuery, IUserPreferenceSettings, IUnseenCountQuery, IUnreadCountQuery } from '../index'; | ||
export declare class ApiService { | ||
@@ -26,3 +26,3 @@ private backendUrl; | ||
getUnseenCount(query?: IUnseenCountQuery): Promise<any>; | ||
getUnreadCount(query?: IUnseenCountQuery): Promise<any>; | ||
getUnreadCount(query?: IUnreadCountQuery): Promise<any>; | ||
getTabCount(query?: ITabCountQuery): Promise<any>; | ||
@@ -29,0 +29,0 @@ getOrganization(): Promise<any>; |
@@ -5,3 +5,9 @@ import { IPreferenceChannels } from '@novu/shared'; | ||
seen?: boolean; | ||
limit?: number; | ||
} | ||
export interface IUnreadCountQuery { | ||
feedIdentifier?: string | string[]; | ||
read?: boolean; | ||
limit?: number; | ||
} | ||
export interface IStoreQuery { | ||
@@ -11,2 +17,3 @@ feedIdentifier?: string | string[]; | ||
read?: boolean; | ||
limit?: number; | ||
} | ||
@@ -17,2 +24,3 @@ export interface ITabCountQuery { | ||
read?: boolean; | ||
limit?: number; | ||
} | ||
@@ -19,0 +27,0 @@ export interface IUserPreferenceSettings { |
{ | ||
"name": "@novu/client", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"repository": "https://github.com/novuhq/novu", | ||
@@ -21,8 +21,7 @@ "description": "API client to be used in end user environments", | ||
"build:cjs": "cross-env node_modules/.bin/tsc -p tsconfig.build.json", | ||
"lint": "pnpm test:lint", | ||
"fix": "run-s fix:*", | ||
"fix:prettier": "prettier \"src/**/*.ts\" --write", | ||
"fix:lint": "eslint src --ext .ts --fix", | ||
"test": "run-s build test:*", | ||
"test:lint": "eslint src --ext .ts", | ||
"test": "echo \"No tests yet, build tests only\"", | ||
"lint": "eslint src --ext .ts", | ||
"test:prettier": "prettier \"src/**/*.ts\"", | ||
@@ -49,3 +48,3 @@ "test:unit": "jest src", | ||
"dependencies": { | ||
"@novu/shared": "^0.14.0" | ||
"@novu/shared": "^0.15.0" | ||
}, | ||
@@ -57,5 +56,6 @@ "devDependencies": { | ||
"jest": "^27.0.6", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.5", | ||
"typedoc": "^0.23.0", | ||
"typedoc": "^0.24.0", | ||
"typescript": "4.9.5" | ||
@@ -66,3 +66,3 @@ }, | ||
}, | ||
"gitHead": "5a9741893eb530f3eb6d3dce90215e4d6684d50a" | ||
"gitHead": "6fedeccbd9598a6b445bfbfd732098193a7c7e42" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25262
402
9
3
+ Added@novu/shared@0.15.0(transitive)
- Removed@novu/shared@0.14.0(transitive)
Updated@novu/shared@^0.15.0