Skip to content

Commit

Permalink
feat: generate cloudevent types from googleapis/google-cloudevents (#371
Browse files Browse the repository at this point in the history
)

This commit adds a new `npm run generate_cloudevents` script that
generates cloudevent interfaces from the schemas in
googleapis/google-cloudevents
  • Loading branch information
matthewrobertson committed Oct 28, 2021
1 parent 60edd7e commit 7617801
Show file tree
Hide file tree
Showing 7 changed files with 3,345 additions and 0 deletions.
11 changes: 11 additions & 0 deletions experimental/generate_cloudevents/README.md
@@ -0,0 +1,11 @@
# Code Generation Pipeline For CloudEvent Interfaces

This directory contains an experimental code generation pipeline to generate TS interfaces for the CloudEvent types defined in [Google Events](https://github.com/googleapis/google-cloudevents).

It can be run via the following command:

```bash
npm run generate_cloudevents
```

This will regenerate all known CloudEvent type interfaces in the `src/cloudevent_types` directory of this repository.

0 comments on commit 7617801

Please sign in to comment.