Commit 20cde95
feat(parser): add built-in schemas (#1788)
* add dynamodb schema
* add alb
* add parser to v2 build
* fix test
* add alb
* add built-in schema
* add more tests for schemas
* remove index export
* add cloudwatch with base64 zlip transform
* add throw test case
* formatting
* add kafka schema
* restructured tests
* add vpc lattice and lattice v2
* s3 event notification should extend eventbridge
* s3 sqs should extend from sqs
* simplify cloudwatch extract from string
* keep message as string, instead of empty object
* fix detail type of eb and field names
* remove duplicated entries
* fix homepage URL in readme
* improved test coverage
* key and value are always present
* cleanup unnecessary definitions, widen peerDep version req
* Update packages/parser/src/schemas/cloudwatch.ts
Co-authored-by: Andrea Amorosi <[email protected]>
* clean up events, some fields are imaginary
* fix api gw
* fix broken IP addresses in examples
* add more tests to api gw
* fix apigw2 add more tests
* add optional scopes to apigwv2
* add optional field back to api gw, stricter methods for vpc lattice
* add test for messageId refinement
* remove redundant entry
* fix sqs
* add dmarcPolicy for ses
* added tests
* moved cw function from kinesis, fix imports
* add parser to build step in ci
* use any safely here
* removed console logs
* name, add datetime to strings
* narrow string to datetime
* refine to url
* imports, remove try/catch
* add .js extension to imports
* moved comment, fixed path
* rename event filename to fix events
---------
Co-authored-by: Andrea Amorosi <[email protected]>1 parent f54e1b5 commit 20cde95
File tree
137 files changed
+4951
-27
lines changed- .github
- actions/cached-node-modules
- workflows
- docs/snippets/idempotency/samples
- packages/parser
- src
- schemas
- tests
- events
- unit/schema
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
137 files changed
+4951
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | | - | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
27 | | - | |
28 | 31 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
5 | 12 | | |
6 | 13 | | |
7 | 14 | | |
| 15 | + | |
8 | 16 | | |
9 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
10 | 20 | | |
11 | 21 | | |
12 | | - | |
13 | 22 | | |
14 | 23 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | | - | |
| 27 | + | |
23 | 28 | | |
24 | | - | |
25 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
26 | 44 | | |
27 | 45 | | |
28 | 46 | | |
| |||
42 | 60 | | |
43 | 61 | | |
44 | 62 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
50 | 66 | | |
51 | | - | |
| 67 | + | |
0 commit comments