README
dataverse-gen
Creates early bound TypeScript interfaces to work with dataverse-ify.
For more information see the dataverse-ify project
Usage
Add authentication for your Microsoft Dataverse Environment:
~$ npx dataverse-auth [environment]
E.g.
~$ npx dataverse-auth contosoorg.crm.dynamics.comInitialise dataverse-ify to create .dataverse-gen.json config file:
~$ npx dataverse-gen initAt any time, you can re-generate the early bound types using:
~$ npx dataverse-gen
Installing Globally
If you would rather install dataverse-gen globally you can use:
~$ npm install -g dataverse-gen dataverse-auth
This will then allow you to simply use:
~$ dataverse-auth
~$ dataverse-gen
For more information see the dataverse-ify project
Notes:
- Files differ by case only. If you get an error from the imports in the generated types, it is likely that your file names have the wrong case. dataverse-gen will remember re-use the file name if it exsts when generating - even if the casing is different. The solution is to completely remove all your generated files and regenerated them to get the correct casing.