@techstuff-dev/foundation-api-utils 1.29.0 → 1.31.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.
@@ -23,7 +23,7 @@ export interface UserPayload {
23
23
  export interface ESPromo {
24
24
  _index: string;
25
25
  _id: string;
26
- _score: null;
26
+ _score: number;
27
27
  _source: {
28
28
  _language: string;
29
29
  align: string[];
@@ -54,7 +54,7 @@ export interface ESPromo {
54
54
  export interface ESWorkout {
55
55
  _index: string;
56
56
  _id: string;
57
- _score: null;
57
+ _score: number;
58
58
  _source: {
59
59
  changed: number[];
60
60
  created: number[];
@@ -80,7 +80,7 @@ export interface ESWorkout {
80
80
  export interface ESShortform {
81
81
  _index: string;
82
82
  _id: string;
83
- _score: null;
83
+ _score: number;
84
84
  _source: {
85
85
  uuid?: string;
86
86
  nid?: string;
@@ -101,7 +101,7 @@ export interface ESShortform {
101
101
  export interface ESLongForm {
102
102
  _index: string;
103
103
  _id: string;
104
- _score: null;
104
+ _score: number;
105
105
  _source: {
106
106
  uuid?: string[];
107
107
  nid?: string[];
@@ -129,7 +129,7 @@ export interface ESLongForm {
129
129
  export interface ESFaq {
130
130
  _index: string;
131
131
  _id: string;
132
- _score: null;
132
+ _score: number;
133
133
  _source: {
134
134
  uuid?: string[];
135
135
  title?: string[];
@@ -142,7 +142,7 @@ export interface ESFaq {
142
142
  export interface ESPage {
143
143
  _index: string;
144
144
  _id: string;
145
- _score: null;
145
+ _score: number;
146
146
  _source: {
147
147
  uuid?: string[];
148
148
  title?: string[];
@@ -157,7 +157,7 @@ export interface ESPage {
157
157
  export interface ESSetting {
158
158
  _index: string;
159
159
  _id: string;
160
- _score: null;
160
+ _score: number;
161
161
  _source: {
162
162
  uuid?: string[];
163
163
  created?: number[];
@@ -174,7 +174,7 @@ export interface ESSetting {
174
174
  export interface ESPress {
175
175
  _index: string;
176
176
  _id: string;
177
- _score: null;
177
+ _score: number;
178
178
  _source: {
179
179
  uuid?: string[];
180
180
  title?: string[];
@@ -187,7 +187,7 @@ export interface ESPress {
187
187
  export interface ESGuest {
188
188
  _index: string;
189
189
  _id: string;
190
- _score: null;
190
+ _score: number;
191
191
  _source: {
192
192
  uuid?: string[];
193
193
  id?: string[];
@@ -202,7 +202,7 @@ export interface ESGuest {
202
202
  export interface ESVideo {
203
203
  _index: string;
204
204
  _id: string;
205
- _score: null;
205
+ _score: number;
206
206
  _source: {
207
207
  uuid: string[];
208
208
  title: string[];
@@ -222,7 +222,7 @@ export interface ESVideo {
222
222
  export interface ESSection {
223
223
  _index: string;
224
224
  _id: string;
225
- _score: null;
225
+ _score: number;
226
226
  _source: {
227
227
  uuid?: string[];
228
228
  title?: string[];
@@ -237,7 +237,7 @@ export interface ESSection {
237
237
  export interface ESSchedule {
238
238
  _index: string;
239
239
  _id: string;
240
- _score: null;
240
+ _score: number;
241
241
  _source: {
242
242
  uuid: string[];
243
243
  created: string[];
@@ -284,7 +284,7 @@ export interface ESSchedule {
284
284
  export interface ESChallenge {
285
285
  _index: string;
286
286
  _id: string;
287
- _score: null;
287
+ _score: number;
288
288
  _source: {
289
289
  uuid?: string[];
290
290
  title?: string[];
@@ -302,7 +302,7 @@ export interface ESChallenge {
302
302
  export interface ESChallengeDay {
303
303
  _index: string;
304
304
  _id: string;
305
- _score: null;
305
+ _score: number;
306
306
  _source: {
307
307
  uuid?: string[];
308
308
  title?: string[];
@@ -318,7 +318,7 @@ export interface ESChallengeDay {
318
318
  export interface ESConfig {
319
319
  _index: string;
320
320
  _id: string;
321
- _score: null;
321
+ _score: number;
322
322
  _source: {
323
323
  uuid?: string[];
324
324
  id?: string[];
@@ -341,7 +341,7 @@ export interface ESConfig {
341
341
  export interface ESSectionPanel {
342
342
  _index: string;
343
343
  _id: string;
344
- _score: null;
344
+ _score: number;
345
345
  _source: {
346
346
  uuid?: string[];
347
347
  title?: string[];
@@ -356,7 +356,7 @@ export interface ESSectionPanel {
356
356
  export interface ESSectionItem {
357
357
  _index: string;
358
358
  _id: string;
359
- _score: null;
359
+ _score: number;
360
360
  _source: {
361
361
  uuid?: string[];
362
362
  title?: string[];
@@ -372,7 +372,7 @@ export interface ESSectionItem {
372
372
  export interface ESTaxonomy {
373
373
  _index: string;
374
374
  _id: string;
375
- _score: null;
375
+ _score: number;
376
376
  _source: {
377
377
  uuid?: string[];
378
378
  updated?: number[];
@@ -392,7 +392,7 @@ export interface ESTaxonomy {
392
392
  export interface ESSeries {
393
393
  _index: string;
394
394
  _id: string;
395
- _score: null;
395
+ _score: number;
396
396
  _source: {
397
397
  uuid?: string[];
398
398
  created?: number[];
@@ -410,7 +410,7 @@ export interface ESSeries {
410
410
  export interface ESSeason {
411
411
  _index: string;
412
412
  _id: string;
413
- _score: null;
413
+ _score: number;
414
414
  _source: {
415
415
  uuid?: string[];
416
416
  created?: number[];
@@ -428,7 +428,7 @@ export interface ESSeason {
428
428
  export interface ESLongform {
429
429
  _index: string;
430
430
  _id: string;
431
- _score: null;
431
+ _score: number;
432
432
  _source: {
433
433
  uuid?: string[];
434
434
  created?: number[];
@@ -448,7 +448,7 @@ export interface ESLongform {
448
448
  export interface ESMediaItem {
449
449
  _index: string;
450
450
  _id: string;
451
- _score: null;
451
+ _score: number;
452
452
  _source: {
453
453
  changed?: number[];
454
454
  created?: number[];
@@ -491,7 +491,7 @@ export interface ESWorkoutResponse {
491
491
  };
492
492
  hits: {
493
493
  total: number;
494
- max_score: null;
494
+ max_score: number;
495
495
  hits: ESWorkout[];
496
496
  };
497
497
  }
@@ -507,7 +507,7 @@ export interface ESDataResponse {
507
507
  };
508
508
  hits: {
509
509
  total: number;
510
- max_score: null;
510
+ max_score: number;
511
511
  hits: ESDataTypes;
512
512
  };
513
513
  }
package/dist/index.esm.js CHANGED
@@ -21,7 +21,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
21
21
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22
22
  PERFORMANCE OF THIS SOFTWARE.
23
23
  ***************************************************************************** */
24
- /* global Reflect, Promise, SuppressedError, Symbol */
24
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
25
25
 
26
26
 
27
27
  var __assign = function() {
@@ -46,8 +46,8 @@ function __awaiter(thisArg, _arguments, P, generator) {
46
46
  }
47
47
 
48
48
  function __generator(thisArg, body) {
49
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
50
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
49
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
50
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
51
  function verb(n) { return function (v) { return step([n, v]); }; }
52
52
  function step(op) {
53
53
  if (f) throw new TypeError("Generator is already executing.");