@webda/cloudevents 3.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.
Files changed (35) hide show
  1. package/LICENSE +166 -0
  2. package/lib/filters/abstract.d.ts +28 -0
  3. package/lib/filters/abstract.js +17 -0
  4. package/lib/filters/abstract.js.map +1 -0
  5. package/lib/filters/index.d.ts +14 -0
  6. package/lib/filters/index.js +34 -0
  7. package/lib/filters/index.js.map +1 -0
  8. package/lib/filters/interfaces.d.ts +0 -0
  9. package/lib/filters/interfaces.js +1 -0
  10. package/lib/filters/interfaces.js.map +1 -0
  11. package/lib/filters/logical.d.ts +54 -0
  12. package/lib/filters/logical.js +49 -0
  13. package/lib/filters/logical.js.map +1 -0
  14. package/lib/filters/sql/CESQLParserLexer.d.ts +55 -0
  15. package/lib/filters/sql/CESQLParserLexer.js +293 -0
  16. package/lib/filters/sql/CESQLParserLexer.js.map +1 -0
  17. package/lib/filters/sql/CESQLParserListener.d.ts +325 -0
  18. package/lib/filters/sql/CESQLParserListener.js +3 -0
  19. package/lib/filters/sql/CESQLParserListener.js.map +1 -0
  20. package/lib/filters/sql/CESQLParserParser.d.ts +313 -0
  21. package/lib/filters/sql/CESQLParserParser.js +1825 -0
  22. package/lib/filters/sql/CESQLParserParser.js.map +1 -0
  23. package/lib/filters/sql/CESQLParserVisitor.d.ts +208 -0
  24. package/lib/filters/sql/CESQLParserVisitor.js +3 -0
  25. package/lib/filters/sql/CESQLParserVisitor.js.map +1 -0
  26. package/lib/filters/sql.d.ts +426 -0
  27. package/lib/filters/sql.js +752 -0
  28. package/lib/filters/sql.js.map +1 -0
  29. package/lib/filters/string.d.ts +105 -0
  30. package/lib/filters/string.js +79 -0
  31. package/lib/filters/string.js.map +1 -0
  32. package/lib/subscription.d.ts +228 -0
  33. package/lib/subscription.js +60 -0
  34. package/lib/subscription.js.map +1 -0
  35. package/package.json +61 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sql.js","sour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AC,CAAC,YAAY,mBAAmB,EACtD,CAAC;gBACD,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,KAAK,MAAM,EAAE,CAAC;oBAC5C,OAAO,IAAI,0BAA0B,CAAC;wBACpC,MAAM,EAAE;4BACN,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK;yBAC5D;qBACF,CAAC,CAAC;gBACL,CAAC;qBAAM,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,KAAK,OAAO,EAAE,CAAC;oBACpD,OAAO,IAAI,0BAA0B,CAAC;wBACpC,MAAM,EAAE;4BACN,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK;yBAC5D;qBACF,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
