@rivascva/dt-idl 1.1.58 → 1.1.59

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/dist/index.d.ts CHANGED
@@ -341,14 +341,9 @@ interface components$3 {
341
341
  /** @example AAPL */
342
342
  symbol: string;
343
343
  };
344
- /** @description An index that represents a group of stocks */
345
- Index: {
346
- /** @example ^GSPC */
347
- symbol: string;
348
- /** @example S&P 500 */
349
- name: string;
350
- quote: components$3["schemas"]["SimpleQuote"];
351
- quotes: components$3["schemas"]["SimpleQuote"][];
344
+ /** @description A market index that represents a group of stocks */
345
+ Index: components$3["schemas"]["SimpleQuote"] & {
346
+ components: components$3["schemas"]["SimpleQuote"][];
352
347
  };
353
348
  /** @description A generic error */
354
349
  Error: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -555,25 +555,17 @@ components:
555
555
  - symbol
556
556
 
557
557
  Index:
558
- description: An index that represents a group of stocks
559
- properties:
560
- symbol:
561
- type: string
562
- example: ^GSPC
563
- name:
564
- type: string
565
- example: S&P 500
566
- quote:
567
- $ref: '#/components/schemas/SimpleQuote'
568
- quotes:
569
- type: array
570
- items:
571
- $ref: '#/components/schemas/SimpleQuote'
572
- required:
573
- - symbol
574
- - name
575
- - quote
576
- - quotes
558
+ description: A market index that represents a group of stocks
559
+ allOf:
560
+ - $ref: '#/components/schemas/SimpleQuote'
561
+ - type: object
562
+ properties:
563
+ components:
564
+ type: array
565
+ items:
566
+ $ref: '#/components/schemas/SimpleQuote'
567
+ required:
568
+ - components
577
569
 
578
570
  Error:
579
571
  description: A generic error
@@ -340,14 +340,9 @@ export interface components {
340
340
  /** @example AAPL */
341
341
  symbol: string;
342
342
  };
343
- /** @description An index that represents a group of stocks */
344
- Index: {
345
- /** @example ^GSPC */
346
- symbol: string;
347
- /** @example S&P 500 */
348
- name: string;
349
- quote: components["schemas"]["SimpleQuote"];
350
- quotes: components["schemas"]["SimpleQuote"][];
343
+ /** @description A market index that represents a group of stocks */
344
+ Index: components["schemas"]["SimpleQuote"] & {
345
+ components: components["schemas"]["SimpleQuote"][];
351
346
  };
352
347
  /** @description A generic error */
353
348
  Error: {