@jpmorganchase/elemental 6.0.1 → 7.0.1

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.
@@ -1,9 +1,11 @@
1
- import { IHttpOperation, IHttpService, NodeType } from '@stoplight/types';
1
+ import { IHttpOperation, IHttpService, IHttpWebhookOperation, NodeType } from '@stoplight/types';
2
2
  import { JSONSchema7 } from 'json-schema';
3
3
  export declare enum NodeTypes {
4
4
  Paths = "paths",
5
5
  Path = "path",
6
6
  Operation = "operation",
7
+ Webhooks = "webhooks",
8
+ Webhook = "webhook",
7
9
  Components = "components",
8
10
  Models = "models",
9
11
  Model = "model"
@@ -24,7 +26,8 @@ declare type Node<T, D> = {
24
26
  export declare type ServiceNode = Node<NodeType.HttpService, IHttpService> & {
25
27
  children: ServiceChildNode[];
26
28
  };
27
- export declare type ServiceChildNode = OperationNode | SchemaNode;
29
+ export declare type ServiceChildNode = OperationNode | WebhookNode | SchemaNode;
28
30
  export declare type OperationNode = Node<NodeType.HttpOperation, IHttpOperation>;
31
+ export declare type WebhookNode = Node<NodeType.HttpWebhook, IHttpWebhookOperation>;
29
32
  export declare type SchemaNode = Node<NodeType.Model, JSONSchema7>;
30
33
  export {};