Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/composer-common/lib/factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ class Factory {
}

/**
* Create a new Resource with a given namespace, type name and id
* @param {string} ns - the namespace of the Resource
* @param {string} type - the type of the Resource
* Create a new Concept with a given namespace and type name
* @param {string} ns - the namespace of the Concept
* @param {string} type - the type of the Concept
* @param {Object} [options] - an optional set of options
* @param {boolean} [options.disableValidation] - pass true if you want the factory to
* return a {@link Resource} instead of a {@link ValidatedResource}. Defaults to false.
* return a {@link Concept} instead of a {@link ValidatedConcept}. Defaults to false.
* @param {string} [options.generate] - Pass one of: <dl>
* <dt>sample</dt><dd>return a resource instance with generated sample data.</dd>
* <dt>empty</dt><dd>return a resource instance with empty property values.</dd></dl>
Expand Down