0.40.0 • Published 9 months ago

@tomic/cli v0.40.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

Check out the docs here.

@tomic/cli is an NPM tool that helps the developer with creating a front-end for their atomic data project by providing typesafety on resources. In atomic data you can create ontologies that describe your business model. You can use @tomic/cli to generate Typscript types for these ontologies in your front-end.

import { Post } from './ontolgies/blog'; // <--- generated

const myBlogpost = await store.getResourceAsync<Post>(
  'https://myblog.com/atomic-is-awesome',
);

const comments = myBlogpost.props.comments; // string[] automatically inferred!
0.40.0

9 months ago

0.39.0

11 months ago

0.38.0

1 year ago

0.37.0

1 year ago

0.36.1

1 year ago

0.36.0

2 years ago