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