Skip to content

Commit

Permalink
remove dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
fulpm committed Oct 4, 2024
1 parent 03d621d commit 85f07ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 0 additions & 5 deletions codegen/templates/schemas/types/_assoc.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
{%- if schema.additional_indices %}
& Record<string, {{ field(schema.additional_indices) }}>
{%- 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<string, {{ field(schema.additional_indices) }}>
{%- else -%}
Expand Down
4 changes: 1 addition & 3 deletions src/types/schemas/BuiltInFeatures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
};

0 comments on commit 85f07ce

Please sign in to comment.