npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sefranke/sf-mendix-sdk-helper

v1.7.1

Published

Making your Mendix SDK development a bit easier.

Downloads

35

Readme

@sefranke/sf-mendix-sdk-helper

This package can make your development life using the Mendix SDK a bit easier.

Intro

During development of making scripts using the Mendix SDK I was repeating my self over and over again. Creating microflow parameters, creating translations for text templates, creating sequence flows. So that's why I created this module. It helps me to create flows a bit faster, even without the use of the serializer (although you can use that from this package also).

How to use

TODO

Release notes

v1.7.1 (latest)

  • Added parameter to constructor: pat?:string You can now use a PAT when using the constructor. When omitted, Mendix will use the default way of checking for PAT using the environment variable.

v1.7.0

  • Fixed bug with createForEachLoop. Adding parameters for list variable name and variable name. createLoopForEach(, , , , <microflow?/>, <size? />)

v1.6.4

  • Added createAttributeEnumStored(, , <defaultValue?/>, <documentation?/>)

v1.6.3

  • Added createEnumeration(<qualifiedEnumerationName>, <values >, <pathFolder?>)
  • Added getOrCreateEnumeration(<qualifiedEnumerationName>, <values >, <pathFolder?>)

v1.6.2

  • Added pathFolder to queue creation

v1.6.1

  • Added createQueueSettings(<qualifiedQueueName>,<retries>,<interval?>,<intervalType?>,<maximumInterval>)
  • Added createTaskQueue(<qualifiedQueueName>,<threads>,<clusterWide>)
  • Added getOrCreateTaskQueue(<qualifiedQueueName>,<threads>,<clusterWide>)
  • Added createQueuedMicroflowCall(<qualifiedMicroflowName>,<mfParams>,<queueSettings>,<relativeMiddlePoint>,<microflow?>,<size?>,<caption?>)
  • Changed relativeMiddlePoint handling. When using a location object, you can pass that one now.

v1.6.0

  • Changed createChangeObjectAction, added commit parameter. (BACKWARD COMPATIBILITY BREAK!)

v1.5.2

  • Added: createAttributeIntegerStored(<name>,<defaultValue>,<documentation?>,<>)
  • Added: createAttributeDecimalStored(<name>,<defaultValue>,<documentation?>,<>)

v1.5.1

  • createAttribute(<attributeName>, <attributeType>, <valueType>, <documentation?>) Create an attribute with given parameters.
  • The following shortcut functions were added.
    • createAttributeStringStored(<name>,<length>,<defaultValue?>,<documentation?>)
    • createAttributeBooleanStored(<name>,<defaultValue>,<documentation?>,<>)
    • createAttributeDateTimeStored(<name>,<localized>,<defaultValue?>,<documentation?>)

v1.5.0

  • Added some logic to make it easier to keep track of the location location/relativeMiddlePoint in domainmodel/microflows.

    • getLocationsForModule(<moduleName>)
    • getDomainModelLocation(<moduleName>)
    • getFlowLocation(<moduleName>)
    ...
    
    // Get de flow location.
    const locFlow = sh.getFlowLocation('MyFirstModule');
    
    ...
    
    // Move 200 to the right.
    locFlow.x += 200;
    
    // Use the new location with an activity.
    const anno1 = sh.createAnnotation('This is some annotation!', {x: locFlow.x, y: locFlow.y});
    
    // Move 200 to the right.
    locFlow.x += 200;
    
    // Add another activity.
    ...
    

v1.4.0

  • getModel() is not async anymore. The actual retrieve of the model is done right after the onlineWorkingCopy is created.

  • Added: getRepo()

  • Added: createDomainModelAnnotation(<qualifiedModuleName>, <caption>, <location>, <width?>) Create an annotation in the domain model.

  • Added: createMicroflowAnnotation(<caption>,<relativeMiddlePoint>,<microflow>,<size>);

  • Added: createAssociation(<qualifiedMOduleName>, <associationName>, <type>, ,<owner>, <connection>,<deleteBehavior?>) Create an association in the domain model.

  • Added optional parameter generalization to createEntity and getOrCreateEntity

  • Deprecated: createAnnotation(<caption>,<relativeMiddlePoint>,<microflow>,<size>) To be more consitent in naming, we added createMicroflowAnnotation(<caption>,<relativeMiddlePoint>,<microflow>,<size>).

v1.3.3

  • Fixed bug in branch name (SVN)

v1.3.2

  • Fixed logging. Less output at lvlInfo and lvlDebug.
  • Removing deprecated versions from README.md

v1.3.1

  • Fixed bug when using branchname and/or commitID when being ''.