From a09bb2cb34639ec62173219bab80e8b554ea4cb9 Mon Sep 17 00:00:00 2001 From: Emmanuel Ferdman Date: Thu, 31 Oct 2024 13:50:53 -0700 Subject: [PATCH] fix: update schema reference Signed-off-by: Emmanuel Ferdman --- packages/otelbin/src/components/monaco-editor/schema.json | 2 +- packages/otelbin/src/contexts/EditorContext.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/otelbin/src/components/monaco-editor/schema.json b/packages/otelbin/src/components/monaco-editor/schema.json index 282b9b4e..095a7734 100644 --- a/packages/otelbin/src/components/monaco-editor/schema.json +++ b/packages/otelbin/src/components/monaco-editor/schema.json @@ -1,5 +1,5 @@ { - "$id": "https://github.com/dash0hq/otelbin/blob/main/src/components/monaco-editor/schema.json", + "$id": "https://github.com/dash0hq/otelbin/blob/main/packages/otelbin/src/components/monaco-editor/schema.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "otel", "type": "object", diff --git a/packages/otelbin/src/contexts/EditorContext.tsx b/packages/otelbin/src/contexts/EditorContext.tsx index f70bd7f7..cfea8dda 100644 --- a/packages/otelbin/src/contexts/EditorContext.tsx +++ b/packages/otelbin/src/contexts/EditorContext.tsx @@ -100,7 +100,7 @@ export const EditorProvider = ({ children }: { children: ReactNode }) => { enableSchemaRequest: true, schemas: [ { - uri: "https://github.com/dash0hq/otelbin/blob/main/src/components/monaco-editor/schema.json", + uri: "https://github.com/dash0hq/otelbin/blob/main/packages/otelbin/src/components/monaco-editor/schema.json", // @ts-expect-error TypeScript can’t narrow down the type of JSON imports schema, fileMatch: ["*"],