PR comments.

This commit is contained in:
mike12345567 2024-04-10 17:02:03 +01:00
parent d51bbb7952
commit 4d3d78f7a0
4 changed files with 17 additions and 16 deletions

View File

@ -1792,7 +1792,7 @@
},
"contains": {
"type": "object",
"description": "Searches for a value, or set of values in an array column types (such as a multi-select), if an array of search options is provided then it must match all.",
"description": "Searches for a value, or set of values in array column types (such as a multi-select). If an array of search options is provided then it must match all.",
"example": {
"arrayColumn": [
"a",
@ -1802,7 +1802,7 @@
},
"notContains": {
"type": "object",
"description": "As with the contains search, only functions for array column types, but searches for columns missing the supplied values.",
"description": "The logical inverse of contains. Only works on array column types. If an array of values is passed, the row must not match any of them to be returned in the response.",
"example": {
"arrayColumn": [
"a",
@ -1812,7 +1812,7 @@
},
"containsAny": {
"type": "object",
"description": "As with the contains search, only functions for array column types, but searches for any of the provided values when given an array.",
"description": "As with the contains search, only works on array column types and searches for any of the provided values when given an array.",
"example": {
"arrayColumn": [
"a",

View File

@ -1530,25 +1530,26 @@ components:
[value1, value2].
contains:
type: object
description: Searches for a value, or set of values in an array column types
(such as a multi-select), if an array of search options is
provided then it must match all.
description: Searches for a value, or set of values in array column types (such
as a multi-select). If an array of search options is provided
then it must match all.
example:
arrayColumn:
- a
- b
notContains:
type: object
description: As with the contains search, only functions for array column types,
but searches for columns missing the supplied values.
description: The logical inverse of contains. Only works on array column types.
If an array of values is passed, the row must not match any of
them to be returned in the response.
example:
arrayColumn:
- a
- b
containsAny:
type: object
description: As with the contains search, only functions for array column types,
but searches for any of the provided values when given an array.
description: As with the contains search, only works on array column types and
searches for any of the provided values when given an array.
example:
arrayColumn:
- a

View File

@ -71,7 +71,7 @@ export default new Resource().setSchemas({
contains: {
type: "object",
description:
"Searches for a value, or set of values in an array column types (such as a multi-select), if an array of search options is provided then it must match all.",
"Searches for a value, or set of values in array column types (such as a multi-select). If an array of search options is provided then it must match all.",
example: {
arrayColumn: ["a", "b"],
},
@ -79,7 +79,7 @@ export default new Resource().setSchemas({
notContains: {
type: "object",
description:
"As with the contains search, only functions for array column types, but searches for columns missing the supplied values.",
"The logical inverse of contains. Only works on array column types. If an array of values is passed, the row must not match any of them to be returned in the response.",
example: {
arrayColumn: ["a", "b"],
},
@ -87,7 +87,7 @@ export default new Resource().setSchemas({
containsAny: {
type: "object",
description:
"As with the contains search, only functions for array column types, but searches for any of the provided values when given an array.",
"As with the contains search, only works on array column types and searches for any of the provided values when given an array.",
example: {
arrayColumn: ["a", "b"],
},

View File

@ -717,17 +717,17 @@ export interface components {
/** @description Searches for rows which have a column value that is any of the specified values. The format of this must be columnName -> [value1, value2]. */
oneOf?: { [key: string]: unknown };
/**
* @description Searches for a value, or set of values in an array column types (such as a multi-select), if an array of search options is provided then it must match all.
* @description Searches for a value, or set of values in array column types (such as a multi-select). If an array of search options is provided then it must match all.
* @example [object Object]
*/
contains?: { [key: string]: unknown };
/**
* @description As with the contains search, only functions for array column types, but searches for columns missing the supplied values.
* @description The logical inverse of contains. Only works on array column types. If an array of values is passed, the row must not match any of them to be returned in the response.
* @example [object Object]
*/
notContains?: { [key: string]: unknown };
/**
* @description As with the contains search, only functions for array column types, but searches for any of the provided values when given an array.
* @description As with the contains search, only works on array column types and searches for any of the provided values when given an array.
* @example [object Object]
*/
containsAny?: { [key: string]: unknown };