unfoldingword / dcs-react-hooks Goto Github PK
View Code? Open in Web Editor NEWA ready-to-go library for consuming DCS APIs
License: MIT License
A ready-to-go library for consuming DCS APIs
License: MIT License
This hook should use
repoClient.repoGetContents()
and receive the arguments listed here:
https://git.door43.org/api/swagger#/repository/repoGetContents
should return
{
state: repoContents, isLoading, error
actions: setRepoContents, getRepoClient
}
This hook should use
repoClient.repoGetRawFile()
and receive the arguments listed here:
https://git.door43.org/api/swagger#/repository/repoGetRawFile
should return
{
state: repoFile, isLoading, error
actions: setRepoFile, getRepoClient
}
Just to keep the track of work done in a collaboration week. A note from @klappy
I'm thinking we could start with some mock components, and then populate them later.
To simplify, we may be able to just handle one organization, repository and filepath. Then each side, old/new, gets to select branch/tag.
This limits the use case but is easier to implement and handles our most common use cases.
This hook should use
repoClient.repoListBranches()
and receive the arguments listed here:
https://git.door43.org/api/swagger#/repository/repoListBranches
should return
{
state: repoBranches, isLoading, error
actions: setRepoBranches, getRepoClient
}
This hook should use
repoClient.GetTree()
and receive the arguments listed here:
https://git.door43.org/api/swagger#/repository/GetTree
should return
{
state: repoTree, isLoading, error
actions: setRepoTree, getRepoTree
}
This hook should use
orgClient.orgListRepos()
and receive the arguments listed here:
https://git.door43.org/api/swagger#/organization/orgListRepos
should return
{
state: orgRepos, isLoading, error
actions: setOrgRepos, getOrgClient
}
Needs more documentation, particularly the auto-generated code.
It will be important that a developer can begin using this easily. They need to know what methods are available and what the parameters are.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.