0.8.1 • Published 1 year ago

@tinloof/sanity-toolkit v0.8.1

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

@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.
0.8.1

1 year ago

0.8.0

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.3

1 year ago

0.6.2

1 year ago

0.6.1

1 year ago

0.6.0

2 years ago

0.5.1

2 years ago

0.5.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago