From 69b5b0dd331f8048f92ecc5287e36d59f94db391 Mon Sep 17 00:00:00 2001 From: Richard Herman Date: Mon, 12 Feb 2024 17:07:47 +0000 Subject: [PATCH] docs: update imports to reflect exports --- README.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index cb1be50..fe49d76 100644 --- a/README.md +++ b/README.md @@ -25,24 +25,18 @@ npm install @elgato/schemas Manifest JSON file responsible for defining a Stream Deck plugin. -``` -@elgato/schemas/streamdeck/plugins/manifest.json -``` - ```ts import { type Manifest } from "@elgato/schemas/streamdeck/plugins"; +import manifestSchema from "@elgato/schemas/streamdeck/plugins/manifest.json"; ``` #### Layout -JSON file that defines the layout of an action on Stream Deck +. - -``` -@elgato/schemas/streamdeck/plugins/layout.json -``` +Layout JSON file that defines the layout of an action on Stream Deck +. ```ts import { type Layout } from "@elgato/schemas/streamdeck/plugins"; +import layoutSchema from "@elgato/schemas/streamdeck/plugins/layout.json"; ``` ## Keywords