@@ -0,0 +1,105 @@
1
+ import { CloudEvent } from "cloudevents";
2
+ import { Filter, FilterImplementation } from "./abstract.js";
3
+ /**
4
+ * Use of this MUST include exactly one nested property, where the key is the name of the
5
+ * CloudEvents attribute to be matched, and its value is the String value to use in the comparison.
6
+ * To evaluate to true the value of the matching CloudEvents attribute MUST exactly match the value
7
+ * String specified (case sensitive).
8
+ *
9
+ * The attribute name and value specified in the filter express MUST NOT be empty strings.
10
+ */
11
+ export interface ExactFilter {
12
+ exact: {
13
+ [key: string]: string;
14
+ };
15
+ }
16
+ /**
17
+ * Use of this MUST include exactly one nested property, where the key is the name of the CloudEvents
18
+ * attribute to be matched, and its value is the String value to use in the comparison.
19
+ * To evaluate to true the value of the matching CloudEvents attribute MUST start with the value
20
+ * String specified (case sensitive).
21
+ *
22
+ * The attribute name and value specified in the filter express MUST NOT be empty strings.
23
+ */
24
+ export interface PrefixFilter {
25
+ prefix: {
26
+ [key: string]: string;
27
+ };
28
+ }
29
+ /**
30
+ * Use of this MUST include exactly one nested property, where the key is the name of the CloudEvents
31
+ * attribute to be matched, and its value is the String value to use in the comparison.
32
+ * To evaluate to true the value of the matching CloudEvents attribute MUST end with the value
33
+ * String specified (case sensitive).
34
+ *
35
+ * The attribute name and value specified in the filter express MUST NOT be empty strings.
36
+ *
37
+ */ export interface SuffixFilter {
38
+ suffix: {
39
+ [key: string]: string;
40
+ };
41
+ }
42
+ /**
43
+ * Abstract class to read CloudEvent specified property
44
+ */
45
+ export declare abstract class StringPropertyFilterImplementation<T extends Filter> extends FilterImplementation<T> {
46
+ /**
47
+ * Property to read event from
48
+ */
49
+ property: string;
50
+ /**
51
+ * Filter property to read from
52
+ */
53
+ filterProperty: string;
54
+ constructor(definition: T, filterProperty: string);
55
+ /**
56
+ * @override
57
+ */
58
+ match(event: CloudEvent): boolean;
59
+ /**
60
+ * Verify if value match the condition
61
+ *
62
+ * @param value from the CloudEvent
63
+ * @param condition from the filter definition
64
+ */
65
+ abstract matchString(value: string, condition: string): boolean;
66
+ }
67
+ /**
68
+ * Use of this MUST include exactly one nested property, where the key is the name of the
69
+ * CloudEvents attribute to be matched, and its value is the String value to use in the comparison.
70
+ * To evaluate to true the value of the matching CloudEvents attribute MUST start with the value
71
+ * String specified (case sensitive).
72
+ */
73
+ export declare class PrefixFilterImplementation extends StringPropertyFilterImplementation<PrefixFilter> {
74
+ constructor(definition: PrefixFilter);
75
+ /**
76
+ * @override
77
+ */
78
+ matchString(value: string, condition: string): boolean;
79
+ }
80
+ /**
81
+ * Use of this MUST include exactly one nested property, where the key is the name of the
82
+ * CloudEvents attribute to be matched, and its value is the String value to use in the comparison.
83
+ * To evaluate to true the value of the matching CloudEvents attribute MUST end with the value
84
+ * String specified (case sensitive).
85
+ */
86
+ export declare class SuffixFilterImplementation extends StringPropertyFilterImplementation<SuffixFilter> {
87
+ constructor(definition: SuffixFilter);
88
+ /**
89
+ * @override
90
+ */
91
+ matchString(value: string, condition: string): boolean;
92
+ }
93
+ /**
94
+ * Use of this MUST include exactly one nested property, where the key is the name of the CloudEvents
95
+ * attribute to be matched, and its value is the String value to use in the comparison. To evaluate
96
+ * to true the value of the matching CloudEvents attribute MUST exactly match the value String
97
+ * specified (case sensitive).
98
+ */
99
+ export declare class ExactFilterImplementation extends StringPropertyFilterImplementation<ExactFilter> {
100
+ constructor(definition: ExactFilter);
101
+ /**
102
+ * @override
103
+ */
104
+ matchString(value: string, condition: string): boolean;
105
+ }
@@ -0,0 +1,79 @@
1
+ import { FilterImplementation } from "./abstract.js";
2
+ /**
3
+ * Abstract class to read CloudEvent specified property
4
+ */
5
+ export class StringPropertyFilterImplementation extends FilterImplementation {
6
+ constructor(definition, filterProperty) {
7
+ super(definition);
8
+ this.filterProperty = filterProperty;
9
+ // @ts-ignore
10
+ if (Object.keys(definition[filterProperty]).length !== 1) {
11
+ throw new Error("Filter only accept one property filtering");
12
+ }
13
+ // @ts-ignore
14
+ this.property = Object.keys(definition[filterProperty]).pop();
15
+ }
16
+ /**
17
+ * @override
18
+ */
19
+ match(event) {
20
+ let value = event[this.property];
21
+ if (!event[this.property] || typeof value !== "string") {
22
+ return false;
23
+ }
24
+ // @ts-ignore
25
+ return this.matchString(value, this.definition[this.filterProperty][this.property]);
26
+ }
27
+ }
28
+ /**
29
+ * Use of this MUST include exactly one nested property, where the key is the name of the
30
+ * CloudEvents attribute to be matched, and its value is the String value to use in the comparison.
31
+ * To evaluate to true the value of the matching CloudEvents attribute MUST start with the value
32
+ * String specified (case sensitive).
33
+ */
34
+ export class PrefixFilterImplementation extends StringPropertyFilterImplementation {
35
+ constructor(definition) {
36
+ super(definition, "prefix");
37
+ }
38
+ /**
39
+ * @override
40
+ */
41
+ matchString(value, condition) {
42
+ return value.startsWith(condition);
43
+ }
44
+ }
45
+ /**
46
+ * Use of this MUST include exactly one nested property, where the key is the name of the
47
+ * CloudEvents attribute to be matched, and its value is the String value to use in the comparison.
48
+ * To evaluate to true the value of the matching CloudEvents attribute MUST end with the value
49
+ * String specified (case sensitive).
50
+ */
51
+ export class SuffixFilterImplementation extends StringPropertyFilterImplementation {
52
+ constructor(definition) {
53
+ super(definition, "suffix");
54
+ }
55
+ /**
56
+ * @override
57
+ */
58
+ matchString(value, condition) {
59
+ return value.endsWith(condition);
60
+ }
61
+ }
62
+ /**
63
+ * Use of this MUST include exactly one nested property, where the key is the name of the CloudEvents
64
+ * attribute to be matched, and its value is the String value to use in the comparison. To evaluate
65
+ * to true the value of the matching CloudEvents attribute MUST exactly match the value String
66
+ * specified (case sensitive).
67
+ */
68
+ export class ExactFilterImplementation extends StringPropertyFilterImplementation {
69
+ constructor(definition) {
70
+ super(definition, "exact");
71
+ }
72
+ /**
73
+ * @override
74
+ */
75
+ matchString(value, condition) {
76
+ return value === condition;
77
+ }
78
+ }
79
+ //# sourceMappingURL=string.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.js","sourceRoot":"","sources":["../../src/models/filters/string.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,oBAAoB,EAAE,MAAM,YAAY,CAAC;AA4C1D;;GAEG;AACH,MAAM,OAAgB,kCAAqD,SAAQ,oBAAuB;IASxG,YAAY,UAAa,EAAE,cAAsB;QAC/C,KAAK,CAAC,UAAU,CAAC,CAAC;QAClB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,aAAa;QACb,IAAI,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACzD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QAC/D,CAAC;QACD,aAAa;QACb,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAChE,CAAC;IAED;;OAEG;IACH,K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+ /**
4
+ * For HTTP, the following settings properties SHOULD be supported by all implementations.
5
+ */
6
+ export interface HttpSettings {
7
+ /**
8
+ * A set of key/value pairs that is copied into the HTTP request as custom headers.
9
+ */
10
+ headers?: {
11
+ [key: string]: string;
12
+ };
13
+ /**
14
+ * The HTTP method to use for sending the message. This defaults to POST if not set.
15
+ */
16
+ method?: "POST" | "PUT";
17
+ }
18
+ /**
19
+ * All implementations that support MQTT MUST support the topicname settings.
20
+ * All other settings SHOULD be supported.
21
+ */
22
+ export interface MQTTSettings {
23
+ /**
24
+ * The name of the MQTT topic to publish to.
25
+ */
26
+ topicname: string;
27
+ /**
28
+ * MQTT quality of service (QoS) level: 0 (at most once), 1 (at least once), or 2 (exactly once).
29
+ * This defaults to 1 if not set.
30
+ *
31
+ * @default 1
32
+ */
33
+ qos?: number;
34
+ /**
35
+ * MQTT retain flag: true/false. This defaults to false if not set.
36
+ *
37
+ * @default false
38
+ */
39
+ retain?: boolean;
40
+ /**
41
+ * MQTT expiry interval, in seconds. This value has no default value and the message will not expire
42
+ * if the setting is absent. This setting only applies to MQTT 5.0.
43
+ */
44
+ expiry?: number;
45
+ /**
46
+ * A set of key/value pairs that are copied into the MQTT PUBLISH packet's user property section.
47
+ * This setting only applies to MQTT 5.0.
48
+ */
49
+ userproperties?: {
50
+ [key: string]: string;
51
+ };
52
+ }
53
+ /**
54
+ * For AMQP, the address property MUST be supported by all implementations and other settings
55
+ * properties SHOULD be supported by all implementations.
56
+ */
57
+ export interface AMQPSettings {
58
+ /**
59
+ * The link target node in the AMQP container identified by the sink URI, if not expressed in the
60
+ * sink URI's path portion.
61
+ */
62
+ address?: string;
63
+ /**
64
+ * Name to use for the AMQP link. If not set, a random link name is used.
65
+ */
66
+ linkname?: string;
67
+ /**
68
+ * Allows to control the sender's settlement mode, which determines whether transfers are performed
69
+ * "settled" (without acknowledgement) or "unsettled" (with acknowledgement).
70
+ *
71
+ * @default "unsettled"
72
+ */
73
+ sendersettlementmode?: "settled" | "unsettled";
74
+ /**
75
+ * A set of key/value pairs that are copied into link properties for the send link.
76
+ */
77
+ linkproperties?: {
78
+ [key: string]: string;
79
+ };
80
+ }
81
+ /**
82
+ * All implementations that support Apache Kafka MUST support the topicname settings.
83
+ * All other settings SHOULD be supported.
84
+ */
85
+ export interface KafkaSettings {
86
+ /**
87
+ * The name of the Kafka topic to publish to.
88
+ */
89
+ topicname?: string;
90
+ /**
91
+ * A partition key extractor expression per the CloudEvents Kafka transport binding specification.
92
+ */
93
+ partitionkeyextractor?: string;
94
+ /**
95
+ *
96
+ */
97
+ clientid?: string;
98
+ /**
99
+ *
100
+ */
101
+ acks?: string;
102
+ }
103
+ export interface NATSSettings {
104
+ /**
105
+ * The name of the NATS subject to publish to.
106
+ */
107
+ subject: string;
108
+ }
109
+ /**
110
+ * A subscription manager manages a collection of subscriptions. The upper limit on how many
111
+ * subscriptions are supported is implementation specific.
112
+ *
113
+ * To help explain the subscription resource, the following non-normative pseudo json shows its
114
+ * basic structure:
115
+ *
116
+ */
117
+ export default interface Subscription {
118
+ id: string;
119
+ /**
120
+ * Indicates the source to which the subscription is related. When present on a subscribe request,
121
+ * all events generated due to this subscription MUST have a CloudEvents source property that
122
+ * matches this value. If this property is not present on a subscribe request then there are no
123
+ * constraints placed on the CloudEvents source property for the events generated.
124
+ *
125
+ * If present, MUST be a non-empty URI
126
+ */
127
+ source?: string;
128
+ /**
129
+ * Indicates which types of events the subscriber is interested in receiving. When present on a
130
+ * subscribe request, all events generated due to this subscription MUST have a CloudEvents type
131
+ * property that matches one of these values.
132
+ *
133
+ * If present, any value present MUST a non-empty string
134
+ *
135
+ * @example com.github.pull_request.opened
136
+ * @example com.example.object.deleted
137
+ */
138
+ types?: string[];
139
+ /**
140
+ * A set of key/value pairs that modify the configuration of of the subscription related to the
141
+ * event generation process. While this specification places no constraints on the data type of
142
+ * the map values. When there is a Discovery Enpoint Service definition defined for the subscription
143
+ * manager, then the key MUST be one of the subscriptionconfig keys specified in the Discovery
144
+ * Endpoint Service definition. The value MUST conform to the data type specified by the value in
145
+ * the subscriptionconfig entry for the key
146
+ *
147
+ * If present, any "key" used in the map MUST be a non-empty string
148
+ */
149
+ config?: {
150
+ [key: string]: string;
151
+ };
152
+ /**
153
+ * Identifier of a delivery protocol. Because of WebSocket tunneling options for AMQP, MQTT and
154
+ * other protocols, the URI scheme is not sufficient to identify the protocol. The protocols with
155
+ * existing CloudEvents bindings are identified as AMQP, MQTT3, MQTT5, HTTP, KAFKA, and NATS.
156
+ * An implementation MAY add support for further protocols.
157
+ *
158
+ * Value comparisons are case sensitive.
159
+ */
160
+ protocol: "HTTP" | "MQTT" | "WEBDA";
161
+ /**
162
+ * A set of settings specific to the selected delivery protocol provider. Options for these
163
+ * settings are listed in the following subsection. An subscription manager MAY offer more options.
164
+ * See the Protocol Settings section for future details.
165
+ */
166
+ protocolsettings?: HttpSettings | MQTTSettings | AMQPSettings | KafkaSettings | NATSSettings;
167
+ /**
168
+ * The address to which events MUST be sent. The format of the address MUST be valid for the
169
+ * protocol specified in the protocol property, or one of the protocol's own transport bindings
170
+ * (e.g. AMQP over WebSockets).
171
+ *
172
+ * @required
173
+ */
174
+ sink: string;
175
+ /**
176
+ * An array of filter expressions that evaluates to true or false. If any filter expression in the
177
+ * array evaluates to false, the event MUST NOT be sent to the sink. If all the filter expressions
178
+ * in the array evaluates to true, the event MUST be attempted to be delivered. Absence of a filter
179
+ * or empty array implies a value of true.
180
+ *
181
+ * Each filter dialect MUST have a name that is unique within the scope of the subscription manager.
182
+ * Each dialect will define the semantics and syntax of the filter expression language. See the
183
+ * Filters section for more information.
184
+ *
185
+ * If a subscription manager does not support filters, or the filter dialect specified in a
186
+ * subscription request, then it MUST generate an error and reject the subscription create or
187
+ * update request.
188
+ */
189
+ filters: Filter[];
190
+ }
191
+ /**
192
+ * Subscription Mixin to add default behavior to a subscription
193
+ * @param clazz
194
+ * @returns
195
+ */
196
+ export declare function SubscriptionMixIn(clazz: any): {
197
+ new (): {
198
+ [x: string]: any;
199
+ id: string;
200
+ source?: string;
201
+ types?: string[];
202
+ config?: {
203
+ [key: string]: string;
204
+ };
205
+ protocol: "HTTP" | "MQTT" | "WEBDA";
206
+ protocolsettings?: HttpSettings | MQTTSettings | AMQPSettings | KafkaSettings | NATSSettings;
207
+ sink: string;
208
+ filters: Filter[];
209
+ /**
210
+ * Verify that an event match its filters
211
+ * @param event
212
+ * @returns
213
+ */
214
+ match(event: CloudEvent): boolean;
215
+ /**
216
+ * Create the emitter for the subscription
217
+ * @returns
218
+ */
219
+ createEmitter(): EmitterFunction;
220
+ /**
221
+ * Emit a cloudevent
222
+ * @param event
223
+ */
224
+ emit(event: CloudEvent): Promise<void>;
225
+ };
226
+ [x: string]: any;
227
+ };
228
+ export { Subscription };
@@ -0,0 +1,60 @@
1
+ import { emitterFor, httpTransport } from "cloudevents";
2
+ import { FiltersHelper } from "./filters.js";
3
+ /**
4
+ * Subscription Mixin to add default behavior to a subscription
5
+ * @param clazz
6
+ * @returns
7
+ */
8
+ export function SubscriptionMixIn(clazz) {
9
+ /**
10
+ * Filter implementation
11
+ */
12
+ let resolvedFilters;
13
+ /**
14
+ * Emitter
15
+ */
16
+ let emitter;
17
+ return class extends clazz {
18
+ constructor() {
19
+ super(...arguments);
20
+ this.protocol = "HTTP";
21
+ this.sink = "";
22
+ this.filters = [];
23
+ }
24
+ /**
25
+ * Verify that an event match its filters
26
+ * @param event
27
+ * @returns
28
+ */
29
+ match(event) {
30
+ // Need to filter first on types
31
+ if (this.types && !this.types.includes(event.type)) {
32
+ return false;
33
+ }
34
+ resolvedFilters ?? (resolvedFilters = FiltersHelper.get({ all: this.filters }));
35
+ return resolvedFilters.match(event);
36
+ }
37
+ /**
38
+ * Create the emitter for the subscription
39
+ * @returns
40
+ */
41
+ createEmitter() {
42
+ if (this.protocol === "HTTP") {
43
+ return emitterFor(httpTransport(this.sink), this.protocolsettings);
44
+ }
45
+ }
46
+ /**
47
+ * Emit a cloudevent
48
+ * @param event
49
+ */
50
+ async emit(event) {
51
+ // Ensure the subscription match the event
52
+ if (!this.match(event)) {
53
+ return;
54
+ }
55
+ emitter ?? (emitter = this.createEmitter());
56
+ await emitter(event);
57
+ }
58
+ };
59
+ }
60
+ //# sourceMappingURL=subscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.js","sourceRoot":"","sources":["../src/models/subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,UAAU,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EAAgC,aAAa,EAAE,MAAM,WAAW,CAAC;AA4LxE;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAU;IAC1C;;OAEG;IACH,IAAI,eAAqC,CAAC;IAE1C;;OAEG;IACH,IAAI,OAAwB,CAAC;IAC7B,OAAO,KAAM,SAAQ,KAAK;QAAnB;;YAKL,aAAQ,GAA8B,MAAM,CAAC;YAE7C,SAAI,GAAW,EAAE,CAAC;YAClB,YAAO,GAAa,EAAE,CAAC;QAsCzB,CAAC;QApCC;;;;WAIG;QACH,KAAK,CAAC,KAAiB;YACrB,gCAAgC;YAChC,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC;gBACnD,OAAO,KAAK,CAAC;YACf,CAAC;YACD,eAAe,KAAf,eAAe,GAAK,aAAa,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,EAAC;YAC7D,OAAO,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;QAED;;;WAGG;QACH,aAAa;YACX,IAAI,IAAI,CAAC,QAAQ,KAAK,MAAM,EAAE,CAAC;gBAC7B,OAAO,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,gBAAuB,CAAC,CAAC;YAC5E,CAAC;QACH,CAAC;QAED;;;WAGG;QACH,KAAK,CAAC,IAAI,CAAC,KAAiB;YAC1B,0CAA0C;YAC1C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;gBACvB,OAAO;YACT,CAAC;YACD,OAAO,KAAP,OAAO,GAAK,IAAI,CAAC,aAAa,EAAE,EAAC;YACjC,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC;QACvB,CAAC;KACF,CAAC;AACJ,CAAC"}
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@webda/cloudevents",
3
+ "version": "3.0.0",
4
+ "description": "Discovery and Subscriptions for CloudEvents",
5
+ "keywords": [
6
+ "cloudevents",
7
+ "webda"
8
+ ],
9
+ "author": "Remi Cattiau <remi@cattiau.com>",
10
+ "repository": "git://github.com/loopingz/webda.io.git",
11
+ "main": "lib/index.js",
12
+ "typings": "lib/index.d.ts",
13
+ "scripts": {
14
+ "build": "tsc-esm",
15
+ "build:module": "webda build",
16
+ "build:watch": "webda build --watch",
17
+ "grammar": "antlr4ts -visitor src/stores/webdaql/WebdaQLLexer.g4 src/stores/webdaql/WebdaQLParser.g4 && yarn run lint:fix",
18
+ "pretest": "npm run build",
19
+ "lint": "prettier --check src/**/*",
20
+ "lint:fix": "prettier --write src/**/*",
21
+ "test": "NODE_OPTIONS='--no-warnings --experimental-vm-modules' jest",
22
+ "test:bun": "bun test --coverage"
23
+ },
24
+ "dependencies": {
25
+ "cloudevents": "^8.0.1"
26
+ },
27
+ "devDependencies": {
28
+ "@types/node": "18.11.13",
29
+ "@webda/tsc-esm": "1.3.0",
30
+ "jest": "^29.7.0",
31
+ "ts-jest": "^29.1.2"
32
+ },
33
+ "files": [
34
+ "lib"
35
+ ],
36
+ "c8": {
37
+ "report-dir": "./reports",
38
+ "reporter": [
39
+ "html",
40
+ "lcov",
41
+ "json",
42
+ "text"
43
+ ],
44
+ "exclude": [
45
+ "src/test.ts",
46
+ "**/*.spec.ts",
47
+ "test/**/*",
48
+ "*/stores/webdaql/WebdaQL*"
49
+ ],
50
+ "excludeNodeModules": true
51
+ },
52
+ "homepage": "https://webda.io",
53
+ "publishConfig": {
54
+ "access": "public"
55
+ },
56
+ "type": "module",
57
+ "engines": {
58
+ "node": ">=18.0.0"
59
+ },
60
+ "gitHead": "af93fd620b1d0de91cabb1900f01b94e50774d41"
61
+ }