{"_id":"asl-types","_rev":"4-b65f7a731e03d51805183d31b1470675","name":"asl-types","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"asl-types","version":"1.0.0","description":"TypeScript types for AWS Step Functions JSON (Amazon States Language)","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/fourTheorem/asl-types.git"},"types":"dist/index.d.ts","scripts":{"convert":"ts-node src/convert.ts","prepare":"npm run convert","test":"tap \"test/**/*.test.ts\""},"keywords":["aws","step functions","amazon states language"],"author":{"name":"Eoin Shanaghy","email":"eoin.shanaghy@fourtheorem.com"},"license":"MIT","devDependencies":{"tap":"^12.6.2"},"dependencies":{"asl-validator":"^1.3.0","change-case":"^3.1.0","json-schema-to-typescript":"^6.1.3","traverse":"^0.6.6"},"gitHead":"b81c2515a8c348fa415d71c9dcf9809d684cabcf","bugs":{"url":"https://github.com/fourTheorem/asl-types/issues"},"homepage":"https://github.com/fourTheorem/asl-types#readme","_id":"asl-types@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"},"dist":{"integrity":"sha512-2Zn67EwW093FEabftgTyYdtNrvg9SttdoAfusVU89CRWikUcX7ySNPF/lhY0FJfXxWiTfi7yyQMob269N1y83Q==","shasum":"06128da3518c1f1091c0ca648c7597ea0108cb90","tarball":"https://registry.npmjs.org/asl-types/-/asl-types-1.0.0.tgz","fileCount":29,"unpackedSize":164679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx21KCRA9TVsSAnZWagAA63oQAJh1ehdxLQlTRIfS75HE\nEoRO9pOc0W3ATWKgXbqBBcTA153RPu5feHI8eLhEf+isr0oRLcQOMAtSrpsr\nFbQvXY8Va9AjI8ir0Q5bygUpZHhcz581dyhJ9KBCCtX049SM+IFtk60sYBrq\nXzu+5Vj4eLx8lW5hO4IiTqM9FkM8VV3HI4eAKmuemrLZlKEcO9wWxSawv0Ot\n5MeIDn1pD6vwOuE/V1Qmy7qEOc+7NiI+LR7XdgBGQMfWbACt4lEz5KFSl6N4\ndt7x1s7ajyZslYbwc09x0iQLJHUpWsi4xdngQ0M8LJNZtxnPbe61ZFZ6T7Hg\no/xDKuARzK2HgP8W5/fsAsDF0nYgDvBcJGGk3g29s/QOXTOMzHvmz+uo6fbJ\n67rfy7YutySpH4JHK/5bjNhde5Oh5UHWf98YIjO7yvYMZL5RobTM00TSl73f\nDAlYMYTjUWsSslDkA2xsD7LE7fMGr26n3Y04q3rgHpiZIJd7hXo+3dxVEWEM\nP2gp8qOupPPbrzAA7YX8iosDjtQIZMbZejfc7E2Gp58HztGx5C1NevRiycB+\nLTUZTi36GSygsQFgRWVlvKGWZEBh7vjRm8KX5jWFJhzYrfzddWzfsnpaLzlD\nf6TkUDn64w8ePD0xmBxdMXuKojKYsy9kNKXl1t5wavPpHgYicc6XAWPnrruP\nRPGG\r\n=wpzQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhU0vdsYERYw1p00pvsatlUQmTfCBXa/UGOsbutKn+XQIgbrO051g3u19HDyJ40OVxBxGHmXw3r3lIqeBbhp0sCqs="}]},"maintainers":[{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asl-types_1.0.0_1556573514060_0.3076846511706539"},"_hasShrinkwrap":false},"1.1.0":{"name":"asl-types","version":"1.1.0","description":"TypeScript types for AWS Step Functions JSON (Amazon States Language)","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/fourTheorem/asl-types.git"},"types":"dist/index.d.ts","scripts":{"convert":"ts-node src/convert.ts","prepare":"npm run convert","test":"tap \"test/**/*.test.ts\""},"keywords":["aws","step functions","amazon states language"],"author":{"name":"Eoin Shanaghy","email":"eoin.shanaghy@fourtheorem.com"},"license":"MIT","devDependencies":{"tap":"^12.6.2"},"dependencies":{"asl-validator":"1.5.0","change-case":"^3.1.0","json-schema-to-typescript":"^6.1.3","traverse":"^0.6.6"},"gitHead":"079c4170761343cae55ff8fd654f0a8ccaa28719","bugs":{"url":"https://github.com/fourTheorem/asl-types/issues"},"homepage":"https://github.com/fourTheorem/asl-types#readme","_id":"asl-types@1.1.0","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"integrity":"sha512-eHgmKT1AzGiP12wlh7kPdTWhRGmXv0EOPgCe/g+wxX3O1+a/RVkUzm+7KB7HHxWmbNrpX4Ewm5ynTK//w8lijw==","shasum":"c549508f2c965ead74371ca669491774a7ab8454","tarball":"https://registry.npmjs.org/asl-types/-/asl-types-1.1.0.tgz","fileCount":31,"unpackedSize":166107,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJiIwCRA9TVsSAnZWagAAlMkP/0y7CTn4nNAWjNv3BXGl\nbmPPl3E3SiqvM3CRTqd5zbHYD6Zqq8MxPBInXzcdyBuY3kg8O/+ka8fSnU19\nDQ0wj9flxyQBNGQUrj8Umkd3z7SAIz9gpMWJhN5p8bKPy36iJ5XezOhVYtUk\nGajYqsxkrRAqajpfDA6l4z4fxQm6yjR8lgI2XFWb9DjHWa/tW9ebRFpRZqS6\nvm/qmd0ybDGQsixvKUOO0HtSwgzACG7HTmEdn4zc6VjCkBdwA6GMS9euS5me\noc96N/7D2UuSHRfytC0K5lQNXkkXEOIbjuTTaRuCJ0oz4GOZQkDkQyemngui\nRUnQgzse94pcTJFtdBmjyQCCypvAgXViIMLUkdMtbIttfmzkTkmA/jLAVVQF\nM2ekUQsavslmruaGKBd1W2ta2nc0SD2amBpEqetuMGeBPjKv3VPgPCmENNUu\nLAuIytiddKQV9HnacujhHB2tlv9WDqkHddhB5IURhUVSMsG4F/F4FALrOO16\nmeBMzKibGlvoEdwASDhdgoYh8gi4vVOg7snOOEork9gZhYOd6sAKQOgjAzkU\ndKLSpfD4Fb8/z7I/95qLwDzzVLoCxPSDCTbm+stLD8rJe5wAPbFDjWREdAnQ\n9xE+Ddo6Fb0klcHSQVBzsaMnoKs+9XmoDzb/byRujMk27ojfnZEH1pq6gtJT\nCWeA\r\n=9RK/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7Retj8ehHD2vKDBCwC4ySi/ljFGso0/CuV0tUtq7UqAIhAOjjOAd+SH3gFIqjw2gIVhZlzMEOKW0ESBUra1FiCYXZ"}]},"maintainers":[{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"}],"_npmUser":{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asl-types_1.1.0_1579557423986_0.41055312440870484"},"_hasShrinkwrap":false},"1.2.0":{"name":"asl-types","version":"1.2.0","description":"TypeScript types for AWS Step Functions JSON (Amazon States Language)","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/fourTheorem/asl-types.git"},"types":"dist/index.d.ts","scripts":{"convert":"ts-node src/convert.ts","prepare":"npm run convert","test":"tap \"test/**/*.test.ts\""},"keywords":["aws","step functions","amazon states language"],"author":{"name":"Eoin Shanaghy","email":"eoin.shanaghy@fourtheorem.com"},"license":"MIT","devDependencies":{"@types/tap":"^14.10.0","tap":"^12.6.2"},"dependencies":{"asl-validator":"1.5.0","change-case":"^3.1.0","json-schema-to-typescript":"^6.1.3","traverse":"^0.6.6"},"gitHead":"709a056c59020ee78cdb88996f74f904f7d5dcb2","bugs":{"url":"https://github.com/fourTheorem/asl-types/issues"},"homepage":"https://github.com/fourTheorem/asl-types#readme","_id":"asl-types@1.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","dist":{"integrity":"sha512-mkzG66eAat4x/UjzlmPM061XU3JFwCqqSY4bUSvaCGstS1YxWQlhp3gLtpujbamvTrpJwvMSJNEwZYfnoX3mjA==","shasum":"7f36a8543d225affdbd90ee580f0c37a2944cf3b","tarball":"https://registry.npmjs.org/asl-types/-/asl-types-1.2.0.tgz","fileCount":31,"unpackedSize":165595,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJetTukCRA9TVsSAnZWagAACngP/21zP847qHv73pYYV711\n/Mt/77n4YsMS84SuPr/iB8K99OEXFeyGyEp+lPT+Af4fILrDwewR4rcQmEL9\nb6vT6bYmzMqv64/TcNoyju/u3Q/n1sNC9rVuVEBDuehBPr34XfNmDDY308b1\nbXJGNVHid3rHFEXd1HjY4qnruo+dtTrLjDJ8wHM5j9cPs7Wmj3WTWHlSSc9n\nggouMQ9cVWUMpmG9f9Yb+rZAwgDS3yLLCDDzX9a3rZk95ORwl4HcSNHz0V0X\nVzqEQojT4fVnpPW2WhN0XOFbYaQmSWwSF+LFOb/CxTVcW27QmJRzDpQsmxb/\nz/06NEpt7oy4kghYG7AghqZo2lX/KP5qMKUVpSzCFmyQyWcbAhrY/Eb7jY3n\nI5woIH/W0fcvodHEXPH0qjVe/PVYPucMoiu+ejDC05vbjQWE6F05flslyd7S\n9uC56Of4VtJVK7S+oyfE+80AXgPK6w+dknePgvV3id24W5vQmhGAtEne30FU\nRjMu6k3y9rDf5bDkWQiQkHOGGMimJjtSJ1Yiw90loQ/4LF3mq8XDS4i0IbSq\nIgCDnJ1a/mXy81fe4BX7EqcQMN2aSPk7AAoVUURgFyiOIsqlOb6CfKJX11AL\nApHXX/G57SrpuGyS2JVBUMFk9L4Ig4yiJj+jcOn6Bg31PGYnLNsgtVbwDmvt\n2ikW\r\n=dwBp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuqo3w2SoupU/3buVYBE/P+ye1CnUxhCoA5M4BQ4ENFAiEAjoJNFOocPvIFRaCFCbL/006vB2/CNLz2S6pof7EHE6k="}]},"maintainers":[{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"}],"_npmUser":{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asl-types_1.2.0_1588935587542_0.48461782525417085"},"_hasShrinkwrap":false},"1.2.1":{"name":"asl-types","version":"1.2.1","description":"TypeScript types for AWS Step Functions JSON (Amazon States Language)","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/fourTheorem/asl-types.git"},"types":"dist/index.d.ts","scripts":{"convert":"ts-node src/convert.ts","prepare":"npm run convert","test":"tap \"test/**/*.test.ts\""},"keywords":["aws","step functions","amazon states language"],"author":{"name":"Eoin Shanaghy","email":"eoin.shanaghy@fourtheorem.com"},"license":"MIT","devDependencies":{"@types/tap":"^14.10.0","tap":"^12.6.2"},"dependencies":{"asl-validator":"1.7.1","change-case":"^3.1.0","json-schema-to-typescript":"^6.1.3","traverse":"^0.6.6"},"gitHead":"9be2f399a73497c55cdc9e1d3317a48f9ffbb0f0","bugs":{"url":"https://github.com/fourTheorem/asl-types/issues"},"homepage":"https://github.com/fourTheorem/asl-types#readme","_id":"asl-types@1.2.1","_nodeVersion":"12.14.1","_npmVersion":"6.13.6","dist":{"integrity":"sha512-fW5Njwk2vGtEeK10+P8WN9agMUNzZVgDLcCRefD7sP7B5t37trt7Y6rI2HIIHEwwMrlultlqhZ+ZgAoNsEjFAw==","shasum":"797ce9650cd02c845316cfc3c3a4353bd3049808","tarball":"https://registry.npmjs.org/asl-types/-/asl-types-1.2.1.tgz","fileCount":31,"unpackedSize":165430,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRBH7CRA9TVsSAnZWagAASBoQAICi+1NM2y41n1JYUDED\nX1FWJKUpeqmUvbCl6TTkMF2LzpVEOwI3FsR51cKiPq+4usuYdpFRL3HjQ8u8\nFAVqxwyJuOyQmnbSxggoXVqbDK+jEU1A/dcLVkKPemE0MSkrP3wDXtg3Uiam\nPgw9pjnWig9ePm8Sh7tp5eqdsgJcoUo3cUlpLVVIdfQQLRfn+Kz+7UVhTaN7\n4yvzOti1mf9M4W4z4lGTVdZY6V5OD88Z1GG43fBKrgs1DQ/s4mnJlHtcPU9H\nkCffTxc4P51GIctsB0qJcJUK0eOaQ/Y+MeW5NTqmQ+7JhecoRtukm60WBztZ\n2poUPUuMKwJqOG9WV3HHlG4aQ8qli/DiZiy097NwrSv1RhHsz9KSNR15uPOn\nzAEnYAG8aUTUYET6wR1gcauVilWNTfmUOV7HhXYrQLua6E32BX3+jtTrWP+r\nBWk8638uiSAwFTXsQJszdlQhNOtbCwjHDpw3fza2wOhUdT1Nx8OiKCf6fcgL\ncj/aeXCxsKx4lfsLlZterdmJZYRCE2inyfudHig2Yxy1Cr2q8JSrkee09OSH\nILAJLT0eiLM+YKlKsHh2n+aMx/RFhOBsKickqaQcc0jSFX0dSaOhLzoIxBAH\ntczvEbekEm6UTIMZbPI7m7VDtru6Dl2nrBGZVMNOCGLQLjgeQ+03seR3XnWL\nqoum\r\n=Loq0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE3c4tbrJotYd+8QTq7QtHaCy75G6zrxfqpgop2jiK8QIgYn0sdgrP/EqHZqd/D8OJTnlP9lTthyTLX7tR7EgWKuw="}]},"maintainers":[{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"}],"_npmUser":{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/asl-types_1.2.1_1598296571313_0.20349842455634182"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-29T21:31:54.060Z","1.0.0":"2019-04-29T21:31:54.220Z","modified":"2022-04-11T15:22:24.798Z","1.1.0":"2020-01-20T21:57:04.195Z","1.2.0":"2020-05-08T10:59:47.717Z","1.2.1":"2020-08-24T19:16:11.581Z"},"maintainers":[{"name":"eoinsha","email":"eoin.shanaghy@gmail.com"}],"description":"TypeScript types for AWS Step Functions JSON (Amazon States Language)","homepage":"https://github.com/fourTheorem/asl-types#readme","keywords":["aws","step functions","amazon states language"],"repository":{"type":"git","url":"git+https://github.com/fourTheorem/asl-types.git"},"author":{"name":"Eoin Shanaghy","email":"eoin.shanaghy@fourtheorem.com"},"bugs":{"url":"https://github.com/fourTheorem/asl-types/issues"},"license":"MIT","readme":"# asl-types\n\n*asl-types* is a TypeScript types module that makes it easier to create AWS Step Functions JSON ([Amazon States Language](https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html)).\n\n![Screenshot](./screen.png)\n\n## Usage\n\n```sh\nnpm install asl-types --save\n```\n\n```ts\nimport * as asl from 'asl-types'\n\nconst sm: asl.StateMachine = {\n   ...\n}\n\n...\n\nconst stepFunctionJson = JSON.stringify(sm)\n```\n\n## About\n\nThis module does very little! It generates TypeScript definitions using the following great projects.\n\n- [asl-validator](https://github.com/airware/asl-validator) - this module provides a JSON Schema for ASL (Amazon States Language)\n- [json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript)\n\n`asl-types` makes some minor modifications to the JSON Schema to get the best results currently possible. See [convert.ts](src/convert.ts) for details.\n\n## Contributions\n\n- This is a set of interfaces right now. It might be useful to create a set of classes from these types.\n- Validation of cardinality rules, particularly for `Choice` states, are not as strict as we would like. This relates to an issue in `json-schema-to-typescript` ([#96](https://github.com/bcherny/json-schema-to-typescript/issues/96)). Contributions to address this issue are really welcome. This could be a resolution to that issue or an alternative solution in `asl-types`.  See the issue description for details and possible workarounds.\n\n## LICENSE\n\n[MIT](./LICENSE)\n\nCopyright (c) 2019 fourTheorem Ltd.\n\n","readmeFilename":"README.md"}