Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pentops/react-table-state-psm

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pentops/react-table-state-psm - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

18

dist/filter.d.ts

@@ -6,8 +6,8 @@ import { OnChangeFn, PsmListV1Filter } from './types';

}
export interface FilterValue<TIdType extends string = string> {
export interface FilterValue<TIdType extends string = string, TValueType extends string = string> {
id: TIdType;
value: {
exact: string;
exact: TValueType;
} | {
in: string[];
in: TValueType[];
} | {

@@ -31,4 +31,4 @@ range: RangeFilter;

}
export interface EnumFilterType {
options: EnumFilterOption[];
export interface EnumFilterType<TValue extends string = string, TLabel = string> {
options: EnumFilterOption<TValue, TLabel>[];
}

@@ -39,4 +39,4 @@ export interface OneOfFilterOption<TValue extends string = string, TLabel = string> {

}
export interface OneOfFilterType {
options: OneOfFilterOption[];
export interface OneOfFilterType<TValue extends string = string, TLabel = string> {
options: OneOfFilterOption<TValue, TLabel>[];
}

@@ -59,8 +59,6 @@ export interface DateFilterType {

};
export interface BaseTableFilter<TIdType extends string = string, TValueType extends string = string, TLabelType = string, TFilterType extends BaseFilterType = BaseFilterType, TFilterOptions extends object = {}> {
export interface BaseTableFilter<TIdType extends string = string, TLabelType = string, TFilterType extends BaseFilterType = BaseFilterType> {
id: TIdType;
label: TLabelType;
defaultValues?: TValueType[];
type: TFilterType;
options?: TFilterOptions;
}

@@ -67,0 +65,0 @@ export declare function getPSMQueryFiltersFromTableState<TFilterField extends string = never>(filters: FilterState<TFilterField>): PsmListV1Filter<TFilterField>[] | undefined;

{
"name": "@pentops/react-table-state-psm",
"version": "0.0.5",
"version": "0.0.6",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc