civicrm-api
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -17,3 +17,3 @@ import { BaseRequestFn } from "../types"; | ||
} | ||
export type Value = string | number | string[] | number[] | boolean | boolean[] | null; | ||
export type Value = string | number | string[] | number[] | boolean | boolean[] | null | Date; | ||
type Many<T> = T | readonly T[]; | ||
@@ -36,2 +36,5 @@ type WhereOperator = "=" | "<=" | ">=" | ">" | "<" | "LIKE" | "<>" | "!=" | "NOT LIKE" | "IN" | "NOT IN" | "BETWEEN" | "NOT BETWEEN" | "IS NOT NULL" | "IS NULL" | "CONTAINS" | "NOT CONTAINS" | "IS EMPTY" | "IS NOT EMPTY" | "REGEXP" | "NOT REGEXP"; | ||
chain?: Record<string, RequestParams>; | ||
records?: Record<string, Value>[]; | ||
defaults?: Record<string, Value>; | ||
match?: string[]; | ||
} | Record<string, Value>; | ||
@@ -38,0 +41,0 @@ export type Index = number; |
{ | ||
"name": "civicrm-api", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "TypeScript client for the CiviCRM API, supporting both API v4 and v3.", |
@@ -28,3 +28,4 @@ import { BaseRequestFn } from "../types"; | ||
| boolean[] | ||
| null; | ||
| null | ||
| Date; | ||
@@ -80,2 +81,5 @@ type Many<T> = T | readonly T[]; | ||
chain?: Record<string, RequestParams>; | ||
records?: Record<string, Value>[]; | ||
defaults?: Record<string, Value>; | ||
match?: string[]; | ||
} | ||
@@ -82,0 +86,0 @@ | Record<string, Value>; |
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
728998
1788