From 85f07ce29a88a52807c86b4a32e205a26c290c74 Mon Sep 17 00:00:00 2001 From: Matt Fulp <8397318+fulpm@users.noreply.github.com> Date: Fri, 4 Oct 2024 16:40:30 -0400 Subject: [PATCH] remove dynamic --- codegen/templates/schemas/types/_assoc.njk | 5 ----- src/types/schemas/BuiltInFeatures.ts | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/codegen/templates/schemas/types/_assoc.njk b/codegen/templates/schemas/types/_assoc.njk index 6765408..a963edb 100644 --- a/codegen/templates/schemas/types/_assoc.njk +++ b/codegen/templates/schemas/types/_assoc.njk @@ -9,11 +9,6 @@ {%- if schema.additional_indices %} & Record {%- endif %} - {%- if schema.dynamic_indices %} - {%- for dynamic_key, dynamic_value in schema.dynamic_indices | dictsort %} - & Record<`{{ dynamic_key }}`, {{ field(dynamic_value) }}> - {%- endfor %} - {%- endif %} {%- elif schema.additional_indices -%} Record {%- else -%} diff --git a/src/types/schemas/BuiltInFeatures.ts b/src/types/schemas/BuiltInFeatures.ts index 3319b69..2f78a13 100644 --- a/src/types/schemas/BuiltInFeatures.ts +++ b/src/types/schemas/BuiltInFeatures.ts @@ -46,6 +46,4 @@ export type BuiltInFeatures = { * The 0-based index of the case's order in training within its session. */ ".session_training_index"?: number; -} & Record<`${string}_delta_${number}`, number | null> & - Record<`${string}_lag_${number}`, any> & - Record<`${string}_rate_${number}`, number | null>; +};