Skip to content

Commit

Permalink
Eda categorical collection type (#592)
Browse files Browse the repository at this point in the history
* Make `distributionDefaults` optional

* Tweak styling
  • Loading branch information
dmfalke authored Nov 3, 2023
1 parent bde6699 commit ec51ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/libs/eda/src/lib/core/types/study.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ export type CollectionVariableTreeNode = t.TypeOf<
export const CollectionVariableTreeNode = t.intersection([
t.type({
dataShape: t.string,
distributionDefaults: NumberDistributionDefaults,
id: t.string,
memberVariableIds: t.array(t.string),
type: t.string,
Expand All @@ -224,6 +223,7 @@ export const CollectionVariableTreeNode = t.intersection([
isCompositional: t.boolean,
isProportion: t.boolean,
normalizationMethod: t.string,
distributionDefaults: NumberDistributionDefaults,
}),
]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

&--Details {
overflow: auto;
max-height: calc(100vh - 46em);
max-height: calc(80vh - 46em);
font-size: 0.9em;
color: #000000e6;

Expand Down

0 comments on commit ec51ca2

Please sign in to comment.