@caraer/client 2.0.449 → 2.0.451
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +7 -3
- package/dist/api.d.ts +7 -3
- package/dist/esm/api.d.ts +7 -3
- package/docs/BulkEditRecordItem.md +2 -0
- package/docs/ExistingWidgetSummary.md +4 -4
- package/docs/SettingField.md +2 -2
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1130,6 +1130,10 @@ export interface BulkEditRecordItem {
|
|
|
1130
1130
|
* Property values to set on the record.
|
|
1131
1131
|
*/
|
|
1132
1132
|
'properties'?: { [key: string]: any | null; };
|
|
1133
|
+
/**
|
|
1134
|
+
* Relations to create or merge after the record is saved. Same shape as createOrUpdate.
|
|
1135
|
+
*/
|
|
1136
|
+
'relations'?: Array<RecordRelationRequestDTO>;
|
|
1133
1137
|
}
|
|
1134
1138
|
/**
|
|
1135
1139
|
* A successfully saved record from a bulk edit operation.
|
|
@@ -2202,9 +2206,9 @@ export const EventRsvpRequestScopeEnum = {
|
|
|
2202
2206
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2203
2207
|
|
|
2204
2208
|
export interface ExistingWidgetSummary {
|
|
2205
|
-
'ymetric'?: string;
|
|
2206
|
-
'xproperty'?: string;
|
|
2207
2209
|
'yproperty'?: string;
|
|
2210
|
+
'xproperty'?: string;
|
|
2211
|
+
'ymetric'?: string;
|
|
2208
2212
|
'title'?: string;
|
|
2209
2213
|
'chartType'?: string;
|
|
2210
2214
|
'xProperty'?: string;
|
|
@@ -5157,8 +5161,8 @@ export interface SettingField {
|
|
|
5157
5161
|
'hidden'?: boolean;
|
|
5158
5162
|
'disabled'?: boolean;
|
|
5159
5163
|
'options'?: Array<SettingOption>;
|
|
5160
|
-
'value'?: any;
|
|
5161
5164
|
'defaultValue'?: any;
|
|
5165
|
+
'value'?: any;
|
|
5162
5166
|
}
|
|
5163
5167
|
|
|
5164
5168
|
export const SettingFieldTypeEnum = {
|
package/dist/api.d.ts
CHANGED
|
@@ -1122,6 +1122,10 @@ export interface BulkEditRecordItem {
|
|
|
1122
1122
|
'properties'?: {
|
|
1123
1123
|
[key: string]: any | null;
|
|
1124
1124
|
};
|
|
1125
|
+
/**
|
|
1126
|
+
* Relations to create or merge after the record is saved. Same shape as createOrUpdate.
|
|
1127
|
+
*/
|
|
1128
|
+
'relations'?: Array<RecordRelationRequestDTO>;
|
|
1125
1129
|
}
|
|
1126
1130
|
/**
|
|
1127
1131
|
* A successfully saved record from a bulk edit operation.
|
|
@@ -2180,9 +2184,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2180
2184
|
};
|
|
2181
2185
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2182
2186
|
export interface ExistingWidgetSummary {
|
|
2183
|
-
'ymetric'?: string;
|
|
2184
|
-
'xproperty'?: string;
|
|
2185
2187
|
'yproperty'?: string;
|
|
2188
|
+
'xproperty'?: string;
|
|
2189
|
+
'ymetric'?: string;
|
|
2186
2190
|
'title'?: string;
|
|
2187
2191
|
'chartType'?: string;
|
|
2188
2192
|
'xProperty'?: string;
|
|
@@ -5187,8 +5191,8 @@ export interface SettingField {
|
|
|
5187
5191
|
'hidden'?: boolean;
|
|
5188
5192
|
'disabled'?: boolean;
|
|
5189
5193
|
'options'?: Array<SettingOption>;
|
|
5190
|
-
'value'?: any;
|
|
5191
5194
|
'defaultValue'?: any;
|
|
5195
|
+
'value'?: any;
|
|
5192
5196
|
}
|
|
5193
5197
|
export declare const SettingFieldTypeEnum: {
|
|
5194
5198
|
readonly String: "STRING";
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1122,6 +1122,10 @@ export interface BulkEditRecordItem {
|
|
|
1122
1122
|
'properties'?: {
|
|
1123
1123
|
[key: string]: any | null;
|
|
1124
1124
|
};
|
|
1125
|
+
/**
|
|
1126
|
+
* Relations to create or merge after the record is saved. Same shape as createOrUpdate.
|
|
1127
|
+
*/
|
|
1128
|
+
'relations'?: Array<RecordRelationRequestDTO>;
|
|
1125
1129
|
}
|
|
1126
1130
|
/**
|
|
1127
1131
|
* A successfully saved record from a bulk edit operation.
|
|
@@ -2180,9 +2184,9 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2180
2184
|
};
|
|
2181
2185
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2182
2186
|
export interface ExistingWidgetSummary {
|
|
2183
|
-
'ymetric'?: string;
|
|
2184
|
-
'xproperty'?: string;
|
|
2185
2187
|
'yproperty'?: string;
|
|
2188
|
+
'xproperty'?: string;
|
|
2189
|
+
'ymetric'?: string;
|
|
2186
2190
|
'title'?: string;
|
|
2187
2191
|
'chartType'?: string;
|
|
2188
2192
|
'xProperty'?: string;
|
|
@@ -5187,8 +5191,8 @@ export interface SettingField {
|
|
|
5187
5191
|
'hidden'?: boolean;
|
|
5188
5192
|
'disabled'?: boolean;
|
|
5189
5193
|
'options'?: Array<SettingOption>;
|
|
5190
|
-
'value'?: any;
|
|
5191
5194
|
'defaultValue'?: any;
|
|
5195
|
+
'value'?: any;
|
|
5192
5196
|
}
|
|
5193
5197
|
export declare const SettingFieldTypeEnum: {
|
|
5194
5198
|
readonly String: "STRING";
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**uuid** | **string** | UUID of an existing record to update. Omit to create a new record. | [optional] [default to undefined]
|
|
10
10
|
**clientRef** | **string** | Client-side reference for matching the item back after create (e.g. row-3). | [optional] [default to undefined]
|
|
11
11
|
**properties** | **{ [key: string]: any | null; }** | Property values to set on the record. | [optional] [default to undefined]
|
|
12
|
+
**relations** | [**Array<RecordRelationRequestDTO>**](RecordRelationRequestDTO.md) | Relations to create or merge after the record is saved. Same shape as createOrUpdate. | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -19,6 +20,7 @@ const instance: BulkEditRecordItem = {
|
|
|
19
20
|
uuid,
|
|
20
21
|
clientRef,
|
|
21
22
|
properties,
|
|
23
|
+
relations,
|
|
22
24
|
};
|
|
23
25
|
```
|
|
24
26
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**ymetric** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
8
|
**yproperty** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**ymetric** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**xProperty** | **string** | | [optional] [default to undefined]
|
|
@@ -20,9 +20,9 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
ymetric,
|
|
24
|
-
xproperty,
|
|
25
23
|
yproperty,
|
|
24
|
+
xproperty,
|
|
25
|
+
ymetric,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
|
28
28
|
xProperty,
|
package/docs/SettingField.md
CHANGED
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**hidden** | **boolean** | | [optional] [default to undefined]
|
|
15
15
|
**disabled** | **boolean** | | [optional] [default to undefined]
|
|
16
16
|
**_options** | [**Array<SettingOption>**](SettingOption.md) | | [optional] [default to undefined]
|
|
17
|
-
**value** | **any** | | [optional] [default to undefined]
|
|
18
17
|
**defaultValue** | **any** | | [optional] [default to undefined]
|
|
18
|
+
**value** | **any** | | [optional] [default to undefined]
|
|
19
19
|
|
|
20
20
|
## Example
|
|
21
21
|
|
|
@@ -32,8 +32,8 @@ const instance: SettingField = {
|
|
|
32
32
|
hidden,
|
|
33
33
|
disabled,
|
|
34
34
|
_options,
|
|
35
|
-
value,
|
|
36
35
|
defaultValue,
|
|
36
|
+
value,
|
|
37
37
|
};
|
|
38
38
|
```
|
|
39
39
|
|