Commit Graph

5 Commits

Author SHA1 Message Date
Vincent Fiduccia df62d4315f NaN -> 0 for number fields 2015-02-03 17:41:27 -07:00
Vincent Fiduccia 81d7e296ca Action fixes
- Support nullable booleans correctly
- Support action input defaults
- Cast int & float fields to numbers in JSON
2015-01-28 14:58:01 -07:00
Vincent Fiduccia 0eb0566733 Fix .min concatenation, sourcemaps 2015-01-27 16:01:25 -07:00
Vincent Fiduccia bb2a818a8f Add basic support for embedded types
For example, given:
```javascript
{
  {
    id: 'container',
    type: 'schema',
    resourceFields: {
      restart: {
        type: 'restartPolicy'
      }
    }
  },

  {
    id: 'restartPolicy',
    type: 'schema',
    resourceFields: {
      name: {
        type: 'string'
      },

      maximumRetryCount: {
        type: 'int',
      }
    }
  }
}
```

the `restart` field will now show up as a textarea that you can put JSON in.
It would be nicer if it looked up the properties of a restartPolicy and allowed
you to enter them directly, but nesting complex types is not a terribly simple
change so this will provide a way to set embedded types in the meantime.
2015-01-16 14:59:24 -07:00
Vincent Fiduccia d79425362a Remove gd-assets, Add gulp 2014-12-12 16:55:16 -07:00