From 25393dd90238c3827aab60901e9ff31275ddddec Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Thu, 20 Aug 2026 21:49:17 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Replace=20uses=20of=20'Jso?= =?UTF-8?q?n'=20with=20straight=20'Dynamic'.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/beep/internal.gleam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/beep/internal.gleam b/src/beep/internal.gleam index dfb5eac..048a9e2 100644 --- a/src/beep/internal.gleam +++ b/src/beep/internal.gleam @@ -1,8 +1,8 @@ // IMPORTS --------------------------------------------------------------------- import gleam/dict.{type Dict} +import gleam/dynamic.{type Dynamic} import gleam/int -import gleam/json.{type Json} import gleam/list import gleam/option.{type Option, None, Some} import gleam/set.{type Set} @@ -21,13 +21,13 @@ pub type AudioNode { pub type Property { AudioParam(name: String, value: Float) - NodeProperty(name: String, value: Json) + NodeProperty(name: String, value: Dynamic) } pub type Patch { NodeCreated(name: String, kind: String, properties: List(Property)) NodeAudioParamUpdated(node: String, name: String, value: Float) - NodePropertyUpdated(node: String, name: String, value: Json) + NodePropertyUpdated(node: String, name: String, value: Dynamic) NodeRemoved(name: String) ConnectionCreated(from: String, to: String, param: Option(String)) ConnectionRemoved(from: String, to: String, param: Option(String)) -- 2.51.2