Socket
Socket
Sign inDemoInstall

cloud-docs-shared-code

Package Overview
Dependencies
37
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cloud-docs-shared-code

Kentico Cloud Docs Shared Code


Version published
Weekly downloads
29
Maintainers
3
Install size
26.9 MB
Created
Weekly downloads
 

Readme

Source
masterdevelop
Build Status codebeat badgeBuild Status codebeat badge

Kentico Cloud Documentation - Shared code

This repository contains shared code from all of other Kentico Cloud Docs repositories.

Shared functions

Azure storage

getBlobContainerName - Returns name of a blob container specified in an event grid event.

getBlobFromStorage - Async function that returns content of an Azure blob as a JSON object.

Kentico Cloud utils

getRootCodenamesOfItem - Traverses structured content from Kentico Cloud and returns codenames of found root items. Requires:

  • item - data about the item where the traversal starts
  • allItems - items from Kentico Cloud project
  • rootItemTypes - types of the root content items

Shared classes

Configuration

Contains configuration settings that are shared between the other Kentico Cloud Docs repositories:

  • azureAccountName
  • azureContainerName
  • azureStorageKey
  • searchAdminApiKey
  • searchAppId
  • searchIndexName
  • kenticoProjectId
  • securedApiKey
  • previewApiKey
  • docsWebsiteUrl

Shared interfaces

Contracts

Event Grid - Specifies an Azure Event Grid schema, along with the options for passed data in the event's data property.

Kentico Cloud - Contains an IWebhookContentItem that specifies data sent in a webhook reacting to a change in published content.

Search - Contains a contract for records sent to IndexSync service.

Reference

Preprocessed models - Interfaces of preprocessed data models from Kentico Cloud. Those models are based on an OpenAPI Specification 3.0.2.

How To Contribute

Feel free to open a new issue where you describe your proposed changes, or even create a new pull request from your branch with proposed changes.

Licence

All the source codes are published under MIT licence.

FAQs

Last updated on 07 Oct 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc