Meraki Types
$ npm install --save-dev @merakisolutions/types
import { Opportunity } from '@merakisolutions/types';
const getAllOpportunities = (): Opportunity[] => { ... }
This project is to hold all of the models and types that are used throughout all applications in the Meraki Solutions app ecosystem.
Publishing
There is a simple prepublish script in this package that will automatically increase the minor version number.
If any breaking changes occur, please manually update the major version of the package.
Workflow
Create standard typescript interfaces and types in typescript--the compiler will automatically create the declaration files for each .ts file. The main entry point for the project is src/index.ts, so be sure to add any new types or interfaces to that file.