Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Doc Fixes (#3828)
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Kelsey <[email protected]>
  • Loading branch information
Dave Kelsey committed Apr 12, 2018
1 parent bc9e33d commit 236b52a
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,15 @@ The system namespace transactions are:
- StartBusinessNetwork
- ResetBusinessNetwork
- SetLogLevel

## Events

The system namespace events are:

- Event

## Enumerations

The system namespace enumerations are:

- IdentityState
2 changes: 0 additions & 2 deletions packages/composer-website/jekylldocs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
<option>Select version</option>
<option value="/composer/latest/introduction/introduction.html" title="The most stable version of Composer">Latest</option>
<option value="/composer/unstable/introduction/introduction.html" title="The version that will replace Latest">Latest-unstable</option>
<option value="/composer/next/introduction/introduction.html" title="The most ready version of the next generation of Composer, new features (possibly breaking) and many fixes">Next</option>
<option value="/composer/next-unstable/introduction/introduction.html" title="The closest to the development stream of Composer, expect breaking changes">Next-unstable</option>
</select>

<div class="search-form">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ will use the file system card store at the location `/home/username/.composer`,
To specify a custom wallet within the API, without the use of a globally exported value, it must be included as an option passed to the connection:

```javascript

const connectionOptions = {
wallet : {
type: 'composer-wallet-filesystem',
Expand Down Expand Up @@ -160,7 +159,11 @@ Previously to use the in MemoryCardStore, the code would have been written
This has now changed and Card stores must now be specified differently:

```javascript
const NetworkCardStoreManager= require('composer-common').NetworkCardStoreManager;
const cardStore = NetworkCardStoreManager.getCardStore( { type: 'composer-wallet-inmemory' } );
let adminConnection = new AdminConnection({ cardStore });
const connectionOptions = {
wallet : {
type: 'composer-wallet-inmemory'
}
};
adminConnection = new AdminConnection(connectionOptions);
clientConnection = new BusinessNetworkConnection(connectionOptions);
```
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ query Q18 {
statement:
SELECT org.acme.Driver
WHERE (_$ageParam < age)
ORDER BY [lastName ASC, firstName DESC]
ORDER BY [lastName DESC, firstName DESC]
LIMIT _$limitParam
SKIP _$skipParam
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The `statement` property contains the defining rules of the query, and can have

This query returns all drivers from the default registry whose age is less than the supplied parameter _or_ whose firstName is "Dan", as long as their lastName is not "Selman".

In practical terms, this query returns all drivers who do not have the lastName "Selman", as long as they are under a defined age, or have the firstName Dan, and orders the results by lastName ascending and firstName descending.
In practical terms, this query returns all drivers who do not have the lastName "Selman", as long as they are under a defined age, or have the firstName Dan, and orders the results by lastName ascending and firstName ascending.

```
query Q20{
Expand Down

0 comments on commit 236b52a

Please sign in to comment.