redis-om-type 1.0.0

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