Skip to content

Commit

Permalink
shovel-config-ts: add internalType for EventInput
Browse files Browse the repository at this point in the history
not used by shovel but here for easy copy/paste
  • Loading branch information
ryandotsmith committed Apr 13, 2024
1 parent 1dce889 commit 26a7947
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shovel-config-ts/jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@indexsupply/shovel-config",
"description": "Types and functions for building a Shovel config file.",
"version": "0.0.9",
"version": "0.0.10",
"exports": "./src/index.ts"
}
2 changes: 1 addition & 1 deletion shovel-config-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "0.0.9",
"version": "0.0.10",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "Types and functions for building a Shovel config file.",
Expand Down
5 changes: 5 additions & 0 deletions shovel-config-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ export type EventInput = {
readonly indexed?: boolean;
readonly name: string;
readonly type: string;
/**
* internalType is not used by shovel
* but is specified for easy copy/paste.
*/
readonly internalType?: string;
readonly components?: EventInput[];

column?: string;
Expand Down

0 comments on commit 26a7947

Please sign in to comment.