redis-type-os 1.0.3

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.
@@ -0,0 +1,203 @@
1
+ [redis-om](../README.md) / InvalidValue
2
+
3
+ # Class: InvalidValue
4
+
5
+ ## Hierarchy
6
+
7
+ - [`RedisOmError`](RedisOmError.md)
8
+
9
+ ↳ **`InvalidValue`**
10
+
11
+ ↳↳ [`NullJsonValue`](NullJsonValue.md)
12
+
13
+ ↳↳ [`InvalidJsonValue`](InvalidJsonValue.md)
14
+
15
+ ↳↳ [`InvalidHashValue`](InvalidHashValue.md)
16
+
17
+ ## Table of contents
18
+
19
+ ### Constructors
20
+
21
+ - [constructor](InvalidValue.md#constructor)
22
+
23
+ ### Properties
24
+
25
+ - [cause](InvalidValue.md#cause)
26
+ - [message](InvalidValue.md#message)
27
+ - [name](InvalidValue.md#name)
28
+ - [stack](InvalidValue.md#stack)
29
+ - [prepareStackTrace](InvalidValue.md#preparestacktrace)
30
+ - [stackTraceLimit](InvalidValue.md#stacktracelimit)
31
+
32
+ ### Methods
33
+
34
+ - [captureStackTrace](InvalidValue.md#capturestacktrace)
35
+
36
+ ## Constructors
37
+
38
+ ### constructor
39
+
40
+ • **new InvalidValue**(`message?`)
41
+
42
+ #### Parameters
43
+
44
+ | Name | Type |
45
+ | :------ | :------ |
46
+ | `message?` | `string` |
47
+
48
+ #### Inherited from
49
+
50
+ [RedisOmError](RedisOmError.md).[constructor](RedisOmError.md#constructor)
51
+
52
+ #### Defined in
53
+
54
+ node_modules/typescript/lib/lib.es5.d.ts:1059
55
+
56
+ • **new InvalidValue**(`message?`, `options?`)
57
+
58
+ #### Parameters
59
+
60
+ | Name | Type |
61
+ | :------ | :------ |
62
+ | `message?` | `string` |
63
+ | `options?` | `ErrorOptions` |
64
+
65
+ #### Inherited from
66
+
67
+ [RedisOmError](RedisOmError.md).[constructor](RedisOmError.md#constructor)
68
+
69
+ #### Defined in
70
+
71
+ node_modules/typescript/lib/lib.es2022.error.d.ts:30
72
+
73
+ ## Properties
74
+
75
+ ### cause
76
+
77
+ • `Optional` **cause**: `unknown`
78
+
79
+ #### Inherited from
80
+
81
+ [RedisOmError](RedisOmError.md).[cause](RedisOmError.md#cause)
82
+
83
+ #### Defined in
84
+
85
+ node_modules/typescript/lib/lib.es2022.error.d.ts:26
86
+
87
+ ___
88
+
89
+ ### message
90
+
91
+ • **message**: `string`
92
+
93
+ #### Inherited from
94
+
95
+ [RedisOmError](RedisOmError.md).[message](RedisOmError.md#message)
96
+
97
+ #### Defined in
98
+
99
+ node_modules/typescript/lib/lib.es5.d.ts:1054
100
+
101
+ ___
102
+
103
+ ### name
104
+
105
+ • **name**: `string`
106
+
107
+ #### Inherited from
108
+
109
+ [RedisOmError](RedisOmError.md).[name](RedisOmError.md#name)
110
+
111
+ #### Defined in
112
+
113
+ node_modules/typescript/lib/lib.es5.d.ts:1053
114
+
115
+ ___
116
+
117
+ ### stack
118
+
119
+ • `Optional` **stack**: `string`
120
+
121
+ #### Inherited from
122
+
123
+ [RedisOmError](RedisOmError.md).[stack](RedisOmError.md#stack)
124
+
125
+ #### Defined in
126
+
127
+ node_modules/typescript/lib/lib.es5.d.ts:1055
128
+
129
+ ___
130
+
131
+ ### prepareStackTrace
132
+
133
+ ▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
134
+
135
+ #### Type declaration
136
+
137
+ ▸ (`err`, `stackTraces`): `any`
138
+
139
+ Optional override for formatting stack traces
140
+
141
+ **`See`**
142
+
143
+ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
144
+
145
+ ##### Parameters
146
+
147
+ | Name | Type |
148
+ | :------ | :------ |
149
+ | `err` | `Error` |
150
+ | `stackTraces` | `CallSite`[] |
151
+
152
+ ##### Returns
153
+
154
+ `any`
155
+
156
+ #### Inherited from
157
+
158
+ [RedisOmError](RedisOmError.md).[prepareStackTrace](RedisOmError.md#preparestacktrace)
159
+
160
+ #### Defined in
161
+
162
+ node_modules/@types/node/globals.d.ts:11
163
+
164
+ ___
165
+
166
+ ### stackTraceLimit
167
+
168
+ ▪ `Static` **stackTraceLimit**: `number`
169
+
170
+ #### Inherited from
171
+
172
+ [RedisOmError](RedisOmError.md).[stackTraceLimit](RedisOmError.md#stacktracelimit)
173
+
174
+ #### Defined in
175
+
176
+ node_modules/@types/node/globals.d.ts:13
177
+
178
+ ## Methods
179
+
180
+ ### captureStackTrace
181
+
182
+ ▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
183
+
184
+ Create .stack property on a target object
185
+
186
+ #### Parameters
187
+
188
+ | Name | Type |
189
+ | :------ | :------ |
190
+ | `targetObject` | `object` |
191
+ | `constructorOpt?` | `Function` |
192
+
193
+ #### Returns
194
+
195
+ `void`
196
+
197
+ #### Inherited from
198
+
199
+ [RedisOmError](RedisOmError.md).[captureStackTrace](RedisOmError.md#capturestacktrace)
200
+
201
+ #### Defined in
202
+
203
+ node_modules/@types/node/globals.d.ts:4
@@ -0,0 +1,198 @@
1
+ [redis-om](../README.md) / NestedHashInput
2
+
3
+ # Class: NestedHashInput
4
+
5
+ ## Hierarchy
6
+
7
+ - [`InvalidInput`](InvalidInput.md)
8
+
9
+ ↳ **`NestedHashInput`**
10
+
11
+ ## Table of contents
12
+
13
+ ### Constructors
14
+
15
+ - [constructor](NestedHashInput.md#constructor)
16
+
17
+ ### Properties
18
+
19
+ - [cause](NestedHashInput.md#cause)
20
+ - [message](NestedHashInput.md#message)
21
+ - [name](NestedHashInput.md#name)
22
+ - [stack](NestedHashInput.md#stack)
23
+ - [prepareStackTrace](NestedHashInput.md#preparestacktrace)
24
+ - [stackTraceLimit](NestedHashInput.md#stacktracelimit)
25
+
26
+ ### Accessors
27
+
28
+ - [field](NestedHashInput.md#field)
29
+
30
+ ### Methods
31
+
32
+ - [captureStackTrace](NestedHashInput.md#capturestacktrace)
33
+
34
+ ## Constructors
35
+
36
+ ### constructor
37
+
38
+ • **new NestedHashInput**(`property`)
39
+
40
+ #### Parameters
41
+
42
+ | Name | Type |
43
+ | :------ | :------ |
44
+ | `property` | `string` |
45
+
46
+ #### Overrides
47
+
48
+ [InvalidInput](InvalidInput.md).[constructor](InvalidInput.md#constructor)
49
+
50
+ #### Defined in
51
+
52
+ [lib/error/invalid-input.ts:54](https://github.com/redis/redis-om-node/blob/d8438f7/lib/error/invalid-input.ts#L54)
53
+
54
+ ## Properties
55
+
56
+ ### cause
57
+
58
+ • `Optional` **cause**: `unknown`
59
+
60
+ #### Inherited from
61
+
62
+ [InvalidInput](InvalidInput.md).[cause](InvalidInput.md#cause)
63
+
64
+ #### Defined in
65
+
66
+ node_modules/typescript/lib/lib.es2022.error.d.ts:26
67
+
68
+ ___
69
+
70
+ ### message
71
+
72
+ • **message**: `string`
73
+
74
+ #### Inherited from
75
+
76
+ [InvalidInput](InvalidInput.md).[message](InvalidInput.md#message)
77
+
78
+ #### Defined in
79
+
80
+ node_modules/typescript/lib/lib.es5.d.ts:1054
81
+
82
+ ___
83
+
84
+ ### name
85
+
86
+ • **name**: `string`
87
+
88
+ #### Inherited from
89
+
90
+ [InvalidInput](InvalidInput.md).[name](InvalidInput.md#name)
91
+
92
+ #### Defined in
93
+
94
+ node_modules/typescript/lib/lib.es5.d.ts:1053
95
+
96
+ ___
97
+
98
+ ### stack
99
+
100
+ • `Optional` **stack**: `string`
101
+
102
+ #### Inherited from
103
+
104
+ [InvalidInput](InvalidInput.md).[stack](InvalidInput.md#stack)
105
+
106
+ #### Defined in
107
+
108
+ node_modules/typescript/lib/lib.es5.d.ts:1055
109
+
110
+ ___
111
+
112
+ ### prepareStackTrace
113
+
114
+ ▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
115
+
116
+ #### Type declaration
117
+
118
+ ▸ (`err`, `stackTraces`): `any`
119
+
120
+ Optional override for formatting stack traces
121
+
122
+ **`See`**
123
+
124
+ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
125
+
126
+ ##### Parameters
127
+
128
+ | Name | Type |
129
+ | :------ | :------ |
130
+ | `err` | `Error` |
131
+ | `stackTraces` | `CallSite`[] |
132
+
133
+ ##### Returns
134
+
135
+ `any`
136
+
137
+ #### Inherited from
138
+
139
+ [InvalidInput](InvalidInput.md).[prepareStackTrace](InvalidInput.md#preparestacktrace)
140
+
141
+ #### Defined in
142
+
143
+ node_modules/@types/node/globals.d.ts:11
144
+
145
+ ___
146
+
147
+ ### stackTraceLimit
148
+
149
+ ▪ `Static` **stackTraceLimit**: `number`
150
+
151
+ #### Inherited from
152
+
153
+ [InvalidInput](InvalidInput.md).[stackTraceLimit](InvalidInput.md#stacktracelimit)
154
+
155
+ #### Defined in
156
+
157
+ node_modules/@types/node/globals.d.ts:13
158
+
159
+ ## Accessors
160
+
161
+ ### field
162
+
163
+ • `get` **field**(): `string`
164
+
165
+ #### Returns
166
+
167
+ `string`
168
+
169
+ #### Defined in
170
+
171
+ [lib/error/invalid-input.ts:60](https://github.com/redis/redis-om-node/blob/d8438f7/lib/error/invalid-input.ts#L60)
172
+
173
+ ## Methods
174
+
175
+ ### captureStackTrace
176
+
177
+ ▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
178
+
179
+ Create .stack property on a target object
180
+
181
+ #### Parameters
182
+
183
+ | Name | Type |
184
+ | :------ | :------ |
185
+ | `targetObject` | `object` |
186
+ | `constructorOpt?` | `Function` |
187
+
188
+ #### Returns
189
+
190
+ `void`
191
+
192
+ #### Inherited from
193
+
194
+ [InvalidInput](InvalidInput.md).[captureStackTrace](InvalidInput.md#capturestacktrace)
195
+
196
+ #### Defined in
197
+
198
+ node_modules/@types/node/globals.d.ts:4
@@ -0,0 +1,228 @@
1
+ [redis-om](../README.md) / NullJsonInput
2
+
3
+ # Class: NullJsonInput
4
+
5
+ ## Hierarchy
6
+
7
+ - [`InvalidInput`](InvalidInput.md)
8
+
9
+ ↳ **`NullJsonInput`**
10
+
11
+ ## Table of contents
12
+
13
+ ### Constructors
14
+
15
+ - [constructor](NullJsonInput.md#constructor)
16
+
17
+ ### Properties
18
+
19
+ - [cause](NullJsonInput.md#cause)
20
+ - [message](NullJsonInput.md#message)
21
+ - [name](NullJsonInput.md#name)
22
+ - [stack](NullJsonInput.md#stack)
23
+ - [prepareStackTrace](NullJsonInput.md#preparestacktrace)
24
+ - [stackTraceLimit](NullJsonInput.md#stacktracelimit)
25
+
26
+ ### Accessors
27
+
28
+ - [fieldName](NullJsonInput.md#fieldname)
29
+ - [fieldType](NullJsonInput.md#fieldtype)
30
+ - [jsonPath](NullJsonInput.md#jsonpath)
31
+
32
+ ### Methods
33
+
34
+ - [captureStackTrace](NullJsonInput.md#capturestacktrace)
35
+
36
+ ## Constructors
37
+
38
+ ### constructor
39
+
40
+ • **new NullJsonInput**(`field`)
41
+
42
+ #### Parameters
43
+
44
+ | Name | Type |
45
+ | :------ | :------ |
46
+ | `field` | [`Field`](Field.md) |
47
+
48
+ #### Overrides
49
+
50
+ [InvalidInput](InvalidInput.md).[constructor](InvalidInput.md#constructor)
51
+
52
+ #### Defined in
53
+
54
+ [lib/error/invalid-input.ts:10](https://github.com/redis/redis-om-node/blob/d8438f7/lib/error/invalid-input.ts#L10)
55
+
56
+ ## Properties
57
+
58
+ ### cause
59
+
60
+ • `Optional` **cause**: `unknown`
61
+
62
+ #### Inherited from
63
+
64
+ [InvalidInput](InvalidInput.md).[cause](InvalidInput.md#cause)
65
+
66
+ #### Defined in
67
+
68
+ node_modules/typescript/lib/lib.es2022.error.d.ts:26
69
+
70
+ ___
71
+
72
+ ### message
73
+
74
+ • **message**: `string`
75
+
76
+ #### Inherited from
77
+
78
+ [InvalidInput](InvalidInput.md).[message](InvalidInput.md#message)
79
+
80
+ #### Defined in
81
+
82
+ node_modules/typescript/lib/lib.es5.d.ts:1054
83
+
84
+ ___
85
+
86
+ ### name
87
+
88
+ • **name**: `string`
89
+
90
+ #### Inherited from
91
+
92
+ [InvalidInput](InvalidInput.md).[name](InvalidInput.md#name)
93
+
94
+ #### Defined in
95
+
96
+ node_modules/typescript/lib/lib.es5.d.ts:1053
97
+
98
+ ___
99
+
100
+ ### stack
101
+
102
+ • `Optional` **stack**: `string`
103
+
104
+ #### Inherited from
105
+
106
+ [InvalidInput](InvalidInput.md).[stack](InvalidInput.md#stack)
107
+
108
+ #### Defined in
109
+
110
+ node_modules/typescript/lib/lib.es5.d.ts:1055
111
+
112
+ ___
113
+
114
+ ### prepareStackTrace
115
+
116
+ ▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
117
+
118
+ #### Type declaration
119
+
120
+ ▸ (`err`, `stackTraces`): `any`
121
+
122
+ Optional override for formatting stack traces
123
+
124
+ **`See`**
125
+
126
+ https://v8.dev/docs/stack-trace-api#customizing-stack-traces
127
+
128
+ ##### Parameters
129
+
130
+ | Name | Type |
131
+ | :------ | :------ |
132
+ | `err` | `Error` |
133
+ | `stackTraces` | `CallSite`[] |
134
+
135
+ ##### Returns
136
+
137
+ `any`
138
+
139
+ #### Inherited from
140
+
141
+ [InvalidInput](InvalidInput.md).[prepareStackTrace](InvalidInput.md#preparestacktrace)
142
+
143
+ #### Defined in
144
+
145
+ node_modules/@types/node/globals.d.ts:11
146
+
147
+ ___
148
+
149
+ ### stackTraceLimit
150
+
151
+ ▪ `Static` **stackTraceLimit**: `number`
152
+
153
+ #### Inherited from
154
+
155
+ [InvalidInput](InvalidInput.md).[stackTraceLimit](InvalidInput.md#stacktracelimit)
156
+
157
+ #### Defined in
158
+
159
+ node_modules/@types/node/globals.d.ts:13
160
+
161
+ ## Accessors
162
+
163
+ ### fieldName
164
+
165
+ • `get` **fieldName**(): `string`
166
+
167
+ #### Returns
168
+
169
+ `string`
170
+
171
+ #### Defined in
172
+
173
+ [lib/error/invalid-input.ts:16](https://github.com/redis/redis-om-node/blob/d8438f7/lib/error/invalid-input.ts#L16)
174
+
175
+ ___
176
+
177
+ ### fieldType
178
+
179
+ • `get` **fieldType**(): [`FieldType`](../README.md#fieldtype)
180
+
181
+ #### Returns
182
+
183
+ [`FieldType`](../README.md#fieldtype)
184
+
185
+ #### Defined in
186
+
187
+ [lib/error/invalid-input.ts:17](https://github.com/redis/redis-om-node/blob/d8438f7/lib/error/invalid-input.ts#L17)
188
+
189
+ ___
190
+
191
+ ### jsonPath
192
+
193
+ • `get` **jsonPath**(): `string`
194
+
195
+ #### Returns
196
+
197
+ `string`
198
+
199
+ #### Defined in
200
+
201
+ [lib/error/invalid-input.ts:18](https://github.com/redis/redis-om-node/blob/d8438f7/lib/error/invalid-input.ts#L18)
202
+
203
+ ## Methods
204
+
205
+ ### captureStackTrace
206
+
207
+ ▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
208
+
209
+ Create .stack property on a target object
210
+
211
+ #### Parameters
212
+
213
+ | Name | Type |
214
+ | :------ | :------ |
215
+ | `targetObject` | `object` |
216
+ | `constructorOpt?` | `Function` |
217
+
218
+ #### Returns
219
+
220
+ `void`
221
+
222
+ #### Inherited from
223
+
224
+ [InvalidInput](InvalidInput.md).[captureStackTrace](InvalidInput.md#capturestacktrace)
225
+
226
+ #### Defined in
227
+
228
+ node_modules/@types/node/globals.d.ts:4