fulcrum-core
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -29,6 +29,6 @@ 'use strict'; | ||
_this.allowMultiple = !!attributes.allow_multiple; | ||
_this.allowExisting = !!attributes.allow_existing; | ||
_this.allowCreating = !!attributes.allow_creating; | ||
_this.allowUpdating = !!attributes.allow_updating; | ||
_this.allowMultiple = !!attributes.allow_multiple_records; | ||
_this.allowExisting = !!attributes.allow_existing_records; | ||
_this.allowCreating = !!attributes.allow_creating_records; | ||
_this.allowUpdating = !!attributes.allow_updating_records; | ||
@@ -35,0 +35,0 @@ // TODO(zhm) model these |
@@ -45,2 +45,3 @@ 'use strict'; | ||
this._name = attributes.name; | ||
this._geometryRequired = !!attributes.geometry_required; | ||
@@ -179,2 +180,7 @@ } | ||
} | ||
}, { | ||
key: 'name', | ||
get: function get() { | ||
return this._name; | ||
} | ||
}]); | ||
@@ -181,0 +187,0 @@ |
@@ -58,2 +58,3 @@ 'use strict'; | ||
// TODO(zhm) this is incomplete | ||
json.id = this.id; | ||
@@ -60,0 +61,0 @@ json.client_created_at = _dateUtils2.default.formatTimestamp(this.createdAt); |
@@ -19,2 +19,7 @@ "use strict"; | ||
_createClass(RecordLinkItemValue, [{ | ||
key: "id", | ||
value: function id() { | ||
return this._recordID; | ||
} | ||
}, { | ||
key: "toJSON", | ||
@@ -21,0 +26,0 @@ value: function toJSON() { |
@@ -194,2 +194,7 @@ 'use strict'; | ||
} | ||
}, { | ||
key: 'items', | ||
get: function get() { | ||
return this._items; | ||
} | ||
}]); | ||
@@ -196,0 +201,0 @@ |
{ | ||
"name": "fulcrum-core", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Fulcrum Core", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/fulcrumapp/fulcrum-core", |
@@ -9,6 +9,6 @@ import Element from './element'; | ||
this.allowMultiple = !!attributes.allow_multiple; | ||
this.allowExisting = !!attributes.allow_existing; | ||
this.allowCreating = !!attributes.allow_creating; | ||
this.allowUpdating = !!attributes.allow_updating; | ||
this.allowMultiple = !!attributes.allow_multiple_records; | ||
this.allowExisting = !!attributes.allow_existing_records; | ||
this.allowCreating = !!attributes.allow_creating_records; | ||
this.allowUpdating = !!attributes.allow_updating_records; | ||
@@ -15,0 +15,0 @@ // TODO(zhm) model these |
@@ -18,2 +18,3 @@ import ChildElements from './elements/child-elements'; | ||
this._name = attributes.name; | ||
this._geometryRequired = !!attributes.geometry_required; | ||
@@ -71,4 +72,8 @@ } | ||
} | ||
get name() { | ||
return this._name; | ||
} | ||
} | ||
ChildElements.includeInto(Form); |
@@ -62,2 +62,3 @@ import Feature from './feature'; | ||
// TODO(zhm) this is incomplete | ||
json.id = this.id; | ||
@@ -64,0 +65,0 @@ json.client_created_at = DateUtils.formatTimestamp(this.createdAt); |
@@ -6,2 +6,6 @@ export default class RecordLinkItemValue { | ||
id() { | ||
return this._recordID; | ||
} | ||
toJSON() { | ||
@@ -8,0 +12,0 @@ return { |
@@ -86,2 +86,6 @@ import FormValue from './form-value'; | ||
} | ||
get items() { | ||
return this._items; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
677383
11573