-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
47 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module.exports = { | ||
ROOT: 'example', | ||
WEB_ROOT: '/client-list/', | ||
WEB_ROOT: '/library-list/', | ||
PUBLIC: 'docs', | ||
THEME: 'docs', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
Pre: require('@magic-modules/pre'), | ||
GitBadges: require('@magic-modules/git-badges'), | ||
ClientList: require('../../src'), | ||
LibraryList: require('../../src'), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
const ClientList = props => | ||
CHECK_PROPS(props, ClientList.props, 'ModuleList') && | ||
const LibraryList = props => | ||
CHECK_PROPS(props, LibraryList.props, 'ModuleList') && | ||
GitList({ | ||
id: 'magic-client', | ||
org: 'magic-client', | ||
header: [Link({ to: 'https://magic-client.github.io' }, '@magic-client libraries')], | ||
id: 'magic-libraries', | ||
org: 'magic-libraries', | ||
header: [Link({ to: 'https://magic-libraries.github.io' }, '@magic-libraries libraries')], | ||
desc: ['below is a collection of the available @magic client libraries.'], | ||
items: [ | ||
{ | ||
name: 'json', | ||
description: [ | ||
'the @magic-client/json module parses and stringifies json.', | ||
'the @magic-libraries/json module parses and stringifies json.', | ||
' it also returns errors instead of throwing them.', | ||
], | ||
}, | ||
{ | ||
name: 'is', | ||
description: 'the @magic-client/is module unifies the javascript type testing apis.', | ||
description: 'the @magic-libraries/is module unifies the javascript type testing apis.', | ||
}, | ||
{ | ||
name: 'uri', | ||
description: [ | ||
'the @magic-client/uri module ', | ||
'the @magic-libraries/uri module ', | ||
' encodes objects to uri strings and decodes uri strings to objects.', | ||
], | ||
}, | ||
], | ||
...props, | ||
}) | ||
|
||
ClientList.dependencies = { | ||
LibraryList.dependencies = { | ||
GitList: require('@magic-modules/git-list'), | ||
} | ||
|
||
ClientList.props = [ | ||
LibraryList.props = [ | ||
{ key: 'id', type: 'string' }, | ||
{ key: 'org', type: 'string' }, | ||
{ key: 'header', type: 'string' }, | ||
{ key: 'desc', type: ['string', 'array'] }, | ||
{ key: 'items', type: 'array' }, | ||
] | ||
|
||
module.exports = ClientList | ||
module.exports = LibraryList |