diff --git a/common/__generated__/graphql.ts b/common/__generated__/graphql.ts index 9f896e4e..cac2ae67 100644 --- a/common/__generated__/graphql.ts +++ b/common/__generated__/graphql.ts @@ -4775,7 +4775,7 @@ export type GetActionListQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -4805,13 +4805,19 @@ export type GetActionListQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -4841,7 +4847,13 @@ export type GetActionListQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -4876,7 +4888,13 @@ export type GetActionListQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -4911,7 +4929,13 @@ export type GetActionListQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -5021,7 +5045,7 @@ export type GetActionListForBlockQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -5051,13 +5075,19 @@ export type GetActionListForBlockQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -5087,7 +5117,13 @@ export type GetActionListForBlockQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -5122,7 +5158,13 @@ export type GetActionListForBlockQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -5157,7 +5199,13 @@ export type GetActionListForBlockQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6177,7 +6225,7 @@ export type PlaywrightGetPlanInfoQuery = ( type AttributesBlockAttribute_AttributeCategoryChoice_Fragment = ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6207,13 +6255,19 @@ type AttributesBlockAttribute_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6243,7 +6297,13 @@ type AttributesBlockAttribute_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6278,7 +6338,13 @@ type AttributesBlockAttribute_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6313,7 +6379,13 @@ type AttributesBlockAttribute_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6390,7 +6462,7 @@ type AttributesBlockAttributeWithNestedType_AttributeCategoryChoice_Fragment = ( )> } & { __typename: 'AttributeType' } ), categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6420,13 +6492,19 @@ type AttributesBlockAttributeWithNestedType_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6456,7 +6534,13 @@ type AttributesBlockAttributeWithNestedType_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6491,7 +6575,13 @@ type AttributesBlockAttributeWithNestedType_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6526,7 +6616,13 @@ type AttributesBlockAttributeWithNestedType_AttributeCategoryChoice_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6601,7 +6697,7 @@ export type ActionCardFragment = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6631,13 +6727,19 @@ export type ActionCardFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6667,7 +6769,13 @@ export type ActionCardFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6702,7 +6810,13 @@ export type ActionCardFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6737,7 +6851,13 @@ export type ActionCardFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -6967,7 +7087,7 @@ export type CategoryTypeFragmentFragment = ( ); export type CategoryFragmentFragment = ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -6997,7 +7117,13 @@ export type CategoryFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7006,9 +7132,9 @@ export type CategoryFragmentFragment = ( export type CategoryWithParentsFragmentFragment = ( { parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7038,7 +7164,13 @@ export type CategoryWithParentsFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7073,7 +7205,13 @@ export type CategoryWithParentsFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7108,7 +7246,13 @@ export type CategoryWithParentsFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7118,7 +7262,7 @@ export type CategoryWithParentsFragmentFragment = ( ); export type CategoryRecursiveFragmentFragment = ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7148,13 +7292,19 @@ export type CategoryRecursiveFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7184,7 +7334,13 @@ export type CategoryRecursiveFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7219,7 +7375,13 @@ export type CategoryRecursiveFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7254,7 +7416,13 @@ export type CategoryRecursiveFragmentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7390,7 +7558,7 @@ type StreamFieldFragment_CartographyVisualisationBlock_Fragment = ( type StreamFieldFragment_CategoryListBlock_Fragment = ( { style?: string | null, heading?: string | null, lead?: string | null, id?: string | null, blockType: string, field: string, categoryType?: ( { id: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7420,13 +7588,19 @@ type StreamFieldFragment_CategoryListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7456,7 +7630,13 @@ type StreamFieldFragment_CategoryListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7491,7 +7671,13 @@ type StreamFieldFragment_CategoryListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7526,7 +7712,13 @@ type StreamFieldFragment_CategoryListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7537,7 +7729,7 @@ type StreamFieldFragment_CategoryListBlock_Fragment = ( & { __typename?: 'CategoryType' } ) | null, category?: ( { id: string, children: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7567,7 +7759,13 @@ type StreamFieldFragment_CategoryListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7601,7 +7799,10 @@ type StreamFieldFragment_CategoryTypeLevelListBlock_Fragment = ( & { __typename?: 'CategoryLevel' } ) | null, categoryBlockType: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, indicators: Array<( + { id: string, name: string } + & { __typename?: 'Indicator' } + )>, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7631,13 +7832,19 @@ type StreamFieldFragment_CategoryTypeLevelListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -7667,7 +7874,13 @@ type StreamFieldFragment_CategoryTypeLevelListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7702,7 +7915,13 @@ type StreamFieldFragment_CategoryTypeLevelListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7737,7 +7956,13 @@ type StreamFieldFragment_CategoryTypeLevelListBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -7970,7 +8195,7 @@ export type GetActionDetailsQuery = ( ) } & { __typename?: 'Action' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8000,13 +8225,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8036,7 +8267,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8071,7 +8308,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8106,7 +8349,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8193,7 +8442,7 @@ export type GetActionDetailsQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8223,13 +8472,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8259,7 +8514,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8294,7 +8555,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8329,7 +8596,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8391,7 +8664,7 @@ export type GetActionDetailsQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8421,13 +8694,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8457,7 +8736,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8492,7 +8777,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8527,7 +8818,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8583,7 +8880,7 @@ export type GetActionDetailsQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8613,13 +8910,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8649,7 +8952,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8684,7 +8993,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8719,7 +9034,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8766,7 +9087,7 @@ export type GetActionDetailsQuery = ( & { __typename?: 'Action' } ) | null, attributes: Array<( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8796,13 +9117,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -8832,7 +9159,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8867,7 +9200,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -8902,7 +9241,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9001,7 +9346,7 @@ export type GetActionDetailsQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9031,13 +9376,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9067,7 +9418,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9102,7 +9459,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9137,7 +9500,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9193,7 +9562,7 @@ export type GetActionDetailsQuery = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9223,13 +9592,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9259,7 +9634,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9294,7 +9675,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9329,7 +9716,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9473,7 +9866,7 @@ export type GetActionDetailsQuery = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9503,13 +9896,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9539,7 +9938,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9574,7 +9979,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9609,7 +10020,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9709,7 +10126,7 @@ export type GetActionDetailsQuery = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9739,13 +10156,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -9775,7 +10198,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9810,7 +10239,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -9845,7 +10280,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10004,7 +10445,7 @@ export type GetActionDetailsQuery = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10034,13 +10475,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10070,7 +10517,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10105,7 +10558,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10140,7 +10599,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10240,7 +10705,7 @@ export type GetActionDetailsQuery = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10270,13 +10735,19 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10306,7 +10777,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10341,7 +10818,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10376,7 +10859,13 @@ export type GetActionDetailsQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10517,7 +11006,7 @@ export type ActionDependenciesFragment = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10547,13 +11036,19 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10583,7 +11078,13 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10618,7 +11119,13 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10653,7 +11160,13 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10709,7 +11222,7 @@ export type ActionDependenciesFragment = ( ) } & { __typename?: 'ActionDependencyRelationship' } )>, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10739,13 +11252,19 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -10775,7 +11294,13 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10810,7 +11335,13 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -10845,7 +11376,13 @@ export type ActionDependenciesFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11044,7 +11581,7 @@ type ActionMainContentBlocksFragment_ActionContentSectionBlock_Fragment = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -11074,13 +11611,19 @@ type ActionMainContentBlocksFragment_ActionContentSectionBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -11110,7 +11653,13 @@ type ActionMainContentBlocksFragment_ActionContentSectionBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11145,7 +11694,13 @@ type ActionMainContentBlocksFragment_ActionContentSectionBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11180,7 +11735,13 @@ type ActionMainContentBlocksFragment_ActionContentSectionBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11292,7 +11853,7 @@ type ActionMainContentBlocksFragment_ReportComparisonBlock_Fragment = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -11322,13 +11883,19 @@ type ActionMainContentBlocksFragment_ReportComparisonBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -11358,7 +11925,13 @@ type ActionMainContentBlocksFragment_ReportComparisonBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11393,7 +11966,13 @@ type ActionMainContentBlocksFragment_ReportComparisonBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11428,7 +12007,13 @@ type ActionMainContentBlocksFragment_ReportComparisonBlock_Fragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11500,7 +12085,7 @@ export type ReportComparisonBlockActionContentFragment = ( { identifier: string, name: string, startDate: any, endDate: any, valuesForAction?: Array<( { attribute?: ( { id: string, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -11530,13 +12115,19 @@ export type ReportComparisonBlockActionContentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -11566,7 +12157,13 @@ export type ReportComparisonBlockActionContentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11601,7 +12198,13 @@ export type ReportComparisonBlockActionContentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11636,7 +12239,13 @@ export type ReportComparisonBlockActionContentFragment = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -11982,7 +12591,7 @@ export type GetContentPageQuery = ( ) | ( { style?: string | null, heading?: string | null, lead?: string | null, id?: string | null, blockType: string, field: string, categoryType?: ( { id: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12012,13 +12621,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12048,7 +12663,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12083,7 +12704,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12118,7 +12745,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12129,7 +12762,7 @@ export type GetContentPageQuery = ( & { __typename?: 'CategoryType' } ) | null, category?: ( { id: string, children: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12159,7 +12792,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12189,7 +12828,10 @@ export type GetContentPageQuery = ( & { __typename?: 'CategoryLevel' } ) | null, categoryBlockType: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, indicators: Array<( + { id: string, name: string } + & { __typename?: 'Indicator' } + )>, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12219,13 +12861,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12255,7 +12903,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12290,7 +12944,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12325,7 +12985,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12623,7 +13289,7 @@ export type GetContentPageQuery = ( ) | null } & { __typename?: 'Image' } ) | null, children: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12653,7 +13319,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12741,7 +13413,7 @@ export type GetContentPageQuery = ( )> } & { __typename: 'AttributeType' } ), categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12771,13 +13443,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -12807,7 +13485,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12842,7 +13526,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -12877,7 +13567,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13056,7 +13752,7 @@ export type GetContentPageQuery = ( ) | ( { style?: string | null, heading?: string | null, lead?: string | null, id?: string | null, blockType: string, field: string, categoryType?: ( { id: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13086,13 +13782,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13122,7 +13824,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13157,7 +13865,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13192,7 +13906,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13203,7 +13923,7 @@ export type GetContentPageQuery = ( & { __typename?: 'CategoryType' } ) | null, category?: ( { id: string, children: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13233,7 +13953,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13263,7 +13989,10 @@ export type GetContentPageQuery = ( & { __typename?: 'CategoryLevel' } ) | null, categoryBlockType: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, indicators: Array<( + { id: string, name: string } + & { __typename?: 'Indicator' } + )>, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13293,13 +14022,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13329,7 +14064,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13364,7 +14105,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13399,7 +14146,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13740,7 +14493,7 @@ export type GetContentPageQuery = ( ) | ( { style?: string | null, heading?: string | null, lead?: string | null, id?: string | null, blockType: string, field: string, categoryType?: ( { id: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13770,13 +14523,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13806,7 +14565,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13841,7 +14606,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13876,7 +14647,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13887,7 +14664,7 @@ export type GetContentPageQuery = ( & { __typename?: 'CategoryType' } ) | null, category?: ( { id: string, children: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13917,7 +14694,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -13947,7 +14730,10 @@ export type GetContentPageQuery = ( & { __typename?: 'CategoryLevel' } ) | null, categoryBlockType: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, indicators: Array<( + { id: string, name: string } + & { __typename?: 'Indicator' } + )>, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -13977,13 +14763,19 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -14013,7 +14805,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14048,7 +14846,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14083,7 +14887,13 @@ export type GetContentPageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14433,7 +15243,7 @@ export type GetHomePageQuery = ( ) | ( { id?: string | null, style?: string | null, heading?: string | null, lead?: string | null, blockType: string, field: string, categoryType?: ( { id: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -14463,13 +15273,19 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -14499,7 +15315,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14534,7 +15356,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14569,7 +15397,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14580,7 +15414,7 @@ export type GetHomePageQuery = ( & { __typename?: 'CategoryType' } ) | null, category?: ( { id: string, children: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -14610,7 +15444,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14640,7 +15480,10 @@ export type GetHomePageQuery = ( & { __typename?: 'CategoryLevel' } ) | null, categoryBlockType: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean, categories: Array<( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, indicators: Array<( + { id: string, name: string } + & { __typename?: 'Indicator' } + )>, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -14670,13 +15513,19 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ), parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( - { id: string, identifier: string, name: string, leadParagraph: string, order: number, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, parent?: ( + { id: string, identifier: string, name: string, leadParagraph: string, order: number, uuid: any, kausalPathsNodeUuid: string, color?: string | null, iconSvgUrl?: string | null, helpText: string, level?: ( { id: string, name: string, namePlural?: string | null } & { __typename?: 'CategoryLevel' } ) | null, image?: ( @@ -14706,7 +15555,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14741,7 +15596,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } @@ -14776,7 +15637,13 @@ export type GetHomePageQuery = ( ) | null, categoryPage?: ( { id?: string | null, title: string, urlPath: string, live: boolean } & { __typename?: 'CategoryPage' } - ) | null, type: ( + ) | null, categoryPages: Array<( + { id?: string | null } + & { __typename?: 'CategoryPage' } + )>, children: Array<( + { id: string } + & { __typename?: 'Category' } + )>, type: ( { id: string, identifier: string, hideCategoryIdentifiers: boolean } & { __typename?: 'CategoryType' } ) } diff --git a/common/__generated__/paths/graphql.ts b/common/__generated__/paths/graphql.ts index 71d39dbf..1c974a30 100644 --- a/common/__generated__/paths/graphql.ts +++ b/common/__generated__/paths/graphql.ts @@ -2134,518 +2134,40 @@ export type GetInstanceGoalOutcomeQuery = ( & { __typename?: 'Query' } ); -export type DimensionalMetricFragment = ( - { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( - { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( - { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } - & { __typename?: 'MetricDimensionCategoryType' } - )>, groups: Array<( - { id: string, originalId: string, label: string, color?: string | null, order?: number | null } - & { __typename?: 'MetricDimensionCategoryGroupType' } - )> } - & { __typename?: 'MetricDimensionType' } - )>, goals: Array<( - { categories: Array, groups: Array, values: Array<( - { year: number, value: number, isInterpolated: boolean } - & { __typename?: 'MetricYearlyGoalType' } - )> } - & { __typename?: 'DimensionalMetricGoalEntry' } - )>, unit: ( - { htmlShort: string, short: string } - & { __typename?: 'UnitType' } - ), normalizedBy?: ( - { id: string, name: string } - & { __typename?: 'Node' } - ) | null } - & { __typename?: 'DimensionalMetricType' } -); - -export type DimensionalPlotFragment = ( - { id: string, sources: Array, unit: ( - { htmlLong: string } - & { __typename?: 'UnitType' } - ), nodes: Array<( - { id: string, label: string, color?: string | null } - & { __typename?: 'FlowNodeType' } - )>, links: Array<( - { year: number, sources: Array, targets: Array, values: Array, absoluteSourceValues: Array } - & { __typename?: 'FlowLinksType' } - )> } - & { __typename?: 'DimensionalFlowType' } -); - -export type GetActionContentQueryVariables = Exact<{ - node: Scalars['ID']; - goal?: InputMaybe; - downstreamDepth?: InputMaybe; -}>; - - -export type GetActionContentQuery = ( - { action?: ( - { goal?: any | null, description?: string | null, decisionLevel?: DecisionLevel | null, id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, dimensionalFlow?: ( - { id: string, sources: Array, unit: ( - { htmlLong: string } - & { __typename?: 'UnitType' } - ), nodes: Array<( - { id: string, label: string, color?: string | null } - & { __typename?: 'FlowNodeType' } - )>, links: Array<( - { year: number, sources: Array, targets: Array, values: Array, absoluteSourceValues: Array } - & { __typename?: 'FlowLinksType' } - )> } - & { __typename?: 'DimensionalFlowType' } - ) | null, downstreamNodes: Array<( - { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, group?: ( - { id: string, name: string, color?: string | null } - & { __typename?: 'ActionGroupType' } - ) | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null } - & { __typename?: 'ForecastMetricType' } - ) | null, metricDim?: ( - { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( - { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( - { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } - & { __typename?: 'MetricDimensionCategoryType' } - )>, groups: Array<( - { id: string, originalId: string, label: string, color?: string | null, order?: number | null } - & { __typename?: 'MetricDimensionCategoryGroupType' } - )> } - & { __typename?: 'MetricDimensionType' } - )>, goals: Array<( - { categories: Array, groups: Array, values: Array<( - { year: number, value: number, isInterpolated: boolean } - & { __typename?: 'MetricYearlyGoalType' } - )> } - & { __typename?: 'DimensionalMetricGoalEntry' } - )>, unit: ( - { htmlShort: string, short: string } - & { __typename?: 'UnitType' } - ), normalizedBy?: ( - { id: string, name: string } - & { __typename?: 'Node' } - ) | null } - & { __typename?: 'DimensionalMetricType' } - ) | null, parameters: Array<( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'BoolParameterType' } - ) | ( - { minValue?: number | null, maxValue?: number | null, step?: number | null, id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, numberValue?: number | null, numberDefaultValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'NumberParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, stringValue?: string | null, stringDefaultValue?: string | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'StringParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'UnknownParameterType' } - )>, metric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null } - & { __typename?: 'ForecastMetricType' } - ) | null } - & { __typename?: 'ActionNode' } - ) | ( - { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null } - & { __typename?: 'ForecastMetricType' } - ) | null, metricDim?: ( - { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( - { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( - { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } - & { __typename?: 'MetricDimensionCategoryType' } - )>, groups: Array<( - { id: string, originalId: string, label: string, color?: string | null, order?: number | null } - & { __typename?: 'MetricDimensionCategoryGroupType' } - )> } - & { __typename?: 'MetricDimensionType' } - )>, goals: Array<( - { categories: Array, groups: Array, values: Array<( - { year: number, value: number, isInterpolated: boolean } - & { __typename?: 'MetricYearlyGoalType' } - )> } - & { __typename?: 'DimensionalMetricGoalEntry' } - )>, unit: ( - { htmlShort: string, short: string } - & { __typename?: 'UnitType' } - ), normalizedBy?: ( - { id: string, name: string } - & { __typename?: 'Node' } - ) | null } - & { __typename?: 'DimensionalMetricType' } - ) | null, parameters: Array<( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'BoolParameterType' } - ) | ( - { minValue?: number | null, maxValue?: number | null, step?: number | null, id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, numberValue?: number | null, numberDefaultValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'NumberParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, stringValue?: string | null, stringDefaultValue?: string | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'StringParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'UnknownParameterType' } - )>, metric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null } - & { __typename?: 'ForecastMetricType' } - ) | null } - & { __typename?: 'Node' } - )>, group?: ( - { id: string, name: string, color?: string | null } - & { __typename?: 'ActionGroupType' } - ) | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null } - & { __typename?: 'ForecastMetricType' } - ) | null, metricDim?: ( - { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( - { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( - { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } - & { __typename?: 'MetricDimensionCategoryType' } - )>, groups: Array<( - { id: string, originalId: string, label: string, color?: string | null, order?: number | null } - & { __typename?: 'MetricDimensionCategoryGroupType' } - )> } - & { __typename?: 'MetricDimensionType' } - )>, goals: Array<( - { categories: Array, groups: Array, values: Array<( - { year: number, value: number, isInterpolated: boolean } - & { __typename?: 'MetricYearlyGoalType' } - )> } - & { __typename?: 'DimensionalMetricGoalEntry' } - )>, unit: ( - { htmlShort: string, short: string } - & { __typename?: 'UnitType' } - ), normalizedBy?: ( - { id: string, name: string } - & { __typename?: 'Node' } - ) | null } - & { __typename?: 'DimensionalMetricType' } - ) | null, parameters: Array<( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'BoolParameterType' } - ) | ( - { minValue?: number | null, maxValue?: number | null, step?: number | null, id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, numberValue?: number | null, numberDefaultValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'NumberParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, stringValue?: string | null, stringDefaultValue?: string | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'StringParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'UnknownParameterType' } - )>, metric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null } - & { __typename?: 'ForecastMetricType' } - ) | null } - & { __typename?: 'ActionNode' } - ) | null } - & { __typename?: 'Query' } -); - -type CausalGridNode_ActionNode_Fragment = ( - { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, group?: ( - { id: string, name: string, color?: string | null } - & { __typename?: 'ActionGroupType' } - ) | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null } - & { __typename?: 'ForecastMetricType' } - ) | null, metricDim?: ( - { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( - { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( - { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } - & { __typename?: 'MetricDimensionCategoryType' } - )>, groups: Array<( - { id: string, originalId: string, label: string, color?: string | null, order?: number | null } - & { __typename?: 'MetricDimensionCategoryGroupType' } - )> } - & { __typename?: 'MetricDimensionType' } - )>, goals: Array<( - { categories: Array, groups: Array, values: Array<( - { year: number, value: number, isInterpolated: boolean } - & { __typename?: 'MetricYearlyGoalType' } - )> } - & { __typename?: 'DimensionalMetricGoalEntry' } - )>, unit: ( - { htmlShort: string, short: string } - & { __typename?: 'UnitType' } - ), normalizedBy?: ( - { id: string, name: string } - & { __typename?: 'Node' } - ) | null } - & { __typename?: 'DimensionalMetricType' } - ) | null, parameters: Array<( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'BoolParameterType' } - ) | ( - { minValue?: number | null, maxValue?: number | null, step?: number | null, id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, numberValue?: number | null, numberDefaultValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'NumberParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, stringValue?: string | null, stringDefaultValue?: string | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'StringParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'UnknownParameterType' } - )>, metric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null } - & { __typename?: 'ForecastMetricType' } - ) | null } - & { __typename?: 'ActionNode' } +export type ScenarioFragmentFragment = ( + { id?: string | null, isActive?: boolean | null, isDefault?: boolean | null, name?: string | null } + & { __typename?: 'ScenarioType' } ); -type CausalGridNode_Node_Fragment = ( - { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null } - & { __typename?: 'ForecastMetricType' } - ) | null, metricDim?: ( - { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( - { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( - { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } - & { __typename?: 'MetricDimensionCategoryType' } - )>, groups: Array<( - { id: string, originalId: string, label: string, color?: string | null, order?: number | null } - & { __typename?: 'MetricDimensionCategoryGroupType' } - )> } - & { __typename?: 'MetricDimensionType' } - )>, goals: Array<( - { categories: Array, groups: Array, values: Array<( - { year: number, value: number, isInterpolated: boolean } - & { __typename?: 'MetricYearlyGoalType' } +export type GetInstanceContextQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetInstanceContextQuery = ( + { instance: ( + { id: string, name: string, themeIdentifier?: string | null, owner?: string | null, defaultLanguage: string, supportedLanguages: Array, targetYear?: number | null, modelEndYear: number, referenceYear?: number | null, minimumHistoricalYear: number, maximumHistoricalYear?: number | null, leadTitle?: string | null, leadParagraph?: string | null, features: ( + { baselineVisibleInGraphs: boolean, hideNodeDetails: boolean, maximumFractionDigits?: number | null, showAccumulatedEffects: boolean, showSignificantDigits?: number | null } + & { __typename?: 'InstanceFeaturesType' } + ), introContent?: Array<{ __typename?: 'BlockQuoteBlock' | 'BooleanBlock' | 'CardListBlock' | 'CharBlock' | 'ChoiceBlock' | 'DateBlock' | 'DateTimeBlock' | 'DecimalBlock' | 'DocumentChooserBlock' | 'EmailBlock' | 'EmbedBlock' | 'FloatBlock' | 'ImageChooserBlock' | 'IntegerBlock' | 'ListBlock' | 'PageChooserBlock' | 'RawHTMLBlock' | 'RegexBlock' | 'SnippetChooserBlock' | 'StaticBlock' } | { __typename?: 'StreamBlock' | 'StreamFieldBlock' | 'StructBlock' | 'TextBlock' | 'TimeBlock' | 'URLBlock' } | ( + { field: string, value: string } + & { __typename?: 'RichTextBlock' } + )> | null, goals: Array<( + { id: string, label?: string | null, default: boolean, disabled: boolean, outcomeNode: ( + { id: string } + & { __typename?: 'Node' } + ), dimensions: Array<( + { dimension: string, categories: Array, groups: Array } + & { __typename?: 'InstanceGoalDimension' } )> } - & { __typename?: 'DimensionalMetricGoalEntry' } - )>, unit: ( - { htmlShort: string, short: string } - & { __typename?: 'UnitType' } - ), normalizedBy?: ( - { id: string, name: string } - & { __typename?: 'Node' } - ) | null } - & { __typename?: 'DimensionalMetricType' } - ) | null, parameters: Array<( + & { __typename?: 'InstanceGoalEntry' } + )> } + & { __typename?: 'InstanceType' } + ), scenarios: Array<( + { id?: string | null, isActive?: boolean | null, isDefault?: boolean | null, name?: string | null } + & { __typename?: 'ScenarioType' } + )>, availableNormalizations: Array<( + { id: string, label: string, isActive: boolean } + & { __typename?: 'NormalizationType' } + )>, parameters: Array<( { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( { id: string } & { __typename?: 'ActionNode' | 'Node' } @@ -2672,27 +2194,10 @@ type CausalGridNode_Node_Fragment = ( & { __typename?: 'ActionNode' | 'Node' } ) | null } & { __typename: 'UnknownParameterType' } - )>, metric?: ( - { name?: string | null, id?: string | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )>, baselineForecastValues?: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )> | null } - & { __typename?: 'ForecastMetricType' } - ) | null } - & { __typename?: 'Node' } + )> } + & { __typename?: 'Query' } ); -export type CausalGridNodeFragment = CausalGridNode_ActionNode_Fragment | CausalGridNode_Node_Fragment; - type ActionParameter_BoolParameterType_Fragment = ( { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( { id: string } @@ -2730,10 +2235,87 @@ type ActionParameter_UnknownParameterType_Fragment = ( export type ActionParameterFragment = ActionParameter_BoolParameterType_Fragment | ActionParameter_NumberParameterType_Fragment | ActionParameter_StringParameterType_Fragment | ActionParameter_UnknownParameterType_Fragment; -export type PathsActionFragmentFragment = ( - { id: string, name: string, goal?: any | null, shortDescription?: any | null, color?: string | null, decisionLevel?: DecisionLevel | null, quantity?: string | null, unit?: ( +export type DimensionalMetricFragment = ( + { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( + { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( + { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } + & { __typename?: 'MetricDimensionCategoryType' } + )>, groups: Array<( + { id: string, originalId: string, label: string, color?: string | null, order?: number | null } + & { __typename?: 'MetricDimensionCategoryGroupType' } + )> } + & { __typename?: 'MetricDimensionType' } + )>, goals: Array<( + { categories: Array, groups: Array, values: Array<( + { year: number, value: number, isInterpolated: boolean } + & { __typename?: 'MetricYearlyGoalType' } + )> } + & { __typename?: 'DimensionalMetricGoalEntry' } + )>, unit: ( + { htmlShort: string, short: string } + & { __typename?: 'UnitType' } + ), normalizedBy?: ( + { id: string, name: string } + & { __typename?: 'Node' } + ) | null } + & { __typename?: 'DimensionalMetricType' } +); + +type CausalGridNode_ActionNode_Fragment = ( + { isEnabled: boolean, id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, isVisible: boolean, quantity?: string | null, group?: ( + { id: string, name: string, color?: string | null } + & { __typename?: 'ActionGroupType' } + ) | null, unit?: ( { htmlShort: string } & { __typename?: 'UnitType' } + ) | null, inputNodes: Array<( + { id: string } + & { __typename?: 'ActionNode' | 'Node' } + )>, outputNodes: Array<( + { id: string } + & { __typename?: 'ActionNode' | 'Node' } + )>, impactMetric?: ( + { name?: string | null, id?: string | null, unit?: ( + { htmlShort: string } + & { __typename?: 'UnitType' } + ) | null, historicalValues: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )>, forecastValues: Array<( + { value: number, year: number } + & { __typename?: 'YearlyValue' } + )>, baselineForecastValues?: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )> | null, yearlyCumulativeUnit?: ( + { htmlShort: string } + & { __typename?: 'UnitType' } + ) | null } + & { __typename?: 'ForecastMetricType' } + ) | null, metricDim?: ( + { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( + { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( + { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } + & { __typename?: 'MetricDimensionCategoryType' } + )>, groups: Array<( + { id: string, originalId: string, label: string, color?: string | null, order?: number | null } + & { __typename?: 'MetricDimensionCategoryGroupType' } + )> } + & { __typename?: 'MetricDimensionType' } + )>, goals: Array<( + { categories: Array, groups: Array, values: Array<( + { year: number, value: number, isInterpolated: boolean } + & { __typename?: 'MetricYearlyGoalType' } + )> } + & { __typename?: 'DimensionalMetricGoalEntry' } + )>, unit: ( + { htmlShort: string, short: string } + & { __typename?: 'UnitType' } + ), normalizedBy?: ( + { id: string, name: string } + & { __typename?: 'Node' } + ) | null } + & { __typename?: 'DimensionalMetricType' } ) | null, parameters: Array<( { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( { id: string } @@ -2761,17 +2343,8 @@ export type PathsActionFragmentFragment = ( & { __typename?: 'ActionNode' | 'Node' } ) | null } & { __typename: 'UnknownParameterType' } - )>, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { id?: string | null, name?: string | null, cumulativeForecastValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, yearlyCumulativeUnit?: ( + )>, metric?: ( + { name?: string | null, id?: string | null, unit?: ( { htmlShort: string } & { __typename?: 'UnitType' } ) | null, historicalValues: Array<( @@ -2780,193 +2353,68 @@ export type PathsActionFragmentFragment = ( )>, forecastValues: Array<( { value: number, year: number } & { __typename?: 'YearlyValue' } - )> } + )>, baselineForecastValues?: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )> | null } & { __typename?: 'ForecastMetricType' } - ) | null, group?: ( - { id: string, name: string, color?: string | null } - & { __typename?: 'ActionGroupType' } ) | null } & { __typename?: 'ActionNode' } ); -export type GetPathsActionListQueryVariables = Exact<{ - goal?: InputMaybe; -}>; - - -export type GetPathsActionListQuery = ( - { instance: ( - { id: string, actionGroups: Array<( - { id: string, name: string, color?: string | null, actions: Array<( - { id: string } - & { __typename?: 'ActionNode' } - )> } - & { __typename?: 'ActionGroupType' } - )> } - & { __typename?: 'InstanceType' } - ), actions: Array<( - { id: string, name: string, goal?: any | null, shortDescription?: any | null, color?: string | null, decisionLevel?: DecisionLevel | null, quantity?: string | null, unit?: ( +type CausalGridNode_Node_Fragment = ( + { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, isVisible: boolean, quantity?: string | null, unit?: ( + { htmlShort: string } + & { __typename?: 'UnitType' } + ) | null, inputNodes: Array<( + { id: string } + & { __typename?: 'ActionNode' | 'Node' } + )>, outputNodes: Array<( + { id: string } + & { __typename?: 'ActionNode' | 'Node' } + )>, impactMetric?: ( + { name?: string | null, id?: string | null, unit?: ( { htmlShort: string } & { __typename?: 'UnitType' } - ) | null, parameters: Array<( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'BoolParameterType' } - ) | ( - { minValue?: number | null, maxValue?: number | null, step?: number | null, id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, numberValue?: number | null, numberDefaultValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'NumberParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, stringValue?: string | null, stringDefaultValue?: string | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'StringParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'UnknownParameterType' } - )>, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { id?: string | null, name?: string | null, cumulativeForecastValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )> } - & { __typename?: 'ForecastMetricType' } - ) | null, group?: ( - { id: string, name: string, color?: string | null } - & { __typename?: 'ActionGroupType' } - ) | null } - & { __typename?: 'ActionNode' } - )> } - & { __typename?: 'Query' } -); - -export type GetPathsActionQueryVariables = Exact<{ - action: Scalars['ID']; - goal?: InputMaybe; -}>; - - -export type GetPathsActionQuery = ( - { action?: ( - { id: string, name: string, goal?: any | null, shortDescription?: any | null, color?: string | null, decisionLevel?: DecisionLevel | null, quantity?: string | null, unit?: ( + ) | null, historicalValues: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )>, forecastValues: Array<( + { value: number, year: number } + & { __typename?: 'YearlyValue' } + )>, baselineForecastValues?: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )> | null, yearlyCumulativeUnit?: ( { htmlShort: string } & { __typename?: 'UnitType' } - ) | null, parameters: Array<( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'BoolParameterType' } - ) | ( - { minValue?: number | null, maxValue?: number | null, step?: number | null, id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, numberValue?: number | null, numberDefaultValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'NumberParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, stringValue?: string | null, stringDefaultValue?: string | null, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'StringParameterType' } - ) | ( - { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, node?: ( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - ) | null } - & { __typename: 'UnknownParameterType' } - )>, inputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, outputNodes: Array<( - { id: string } - & { __typename?: 'ActionNode' | 'Node' } - )>, impactMetric?: ( - { id?: string | null, name?: string | null, cumulativeForecastValue?: number | null, unit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, yearlyCumulativeUnit?: ( - { htmlShort: string } - & { __typename?: 'UnitType' } - ) | null, historicalValues: Array<( - { year: number, value: number } - & { __typename?: 'YearlyValue' } - )>, forecastValues: Array<( - { value: number, year: number } - & { __typename?: 'YearlyValue' } - )> } - & { __typename?: 'ForecastMetricType' } - ) | null, group?: ( - { id: string, name: string, color?: string | null } - & { __typename?: 'ActionGroupType' } ) | null } - & { __typename?: 'ActionNode' } - ) | null } - & { __typename?: 'Query' } -); - -export type ScenarioFragmentFragment = ( - { id?: string | null, isActive?: boolean | null, isDefault?: boolean | null, name?: string | null } - & { __typename?: 'ScenarioType' } -); - -export type GetInstanceContextQueryVariables = Exact<{ [key: string]: never; }>; - - -export type GetInstanceContextQuery = ( - { instance: ( - { id: string, name: string, themeIdentifier?: string | null, owner?: string | null, defaultLanguage: string, supportedLanguages: Array, targetYear?: number | null, modelEndYear: number, referenceYear?: number | null, minimumHistoricalYear: number, maximumHistoricalYear?: number | null, leadTitle?: string | null, leadParagraph?: string | null, features: ( - { baselineVisibleInGraphs: boolean, hideNodeDetails: boolean, maximumFractionDigits?: number | null, showAccumulatedEffects: boolean, showSignificantDigits?: number | null } - & { __typename?: 'InstanceFeaturesType' } - ), introContent?: Array<{ __typename?: 'BlockQuoteBlock' | 'BooleanBlock' | 'CardListBlock' | 'CharBlock' | 'ChoiceBlock' | 'DateBlock' | 'DateTimeBlock' | 'DecimalBlock' | 'DocumentChooserBlock' | 'EmailBlock' | 'EmbedBlock' | 'FloatBlock' | 'ImageChooserBlock' | 'IntegerBlock' | 'ListBlock' | 'PageChooserBlock' | 'RawHTMLBlock' | 'RegexBlock' | 'SnippetChooserBlock' | 'StaticBlock' } | { __typename?: 'StreamBlock' | 'StreamFieldBlock' | 'StructBlock' | 'TextBlock' | 'TimeBlock' | 'URLBlock' } | ( - { field: string, value: string } - & { __typename?: 'RichTextBlock' } - )> | null, goals: Array<( - { id: string, label?: string | null, default: boolean, disabled: boolean, outcomeNode: ( - { id: string } - & { __typename?: 'Node' } - ), dimensions: Array<( - { dimension: string, categories: Array, groups: Array } - & { __typename?: 'InstanceGoalDimension' } + & { __typename?: 'ForecastMetricType' } + ) | null, metricDim?: ( + { id: string, name: string, stackable: boolean, forecastFrom?: number | null, years: Array, values: Array, dimensions: Array<( + { id: string, label: string, originalId?: string | null, helpText?: string | null, categories: Array<( + { id: string, originalId?: string | null, label: string, color?: string | null, order?: number | null, group?: string | null } + & { __typename?: 'MetricDimensionCategoryType' } + )>, groups: Array<( + { id: string, originalId: string, label: string, color?: string | null, order?: number | null } + & { __typename?: 'MetricDimensionCategoryGroupType' } )> } - & { __typename?: 'InstanceGoalEntry' } - )> } - & { __typename?: 'InstanceType' } - ), scenarios: Array<( - { id?: string | null, isActive?: boolean | null, isDefault?: boolean | null, name?: string | null } - & { __typename?: 'ScenarioType' } - )>, availableNormalizations: Array<( - { id: string, label: string, isActive: boolean } - & { __typename?: 'NormalizationType' } - )>, parameters: Array<( + & { __typename?: 'MetricDimensionType' } + )>, goals: Array<( + { categories: Array, groups: Array, values: Array<( + { year: number, value: number, isInterpolated: boolean } + & { __typename?: 'MetricYearlyGoalType' } + )> } + & { __typename?: 'DimensionalMetricGoalEntry' } + )>, unit: ( + { htmlShort: string, short: string } + & { __typename?: 'UnitType' } + ), normalizedBy?: ( + { id: string, name: string } + & { __typename?: 'Node' } + ) | null } + & { __typename?: 'DimensionalMetricType' } + ) | null, parameters: Array<( { id: string, label?: string | null, description?: string | null, nodeRelativeId?: string | null, isCustomized: boolean, isCustomizable: boolean, boolValue?: boolean | null, boolDefaultValue?: boolean | null, node?: ( { id: string } & { __typename?: 'ActionNode' | 'Node' } @@ -2993,10 +2441,27 @@ export type GetInstanceContextQuery = ( & { __typename?: 'ActionNode' | 'Node' } ) | null } & { __typename: 'UnknownParameterType' } - )> } - & { __typename?: 'Query' } + )>, metric?: ( + { name?: string | null, id?: string | null, unit?: ( + { htmlShort: string } + & { __typename?: 'UnitType' } + ) | null, historicalValues: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )>, forecastValues: Array<( + { value: number, year: number } + & { __typename?: 'YearlyValue' } + )>, baselineForecastValues?: Array<( + { year: number, value: number } + & { __typename?: 'YearlyValue' } + )> | null } + & { __typename?: 'ForecastMetricType' } + ) | null } + & { __typename?: 'Node' } ); +export type CausalGridNodeFragment = CausalGridNode_ActionNode_Fragment | CausalGridNode_Node_Fragment; + export type GetNodeContentQueryVariables = Exact<{ node: Scalars['ID']; goal: Scalars['ID']; @@ -3005,7 +2470,7 @@ export type GetNodeContentQueryVariables = Exact<{ export type GetNodeContentQuery = ( { node?: ( - { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, group?: ( + { isEnabled: boolean, id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, isVisible: boolean, quantity?: string | null, group?: ( { id: string, name: string, color?: string | null } & { __typename?: 'ActionGroupType' } ) | null, unit?: ( @@ -3104,7 +2569,7 @@ export type GetNodeContentQuery = ( ) | null } & { __typename?: 'ActionNode' } ) | ( - { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, quantity?: string | null, unit?: ( + { id: string, name: string, shortDescription?: any | null, color?: string | null, targetYearGoal?: number | null, isVisible: boolean, quantity?: string | null, unit?: ( { htmlShort: string } & { __typename?: 'UnitType' } ) | null, inputNodes: Array<( @@ -3211,7 +2676,7 @@ export type GetNodeInfoQueryVariables = Exact<{ export type GetNodeInfoQuery = ( { node?: ( { id: string, name: string } - & { __typename?: 'ActionNode' | 'Node' } + & { __typename: 'ActionNode' | 'Node' } ) | null } & { __typename?: 'Query' } ); diff --git a/components/paths/CategoryCard.tsx b/components/paths/CategoryCard.tsx index 25127047..893b69ed 100644 --- a/components/paths/CategoryCard.tsx +++ b/components/paths/CategoryCard.tsx @@ -1,3 +1,13 @@ +import React, { useEffect, useState } from 'react'; + +import { + Category, + CategoryFragmentFragment, +} from 'common/__generated__/graphql'; +import { + ActionNode, + CausalGridNodeFragment, +} from 'common/__generated__/paths/graphql'; import { beautifyValue } from 'common/data/format'; import { Link } from 'common/links'; import ActionParameters from 'components/paths/ActionParameters'; @@ -12,15 +22,18 @@ import { import styled, { useTheme } from 'styled-components'; import PopoverTip from '@/components/common/PopoverTip'; +import HighlightValue from '@/components/paths/HighlightValue'; import { activeGoalVar, yearRangeVar } from '@/context/paths/cache'; import { GET_NODE_CONTENT } from '@/queries/paths/get-paths-node'; import { getScopeLabel, getScopeTotal } from '@/utils/paths/emissions'; import { DimensionalMetric } from '@/utils/paths/metric'; import { getHttpHeaders } from '@/utils/paths/paths.utils'; import PathsActionNode from '@/utils/paths/PathsActionNode'; -import { useQuery, useReactiveVar } from '@apollo/client'; +import { NetworkStatus, useQuery, useReactiveVar } from '@apollo/client'; -const GroupIdentifierHeader = styled.div` +const GroupIdentifierHeader = styled.div<{ + $color?: string | null | undefined; +}>` background-color: ${(props) => props.$color}; color: ${(props) => readableColor(props.$color || '#ffffff')}; padding: 6px; @@ -106,97 +119,138 @@ const IndicatorSparkline = (props) => { ); }; -const PathsBasicNodeContent = (props) => { - const { categoryId, node, pathsInstance } = props; - const yearRange = useReactiveVar(yearRangeVar); - const activeGoal = useReactiveVar(activeGoalVar); - // const t = useTranslations(); - if (node.metricDim) { - const nodeMetric = new DimensionalMetric(node.metricDim!); +type PathsBasicNodeContentProps = { + categoryId: string; + node: CausalGridNodeFragment; + onLoaded: (id: string, impact: number) => void; +}; - const indirectEmissions = getScopeTotal( - nodeMetric, - 'indirect', - yearRange[1] - ); - const directEmissions = getScopeTotal(nodeMetric, 'direct', yearRange[1]); +type Emissions = { + total: { value: number | null; label: string | null }; + indirect: { value: number | null; label: string | null }; + direct: { value: number | null; label: string | null }; +}; - const indirectEmissionsLabel = getScopeLabel(nodeMetric, 'indirect'); - const directEmissionsLabel = getScopeLabel(nodeMetric, 'direct'); +const PathsBasicNodeContent = (props: PathsBasicNodeContentProps) => { + const { categoryId, node, onLoaded } = props; + const yearRange = useReactiveVar(yearRangeVar); - /* - console.log('default config', defaultConfig); - console.log('metric', nodeMetric); - console.log('this year', thisYear); - */ - // TODO: Just get any label for now + const [emissions, setEmissions] = useState({ + total: { value: null, label: null }, + indirect: { value: null, label: null }, + direct: { value: null, label: null }, + }); - const unit = nodeMetric.getUnit(); + const [unit, setUnit] = useState(null); - return ( - -
- {directEmissions || indirectEmissions ? ( -
-
- {nodeMetric.getName()} ({yearRange[1]}) -
-

- {(directEmissions + indirectEmissions).toPrecision(3)} {unit} -

-
- ) : null} - {directEmissions ? ( -
- {directEmissionsLabel} -
- {directEmissions && directEmissions.toPrecision(3)} {unit} -
-
- ) : ( -
- )} - {indirectEmissions ? ( -
- {indirectEmissionsLabel} -
- {indirectEmissions.toPrecision(3)} {unit} -
-
- ) : ( -
- )} -
- - ); - } else { - return
{node.__typename} not supported
; - } + useEffect(() => { + const nodeMetric = new DimensionalMetric(node.metricDim!); + const indirect = getScopeTotal(nodeMetric, 'indirect', yearRange[1]); + const direct = getScopeTotal(nodeMetric, 'direct', yearRange[1]); + setEmissions({ + total: { value: indirect + direct, label: nodeMetric.getName() }, + indirect: { + value: indirect, + label: getScopeLabel(nodeMetric, 'indirect'), + }, + direct: { value: direct, label: getScopeLabel(nodeMetric, 'direct') }, + }); + setUnit(nodeMetric.getUnit()); + onLoaded(categoryId, indirect + direct); + // using exhausive deps here causes an infinite loop + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [yearRange[1]]); + + return ( + +
+ {emissions.total.value ? ( +
+ +
+ ) : null} + {emissions.direct.value ? ( +
+ +
+ ) : ( +
+ )} + {emissions.indirect.value ? ( +
+ +
+ ) : ( +
+ )} +
+ + ); }; -const PathsActionNodeContent = (props) => { - const { categoryId, node, pathsInstance, onLoaded } = props; - const yearRange = useReactiveVar(yearRangeVar); +type PathsActionNodeContentProps = { + categoryId: string; + node: ActionNode; + refetching: boolean; + onLoaded: (id: string, impact: number) => void; +}; + +const PathsActionNodeContent = (props: PathsActionNodeContentProps) => { + const { categoryId, node, refetching = false, onLoaded } = props; const t = useTranslations(); + const yearRange = useReactiveVar(yearRangeVar); const pathsAction = new PathsActionNode(node); const impact = pathsAction.getYearlyImpact(yearRange[1]) || 0; + + useEffect(() => { + onLoaded(categoryId, impact); + // Using exhaustive deps here causes an infinite loop + // eslint-disable-next-line react-hooks/exhaustive-deps + }, [yearRange[1]]); + return ( - {t('impact')} {yearRange[1]} -

- {yearRange ? beautifyValue(impact) : ---} - {pathsAction.getUnit()} -

+
); }; -const PathsNodeContent = (props) => { +type PathsNodeContentProps = { + categoryId: string; + node: string; + paths: string; + onLoaded: (id: string, impact: number) => void; +}; + +const PathsNodeContent = React.memo((props: PathsNodeContentProps) => { const { categoryId, node, paths, onLoaded } = props; const activeGoal = useReactiveVar(activeGoalVar); + const { data, loading, error, networkStatus } = useQuery(GET_NODE_CONTENT, { fetchPolicy: 'no-cache', variables: { node: node, goal: activeGoal?.id }, @@ -207,7 +261,9 @@ const PathsNodeContent = (props) => { }, }); - if (loading) { + const refetching = networkStatus === NetworkStatus.refetch; + + if (loading && !refetching) { return ; } if (error) { @@ -219,8 +275,8 @@ const PathsNodeContent = (props) => { ); } else if (data.node.__typename) { @@ -228,17 +284,26 @@ const PathsNodeContent = (props) => { ); } return null; } +}); + +PathsNodeContent.displayName = 'PathsNodeContent'; + +type CategoryCardProps = { + category: Category; + group?: CategoryFragmentFragment; + pathsInstance?: string; + onLoaded: (id: string, impact: number) => void; }; -const CategoryCard = (props) => { +const CategoryCard = (props: CategoryCardProps) => { const { category, group, pathsInstance, onLoaded } = props; + return ( {group && ( @@ -248,7 +313,7 @@ const CategoryCard = (props) => { )}
{' '} - + {!category?.type.hideCategoryIdentifiers && ( @@ -261,7 +326,7 @@ const CategoryCard = (props) => { {category.leadParagraph && ( {category.leadParagraph} )} - {category.kausalPathsNodeUuid && ( + {category.kausalPathsNodeUuid && pathsInstance && ( { onLoaded={onLoaded} /> )} - {category.indicators.length > 0 && ( + {category.indicators?.length > 0 && ( diff --git a/components/paths/HighlightValue.tsx b/components/paths/HighlightValue.tsx index be81deaa..3aaf5450 100644 --- a/components/paths/HighlightValue.tsx +++ b/components/paths/HighlightValue.tsx @@ -3,12 +3,24 @@ import React, { useState } from 'react'; import styled from 'styled-components'; const TotalValue = styled.div<{ $size?: string; $muted?: boolean }>` - padding: 0; + padding: 0.5rem; line-height: 1.2; font-weight: 700; - font-size: ${({ $size }) => ($size === 'sm' ? '1.25' : '1.5')}rem; + font-size: ${({ $size }) => { + switch ($size) { + case 'sm': + return '1.25rem'; + case 'lg': + return '2.25rem'; + case 'md': + default: + return '1.5rem'; + } + }}; + background-color: ${({ $muted, theme }) => + $muted ? theme.cardBackground.secondary : theme.themeColors.white}; color: ${({ $muted, theme }) => - $muted ? theme.textColor.tertiary : theme.textColor.secondary}; + $muted ? theme.textColor.tertiary : theme.textColor.primary}; &:hover { color: ${({ theme }) => theme.textColor.secondary}; @@ -25,26 +37,61 @@ const TotalValue = styled.div<{ $size?: string; $muted?: boolean }>` const TotalUnit = styled.span<{ $size?: string }>` margin-left: 0.25rem; - font-size: ${({ $size }) => ($size === 'sm' ? '0.6' : '0.75')}rem; + font-size: ${({ $size }) => { + switch ($size) { + case 'sm': + return '0.6rem'; + case 'lg': + return '1rem'; + case 'md': + default: + return '0.75rem'; + } + }}; `; const YearRange = styled.div<{ $size?: string }>` display: flex; - font-size: ${({ $size }) => ($size === 'sm' ? '0.6' : '0.75')}rem; + font-size: ${({ $size }) => { + switch ($size) { + case 'sm': + return '0.6rem'; + case 'lg': + return '1rem'; + case 'md': + default: + return '0.75rem'; + } + }}; color: ${({ theme }) => theme.textColor.secondary}; `; +const MutedReason = styled.div` + font-size: 0.75rem; + color: ${({ theme }) => theme.textColor.tertiary}; + margin-bottom: 0.25rem; +`; + type HighlightValueProps = { displayValue: string; header: string; unit: string; className?: string; - size?: string; + size?: 'sm' | 'md' | 'lg'; muted?: boolean; + mutedReason?: string; }; const HighlightValue = (props: HighlightValueProps) => { - const { displayValue, header, unit, className, size, muted } = props; + const { + displayValue, + header, + unit, + className, + size = 'md', + muted, + mutedReason, + } = props; const id = `tt-${displayValue}`.replace(/\W/g, '_'); const [tooltipOpen, setTooltipOpen] = useState(false); @@ -52,6 +99,7 @@ const HighlightValue = (props: HighlightValueProps) => { return ( + {mutedReason ? {mutedReason} : null} diff --git a/components/paths/StreamField.tsx b/components/paths/StreamField.tsx index ea873fdd..76d32100 100644 --- a/components/paths/StreamField.tsx +++ b/components/paths/StreamField.tsx @@ -2,7 +2,12 @@ import React from 'react'; import { Col, ColProps, Container, Row } from 'reactstrap'; -import type { StreamFieldFragmentFragment } from '@/common/__generated__/graphql'; +import type { + CategoryPage, + Page, + StreamFieldBlock, + StreamFieldFragmentFragment, +} from '@/common/__generated__/graphql'; import { ErrorBoundary } from '@/components/common/ErrorBoundary'; import { ErrorPage } from '@/components/common/ErrorPage'; import RichText from '@/components/common/RichText'; @@ -13,12 +18,11 @@ import ActionListBlock from '@/components/paths/contentblocks/ActionListBlock'; import CategoryListBlock from '@/components/paths/contentblocks/CategoryListBlock'; import CategoryTypeListBlock from '@/components/paths/contentblocks/CategoryTypeListBlock'; import PathsOutcomeBlock from '@/components/paths/contentblocks/PathsOutcomeBlock'; -import { usePlan } from '@/context/plan'; import { STREAM_FIELD_FRAGMENT } from '@/fragments/stream-field.fragment'; type StreamFieldBlockProps = { id: string; - page: any; + page: Page | CategoryPage; block: StreamFieldFragmentFragment; columnProps?: ColProps; }; @@ -26,7 +30,6 @@ type StreamFieldBlockProps = { function StreamFieldBlock(props: StreamFieldBlockProps) { const { id, page, block } = props; const { __typename } = block; - const plan = usePlan(); console.log('rendering', props); switch (__typename) { case 'ActionListBlock': { @@ -37,7 +40,7 @@ function StreamFieldBlock(props: StreamFieldBlockProps) { heading={heading} lead={helpText} groupByLevel={groupByCategoryLevel} - categoryId={categoryFilter?.id || page.category.id} + categoryId={categoryFilter?.id || page?.category.id} /> ); } @@ -78,16 +81,19 @@ function StreamFieldBlock(props: StreamFieldBlockProps) { categoryBlockType, } = block; console.log('CategoryLevelListBlock', block); - const categoryTypeIdentifier = categoryBlockType?.identifier; - const categoryLevelId = categoryLevel?.id; - const categoryGroupByLevelId = groupByCategoryLevel?.id; + const allPlanCategories = categoryBlockType?.categories; + const categories = allPlanCategories + ? allPlanCategories.filter( + (cat) => cat?.level?.id === categoryLevel?.id + ) + : []; + if (!categories.length) return null; return ( @@ -184,8 +190,8 @@ function StreamFieldBlock(props: StreamFieldBlockProps) { interface StreamFieldProps { color: string; - page: any; - blocks: any; + page: Page | CategoryPage; + blocks: StreamFieldFragmentFragment[]; hasSidebar?: boolean; columnProps?: ColProps; } diff --git a/components/paths/contentblocks/CategoryPageHeaderBlock.tsx b/components/paths/contentblocks/CategoryPageHeaderBlock.tsx index 1410ef83..278f5da2 100644 --- a/components/paths/contentblocks/CategoryPageHeaderBlock.tsx +++ b/components/paths/contentblocks/CategoryPageHeaderBlock.tsx @@ -3,18 +3,22 @@ import React from 'react'; import { CategoryTypePageLevelLayout } from 'common/__generated__/graphql'; import Breadcrumbs from 'components/common/Breadcrumbs'; import { CategoryPage } from 'components/common/CategoryPageStreamField'; +import ActionParameters from 'components/paths/ActionParameters'; import { usePaths } from 'context/paths/paths'; import ContentLoader from 'react-content-loader'; import { Container } from 'reactstrap'; import styled, { useTheme } from 'styled-components'; +import { ActionNode } from '@/common/__generated__/paths/graphql'; import { activeGoalVar, yearRangeVar } from '@/context/paths/cache'; import { GET_NODE_CONTENT } from '@/queries/paths/get-paths-node'; import { getScopeLabel, getScopeTotal } from '@/utils/paths/emissions'; import { DimensionalMetric } from '@/utils/paths/metric'; import { getHttpHeaders } from '@/utils/paths/paths.utils'; import PathsActionNode from '@/utils/paths/PathsActionNode'; -import { gql, useQuery, useReactiveVar } from '@apollo/client'; +import { gql, NetworkStatus, useQuery, useReactiveVar } from '@apollo/client'; + +import HighlightValue from '../HighlightValue'; export const GET_CATEGORY_ATTRIBUTE_TYPES = gql` query GetCategoryAttributeTypes($plan: ID!) { @@ -61,25 +65,12 @@ const Background = styled.div` background-color: ${(props) => props.theme.brandDark}; `; -const PathsActionImpact = styled.div` +const PathsActionImpact = styled.div<{ $disabled: boolean }>` display: flex; margin-right: 1rem; gap: 1rem; align-content: stretch; align-items: stretch; - - > div { - padding: 1rem; - background: #fff; - flex: 50% 0 0; - - > div { - display: flex; - > div { - margin-right: 1rem; - } - } - } `; const CategoryHeader = styled.div` @@ -113,7 +104,7 @@ interface Props { } const PathsBasicNodeContent = (props) => { - const { categoryId, node, pathsInstance } = props; + const { categoryId, node, pathsInstance, refetching } = props; const yearRange = useReactiveVar(yearRangeVar); if (node.metricDim) { @@ -133,30 +124,29 @@ const PathsBasicNodeContent = (props) => { const hasEmissionGoals = false; return ( - + +

+ {nodeMetric.getName()} ({yearRange[1]}) +

-

- {nodeMetric.getName()} ({yearRange[1]}) -

-
-
- {directEmissionsLabel} -
- {directEmissions ? directEmissions.toPrecision(3) : 'XXX'}{' '} - {unit} -
-
- {indirectEmissions ? ( -
- {indirectEmissionsLabel} -
- {indirectEmissions.toPrecision(3)} {unit} -
-
- ) : ( -
- )} -
+ +
{/* Hide targets now as we dont have them */} {hasEmissionGoals ? ( @@ -181,31 +171,37 @@ const PathsBasicNodeContent = (props) => { } }; -const PathsActionNodeContent = (props) => { - const { categoryId, node, pathsInstance } = props; +type PathsActionNodeContentProps = { + node: ActionNode; + refetching: boolean; +}; + +const PathsActionNodeContent = (props: PathsActionNodeContentProps) => { + const { node, refetching } = props; const yearRange = useReactiveVar(yearRangeVar); const pathsAction = new PathsActionNode(node); const impact = pathsAction.getYearlyImpact(yearRange[1]) || 0; + return ( - +
-

Impact ({yearRange[1]})

-
-
- Direct emissions -
- {`${impact.toPrecision(3)} `} - -
-
-
+
-
+
+ +
); @@ -225,8 +221,8 @@ const PathsNodeContent = (props) => { headers: getHttpHeaders({ instanceIdentifier: paths }), }, }); - - if (loading) { + const refetching = networkStatus === NetworkStatus.refetch; + if (loading && !refetching) { return ; } if (error) { @@ -236,11 +232,7 @@ const PathsNodeContent = (props) => { console.log('paths node content', data); if (data.node.__typename === 'ActionNode') { return ( - + ); } else if (data.node.__typename) { return ( @@ -248,6 +240,7 @@ const PathsNodeContent = (props) => { categoryId={categoryId} node={data.node} pathsInstance={paths} + refetching={refetching} /> ); } diff --git a/components/paths/contentblocks/CategoryTypeListBlock.tsx b/components/paths/contentblocks/CategoryTypeListBlock.tsx index 65438b4f..2f57a1bf 100644 --- a/components/paths/contentblocks/CategoryTypeListBlock.tsx +++ b/components/paths/contentblocks/CategoryTypeListBlock.tsx @@ -1,32 +1,36 @@ 'use client'; -import React, { useState } from 'react'; +import React, { useMemo, useState } from 'react'; -import { MultiUseImageFragmentFragment } from 'common/__generated__/graphql'; -import { CommonContentBlockProps } from 'common/blocks.types'; +import { + Category, + CategoryFragmentFragment, +} from 'common/__generated__/graphql'; import { useTranslations } from 'next-intl'; -import { readableColor } from 'polished'; -import ContentLoader from 'react-content-loader'; import { Col, Container, FormGroup, Input, Label, Row } from 'reactstrap'; -import styled, { useTheme } from 'styled-components'; +import styled from 'styled-components'; import { getDeepParents } from '@/common/categories'; +import { TFunction } from '@/common/i18n'; import { usePaths } from '@/context/paths/paths'; -import { usePlan } from '@/context/plan'; -import { - CATEGORY_FRAGMENT, - RECURSIVE_CATEGORY_FRAGMENT, -} from '@/fragments/category.fragment'; -import { gql, useQuery } from '@apollo/client'; -import { Theme } from '@kausal/themes/types'; +import { CATEGORY_FRAGMENT } from '@/fragments/category.fragment'; import CategoryCard from '../CategoryCard'; +/* const getColor = (theme: Theme, darkFallback = theme.themeColors.black) => theme.section.categoryList?.color || readableColor(theme.neutralLight, darkFallback, theme.themeColors.white); const getBackgroundColor = (theme: Theme) => theme.section.categoryList?.background || theme.neutralLight; +*/ + +type SortActionsConfig = { + key: 'IMPACT' | 'STANDARD'; + label: string; + sortKey: string; + isHidden?: boolean; +}; const getSortOptions = (t: TFunction): SortActionsConfig[] => [ { @@ -37,42 +41,10 @@ const getSortOptions = (t: TFunction): SortActionsConfig[] => [ { key: 'IMPACT', label: t('actions-sort-impact'), - sortKey: 'impactOnTargetYear', + sortKey: 'impact', }, ]; -const GET_CATEGORIES_FOR_CATEGORY_TYPE_LIST = gql` - query GetCategoriesForCategoryTypeList($plan: ID!, $categoryType: ID!) { - planCategories(plan: $plan, categoryType: $categoryType) { - ...CategoryRecursiveFragment - indicators { - id - name - } - } - } - ${RECURSIVE_CATEGORY_FRAGMENT} -`; - -const CategoryListContentLoader = (props) => { - const theme = useTheme(); - return ( - - - - - - - ); -}; - const HeaderSection = styled.div` padding: 4rem 0; margin-bottom: 2rem; @@ -90,7 +62,7 @@ const StyledTitle = styled.h1` } `; -const GroupHeader = styled.h4` +const GroupHeader = styled.h4<{ $color: string }>` border-left: 6px solid ${(props) => props.$color}; margin-bottom: 24px; `; @@ -133,47 +105,47 @@ const CategoryListSection = styled.div` } `; -export type CategoryListBlockCategory = { +interface CategoryTypeListBlockProps { + id?: string; + categories: CategoryFragmentFragment[]; + groupByLevelId?: string; + heading?: string; + lead?: string | null; + style?: 'treemap' | 'cards'; +} + +interface ImpactData { id: string; - image?: MultiUseImageFragmentFragment | null; - color?: string | null; - iconSvgUrl?: string | null; - iconImage?: { - rendition: { - src: string; - }; - }; - identifier: string; - name: string; - shortDescription?: string; - leadParagraph?: string; - categoryPage: { - urlPath: string; - live: boolean; - }; - type: { - hideCategoryIdentifiers: boolean; - }; -}; + impact: number | null; +} + +const CategoryTypeListBlock = (props: CategoryTypeListBlockProps) => { + const { id = '', heading, groupByLevelId, categories } = props; -const CategoryList = (props) => { - const { categories, groups } = props; const paths = usePaths(); const t = useTranslations(); - const pathsInstance = paths?.instance.id; const sortOptions = getSortOptions(t); + const groups = useMemo( + () => + getParentCategoriesOfLevel(categories, groupByLevelId) || [ + { id: 'all', name: 'All' } as CategoryFragmentFragment, + ], + [categories, groupByLevelId] + ); const [sortBy, setSortBy] = useState(sortOptions[0]); - const [categoriesData, setCategoriesData] = useState(categories); - const [categoriesPathsData, setCategoriesPathsData] = useState( - categories.map((cat) => { + const [categoriesPathsData, setCategoriesPathsData] = useState( + categories?.map((cat) => { return { id: cat.id, impact: null }; }) ); - const handleCardLoaded = (id, impact) => { - //console.log('handleCardLoaded', id, impact); + /* + * Augment listed categories with loaded impact data from Paths + * to enable sorting by impact. We call it all 'impact' for now + */ + const handleCardLoaded = (id: string, impact: number) => { setCategoriesPathsData((prevCategories) => { const updatedCategories = [...prevCategories]; const index = updatedCategories.findIndex((cat) => cat.id === id); @@ -182,172 +154,139 @@ const CategoryList = (props) => { } return updatedCategories; }); - //console.log('categoriesPathsData', categoriesPathsData); - //setLoadedCards(prev => ({ ...prev, [id]: impact })); }; - const handleChangeSort = (sort: SortActionsBy) => { + const handleChangeSort = (sort: SortActionsConfig['key']) => { const selectedSorter = sortOptions.find((option) => option.key === sort) ?? sortOptions[0]; setSortBy(selectedSorter); - const sortedCategories = [...categoriesData].sort((a, b) => { - if (selectedSorter.key === 'IMPACT') { - const aValue = categoriesPathsData.find( - (cat) => cat.id === a.id - )?.impact; - const bValue = categoriesPathsData.find( - (cat) => cat.id === b.id - )?.impact; - return bValue - aValue; - } - if (selectedSorter.key === 'STANDARD') { - return a[selectedSorter.sortKey] - b[selectedSorter.sortKey]; - } - return 0; - }); - setCategoriesData(sortedCategories); }; + const sortedCategories: CategoryFragmentFragment[] = useMemo( + () => + [...categories].sort((a, b) => { + if (sortBy.key === 'IMPACT') { + // if cat has no impact make sure it gets sorted to the bottom + const aValue = + categoriesPathsData.find((cat) => cat.id === a.id)?.impact || + Number.NEGATIVE_INFINITY; + const bValue = + categoriesPathsData.find((cat) => cat.id === b.id)?.impact || + Number.NEGATIVE_INFINITY; + return bValue - aValue; + } + if (sortBy.key === 'STANDARD') { + return b[sortBy.sortKey] - a[sortBy.sortKey]; + } + return 0; + }), + [sortBy, categories, categoriesPathsData] + ); + return ( - <> - - - - - - handleChangeSort(e.target.value as SortActionsBy) - } - defaultValue={sortBy.key} - > - {sortOptions.map( - (sortOption) => - !sortOption.isHidden && ( - + + + + + + {heading && {heading}} + + + + + + + + + + + handleChangeSort(e.target.value as SortActionsConfig['key']) + } + defaultValue={sortBy.key} + > + {sortOptions.map( + (sortOption) => + !sortOption.isHidden && ( + + ) + )} + + + + + {groups?.map((group) => ( + + {group?.id !== 'all' && ( + + {group.name} + + )} + {sortedCategories + ?.filter( + (cat) => + (cat?.categoryPage?.live && hasParent(cat, group.id)) || + group.id === 'all' + ) + .map( + (cat) => + cat.categoryPage?.live && ( + + + ) )} - - - - - {groups?.map((group) => ( - - {group?.id !== 'all' && ( - - {group.name} - - )} - {categoriesData - ?.filter( - (cat) => - (cat?.categoryPage?.live && hasParent(cat, group.id)) || - group.id === 'all' - ) - .map( - (cat) => - cat.categoryPage?.live && ( - - - - ) - )} - - ))} - + + ))} + + ); }; -interface CategoryTypeListBlockProps extends CommonContentBlockProps { - categories?: Array; - groupByLevel?: string; - listByLevel?: string; - categoryType?: string; - heading?: string; - lead: string; - style?: 'treemap' | 'cards'; -} - const hasParent = (cat, parentId) => { const catParents = getDeepParents(cat); return catParents.some((parent) => parent.id === parentId); }; -const getParentCategoryOfLevel = (cat, levelId: string) => { - const catParents = getDeepParents(cat); - return catParents.find((parent) => parent.level.id === levelId); +const getParentCategoryOfLevel = ( + cat: CategoryFragmentFragment, + levelId: string +): CategoryFragmentFragment => { + const catParents = getDeepParents(cat as Category); + return catParents.find( + (parent) => parent.level?.id === levelId + ) as CategoryFragmentFragment; }; -const getParentCategoriesOfLevel = (cats, levelId: string | undefined) => { +const getParentCategoriesOfLevel = ( + cats: CategoryFragmentFragment[], + levelId: string | undefined +): CategoryFragmentFragment[] | undefined => { if (!levelId) { - return [{ id: 'all', name: 'All' }]; + return undefined; } - console.log('cats=', cats, levelId); const categoriesOfLevel = cats.map((cat) => getParentCategoryOfLevel(cat, levelId) ); return categoriesOfLevel.filter( - (cat1, i, arr) => arr.findIndex((cat2) => cat2.id === cat1.id) === i - ); -}; - -const CategoryTypeListBlock = (props: CategoryTypeListBlockProps) => { - const { id = '', heading, groupByLevel, listByLevel, categoryType } = props; - const plan = usePlan(); - - const { data, loading, error } = useQuery( - GET_CATEGORIES_FOR_CATEGORY_TYPE_LIST, - { - variables: { - plan: plan.identifier, - categoryType: categoryType, - }, - } - ); - - if (error) { - return
Error: {error.message}
; - } - - const categories = data - ? data.planCategories.filter((cat) => cat.level.id === listByLevel) - : []; - const groups = getParentCategoriesOfLevel(categories, groupByLevel); - return ( - - - - - - {heading && {heading}} - - - - - - {loading ? ( - - ) : ( - - )} - - + (cat1, i, arr) => arr.findIndex((cat2) => cat2?.id === cat1?.id) === i ); }; diff --git a/fragments/stream-field.fragment.ts b/fragments/stream-field.fragment.ts index d82535a1..c27d75a1 100644 --- a/fragments/stream-field.fragment.ts +++ b/fragments/stream-field.fragment.ts @@ -138,6 +138,10 @@ export const STREAM_FIELD_FRAGMENT = gql` hideCategoryIdentifiers categories { ...CategoryRecursiveFragment + indicators { + id + name + } } } } diff --git a/queries/paths/get-paths-node.ts b/queries/paths/get-paths-node.ts index e9a66275..20fde9e4 100644 --- a/queries/paths/get-paths-node.ts +++ b/queries/paths/get-paths-node.ts @@ -89,6 +89,7 @@ export const CAUSAL_GRID_NODE_FRAGMENT = gql` shortDescription color targetYearGoal + isVisible unit { htmlShort } @@ -99,6 +100,7 @@ export const CAUSAL_GRID_NODE_FRAGMENT = gql` id } ... on ActionNode { + isEnabled group { id name diff --git a/utils/paths/PathsActionNode.ts b/utils/paths/PathsActionNode.ts index 550f0dae..743c4fb0 100644 --- a/utils/paths/PathsActionNode.ts +++ b/utils/paths/PathsActionNode.ts @@ -1,48 +1,13 @@ // TODO: Use graphql generated types - -interface YearlyValue { - year: number; - value: number; -} - -interface UnitType { - htmlShort: string; -} - -interface ImpactMetric { - id: string; - name: string; - unit: UnitType; - cumulativeForecastValue: number; - yearlyCumulativeUnit: UnitType; - historicalValues: YearlyValue[]; - forecastValues: YearlyValue[]; -} - -interface ActionNodeData { - id: string; - name: string; - goal: string; - shortDescription: string; - color: string | null; - decisionLevel: string; - unit: UnitType; - parameters: any[]; // define a more specific type for parameters - quantity: string; - inputNodes: any[]; // define a more specific type for parameters - outputNodes: any[]; // define a more specific type for parameters - impactMetric: ImpactMetric; - group: { - id: string; - name: string; - color: string; - }; -} +import { + ActionNode, + ForecastMetricType, +} from '@/common/__generated__/paths/graphql'; export default class PathsActionNode { - private data: ActionNodeData; + private data: ActionNode; - constructor(data: ActionNodeData) { + constructor(data: ActionNode) { this.data = data; } @@ -54,44 +19,55 @@ export default class PathsActionNode { return this.data.name; } - getImpactMetric(): ImpactMetric { - return this.data.impactMetric; + getImpactMetric(): ForecastMetricType | null { + return this.data.impactMetric ?? null; + } + + isEnabled(): boolean { + return this.data.isEnabled; } - getUnit(): string { + getUnit(): string | null | undefined { return ( - this.data.unit.htmlShort || - this.data.unit.htmlLong || - this.data.unit.short || - this.data.unit.long + this.data.unit?.htmlShort || + this.data.unit?.htmlLong || + this.data.unit?.short || + this.data.unit?.long ); } - getCumulativeImpact(): number { - return this.getImpactMetric().cumulativeForecastValue; + getCumulativeImpact(): number | undefined { + const impactMetric = this.getImpactMetric(); + if (impactMetric === null) return undefined; + return impactMetric.cumulativeForecastValue ?? undefined; } getYearlyImpact(year: number): number | null { - const forecastValue = this.getImpactMetric().forecastValues.find( - (v) => v.year === year + return ( + this.getImpactMetric()?.forecastValues.find((v) => v.year === year) + ?.value ?? null ); - return forecastValue ? forecastValue.value : null; } getTotalImpactUntil(year: number): number { - return this.getImpactMetric() - .forecastValues.filter((v) => v.year <= year) - .reduce((sum, v) => sum + v.value, 0); + return ( + this.getImpactMetric() + ?.forecastValues?.filter((v) => v.year <= year) + .reduce((sum, v) => sum + (v.value ?? 0), 0) ?? 0 + ); } getAverageImpact(startYear: number, endYear: number): number { - const relevantValues = this.getImpactMetric().forecastValues.filter( - (v) => v.year >= startYear && v.year <= endYear - ); + const relevantValues = + this.getImpactMetric()?.forecastValues?.filter( + (v) => v.year >= startYear && v.year <= endYear + ) ?? []; - if (relevantValues.length === 0) return 0; + if (relevantValues.length === 0) { + return 0; + } - const sum = relevantValues.reduce((sum, v) => sum + v.value, 0); + const sum = relevantValues.reduce((acc, v) => acc + (v.value ?? 0), 0); return sum / relevantValues.length; } }