Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tinloof/sanity-toolkit

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinloof/sanity-toolkit

Utilities, schemas and components for Sanity.io studios.

  • 0.9.0
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
4
Weekly downloads
 
Created
Source

@tinloof/sanity-toolkit

Utilities, schemas and components for Sanity.io studios.

The most important bits of this package are:

  • schema/reusedFields and schema/objects - commonly-used, fundamental schemas shared across all sites.
  • schemas/documentSchema.ts - builds a localizable & ordered document schema based on configuration nested in its custom object. Also enhances the provided fields with common fields such as slug, seo and publishStatus, if applicable.
  • schemas/blockSchema.ts and schemas/settingsSchema - similar to documentSchema, but applicable to blocks and the settings document, respectively.
  • parts/buildStructure.ts - takes in a configuration for the shape of the studio's Desk and outputs a Structure Builder to render localized, ordered and neatly organized menus of documents.
  • components/StudioDocs.tsx - minimal component that renders a Docsify instance to document the studio from inside of it. The actual documentation lives in the front-end's public folder - @tinloof/remix-cli/template/public/studio-docs for the template.

FAQs

Package last updated on 06 Jan 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc