@doctarigroup/dvelop-client
v1.17.6
Published
Client for d.velop CMS
Readme
d.velop API client
Foobar is a Python library for dealing with word pluralization.
Installation
Use a package manager to install the dependency.
Example using npm
npm install @doctaridev/dvelop-clientExample using yarn
yarn add @doctaridev/dvelop-clientUsage
Initialize the client
import createDvelopClient from '@doctaridev/dvelop-client';
const properties = {
baseUrl: 'https://my-instance.d-velop.cloud',
apiKey: 'my-develop-api-key',
};
const client = createDvelopClient(properties);Repository actions
client.getRepositories()
.then((result) => {
console.log(result);
});Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Workflows
Sync dvelop config
For synchronizing categories and properties from d.velop, run the sync-dvelop-config GitHub Actions workflow.
The workflow will propose updates to properties and categories across all environments (DEV, STAGING, PROD), update the relevant .json files, create a branch, commit the changes, and open a pull request automatically.
Review the pull request and merge it after verifying the proposed changes.
