From 8a28ac61aca6282f88111b1350adad87145cd239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1rbara=20Chaves?= Date: Mon, 17 Jun 2024 12:31:29 +0200 Subject: [PATCH] Update main (#61) * Client/feature/adapt story 1 (#53) * Add bubble chart default options * Fix story content size * add production link to images in next config * Fix no map error * Update legend logic (#54) * Update legend logic * Fix outro step disclaimer (#55) * Fix disclaimer * Update styles and legends (#56) * Update styles and legends to story 2 * Client/feature/south sudan (#57) * Update timeline legend componenmt and add header to legends * Add top stories to cms and update client (#58) * Remove top stories number * Fix last step logos width (#59) * Add richtext to map step card (#60) * Add richtext to map step card * Fix globe position * feat: Turning on CDN for space/bucket with map data --------- Co-authored-by: martintomas --- client/next.config.mjs | 2 +- client/package.json | 6 +- client/src/components/chart/index.tsx | 23 +- client/src/components/chart/utils.ts | 117 +- client/src/components/map/legend/index.tsx | 45 +- .../map/legend/item-types/basic/index.tsx | 16 +- .../legend/item-types/choropleth/index.tsx | 13 +- .../map/legend/item-types/gradient/index.tsx | 11 +- .../map/legend/item-types/header.tsx | 36 + .../map/legend/item-types/switch/index.tsx | 27 +- .../map/legend/item-types/timeline/index.tsx | 130 +- .../src/components/map/legend/item/index.tsx | 105 +- .../map/legend/item/toolbar/index.tsx | 40 +- client/src/components/map/legend/types.ts | 30 +- client/src/components/ui/card.tsx | 6 +- client/src/components/ui/collapsible.tsx | 11 + client/src/components/ui/rich-text.tsx | 61 + client/src/containers/home/index.tsx | 2 +- .../src/containers/home/top-stories/index.tsx | 13 +- .../src/containers/home/top-stories/item.tsx | 33 +- .../containers/home/top-stories/mockup.json | 37 - client/src/containers/map/index.tsx | 16 +- client/src/containers/map/legend/index.tsx | 113 +- client/src/containers/map/legend/item.tsx | 139 +- .../map/markers/story-markers/carousel.tsx | 10 +- client/src/containers/story/steps/index.tsx | 6 +- .../story/steps/layouts/map-step.tsx | 128 +- .../story/steps/layouts/outro-step.tsx | 49 +- client/src/containers/story/utils.ts | 4 +- client/src/lib/image-src/index.ts | 2 +- client/src/types/generated/strapi.schemas.ts | 2818 ++++++++++++----- client/src/types/generated/top-story.ts | 344 ++ client/src/types/layers.ts | 2 +- .../api/layer/content-types/layer/schema.json | 3 +- .../content-types/top-story/schema.json | 40 + .../api/top-story/controllers/top-story.ts | 7 + .../documentation/1.0.0/top-story.json | 507 +++ cms/src/api/top-story/routes/top-story.ts | 7 + cms/src/api/top-story/services/top-story.ts | 7 + cms/src/components/disclaimer/discalimer.json | 27 - .../disclaimer/outro-step-disclaimer.json | 25 + cms/src/components/disclaimer/partners.json | 25 + cms/src/components/map-layer/summary.json | 3 + .../components/step-layout/outro-step.json | 6 +- .../story-outro-disclaimer/disclaimer.json | 19 + .../story-disclaimer.json | 21 + cms/src/components/widget/widget.json | 3 + infrastructure/base/main.tf | 3 + infrastructure/base/modules/env/main.tf | 4 + infrastructure/base/modules/space/outputs.tf | 4 + types/orval.config.ts | 12 +- yarn.lock | 1256 +++++--- 52 files changed, 4589 insertions(+), 1785 deletions(-) create mode 100644 client/src/components/map/legend/item-types/header.tsx create mode 100644 client/src/components/ui/collapsible.tsx create mode 100644 client/src/components/ui/rich-text.tsx delete mode 100644 client/src/containers/home/top-stories/mockup.json create mode 100644 client/src/types/generated/top-story.ts create mode 100644 cms/src/api/top-story/content-types/top-story/schema.json create mode 100644 cms/src/api/top-story/controllers/top-story.ts create mode 100644 cms/src/api/top-story/documentation/1.0.0/top-story.json create mode 100644 cms/src/api/top-story/routes/top-story.ts create mode 100644 cms/src/api/top-story/services/top-story.ts delete mode 100644 cms/src/components/disclaimer/discalimer.json create mode 100644 cms/src/components/disclaimer/outro-step-disclaimer.json create mode 100644 cms/src/components/disclaimer/partners.json create mode 100644 cms/src/components/story-outro-disclaimer/disclaimer.json create mode 100644 cms/src/components/story-outro-disclaimer/story-disclaimer.json diff --git a/client/next.config.mjs b/client/next.config.mjs index be9cdb6..d1e32ca 100644 --- a/client/next.config.mjs +++ b/client/next.config.mjs @@ -13,7 +13,7 @@ const nextConfig = { 'esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com', 'fra1.digitaloceanspaces.com', 'esa-gda-comms-staging-mfafc.ondigitalocean.app', - 'impact-sphere-gda.esa.int', + 'https://impact-sphere-gda.esa.int', ], }, env: { diff --git a/client/package.json b/client/package.json index 3e0e359..b8ac073 100644 --- a/client/package.json +++ b/client/package.json @@ -22,6 +22,7 @@ "@hookform/resolvers": "^3.1.1", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-checkbox": "^1.0.4", + "@radix-ui/react-collapsible": "^1.0.3", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-label": "^2.0.2", "@radix-ui/react-popover": "^1.0.6", @@ -62,7 +63,10 @@ "react-dom": "18.2.0", "react-hook-form": "^7.45.0", "react-map-gl": "7.1.5", - "react-markdown": "8.0.7", + "react-markdown": "^9.0.1", + "rehype-raw": "^7.0.0", + "remark-gfm": "^4.0.0", + "remark-unwrap-images": "^4.0.0", "rooks": "7.14.1", "tailwind-merge": "^1.13.2", "tailwindcss": "3.3.2", diff --git a/client/src/components/chart/index.tsx b/client/src/components/chart/index.tsx index f83169f..ff44b8f 100644 --- a/client/src/components/chart/index.tsx +++ b/client/src/components/chart/index.tsx @@ -12,11 +12,11 @@ import { Filler, registerables, } from 'chart.js'; -import { ChartJSOrUndefined } from 'react-chartjs-2/dist/types'; +import { ChartJSOrUndefined, ChartProps } from 'react-chartjs-2/dist/types'; import { WidgetWidgetComponent } from '@/types/generated/strapi.schemas'; -import { getChartDefaultData, getChartDefaultOptions } from './utils'; +import { bubbleDefaultOptions, getChartDefaultData, getChartDefaultOptions } from './utils'; type ChartJsProps = { widget: WidgetWidgetComponent; @@ -49,19 +49,24 @@ const ChartJs = ({ widget, ...props }: ChartJsProps) => { () => getChartDefaultData(data, chartRef), [data, chartRef.current] ); - const optionsWithDefaults = useMemo(() => getChartDefaultOptions(options), [options]); const chartType = type as ChartType; + const optionsWithDefaults: Partial = getChartDefaultOptions(options); + + const OPTIONS = { + ...optionsWithDefaults, + datasets: { + ...(chartType === 'bubble' + ? { bubble: { ...bubbleDefaultOptions, ...optionsWithDefaults?.datasets?.bubble } } + : {}), + }, + }; + return (
{!chartTypes.includes(chartType) || !data || !(data as ChartData).datasets ? null : ( - + )}
); diff --git a/client/src/components/chart/utils.ts b/client/src/components/chart/utils.ts index 89613cd..00f6e56 100644 --- a/client/src/components/chart/utils.ts +++ b/client/src/components/chart/utils.ts @@ -1,41 +1,85 @@ import { MutableRefObject } from 'react'; -import { BubbleDataPoint, ChartTypeRegistry, Point } from 'chart.js'; +import { BubbleDataPoint, ChartTypeRegistry, Point, ScriptableContext } from 'chart.js'; import { ChartJSOrUndefined } from 'react-chartjs-2/dist/types'; -export const getChartDefaultOptions = (options: any) => { +export const PluginCallbacks = { + PredictedTravelDemandDhakaTooltopTitle: (context: any) => { + return `${context[0].raw.y} in ${context[0].raw.x}`; + }, + PredictedTravelDemandDhakaTooltopLabel: (context: any) => { + return `${context.raw.value?.toLocaleString()} ${context.raw.scale}`; + }, +}; + +export const bubbleDefaultOptions = { + radius: (context: ScriptableContext<'bubble'>) => { + const maxRadius = 20; + const minRadius = 10; + const max = Math.max(...context.dataset.data.map((d: any) => d.value || 0)); + const min = Math.min(...context.dataset.data.map((d: any) => d.value || 0)); + const value = (context.dataset.data[context.dataIndex] as any).value || 0; + const normalized = minRadius + ((value - min) * (maxRadius - minRadius)) / (max - min); + context.dataset.data[context.dataIndex].r = normalized; + return normalized; + }, +}; + +const extractPluginCallbackFunction = (options: Record) => { + const plugins = options?.plugins || {}; + if (!plugins) return options; + for (const key in plugins) { + const plugin = plugins[key]; + if (plugin?.callbacks) { + for (const callback in plugin.callbacks) { + const pluginCallback = plugin.callbacks[callback]; + if (typeof pluginCallback === 'string' && pluginCallback in PluginCallbacks) { + plugins[key].callbacks[callback] = + PluginCallbacks[pluginCallback as keyof typeof PluginCallbacks]; + } + } + } + } + return { + ...options, + plugins, + }; +}; + +export const getChartDefaultOptions = (a: unknown) => { + const options = !!a && typeof a === 'object' ? extractPluginCallbackFunction(a) : {}; return { borderColor: '#fff', interaction: { intersect: false, - mode: 'index', - ...options.interaction, + mode: 'point', + ...options?.interaction, }, scales: { x: { grid: { display: false, color: '#fff', - ...options.scales?.x?.grid, + ...options?.scales?.x?.grid, }, ticks: { maxTicksLimit: 5, color: '#fff', padding: 10, - ...options.scales?.x?.ticks, + ...options?.scales?.x?.ticks, }, - ...options.scales?.x, + ...options?.scales?.x, }, y: { border: { dash: [4, 4], display: false, - ...options.scales?.y?.border, + ...(options?.scales?.y as any)?.border, }, grid: { color: '#fff', drawTicks: false, - ...options.scales?.y?.grid, + ...options?.scales?.y?.grid, }, ticks: { padding: 0, @@ -47,18 +91,34 @@ export const getChartDefaultOptions = (options: any) => { return label; }, maxTicksLimit: 5, - ...options.scales?.y?.ticks, + ...options?.scales?.y?.ticks, }, - ...options.scales?.y, + ...options?.scales?.y, }, - ...options.scales, + ...options?.scales, }, plugins: { legend: { display: false, - ...options.plugins?.legend, + ...options?.plugins?.legend, + }, + tooltip: { + mode: 'point', + bodyFont: { + size: 14, + weight: 'bold', + }, + bodyColor: '#003247', + titleFont: { + size: 14, + weight: 'bold', + }, + titleColor: '#9AABB5', + displayColors: false, + backgroundColor: '#fff', + ...options?.plugins?.tooltip, }, - ...options.plugins, + ...options?.plugins, }, ...options, }; @@ -74,19 +134,18 @@ export const getChartDefaultData = ( ) => { if (!chartRef.current) return data; - const gradient = chartRef.current.ctx.createLinearGradient(0, 0, 400, 200); - gradient.addColorStop(0, 'rgba(0, 174, 157, 1)'); - gradient.addColorStop(1, 'rgba(0, 174, 157, 0)'); - return { - ...data, - datasets: data.datasets.map((dataset: any) => ({ - ...dataset, - backgroundColor: gradient, - borderColor: 'rgb(0, 174, 157)', - borderWidth: 2, - pointRadius: 0, - pointHoverRadius: 0, - pointHoverBorderWidth: 0, - })), - }; + if (data.datasets?.some((dataset: any) => dataset.backgroundColor === 'GRADIENT')) { + const gradient = chartRef.current.ctx.createLinearGradient(0, 0, 400, 200); + gradient.addColorStop(0, 'rgba(0, 174, 157, 1)'); + gradient.addColorStop(1, 'rgba(0, 174, 157, 0)'); + return { + ...data, + datasets: data.datasets.map((dataset: any) => ({ + ...dataset, + backgroundColor: dataset.backgroundColor === 'GRADIENT' && gradient, + })), + }; + } + + return data; }; diff --git a/client/src/components/map/legend/index.tsx b/client/src/components/map/legend/index.tsx index 75ea66f..e2ebe43 100644 --- a/client/src/components/map/legend/index.tsx +++ b/client/src/components/map/legend/index.tsx @@ -1,7 +1,11 @@ import React, { useMemo, Children, isValidElement } from 'react'; +import { ChevronDown } from 'lucide-react'; + import { cn } from '@/lib/classnames'; +import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible'; + import SortableList from './sortable/list'; import { LegendProps } from './types'; @@ -16,27 +20,36 @@ export const Legend: React.FC = ({ }, [children]); return ( -
- {isChildren && ( -
-
- {!!sortable.enabled && !!onChangeOrder && ( + isChildren && ( +
+ {isChildren && ( +
+ {!!sortable?.enabled && !!onChangeOrder ? ( {children} + ) : Array.isArray(children) && children.length > 1 ? ( + + + Legends + + + {children} + + + ) : ( + children )} - - {children}
-
- )} -
+ )} +
+ ) ); }; diff --git a/client/src/components/map/legend/item-types/basic/index.tsx b/client/src/components/map/legend/item-types/basic/index.tsx index 7c92212..f9875cf 100644 --- a/client/src/components/map/legend/item-types/basic/index.tsx +++ b/client/src/components/map/legend/item-types/basic/index.tsx @@ -3,27 +3,31 @@ import React from 'react'; import { cn } from '@/lib/classnames'; import { LegendTypeProps } from '../../types'; +import LegendHeader from '../header'; -export const LegendTypeBasic: React.FC = ({ className = '', items = [] }) => { +export const LegendTypeBasic: React.FC = ({ + className = '', + items = [], + title, + info, +}) => { return (
+
    {items.map(({ value, color }) => ( -
  • +
  • -
    {value}
    +
    {value}
  • ))}
diff --git a/client/src/components/map/legend/item-types/choropleth/index.tsx b/client/src/components/map/legend/item-types/choropleth/index.tsx index 81ce34a..310219f 100644 --- a/client/src/components/map/legend/item-types/choropleth/index.tsx +++ b/client/src/components/map/legend/item-types/choropleth/index.tsx @@ -3,14 +3,21 @@ import React from 'react'; import { cn } from '@/lib/classnames'; import { LegendTypeProps } from '../../types'; +import LegendHeader from '../header'; -export const LegendTypeChoropleth: React.FC = ({ className = '', items }) => { +export const LegendTypeChoropleth: React.FC = ({ + className = '', + items, + title, + info, +}) => { return (
+
    {items.map(({ color, value }) => (
  • = ({ className = '' {items.map(({ color, value }) => (
  • = ({ className = '', items }) => { +export const LegendTypeGradient: React.FC = ({ + className = '', + items, + title, + info, +}) => { return (
    +
    i.color).join(',')})`, }} diff --git a/client/src/components/map/legend/item-types/header.tsx b/client/src/components/map/legend/item-types/header.tsx new file mode 100644 index 0000000..5ff7f5b --- /dev/null +++ b/client/src/components/map/legend/item-types/header.tsx @@ -0,0 +1,36 @@ +import { PopoverClose } from '@radix-ui/react-popover'; +import { Info, X } from 'lucide-react'; + +import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'; + +type LegendHeaderProps = { + title?: string; + info?: string; +}; + +const LegendHeader = ({ title, info }: LegendHeaderProps) => { + return ( +
    + {!!title &&
    {title}
    } + {!!info && ( + + + + + + +
    + {title} + + + +
    + {info} +
    +
    + )} +
    + ); +}; + +export default LegendHeader; diff --git a/client/src/components/map/legend/item-types/switch/index.tsx b/client/src/components/map/legend/item-types/switch/index.tsx index e1d2883..91a2e29 100644 --- a/client/src/components/map/legend/item-types/switch/index.tsx +++ b/client/src/components/map/legend/item-types/switch/index.tsx @@ -8,7 +8,13 @@ import { Switch } from '@/components/ui/switch'; import { LegendTypeSwitchProps } from '../../types'; -const LegendTypeSwitch = ({ layerId, param, layerTitle }: LegendTypeSwitchProps) => { +const LegendTypeSwitch = ({ + layerId, + param, + layerTitle, + title, + ...props +}: LegendTypeSwitchProps) => { const layersSettings = useAtomValue(layersSettingsAtom); const checked = useMemo(() => layersSettings[layerId]?.[param], [layerId, layersSettings, param]); @@ -28,7 +34,21 @@ const LegendTypeSwitch = ({ layerId, param, layerTitle }: LegendTypeSwitchProps) ); return ( -
    +
    +
    + +
    handleChangeVisibility(c)} value={layerId} @@ -36,9 +56,6 @@ const LegendTypeSwitch = ({ layerId, param, layerTitle }: LegendTypeSwitchProps) defaultChecked={!!checked} id={`${layerId}-switch`} /> -
    ); }; diff --git a/client/src/components/map/legend/item-types/timeline/index.tsx b/client/src/components/map/legend/item-types/timeline/index.tsx index 8c53607..6012fb3 100644 --- a/client/src/components/map/legend/item-types/timeline/index.tsx +++ b/client/src/components/map/legend/item-types/timeline/index.tsx @@ -21,9 +21,7 @@ import { layersAtom, layersSettingsAtom, timelineAtom } from '@/store/map'; import { LegendTypeTimelineProps } from '@/components/map/legend/types'; import { Button } from '@/components/ui/button'; -const width = 200; -const height = 12; -const textMarginY = -5; +import LegendHeader from '../header'; export const LegendTypeTimeline: React.FC = ({ start, @@ -33,8 +31,11 @@ export const LegendTypeTimeline: React.FC = ({ interval = 1, format, layerId, - description, + labels, + title, animationInterval = 1000, + info, + ...props }) => { const intervalRef = useRef(); @@ -125,13 +126,16 @@ export const LegendTypeTimeline: React.FC = ({ { step: interval } ); + const useConfigLabels = labels?.length === timelineValues?.length; + return ( timelineValues?.map((d, index) => ({ value: index, - label: dateFnsFormat(d, format || defaultFormat), + label: useConfigLabels ? labels?.[index] : dateFnsFormat(d, format || defaultFormat), })) || [] ); - }, [start, end, dateType, interval, format]); + }, [start, end, dateType, interval, format, labels]); + const thumbLabelRef = useRef(null); const handlePlay = useCallback(() => { clearInterval(intervalRef.current); @@ -169,28 +173,18 @@ export const LegendTypeTimeline: React.FC = ({ [id, layers, timelines] ); - const maxValue = TIMELINE?.length || 1; + const maxValue = TIMELINE?.length - 1 || 1; const minValue = 0; - const yearScale = useCallback( - (year: number) => (year / (maxValue - minValue)) * (width - 2), - [maxValue, minValue] - ); - const currValueText = useRef(null); - const firstValueText = useRef(null); // If the layer is not the first one in the timeline, don't render the component if (firstTimelineLayer !== layerId) { return null; } - const currTextSize = currValueText.current?.getBBox().width || 0; - const firstTextSize = currValueText.current?.getBBox().width || 0; - const currYearX = yearScale(value) - currTextSize / 2; - const minYearX = Math.max(-firstTextSize / 2, -15); - const maxYearX = width - Math.min(firstTextSize / 2, 25) - 5; return ( -
    -
    +
    + +
    onChangeFrame(v)} - className="relative flex w-full -translate-x-3 translate-y-3 touch-none select-none items-center" + className="relative flex w-[200px] touch-none select-none flex-col justify-end" > - - - {/* Min value text */} - firstTextSize ? 'opacity-100' : 'opacity-25' - )} - ref={firstValueText} - > - {TIMELINE[0]?.label} - - - {/* Years lines */} - {TIMELINE?.map(({ value }) => { - const position = value % 10 === 0 ? 0 : 4; - return ( - - ); +
    +
    firstTextSize ? 'opacity-100' : 'opacity-25' - )} - x={maxYearX} - y={textMarginY} - ref={currValueText} - > - {TIMELINE?.[TIMELINE.length - 1]?.label} - - {/* Current value text */} - - {TIMELINE?.[value]?.label} - - + > + {TIMELINE?.[minValue]?.label} +
    +
    + {TIMELINE?.[maxValue]?.label} +
    +
    + + {TIMELINE?.map((t, index) => ( +
    + ))} - + + + {TIMELINE?.[value]?.label} + +
    diff --git a/client/src/components/map/legend/item/index.tsx b/client/src/components/map/legend/item/index.tsx index cc1e5fb..b9e3d5b 100644 --- a/client/src/components/map/legend/item/index.tsx +++ b/client/src/components/map/legend/item/index.tsx @@ -2,13 +2,12 @@ import React, { Children, PropsWithChildren, isValidElement, useMemo } from 'react'; -import { GripVertical } from 'lucide-react'; +import { ChevronDown, GripVertical } from 'lucide-react'; import { cn } from '@/lib/classnames'; import { LegendItemProps } from '@/components/map/legend/types'; -import { Accordion, AccordionContent, AccordionItem } from '@/components/ui/accordion'; -import Card from '@/components/ui/card'; +import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible'; import LegendItemToolbar from './toolbar'; @@ -31,8 +30,6 @@ export const LegendItem: React.FC = ({ onChangeVisibility, onChangeExpand, }) => { - const { expand } = settings || {}; - const validChildren = useMemo(() => { const chldn = Children.map(children, (Child) => { return isValidElement(Child); @@ -40,63 +37,63 @@ export const LegendItem: React.FC = ({ return chldn && chldn.some((c) => !!c); }, [children]); - const acordionState = expand ? `${id}` : undefined; - return ( - - - -
    + +
    +
    +
    + {sortable?.handle && ( + + )} +
    - {sortable?.handle && ( - - )} - -
    - {name} -
    + {name}
    +
    - {/* TOOLBAR */} - -
    + {/* TOOLBAR */} + + + + +
    - {validChildren && ( - -
    {children}
    -
    - )} -
    -
    -
    + {validChildren && ( + +
    {children}
    +
    + )} +
    + ); }; diff --git a/client/src/components/map/legend/item/toolbar/index.tsx b/client/src/components/map/legend/item/toolbar/index.tsx index 203163d..532ac6e 100644 --- a/client/src/components/map/legend/item/toolbar/index.tsx +++ b/client/src/components/map/legend/item/toolbar/index.tsx @@ -3,7 +3,7 @@ import { useState } from 'react'; import { PopoverArrow } from '@radix-ui/react-popover'; -import { Eye, Info, EyeOff, Droplet, ChevronDown } from 'lucide-react'; +import { Eye, Info, EyeOff, Droplet } from 'lucide-react'; import { cn } from '@/lib/classnames'; @@ -21,10 +21,9 @@ export const LegendItemToolbar: React.FC = ({ settingsManager, onChangeOpacity, onChangeVisibility, - onChangeExpand, }: LegendItemToolbarProps) => { const [popoverOpen, setPopoverOpen] = useState(false); - const { opacity = 1, visibility = true, expand = true } = settings || {}; + const { opacity = 1, visibility = true } = settings || {}; return (
    @@ -138,41 +137,6 @@ export const LegendItemToolbar: React.FC = ({
    )}
    - - {settingsManager?.expand && ( -
    -
    - - {/* */} - { - if (onChangeExpand) onChangeExpand(!expand); - }} - > - - - {/* */} - - -
    {expand ? 'Collapse layer' : 'Expand layer'}
    - - -
    -
    -
    -
    - )}
    ); }; diff --git a/client/src/components/map/legend/types.ts b/client/src/components/map/legend/types.ts index 609cce1..d38f26c 100644 --- a/client/src/components/map/legend/types.ts +++ b/client/src/components/map/legend/types.ts @@ -1,9 +1,10 @@ -import { PropsWithChildren, ReactNode } from 'react'; +import { CSSProperties, PropsWithChildren, ReactNode } from 'react'; import { DraggableAttributes } from '@dnd-kit/core'; import { SyntheticListeners } from '@dnd-kit/core/dist/hooks/utilities'; import { LucideIcon } from 'lucide-react'; +import { Layer } from '@/types/generated/strapi.schemas'; import { LegendType } from '@/types/map'; type Sortable = { @@ -55,14 +56,17 @@ export interface LegendItemProps extends LegendItemEvents { InfoContent?: ReactNode; // sortable - sortable: Sortable; + sortable?: Sortable; listeners?: SyntheticListeners; attributes?: DraggableAttributes; + displayControllers?: boolean; // settings // I extends Dataset['id'] so you can get the correct setting depending on the dataset id settings?: Settings; settingsManager?: SettingsManager; + + layer?: Layer; } export interface LegendItemToolbarProps extends LegendItemEvents { @@ -95,16 +99,23 @@ export interface SortableItemProps extends PropsWithChildren { sortable: Sortable; } -export interface LegendTypeProps { +export interface Legend { className?: string; + title?: string; + style?: CSSProperties; + info?: string; + type: LegendType; +} + +export interface LegendTypeProps extends Legend { items: Array<{ value: string; color: string; }>; + title?: string; } -export interface LegendTypeTimelineProps { - className?: string; +export interface LegendTypeTimelineProps extends Legend { description?: string; id: number; layerId: number; @@ -114,24 +125,29 @@ export interface LegendTypeTimelineProps { dateType?: 'year' | 'month' | 'day' | 'hour' | 'minute' | 'second'; format?: string; animationInterval?: number; + labels?: string[]; } -export interface LegendMatrixIntersectionsProps { +export interface LegendMatrixIntersectionsProps extends Legend { intersections: Array<{ id: number; color: string; }>; } -export interface LegendTypeSwitchProps { +export interface LegendTypeSwitchProps extends Legend { layerId: number; param: string; layerTitle: string; + color?: string; + title?: string; } type ItemLegends = Extract; export type LegendTypesProps = T extends ItemLegends + ? LegendTypeProps + : T extends 'basic' | 'choropleth' | 'gradient' ? LegendTypeProps : T extends 'timeline' ? LegendTypeTimelineProps diff --git a/client/src/components/ui/card.tsx b/client/src/components/ui/card.tsx index 6112b64..55dfef5 100644 --- a/client/src/components/ui/card.tsx +++ b/client/src/components/ui/card.tsx @@ -6,10 +6,11 @@ import { cn } from '@/lib/classnames'; type CardProps = PropsWithChildren & { title?: string; + info?: string; className?: string; }; -const Card = ({ children, title, className }: CardProps) => { +const Card = ({ children, title, info, className }: CardProps) => { return (
    { > {title && (
    -

    {title}

    +

    {title}

    + {info && }
    )} {children} diff --git a/client/src/components/ui/collapsible.tsx b/client/src/components/ui/collapsible.tsx new file mode 100644 index 0000000..86ab87d --- /dev/null +++ b/client/src/components/ui/collapsible.tsx @@ -0,0 +1,11 @@ +'use client'; + +import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'; + +const Collapsible = CollapsiblePrimitive.Root; + +const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger; + +const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent; + +export { Collapsible, CollapsibleTrigger, CollapsibleContent }; diff --git a/client/src/components/ui/rich-text.tsx b/client/src/components/ui/rich-text.tsx new file mode 100644 index 0000000..6fff444 --- /dev/null +++ b/client/src/components/ui/rich-text.tsx @@ -0,0 +1,61 @@ +import Markdown from 'react-markdown'; + +import Image from 'next/image'; + +import rehypeRaw from 'rehype-raw'; +import remarkGfm from 'remark-gfm'; +import remarkUnwrapImages from 'remark-unwrap-images'; + +import { cn } from '@/lib/classnames'; +import { getImageSrc } from '@/lib/image-src'; + +type RichTextProps = { + children: string | undefined | null; + className?: string; +}; + +const RichText = ({ children, className }: RichTextProps) => { + return ( + ( + + {props.children} + + ), + ol: ({ node, ...props }) => ( +
      + {props.children} +
    + ), + img: ({ node, ...props }) => ( + {props.alt + ), + video: ({ node, ...props }) => { + return ( + + ); + }, + }} + className={cn('space-y-2', className)} + urlTransform={(url) => getImageSrc(url)} + remarkPlugins={[[remarkGfm, { singleTilde: false }], remarkUnwrapImages]} + rehypePlugins={[rehypeRaw]} + > + {children} +
    + ); +}; + +export default RichText; diff --git a/client/src/containers/home/index.tsx b/client/src/containers/home/index.tsx index 9346fae..b3f11cd 100644 --- a/client/src/containers/home/index.tsx +++ b/client/src/containers/home/index.tsx @@ -56,7 +56,7 @@ export default function Home() { - +
    diff --git a/client/src/containers/home/top-stories/index.tsx b/client/src/containers/home/top-stories/index.tsx index a0c0150..b004759 100644 --- a/client/src/containers/home/top-stories/index.tsx +++ b/client/src/containers/home/top-stories/index.tsx @@ -1,11 +1,18 @@ +import { useGetTopStories } from '@/types/generated/top-story'; + import TopStoriesItem from './item'; -import topStories from './mockup.json'; const TopStories = () => { + const { data: topStories } = useGetTopStories({ + 'pagination[limit]': 5, + populate: 'story,cover_image', + sort: 'index:asc', + }); + return (
    - {topStories.map((story) => ( - + {topStories?.data?.map((topStory) => ( + ))}
    ); diff --git a/client/src/containers/home/top-stories/item.tsx b/client/src/containers/home/top-stories/item.tsx index c22cb9f..a147cea 100644 --- a/client/src/containers/home/top-stories/item.tsx +++ b/client/src/containers/home/top-stories/item.tsx @@ -2,33 +2,34 @@ import Image from 'next/image'; import { useRouter } from 'next/navigation'; import { cn } from '@/lib/classnames'; +import { getImageSrc } from '@/lib/image-src'; + +import { TopStory } from '@/types/generated/strapi.schemas'; type TopStoriesItemProps = { - story: { - title: string; - region: string; - id: string; - image: string; - active: boolean; - }; + topStory?: TopStory; }; -const TopStoriesItem = ({ story }: TopStoriesItemProps) => { +const TopStoriesItem = ({ topStory }: TopStoriesItemProps) => { const { push } = useRouter(); + const storyData = topStory?.story?.data; const handleClickStory = () => { - if (story.active) { - push(`/stories/${story.id}`); + if (storyData?.id) { + push(`/stories/${storyData?.id}`); } }; - const src = story?.image; + const src = getImageSrc(topStory?.cover_image?.data?.attributes?.url); return ( -
    +
    {story.title} { />
    -

    {story.title}

    -

    {story.region}

    +

    + {storyData?.attributes?.title} +

    +

    {topStory?.location}

    ); diff --git a/client/src/containers/home/top-stories/mockup.json b/client/src/containers/home/top-stories/mockup.json deleted file mode 100644 index f57e8f5..0000000 --- a/client/src/containers/home/top-stories/mockup.json +++ /dev/null @@ -1,37 +0,0 @@ -[ - { - "id": "1", - "title": "Urban Sustainability: Updating the Revised Strategic Transport Plan for Dhaka, Bangladesh", - "region": "Dhaka, Bangladesh", - "image": "https://esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com/story_1_90a5fc0766.png", - "active": true - }, - { - "id": "2", - "title": "Urban Wetlands: EO-based tools to support wetland restoration in Rwanda", - "region": "Kigali, Ruanda", - "image": "https://esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com/story_2_e62b45087c.png", - "active": false - }, - { - "id": "3", - "title": "Soil monitoring helps build climate resilience for Nigeria's farmers", - "region": "Nigeria", - "image": "https://esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com/story_3_82beedeff6.png", - "active": false - }, - { - "id": "4", - "title": "Satellite Data and Sustainability-Linked Bonds: Monitoring Land Use in Peruvian Amazon", - "region": "Peru", - "image": "https://esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com/story_4_322b71cf63.png", - "active": false - }, - { - "id": "5", - "title": "Changing Grey to Green in Sargodha, Pakistan - Using Satellite Earth Observation", - "region": "Sargodha, Pakistan", - "image": "https://esa-gda-comms-staging-cms.fra1.digitaloceanspaces.com/story_5_fb1456f0dd.png", - "active": false - } -] diff --git a/client/src/containers/map/index.tsx b/client/src/containers/map/index.tsx index 3f7a0ca..d2de7eb 100644 --- a/client/src/containers/map/index.tsx +++ b/client/src/containers/map/index.tsx @@ -76,7 +76,6 @@ export default function MapContainer() { const bbox = useAtomValue(bboxAtom); const tmpBbox = useAtomValue(tmpBboxAtom); - // const isFlyingBack = useAtomValue(isFlyingBackAtom); const layersInteractiveIds = useAtomValue(layersInteractiveIdsAtom); @@ -151,7 +150,7 @@ export default function MapContainer() { // [layersInteractive, layersInteractiveData, setPopup] // ); - const handleMapMove = useCallback((e: MapLayerMouseEvent) => { + const handleMouseMove = useCallback((e: MapLayerMouseEvent) => { if (e.features?.length) { const f = e.features[0]; @@ -187,12 +186,7 @@ export default function MapContainer() { }, [map, tmpBbox]); return ( -
    +
    {/* @@ -247,7 +241,7 @@ export default function MapContainer() { )} {!isHomePage && } -
    +
    diff --git a/client/src/containers/map/legend/index.tsx b/client/src/containers/map/legend/index.tsx index 5f47991..a266f68 100644 --- a/client/src/containers/map/legend/index.tsx +++ b/client/src/containers/map/legend/index.tsx @@ -6,9 +6,19 @@ import { cn } from '@/lib/classnames'; import { layersSettingsAtom, layersAtom, DEFAULT_SETTINGS } from '@/store/map'; +import { useGetLayers } from '@/types/generated/layer'; +import { Layer } from '@/types/generated/strapi.schemas'; +import { LegendConfig } from '@/types/layers'; + import MapLegendItem from '@/containers/map/legend/item'; import Legend from '@/components/map/legend'; +import { Settings } from '@/components/map/legend/types'; + +type LegendProps = Layer & { + id: number; + settings: Settings; +}; const MapLegends = ({ className = '' }) => { const layers = useAtomValue(layersAtom); @@ -66,47 +76,88 @@ const MapLegends = ({ className = '' }) => { [setLayersSettings] ); - const ITEMS = useMemo(() => { - return layers?.map((layer) => { - const settings = layersSettings[layer] ?? { opacity: 1, visibility: true, expand: true }; - - return ( - { - handleChangeOpacity(layer, opacity); - }} - onChangeVisibility={(visibility: boolean) => { - handleChangeVisibility(layer, visibility); - }} - onChangeExpand={(expand: boolean) => { - handleChangeExpand(layer, expand); - }} - sortable={{ - enabled: false, - handle: false, - }} - /> - ); - }); - }, [layers, layersSettings, handleChangeOpacity, handleChangeVisibility, handleChangeExpand]); + const { + data: layersData, + isFetching, + isFetched, + isError, + } = useGetLayers( + { + filters: { + id: { + $in: layers, + }, + }, + }, + { + query: { + enabled: !!layers.length, + }, + } + ); + + const LEGENDS = useMemo(() => { + return layersData?.data?.reduce((acc, curr) => { + const layerId = curr.id; + const legends = curr?.attributes?.legend_config; + + // IF legends is an array, return it, otherwise, create an array with the object + const legendsConfig: LegendConfig[] = Array.isArray(legends) + ? legends + : typeof legends === 'object' + ? [legends] + : []; + + if (!layerId || !curr?.attributes || !legends || !legendsConfig.length) return acc; + + const settings = layersSettings[layerId] ?? { opacity: 1, visibility: true, expand: true }; + + // Extract all legends from a layer + const layerLegends = legendsConfig.map((legend) => ({ + ...curr.attributes, + settings, + id: layerId, + legend_config: legend, + })) as LegendProps[]; + + return [...acc, ...layerLegends]; + }, []); + }, [layersData?.data, layersSettings]); return (
    - {ITEMS} + {LEGENDS?.map((legend, index) => ( + { + handleChangeOpacity(legend.id, opacity); + }} + onChangeVisibility={(visibility: boolean) => { + handleChangeVisibility(legend.id, visibility); + }} + onChangeExpand={(expand: boolean) => { + handleChangeExpand(legend.id, expand); + }} + isFetching={isFetching} + isFetched={isFetched} + isError={isError} + sortable={{ + enabled: false, + handle: false, + }} + /> + ))}
    ); diff --git a/client/src/containers/map/legend/item.tsx b/client/src/containers/map/legend/item.tsx index c253f2b..d44484e 100644 --- a/client/src/containers/map/legend/item.tsx +++ b/client/src/containers/map/legend/item.tsx @@ -8,13 +8,9 @@ import { parseConfig } from '@/lib/json-converter'; import { layersSettingsAtom } from '@/store/map'; -import { useGetLayersId } from '@/types/generated/layer'; -import { LayerTyped, LegendConfig } from '@/types/layers'; +import { LegendConfig } from '@/types/layers'; import { LEGEND_TYPE, LegendType } from '@/types/map'; -import Metadata from '@/containers/metadata'; - -import LegendItem from '@/components/map/legend/item'; import { LegendTypeBasic, LegendTypeChoropleth, @@ -22,7 +18,7 @@ import { LegendTypeTimeline, } from '@/components/map/legend/item-types'; import LegendTypeSwitch from '@/components/map/legend/item-types/switch'; -import { LegendItemProps, LegendTypesProps, SettingsManager } from '@/components/map/legend/types'; +import { LegendItemProps, LegendTypesProps } from '@/components/map/legend/types'; import ContentLoader from '@/components/ui/loader'; type LEGEND_TYPES_T = { @@ -37,101 +33,60 @@ const LEGEND_TYPES: LEGEND_TYPES_T = { switch: LegendTypeSwitch, }; -type MapLegendItemProps = LegendItemProps; - -const getSettingsManager = (data: LayerTyped = {} as LayerTyped): SettingsManager => { - const { params_config, legend_config, metadata } = data; - - if (!params_config?.length) return {}; - const p = params_config.reduce((acc: Record, { key }) => { - if (!key) return acc; - return { - ...acc, - [`${key}`]: true, - }; - }, {}); - - return { - ...p, - info: !!metadata, - expand: !!legend_config, - }; +type MapLegendItemProps = LegendItemProps & { + isFetching: boolean; + isFetched: boolean; + isError: boolean; }; -const MapLegendItem = ({ id, ...props }: MapLegendItemProps) => { - const { data, isError, isFetched, isFetching, isPlaceholderData } = useGetLayersId(id, { - populate: 'metadata', - }); - +const MapLegendItem = ({ id, layer, ...legendProps }: MapLegendItemProps) => { const layersSettings = useAtomValue(layersSettingsAtom); - const attributes = data?.data?.attributes as LayerTyped; + const legend_config = layer?.legend_config as LegendTypesProps; + const legendType = legend_config?.type; - const legend_config = useMemo(() => { - if (!attributes?.legend_config) return []; - return Array.isArray(attributes?.legend_config) - ? attributes.legend_config - : [attributes.legend_config]; - }, [attributes?.legend_config]); + const params_config = layer?.params_config; - const params_config = attributes?.params_config; - const metadata = attributes?.metadata; - const settingsManager = getSettingsManager(attributes); - - const LEGEND_COMPONENTS = useMemo(() => { - const legends: ReactElement[] = []; - legend_config?.forEach((lc: LegendConfig) => { - const l = parseConfig({ - config: { ...lc, layerId: id, layerTitle: attributes?.title }, - params_config, - settings: layersSettings[id] ?? {}, - }); - - if (!l) return; - - if (isValidElement(l)) { - legends.push(l); - } + const LEGEND_COMPONENT = useMemo(() => { + const l = parseConfig({ + config: { ...legend_config, layerId: id, layerTitle: layer?.title }, + params_config, + settings: layersSettings[id] ?? {}, + }); - const { type, ...props } = l as LegendConfig; - if (typeof type !== 'string' || !LEGEND_TYPE.includes(type as LegendType)) return; - // TODO: Fix this type - const LEGEND = LEGEND_TYPES[type as LegendType] as React.FC; + if (!l) return; - legends.push(
    {createElement(LEGEND, props)}
    ); - }); + if (isValidElement(l)) { + return l; + } - return legends; - }, [legend_config, id, attributes?.title, params_config, layersSettings]); - - return LEGEND_COMPONENTS?.map((LEGEND_COMPONENT, i) => { - const useLegendItem = legend_config?.[i]?.displayControllers !== false; - return ( - - {useLegendItem ? ( - } - > - {LEGEND_COMPONENT} - - ) : ( - LEGEND_COMPONENT - )} - - ); - }); + const { type, ...props } = l as LegendTypesProps; + if (typeof type !== 'string' || !LEGEND_TYPE.includes(type as LegendType)) return; + // TODO: Fix this type + const LEGEND = LEGEND_TYPES[type as LegendType] as React.FC; + const elementProps = { + ...props, + title: props.title || layer?.title, + info: props.info || layer?.metadata?.description, + }; + const LegendElement = createElement(LEGEND, elementProps); + if (!isValidElement(LegendElement)) return; + + return LegendElement; + }, [legend_config, id, layer, params_config, layersSettings]); + + return ( + + {LEGEND_COMPONENT} + + ); }; export default MapLegendItem; diff --git a/client/src/containers/map/markers/story-markers/carousel.tsx b/client/src/containers/map/markers/story-markers/carousel.tsx index 3632cd4..db1d8db 100644 --- a/client/src/containers/map/markers/story-markers/carousel.tsx +++ b/client/src/containers/map/markers/story-markers/carousel.tsx @@ -38,7 +38,10 @@ const CarouselMedia = ({ media, isCurrentMedia }: CarouselMediaProps) => { loop controls={isCurrentMedia} autoPlay={isCurrentMedia} - className="h-full max-h-[calc(100vh-152px)] w-full object-cover" + className={cn( + 'h-full max-h-[calc(100vh-152px)] w-full', + isCurrentMedia ? 'object-contain' : 'object-cover' + )} > @@ -47,7 +50,10 @@ const CarouselMedia = ({ media, isCurrentMedia }: CarouselMediaProps) => { return ( {media.title} { }, [step, type, currentStep, index, category?.data?.id, category?.data?.attributes]); return ( -
    -
    {STEP_COMPONENT}
    +
    + {STEP_COMPONENT}
    ); }; diff --git a/client/src/containers/story/steps/layouts/map-step.tsx b/client/src/containers/story/steps/layouts/map-step.tsx index 06d8822..834a909 100644 --- a/client/src/containers/story/steps/layouts/map-step.tsx +++ b/client/src/containers/story/steps/layouts/map-step.tsx @@ -3,18 +3,18 @@ import { InfoIcon } from 'lucide-react'; import { cn } from '@/lib/classnames'; -import { useScrollToItem } from '@/lib/scroll'; +// import { useScrollToItem } from '@/lib/scroll'; import { StepLayoutMapStepComponent, StoryStepsItem, StoryCategoryDataAttributes, WidgetWidgetComponent, - MapLayerCardComponent, } from '@/types/generated/strapi.schemas'; import Chart from '@/components/chart'; import CategoryIcon from '@/components/ui/category-icon'; +import RichText from '@/components/ui/rich-text'; import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'; type MapStepLayoutProps = { @@ -29,75 +29,85 @@ const cardClassName = const MapStepLayout = ({ step, category, showContent, stepIndex }: MapStepLayoutProps) => { const { story_summary, card, widget } = step as StepLayoutMapStepComponent; - const scrollToItem = useScrollToItem(); + // const scrollToItem = useScrollToItem(); - const handleClickCard = () => { - scrollToItem(stepIndex + 1); - }; + // const handleClickCard = () => { + // scrollToItem(stepIndex + 1); + // }; return ( -
    -
    -
    - {!!story_summary?.length && ( -
    -
    - - {category?.name} -
    +
    +
    + {!!story_summary?.length && ( +
    +
    + + {category?.name} +
    -
    - {story_summary?.map((item) => ( -
    -
    -

    {item.title}

    - - +
    + {story_summary?.map((item) => ( +
    +
    +

    {item.title}

    + {item.info && ( + + {item.info} -
    -

    {item.content}

    -
    - ))} -
    -
    - )} -
    -
    -
    - {[card, widget]?.map((item, index) => { - if (!item) return null; - return ( -
    -
    - {item?.title && ( -

    {item?.title}

    - )} - {index === 0 ? ( -
    - {(item as MapLayerCardComponent)?.content?.split('\n').map((p, i) => ( -

    - {p} -

    - ))} -
    - ) : ( - )}
    + {item.link ? ( + + {item.content} + + ) : ( +

    {item.content}

    + )}
    - ); - })} + ))} +
    + )} +
    +
    +
    + {!!card && ( +
    +
    + {card?.title &&

    {card?.title}

    } +
    + {card?.content} +
    +
    +
    + )} + {!!widget?.id && ( +
    +
    + {widget?.title &&

    {widget?.title}

    } + + {(widget as any)?.legend && {(widget as any).legend}} +
    +
    + )}
    diff --git a/client/src/containers/story/steps/layouts/outro-step.tsx b/client/src/containers/story/steps/layouts/outro-step.tsx index 3e8aaa1..61a97be 100644 --- a/client/src/containers/story/steps/layouts/outro-step.tsx +++ b/client/src/containers/story/steps/layouts/outro-step.tsx @@ -20,19 +20,6 @@ type MediaStepLayoutProps = { showContent: boolean; }; -const links = [ - [ - 'https://www.gaf.de/', - '', - 'https://site.tre-altamira.com/', - 'http://www.gisat.cz/', - 'https://www.ait.ac.at/en/', - 'https://www.caribou.space/', - ], - ['https://www.adb.org/'], - ['https://www.esa.int/'], -]; - const OutroStepLayout = ({ step, showContent }: MediaStepLayoutProps) => { const { push } = useRouter(); @@ -81,14 +68,6 @@ const OutroStepLayout = ({ step, showContent }: MediaStepLayoutProps) => { const isVideo = mediaType?.includes('video'); - // const handlePlayVideo = useCallback( - // (e: React.MouseEvent, action: 'play' | 'pause') => { - // if (action === 'play') e.currentTarget.play(); - // else e.currentTarget.pause(); - // }, - // [] - // ); - const scale = useTransform(scrollYProgress, [0.5, 0.7], ['1', '2']); const scaleContent = useTransform(scrollYProgress, [0.5, 0.7], ['1', '0.75']); @@ -123,6 +102,7 @@ const OutroStepLayout = ({ step, showContent }: MediaStepLayoutProps) => { muted loop autoPlay={true} + controls > @@ -155,31 +135,26 @@ const OutroStepLayout = ({ step, showContent }: MediaStepLayoutProps) => { >

    Continue scrolling to explore more stories

    - {showContent && show && step.disclaimer && ( + {showContent && show && step.story_disclaimer?.length && (
      - {step.disclaimer.map((d, i) => ( -
    • -

      {d.title}

      + {step.story_disclaimer.map((sd) => ( +
    • +

      {sd.title}

      - {d.logos && - d.logos?.data?.map((logo, index) => { - const src = getImageSrc(logo?.attributes?.url); + {sd.disclaimer?.length && + sd.disclaimer?.map((d) => { + const src = getImageSrc(d.logo?.data?.attributes?.url); - const url = links[i][index]; + const url = d.url; return url ? ( - + ) : ( @@ -189,7 +164,7 @@ const OutroStepLayout = ({ step, showContent }: MediaStepLayoutProps) => { width={50} height={30} alt="" - className="h-8 w-full object-contain object-center" + className="h-8 w-full max-w-[125px] object-contain object-center" />
      ); diff --git a/client/src/containers/story/utils.ts b/client/src/containers/story/utils.ts index ee9ab1d..a68437a 100644 --- a/client/src/containers/story/utils.ts +++ b/client/src/containers/story/utils.ts @@ -6,5 +6,7 @@ export const isMapStep = (step: StoryStepsItem): step is StepLayoutMapStepCompon }; export const isMapNotEmpty = (map: StoryStepsItem['map']): map is StoryStepMap => { - return Object.values((map as StoryStepMap)?.location).length > 0; + return ( + !!map && typeof map === 'object' && Object.values((map as StoryStepMap)?.location).length > 0 + ); }; diff --git a/client/src/lib/image-src/index.ts b/client/src/lib/image-src/index.ts index c6b7e19..312632e 100644 --- a/client/src/lib/image-src/index.ts +++ b/client/src/lib/image-src/index.ts @@ -5,5 +5,5 @@ export const getImageSrc = (url?: string) => { if (url.includes('http')) { return url; } - return `${env.NEXT_PUBLIC_API_URL}${url}`; + return `${env.NEXT_PUBLIC_API_URL?.replace('/api', '')}${url}`; }; diff --git a/client/src/types/generated/strapi.schemas.ts b/client/src/types/generated/strapi.schemas.ts index acbd32b..f622fa5 100644 --- a/client/src/types/generated/strapi.schemas.ts +++ b/client/src/types/generated/strapi.schemas.ts @@ -4,6 +4,56 @@ * DOCUMENTATION * OpenAPI spec version: 1.0.0 */ +export type GetTopStoriesIdParams = { + /** + * Relations to return + */ + populate?: string; +}; + +export type GetTopStoriesParams = { + /** + * Sort by attributes ascending (asc) or descending (desc) + */ + sort?: string; + /** + * Return page/pageSize (default: true) + */ + 'pagination[withCount]'?: boolean; + /** + * Page number (default: 0) + */ + 'pagination[page]'?: number; + /** + * Page size (default: 25) + */ + 'pagination[pageSize]'?: number; + /** + * Offset value (default: 0) + */ + 'pagination[start]'?: number; + /** + * Number of entities to return (default: 25) + */ + 'pagination[limit]'?: number; + /** + * Fields to return (ex: title,author) + */ + fields?: string; + /** + * Relations to return + */ + populate?: string; + /** + * Filters to apply + */ + filters?: { [key: string]: any }; + /** + * Locale to apply + */ + locale?: string; +}; + export type GetStoriesIdParams = { /** * Relations to return @@ -327,120 +377,230 @@ export interface UploadFile { width?: number; } -export type StepLayoutOutroStepComponentMediaDataAttributes = { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StepLayoutOutroStepComponentMediaDataAttributesCreatedBy; - ext?: string; - folder?: StepLayoutOutroStepComponentMediaDataAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StepLayoutOutroStepComponentMediaDataAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedBy; - url?: string; - width?: number; -}; +export type TopStoryResponseMeta = { [key: string]: any }; -export type StepLayoutOutroStepComponentMediaData = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributes; +export interface TopStoryResponseDataObject { + attributes?: TopStory; + id?: number; +} + +export interface TopStoryResponse { + data?: TopStoryResponseDataObject; + meta?: TopStoryResponseMeta; +} + +export type TopStoryUpdatedByDataAttributes = { [key: string]: any }; + +export type TopStoryUpdatedByData = { + attributes?: TopStoryUpdatedByDataAttributes; id?: number; }; -export type StepLayoutOutroStepComponentMedia = { - data?: StepLayoutOutroStepComponentMediaData; +export type TopStoryUpdatedBy = { + data?: TopStoryUpdatedByData; }; -export interface StepLayoutOutroStepComponent { - __component?: string; - content?: string; - disclaimer?: DisclaimerDiscalimerComponent[]; - id?: number; - layers?: StepLayoutOutroStepComponentLayers; - map?: unknown; - media?: StepLayoutOutroStepComponentMedia; - title?: string; +export interface TopStory { + cover_image: TopStoryCoverImage; + createdAt?: string; + createdBy?: TopStoryCreatedBy; + index: number; + location: string; + publishedAt?: string; + story?: TopStoryStory; + updatedAt?: string; + updatedBy?: TopStoryUpdatedBy; } -export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes = { - [key: string]: any; +export type TopStoryStoryDataAttributes = { + active?: boolean; + category?: TopStoryStoryDataAttributesCategory; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesCreatedBy; + marker?: unknown; + publishedAt?: string; + slug?: string; + status?: TopStoryStoryDataAttributesStatus; + steps?: TopStoryStoryDataAttributesStepsItem[]; + title?: string; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesUpdatedBy; }; -export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByData = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes; +export type TopStoryStoryData = { + attributes?: TopStoryStoryDataAttributes; id?: number; }; -export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedBy = { - data?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedByData; +export type TopStoryStory = { + data?: TopStoryStoryData; }; -export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes = { - [key: string]: any; -}; +export type TopStoryStoryDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes; +export type TopStoryStoryDataAttributesUpdatedByData = { + attributes?: TopStoryStoryDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutOutroStepComponentMediaDataAttributesRelated = { - data?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem[]; +export type TopStoryStoryDataAttributesUpdatedBy = { + data?: TopStoryStoryDataAttributesUpdatedByData; }; -export type StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes = { - [key: string]: any; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributes = + { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedBy; + ext?: string; + folder?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedBy; + url?: string; + width?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogo = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItem = { + id?: number; + logo?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogo; + name?: string; + url?: string; }; -export type StepLayoutOutroStepComponentMediaDataAttributesFolderData = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItem = { + disclaimer?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItem[]; id?: number; + title?: string; }; -export type StepLayoutOutroStepComponentMediaDataAttributesFolder = { - data?: StepLayoutOutroStepComponentMediaDataAttributesFolderData; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItem = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelated = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItem[]; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolder = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributes; + id?: number; }; -export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes = { - [key: string]: any; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMedia = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaData; }; -export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByData = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutOutroStepComponentMediaDataAttributesCreatedBy = { - data?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByData; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedBy = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByData; }; -export type StepLayoutOutroStepComponentLayersDataItemAttributes = { [key: string]: any }; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; -export type StepLayoutOutroStepComponentLayersDataItem = { - attributes?: StepLayoutOutroStepComponentLayersDataItemAttributes; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItem = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type StepLayoutOutroStepComponentLayers = { - data?: StepLayoutOutroStepComponentLayersDataItem[]; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelated = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItem[]; }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributes = { +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolder = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderData; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedBy; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesCreatedBy; ext?: string; - folder?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolder; + folder?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -450,81 +610,1044 @@ export type DisclaimerDiscalimerComponentLogosDataItemAttributes = { previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelated; + related?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedBy; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedBy; url?: string; width?: number; }; -export type DisclaimerDiscalimerComponentLogosDataItem = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributes; - id?: number; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; -export type DisclaimerDiscalimerComponentLogos = { - data?: DisclaimerDiscalimerComponentLogosDataItem[]; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; + id?: number; + }; -export interface DisclaimerDiscalimerComponent { - id?: number; - logos?: DisclaimerDiscalimerComponentLogos; - text?: string; - title?: string; - url?: string; -} +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedByData; + }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParentDataAttributes = + { [key: string]: any }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByData = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByDataAttributes; - id?: number; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParentData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParentDataAttributes; + id?: number; + }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedBy = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByData; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParent = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParentData; + }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItemAttributes = { - [key: string]: any; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = + { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; + ext?: string; + folder?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; + url?: string; + width?: number; + }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItem = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItemAttributes; - id?: number; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItem = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; + id?: number; + }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelated = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItem[]; -}; +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFiles = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItem[]; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributes = + { + children?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildren; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedBy; + files?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFiles; + name?: string; + parent?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParent; + path?: string; + pathId?: number; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedBy; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildrenDataItem = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildren = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildrenDataItem[]; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesCreatedByData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesCreatedByDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesCreatedBy = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMediaDataAttributesCreatedByData; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoLayersDataItemAttributes = { + [key: string]: any; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoLayersDataItem = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoLayersDataItemAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwoLayers = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoLayersDataItem[]; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfFourtwo = { + __component?: string; + content?: string; + id?: number; + layers?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoLayers; + map?: unknown; + media?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoMedia; + story_disclaimer?: TopStoryStoryDataAttributesStepsItemAnyOfFourtwoStoryDisclaimerItem[]; + title?: string; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOf = { + __component?: string; + card?: TopStoryStoryDataAttributesStepsItemAnyOfCard; + id?: number; + layers?: TopStoryStoryDataAttributesStepsItemAnyOfLayers; + map?: unknown; + story_summary?: TopStoryStoryDataAttributesStepsItemAnyOfStorySummaryItem[]; + title?: string; + widget?: TopStoryStoryDataAttributesStepsItemAnyOfWidget; +}; + +export type TopStoryStoryDataAttributesStepsItem = + | TopStoryStoryDataAttributesStepsItemAnyOf + | TopStoryStoryDataAttributesStepsItemAnyOfFourtwo; + +export type TopStoryStoryDataAttributesStepsItemAnyOfWidgetType = + (typeof TopStoryStoryDataAttributesStepsItemAnyOfWidgetType)[keyof typeof TopStoryStoryDataAttributesStepsItemAnyOfWidgetType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const TopStoryStoryDataAttributesStepsItemAnyOfWidgetType = { + bar: 'bar', + line: 'line', + scatter: 'scatter', + bubble: 'bubble', + pie: 'pie', + doughnut: 'doughnut', + polarArea: 'polarArea', + radar: 'radar', +} as const; + +export type TopStoryStoryDataAttributesStepsItemAnyOfWidget = { + data?: unknown; + id?: number; + options?: unknown; + title?: string; + type?: TopStoryStoryDataAttributesStepsItemAnyOfWidgetType; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfStorySummaryItem = { + content?: string; + id?: number; + info?: string; + link?: string; + title?: string; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItem = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayers = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItem[]; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesType = + (typeof TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesType)[keyof typeof TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesType = { + deckgl: 'deckgl', + mapbox: 'mapbox', +} as const; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = { + citation?: string; + content_date?: string; + description?: string; + id?: number; + license?: string; + resolution?: string; + source?: string; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributes = { + config?: unknown; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy; + dataset?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDataset; + interaction_config?: unknown; + legend_config?: unknown; + metadata?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesMetadata; + params_config?: unknown; + publishedAt?: string; + title?: string; + type?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesType; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = + { + citation?: string; + content_date?: string; + description?: string; + id?: number; + license?: string; + resolution?: string; + source?: string; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = + { + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = + { + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData = { + attributes?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy = { + data?: TopStoryStoryDataAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData; +}; + +export type TopStoryStoryDataAttributesStepsItemAnyOfCard = { + content?: string; + id?: number; + title?: string; +}; + +export type TopStoryStoryDataAttributesStatus = + (typeof TopStoryStoryDataAttributesStatus)[keyof typeof TopStoryStoryDataAttributesStatus]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const TopStoryStoryDataAttributesStatus = { + Completed: 'Completed', + In_progress: 'In progress', +} as const; + +export type TopStoryStoryDataAttributesCreatedByDataAttributes = { [key: string]: any }; + +export type TopStoryStoryDataAttributesCreatedByData = { + attributes?: TopStoryStoryDataAttributesCreatedByDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesCreatedBy = { + data?: TopStoryStoryDataAttributesCreatedByData; +}; + +export type TopStoryStoryDataAttributesCategoryData = { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesCategory = { + data?: TopStoryStoryDataAttributesCategoryData; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesUpdatedByDataAttributes = { + [key: string]: any; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesUpdatedByData = { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesUpdatedBy = { + data?: TopStoryStoryDataAttributesCategoryDataAttributesUpdatedByData; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributes = { + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedBy; + name?: string; + publishedAt?: string; + slug?: string; + stories?: TopStoryStoryDataAttributesCategoryDataAttributesStories; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesCategoryDataAttributesUpdatedBy; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesStoriesDataItemAttributes = { + [key: string]: any; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesStoriesDataItem = { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesStoriesDataItemAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesStories = { + data?: TopStoryStoryDataAttributesCategoryDataAttributesStoriesDataItem[]; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributes = { + blocked?: boolean; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesCreatedBy; + email?: string; + firstname?: string; + isActive?: boolean; + lastname?: string; + preferedLanguage?: string; + registrationToken?: string; + resetPasswordToken?: string; + roles?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRoles; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedBy; + username?: string; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByData = { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributes; + id?: number; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedBy = { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByData; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedBy = { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByData; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributes = + { + code?: string; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + description?: string; + name?: string; + permissions?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRoles = { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem[]; +}; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = + { + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = + { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesCreatedByData = + { + attributes?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesCreatedBy = { + data?: TopStoryStoryDataAttributesCategoryDataAttributesCreatedByDataAttributesCreatedByData; +}; + +export type TopStoryCreatedByDataAttributes = { [key: string]: any }; + +export type TopStoryCreatedByData = { + attributes?: TopStoryCreatedByDataAttributes; + id?: number; +}; + +export type TopStoryCreatedBy = { + data?: TopStoryCreatedByData; +}; + +export type TopStoryCoverImageData = { + attributes?: TopStoryCoverImageDataAttributes; + id?: number; +}; + +export type TopStoryCoverImage = { + data?: TopStoryCoverImageData; +}; + +export type TopStoryCoverImageDataAttributesUpdatedByDataAttributes = { [key: string]: any }; + +export type TopStoryCoverImageDataAttributesUpdatedByData = { + attributes?: TopStoryCoverImageDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type TopStoryCoverImageDataAttributesUpdatedBy = { + data?: TopStoryCoverImageDataAttributesUpdatedByData; +}; + +export type TopStoryCoverImageDataAttributes = { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: TopStoryCoverImageDataAttributesCreatedBy; + ext?: string; + folder?: TopStoryCoverImageDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: TopStoryCoverImageDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: TopStoryCoverImageDataAttributesUpdatedBy; + url?: string; + width?: number; +}; + +export type TopStoryCoverImageDataAttributesRelatedDataItemAttributes = { [key: string]: any }; + +export type TopStoryCoverImageDataAttributesRelatedDataItem = { + attributes?: TopStoryCoverImageDataAttributesRelatedDataItemAttributes; + id?: number; +}; + +export type TopStoryCoverImageDataAttributesRelated = { + data?: TopStoryCoverImageDataAttributesRelatedDataItem[]; +}; + +export type TopStoryCoverImageDataAttributesFolderDataAttributes = { [key: string]: any }; + +export type TopStoryCoverImageDataAttributesFolderData = { + attributes?: TopStoryCoverImageDataAttributesFolderDataAttributes; + id?: number; +}; + +export type TopStoryCoverImageDataAttributesFolder = { + data?: TopStoryCoverImageDataAttributesFolderData; +}; + +export type TopStoryCoverImageDataAttributesCreatedByDataAttributes = { [key: string]: any }; + +export type TopStoryCoverImageDataAttributesCreatedByData = { + attributes?: TopStoryCoverImageDataAttributesCreatedByDataAttributes; + id?: number; +}; + +export type TopStoryCoverImageDataAttributesCreatedBy = { + data?: TopStoryCoverImageDataAttributesCreatedByData; +}; + +export type TopStoryListResponseMetaPagination = { + page?: number; + pageCount?: number; + pageSize?: number; + total?: number; +}; + +export type TopStoryListResponseMeta = { + pagination?: TopStoryListResponseMetaPagination; +}; + +export interface TopStoryListResponseDataItem { + attributes?: TopStory; + id?: number; +} + +export interface TopStoryListResponse { + data?: TopStoryListResponseDataItem[]; + meta?: TopStoryListResponseMeta; +} + +export type TopStoryRequestData = { + cover_image: TopStoryRequestDataCoverImage; + index: number; + location: string; + story?: TopStoryRequestDataStory; +}; + +export interface TopStoryRequest { + data: TopStoryRequestData; +} + +export type TopStoryRequestDataStory = number | string; + +export type TopStoryRequestDataCoverImage = number | string; + +export interface StepLayoutOutroStepComponent { + __component?: string; + content?: string; + id?: number; + layers?: StepLayoutOutroStepComponentLayers; + map?: unknown; + media?: StepLayoutOutroStepComponentMedia; + story_disclaimer?: StoryOutroDisclaimerDisclaimerComponent[]; + title?: string; +} + +export type StepLayoutOutroStepComponentMediaDataAttributes = { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: StepLayoutOutroStepComponentMediaDataAttributesCreatedBy; + ext?: string; + folder?: StepLayoutOutroStepComponentMediaDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: StepLayoutOutroStepComponentMediaDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedBy; + url?: string; + width?: number; +}; + +export type StepLayoutOutroStepComponentMediaData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributes; + id?: number; +}; + +export type StepLayoutOutroStepComponentMedia = { + data?: StepLayoutOutroStepComponentMediaData; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes = { + [key: string]: any; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedBy = { + data?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedByData; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes = { + [key: string]: any; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes; + id?: number; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesRelated = { + data?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem[]; +}; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolderDataAttributes = { +export type StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes = { [key: string]: any; }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolderData = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolderDataAttributes; +export type StepLayoutOutroStepComponentMediaDataAttributesFolderData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes; id?: number; }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolder = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolderData; +export type StepLayoutOutroStepComponentMediaDataAttributesFolder = { + data?: StepLayoutOutroStepComponentMediaDataAttributesFolderData; }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByDataAttributes = { +export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes = { [key: string]: any; }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByData = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByDataAttributes; +export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes; + id?: number; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesCreatedBy = { + data?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByData; +}; + +export type StepLayoutOutroStepComponentLayersDataItemAttributes = { [key: string]: any }; + +export type StepLayoutOutroStepComponentLayersDataItem = { + attributes?: StepLayoutOutroStepComponentLayersDataItemAttributes; + id?: number; +}; + +export type StepLayoutOutroStepComponentLayers = { + data?: StepLayoutOutroStepComponentLayersDataItem[]; +}; + +export interface StoryOutroDisclaimerDisclaimerComponent { + disclaimer?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItem[]; + id?: number; + title?: string; +} + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributes = { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesCreatedBy; + ext?: string; + folder?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesUpdatedBy; + url?: string; + width?: number; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoData = { + attributes?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributes; + id?: number; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogo = { + data?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoData; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItem = { + id?: number; + logo?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogo; + name?: string; + url?: string; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesUpdatedByData = { + attributes?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesUpdatedBy = { + data?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesUpdatedByData; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesRelatedDataItem = + { + attributes?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesRelatedDataItemAttributes; + id?: number; + }; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesRelated = { + data?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesRelatedDataItem[]; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesFolderDataAttributes = + { [key: string]: any }; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesFolderData = { + attributes?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesFolderDataAttributes; + id?: number; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesFolder = { + data?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesFolderData; +}; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesCreatedByData = { + attributes?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesCreatedByDataAttributes; id?: number; }; -export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedBy = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByData; +export type StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesCreatedBy = { + data?: StoryOutroDisclaimerDisclaimerComponentDisclaimerItemLogoDataAttributesCreatedByData; }; export type StepLayoutMapStepComponentLayersDataItemAttributes = { [key: string]: any }; @@ -565,6 +1688,7 @@ export interface MapLayerSummaryComponent { content?: string; id?: number; info?: string; + link?: string; title?: string; } @@ -618,26 +1742,6 @@ export const StoryStatus = { In_progress: 'In progress', } as const; -export type StoryCreatedByDataAttributes = { [key: string]: any }; - -export type StoryCreatedByData = { - attributes?: StoryCreatedByDataAttributes; - id?: number; -}; - -export type StoryCreatedBy = { - data?: StoryCreatedByData; -}; - -export type StoryCategoryData = { - attributes?: StoryCategoryDataAttributes; - id?: number; -}; - -export type StoryCategory = { - data?: StoryCategoryData; -}; - export interface Story { active?: boolean; category?: StoryCategory; @@ -653,6 +1757,26 @@ export interface Story { updatedBy?: StoryUpdatedBy; } +export type StoryCreatedByDataAttributes = { [key: string]: any }; + +export type StoryCreatedByData = { + attributes?: StoryCreatedByDataAttributes; + id?: number; +}; + +export type StoryCreatedBy = { + data?: StoryCreatedByData; +}; + +export type StoryCategoryData = { + attributes?: StoryCategoryDataAttributes; + id?: number; +}; + +export type StoryCategory = { + data?: StoryCategoryData; +}; + export type StoryCategoryDataAttributesUpdatedByDataAttributes = { [key: string]: any }; export type StoryCategoryDataAttributesUpdatedByData = { @@ -664,11 +1788,6 @@ export type StoryCategoryDataAttributesUpdatedBy = { data?: StoryCategoryDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributes; - id?: number; -}; - export type StoryCategoryDataAttributesStories = { data?: StoryCategoryDataAttributesStoriesDataItem[]; }; @@ -700,11 +1819,11 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy = { export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwo = { __component?: string; content?: string; - disclaimer?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItem[]; id?: number; layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoLayers; map?: unknown; media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMedia; + story_disclaimer?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItem[]; title?: string; }; @@ -727,14 +1846,87 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributes = { updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItem = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogo = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItem = + { + id?: number; + logo?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogo; + name?: string; + url?: string; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItem = + { + disclaimer?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItem[]; + id?: number; + title?: string; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItem = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItemAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelated = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItem[]; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolder = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedBy; ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolder; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -744,14 +1936,28 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSe previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesRelated; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedBy; url?: string; width?: number; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByData; + }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaData = { attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributes; id?: number; @@ -775,6 +1981,31 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSe data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesUpdatedByData; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributes = + { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesCreatedBy; + ext?: string; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesUpdatedBy; + url?: string; + width?: number; + }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesRelatedDataItemAttributes = { [key: string]: any }; @@ -789,20 +2020,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSe data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesRelatedDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributes = - { - children?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesChildren; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesCreatedBy; - files?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesUpdatedBy; - }; - export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderData = { attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributes; @@ -828,6 +2045,20 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSe data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesUpdatedByData; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributes = + { + children?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesChildren; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesCreatedBy; + files?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesFiles; + name?: string; + parent?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesParent; + path?: string; + pathId?: number; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesUpdatedBy; + }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoMediaDataAttributesFolderDataAttributesParentDataAttributes = { [key: string]: any }; @@ -989,107 +2220,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSe data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoLayersDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogos = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItem = - { - id?: number; - logos?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogos; - text?: string; - title?: string; - url?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesRelatedDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesRelated = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesRelatedDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesFolderDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesFolderData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesFolderDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesFolder = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesFolderData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesCreatedBy; - ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSeventwoDisclaimerItemLogosDataItemAttributesCreatedByData; - }; - export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfWidgetType = (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfWidgetType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfWidgetType]; @@ -1117,9 +2247,14 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSt content?: string; id?: number; info?: string; + link?: string; title?: string; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayers = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; +}; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOf = { __component?: string; card?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfCard; @@ -1131,6 +2266,9 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOf = widget?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfWidget; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData = { attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; @@ -1142,35 +2280,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes = - { - config?: unknown; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy; - dataset?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata; - params_config?: unknown; - publishedAt?: string; - title?: string; - type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes; - id?: number; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayers = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType]; @@ -1179,8 +2288,6 @@ export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfL { deckgl: 'deckgl', mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', } as const; export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = @@ -1194,17 +2301,33 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa source?: string; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; - id?: number; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; + config?: unknown; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy; + dataset?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset; + interaction_config?: unknown; + legend_config?: unknown; + metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata; + params_config?: unknown; + publishedAt?: string; + title?: string; + type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes; + id?: number; +}; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -1230,6 +2353,25 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa source?: string; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = + { + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + id?: number; + }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = { [key: string]: any }; @@ -1266,19 +2408,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = - { - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; - }; - export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -1307,6 +2436,24 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = + { + blocked?: boolean; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; + email?: string; + firstname?: string; + isActive?: boolean; + lastname?: string; + preferedLanguage?: string; + registrationToken?: string; + resetPasswordToken?: string; + roles?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; + username?: string; + }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = { attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; @@ -1332,37 +2479,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = - { - blocked?: boolean; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; - email?: string; - firstname?: string; - isActive?: boolean; - lastname?: string; - preferedLanguage?: string; - registrationToken?: string; - resetPasswordToken?: string; - roles?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; - username?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = - { - code?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; - }; - export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = { attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; @@ -1402,6 +2518,30 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = + { + code?: string; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + description?: string; + name?: string; + permissions?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + }; + export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -1429,17 +2569,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLa updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; - }; - export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = { [key: string]: any }; @@ -1631,10 +2760,34 @@ export interface LayerResponse { meta?: LayerResponseMeta; } +export type LayerUpdatedByDataAttributes = { [key: string]: any }; + +export type LayerUpdatedByData = { + attributes?: LayerUpdatedByDataAttributes; + id?: number; +}; + export type LayerUpdatedBy = { data?: LayerUpdatedByData; }; +export type LayerType = (typeof LayerType)[keyof typeof LayerType]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const LayerType = { + deckgl: 'deckgl', + mapbox: 'mapbox', +} as const; + +export type LayerDatasetData = { + attributes?: LayerDatasetDataAttributes; + id?: number; +}; + +export type LayerDataset = { + data?: LayerDatasetData; +}; + export interface Layer { config: unknown; createdAt?: string; @@ -1656,27 +2809,6 @@ export interface LayerResponseDataObject { id?: number; } -export type LayerUpdatedByDataAttributes = { [key: string]: any }; - -export type LayerUpdatedByData = { - attributes?: LayerUpdatedByDataAttributes; - id?: number; -}; - -export type LayerType = (typeof LayerType)[keyof typeof LayerType]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const LayerType = { - deckgl: 'deckgl', - mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', -} as const; - -export type LayerDataset = { - data?: LayerDatasetData; -}; - export type LayerDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; export type LayerDatasetDataAttributesUpdatedByData = { @@ -1698,6 +2830,15 @@ export type LayerDatasetDataAttributesMetadata = { source?: string; }; +export type LayerDatasetDataAttributesLayersDataItem = { + attributes?: LayerDatasetDataAttributesLayersDataItemAttributes; + id?: number; +}; + +export type LayerDatasetDataAttributesLayers = { + data?: LayerDatasetDataAttributesLayersDataItem[]; +}; + export type LayerDatasetDataAttributes = { createdAt?: string; createdBy?: LayerDatasetDataAttributesCreatedBy; @@ -1710,20 +2851,6 @@ export type LayerDatasetDataAttributes = { updatedBy?: LayerDatasetDataAttributesUpdatedBy; }; -export type LayerDatasetData = { - attributes?: LayerDatasetDataAttributes; - id?: number; -}; - -export type LayerDatasetDataAttributesLayersDataItem = { - attributes?: LayerDatasetDataAttributesLayersDataItemAttributes; - id?: number; -}; - -export type LayerDatasetDataAttributesLayers = { - data?: LayerDatasetDataAttributesLayersDataItem[]; -}; - export type LayerDatasetDataAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -1744,8 +2871,6 @@ export type LayerDatasetDataAttributesLayersDataItemAttributesType = export const LayerDatasetDataAttributesLayersDataItemAttributesType = { deckgl: 'deckgl', mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', } as const; export type LayerDatasetDataAttributesLayersDataItemAttributesMetadata = { @@ -1758,19 +2883,6 @@ export type LayerDatasetDataAttributesLayersDataItemAttributesMetadata = { source?: string; }; -export type LayerDatasetDataAttributesLayersDataItemAttributesDatasetDataAttributes = { - [key: string]: any; -}; - -export type LayerDatasetDataAttributesLayersDataItemAttributesDatasetData = { - attributes?: LayerDatasetDataAttributesLayersDataItemAttributesDatasetDataAttributes; - id?: number; -}; - -export type LayerDatasetDataAttributesLayersDataItemAttributesDataset = { - data?: LayerDatasetDataAttributesLayersDataItemAttributesDatasetData; -}; - export type LayerDatasetDataAttributesLayersDataItemAttributes = { config?: unknown; createdAt?: string; @@ -1787,6 +2899,19 @@ export type LayerDatasetDataAttributesLayersDataItemAttributes = { updatedBy?: LayerDatasetDataAttributesLayersDataItemAttributesUpdatedBy; }; +export type LayerDatasetDataAttributesLayersDataItemAttributesDatasetDataAttributes = { + [key: string]: any; +}; + +export type LayerDatasetDataAttributesLayersDataItemAttributesDatasetData = { + attributes?: LayerDatasetDataAttributesLayersDataItemAttributesDatasetDataAttributes; + id?: number; +}; + +export type LayerDatasetDataAttributesLayersDataItemAttributesDataset = { + data?: LayerDatasetDataAttributesLayersDataItemAttributesDatasetData; +}; + export type LayerDatasetDataAttributesLayersDataItemAttributesCreatedByDataAttributes = { [key: string]: any; }; @@ -1822,6 +2947,16 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributes = { + createdAt?: string; + createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: LayerDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; +}; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = { [key: string]: any; }; @@ -1835,6 +2970,29 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesDatasets = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = + { + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = { + data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; +}; + +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = { + data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; +}; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { blocked?: boolean; createdAt?: string; @@ -1861,34 +3019,25 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributes = { - createdAt?: string; - createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: LayerDatasetDataAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; -}; - -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; id?: number; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = { - data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; -}; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = + { + data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + }; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = { code?: string; @@ -1902,25 +3051,6 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt users?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = { - data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; -}; - -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = - { [key: string]: any }; - -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = - { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; - id?: number; - }; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -1930,9 +3060,23 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt id?: number; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = { - data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + }; + +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = + { + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + id?: number; }; export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = @@ -1982,25 +3126,6 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; - }; - -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = - { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; - id?: number; - }; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; @@ -2071,14 +3196,16 @@ export interface LayerListResponse { meta?: LayerListResponseMeta; } +export interface LayerRequest { + data: LayerRequestData; +} + export type LayerRequestDataType = (typeof LayerRequestDataType)[keyof typeof LayerRequestDataType]; // eslint-disable-next-line @typescript-eslint/no-redeclare export const LayerRequestDataType = { deckgl: 'deckgl', mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', } as const; export type LayerRequestDataDataset = number | string; @@ -2094,10 +3221,6 @@ export type LayerRequestData = { type: LayerRequestDataType; }; -export interface LayerRequest { - data: LayerRequestData; -} - export type DatasetGroupResponseMeta = { [key: string]: any }; export interface DatasetGroupResponse { @@ -2105,6 +3228,8 @@ export interface DatasetGroupResponse { meta?: DatasetGroupResponseMeta; } +export type DatasetGroupUpdatedByDataAttributes = { [key: string]: any }; + export type DatasetGroupUpdatedByData = { attributes?: DatasetGroupUpdatedByDataAttributes; id?: number; @@ -2114,6 +3239,10 @@ export type DatasetGroupUpdatedBy = { data?: DatasetGroupUpdatedByData; }; +export type DatasetGroupDatasets = { + data?: DatasetGroupDatasetsDataItem[]; +}; + export interface DatasetGroup { createdAt?: string; createdBy?: DatasetGroupCreatedBy; @@ -2129,12 +3258,6 @@ export interface DatasetGroupResponseDataObject { id?: number; } -export type DatasetGroupUpdatedByDataAttributes = { [key: string]: any }; - -export type DatasetGroupDatasets = { - data?: DatasetGroupDatasetsDataItem[]; -}; - export type DatasetGroupDatasetsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; export type DatasetGroupDatasetsDataItemAttributesUpdatedByData = { @@ -2165,6 +3288,23 @@ export type DatasetGroupDatasetsDataItemAttributesLayers = { data?: DatasetGroupDatasetsDataItemAttributesLayersDataItem[]; }; +export type DatasetGroupDatasetsDataItemAttributes = { + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesCreatedBy; + dataset_group?: DatasetGroupDatasetsDataItemAttributesDatasetGroup; + layers?: DatasetGroupDatasetsDataItemAttributesLayers; + metadata?: DatasetGroupDatasetsDataItemAttributesMetadata; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesUpdatedBy; +}; + +export type DatasetGroupDatasetsDataItem = { + attributes?: DatasetGroupDatasetsDataItemAttributes; + id?: number; +}; + export type DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2184,8 +3324,6 @@ export type DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesType = export const DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesType = { deckgl: 'deckgl', mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', } as const; export type DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesMetadata = { @@ -2248,23 +3386,6 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroup = { data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupData; }; -export type DatasetGroupDatasetsDataItemAttributes = { - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesCreatedBy; - dataset_group?: DatasetGroupDatasetsDataItemAttributesDatasetGroup; - layers?: DatasetGroupDatasetsDataItemAttributesLayers; - metadata?: DatasetGroupDatasetsDataItemAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesUpdatedBy; -}; - -export type DatasetGroupDatasetsDataItem = { - attributes?: DatasetGroupDatasetsDataItemAttributes; - id?: number; -}; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2277,16 +3398,6 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesUpda data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesUpdatedByData; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributes = { - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesUpdatedBy; -}; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = { [key: string]: any }; @@ -2308,6 +3419,16 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByData; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributes = { + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesUpdatedBy; +}; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2322,6 +3443,17 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = + { + data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { blocked?: boolean; @@ -2354,30 +3486,6 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = - { - code?: string; - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; - }; - -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = - { - data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; - }; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2403,6 +3511,19 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = + { + code?: string; + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + description?: string; + name?: string; + permissions?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2417,19 +3538,6 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; - }; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = { [key: string]: any }; @@ -2458,6 +3566,19 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = + { + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; @@ -2573,10 +3694,26 @@ export type DatasetUpdatedBy = { data?: DatasetUpdatedByData; }; +export type DatasetLayersDataItemAttributes = { [key: string]: any }; + +export type DatasetLayersDataItem = { + attributes?: DatasetLayersDataItemAttributes; + id?: number; +}; + export type DatasetLayers = { data?: DatasetLayersDataItem[]; }; +export type DatasetDatasetGroupData = { + attributes?: DatasetDatasetGroupDataAttributes; + id?: number; +}; + +export type DatasetDatasetGroup = { + data?: DatasetDatasetGroupData; +}; + export interface Dataset { createdAt?: string; createdBy?: DatasetCreatedBy; @@ -2589,13 +3726,6 @@ export interface Dataset { updatedBy?: DatasetUpdatedBy; } -export type DatasetLayersDataItemAttributes = { [key: string]: any }; - -export type DatasetLayersDataItem = { - attributes?: DatasetLayersDataItemAttributes; - id?: number; -}; - export type DatasetDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; export type DatasetDatasetGroupDataAttributesUpdatedByData = { @@ -2607,6 +3737,11 @@ export type DatasetDatasetGroupDataAttributesUpdatedBy = { data?: DatasetDatasetGroupDataAttributesUpdatedByData; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItem = { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes; + id?: number; +}; + export type DatasetDatasetGroupDataAttributesDatasets = { data?: DatasetDatasetGroupDataAttributesDatasetsDataItem[]; }; @@ -2621,15 +3756,6 @@ export type DatasetDatasetGroupDataAttributes = { updatedBy?: DatasetDatasetGroupDataAttributesUpdatedBy; }; -export type DatasetDatasetGroupData = { - attributes?: DatasetDatasetGroupDataAttributes; - id?: number; -}; - -export type DatasetDatasetGroup = { - data?: DatasetDatasetGroupData; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -2653,6 +3779,10 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesMetadata source?: string; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayers = { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem[]; +}; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes = { createdAt?: string; createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedBy; @@ -2665,20 +3795,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes = { updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesUpdatedBy; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes; - id?: number; -}; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem = { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes; - id?: number; -}; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayers = { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem[]; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2701,8 +3817,6 @@ export const DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDa { deckgl: 'deckgl', mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', } as const; export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesMetadata = @@ -2732,6 +3846,11 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesUpdatedBy; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem = { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes; + id?: number; +}; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDatasetDataAttributes = { [key: string]: any }; @@ -2746,6 +3865,31 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDatasetData; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByData = + { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedBy = + { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByData; + }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRoles = + { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItem[]; + }; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributes = { blocked?: boolean; @@ -2775,31 +3919,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByData = - { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedBy = - { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByData; - }; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRoles = - { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItem[]; - }; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; @@ -2814,6 +3933,11 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = + { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + }; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributes = { code?: string; @@ -2836,9 +3960,17 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat id?: number; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; }; export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = @@ -2894,19 +4026,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; - }; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; @@ -3020,6 +4139,11 @@ export interface DatasetRequest { export type CategoryResponseMeta = { [key: string]: any }; +export interface CategoryResponseDataObject { + attributes?: Category; + id?: number; +} + export interface CategoryResponse { data?: CategoryResponseDataObject; meta?: CategoryResponseMeta; @@ -3036,6 +4160,15 @@ export type CategoryUpdatedBy = { data?: CategoryUpdatedByData; }; +export type CategoryStoriesDataItem = { + attributes?: CategoryStoriesDataItemAttributes; + id?: number; +}; + +export type CategoryStories = { + data?: CategoryStoriesDataItem[]; +}; + export interface Category { createdAt?: string; createdBy?: CategoryCreatedBy; @@ -3047,20 +4180,6 @@ export interface Category { updatedBy?: CategoryUpdatedBy; } -export interface CategoryResponseDataObject { - attributes?: Category; - id?: number; -} - -export type CategoryStoriesDataItem = { - attributes?: CategoryStoriesDataItemAttributes; - id?: number; -}; - -export type CategoryStories = { - data?: CategoryStoriesDataItem[]; -}; - export type CategoryStoriesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; export type CategoryStoriesDataItemAttributesUpdatedByData = { @@ -3072,6 +4191,21 @@ export type CategoryStoriesDataItemAttributesUpdatedBy = { data?: CategoryStoriesDataItemAttributesUpdatedByData; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwo = { + __component?: string; + content?: string; + id?: number; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoLayers; + map?: unknown; + media?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMedia; + story_disclaimer?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItem[]; + title?: string; +}; + +export type CategoryStoriesDataItemAttributesStepsItem = + | CategoryStoriesDataItemAttributesStepsItemAnyOf + | CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwo; + export type CategoryStoriesDataItemAttributes = { active?: boolean; category?: CategoryStoriesDataItemAttributesCategory; @@ -3087,30 +4221,116 @@ export type CategoryStoriesDataItemAttributes = { updatedBy?: CategoryStoriesDataItemAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaData = { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributes; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItem = + { + id?: number; + logo?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogo; + name?: string; + url?: string; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItem = { + disclaimer?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItem[]; id?: number; + title?: string; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributes = + { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedBy; + ext?: string; + folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedBy; + url?: string; + width?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoData = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogo = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoData; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByData = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedBy = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesUpdatedByData; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItem = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItemAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelated = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesRelatedDataItem[]; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderData = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderDataAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolder = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesFolderData; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByData = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedBy = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoStoryDisclaimerItemDisclaimerItemLogoDataAttributesCreatedByData; + }; + export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMedia = { data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaData; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwo = { - __component?: string; - content?: string; - disclaimer?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItem[]; - id?: number; - layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoLayers; - map?: unknown; - media?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMedia; - title?: string; -}; - -export type CategoryStoriesDataItemAttributesStepsItem = - | CategoryStoriesDataItemAttributesStepsItemAnyOf - | CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwo; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3120,8 +4340,44 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttri id?: number; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByData; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesUpdatedByData; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItem = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItemAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelated = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItem[]; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributes = + { + children?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildren; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedBy; + files?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFiles; + name?: string; + parent?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParent; + path?: string; + pathId?: number; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedBy; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributes; + id?: number; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolder = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderData; }; export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributes = { @@ -3148,28 +4404,11 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttri width?: number; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelated = { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesRelatedDataItem[]; -}; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderData = { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributes; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolder = { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderData; -}; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3198,31 +4437,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttri data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParentData; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; - ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; - url?: string; - width?: number; - }; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItem = { attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; @@ -3234,20 +4448,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttri data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributes = - { - children?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildren; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedBy; - files?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesUpdatedBy; - }; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3304,6 +4504,34 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttri data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = + { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; + ext?: string; + folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; + url?: string; + width?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByData = { attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; @@ -3315,9 +4543,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttri data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = { [key: string]: any }; @@ -3358,104 +4583,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoLayers = { data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoLayersDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesCreatedBy; - ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributes; - id?: number; -}; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogos = { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItem[]; -}; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItem = { - id?: number; - logos?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogos; - text?: string; - title?: string; - url?: string; -}; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesUpdatedByData; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesRelatedDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesRelated = - { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesRelatedDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesFolderDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesFolderData = - { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesFolderDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesFolder = - { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesFolderData; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesCreatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesCreatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourtwoDisclaimerItemLogosDataItemAttributesCreatedByData; - }; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfWidgetType = (typeof CategoryStoriesDataItemAttributesStepsItemAnyOfWidgetType)[keyof typeof CategoryStoriesDataItemAttributesStepsItemAnyOfWidgetType]; @@ -3483,9 +4610,14 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem = { content?: string; id?: number; info?: string; + link?: string; title?: string; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayers = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; +}; + export type CategoryStoriesDataItemAttributesStepsItemAnyOf = { __component?: string; card?: CategoryStoriesDataItemAttributesStepsItemAnyOfCard; @@ -3516,8 +4648,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttribu export const CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = { deckgl: 'deckgl', mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', } as const; export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = { @@ -3551,10 +4681,18 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { id?: number; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayers = { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + id?: number; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; @@ -3566,31 +4704,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttribu data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = - { - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; - }; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; - id?: number; -}; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { - data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; -}; - -export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = { citation?: string; @@ -3616,11 +4729,30 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttribu data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = + { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; + id?: number; + }; + export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = + { + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; + }; + export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3674,12 +4806,6 @@ export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttribu updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = - { - attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; - id?: number; - }; - export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = { [key: string]: any }; @@ -3792,6 +4918,16 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByData; }; +export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRoles = { + data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem[]; +}; + export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributes = { blocked?: boolean; createdAt?: string; @@ -3818,16 +4954,6 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy = { data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRoles = { - data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem[]; -}; - export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; diff --git a/client/src/types/generated/top-story.ts b/client/src/types/generated/top-story.ts new file mode 100644 index 0000000..c70f235 --- /dev/null +++ b/client/src/types/generated/top-story.ts @@ -0,0 +1,344 @@ +/** + * Generated by orval v6.20.0 🍺 + * Do not edit manually. + * DOCUMENTATION + * OpenAPI spec version: 1.0.0 + */ +import { useInfiniteQuery, useMutation, useQuery } from '@tanstack/react-query'; +import type { + MutationFunction, + QueryFunction, + QueryKey, + UseInfiniteQueryOptions, + UseInfiniteQueryResult, + UseMutationOptions, + UseQueryOptions, + UseQueryResult, +} from '@tanstack/react-query'; +import type { + Error, + GetTopStoriesIdParams, + GetTopStoriesParams, + TopStoryListResponse, + TopStoryRequest, + TopStoryResponse, +} from './strapi.schemas'; +import { API } from '../../services/api/index'; +import type { ErrorType } from '../../services/api/index'; + +export const getTopStories = (params?: GetTopStoriesParams, signal?: AbortSignal) => { + return API({ url: `/top-stories`, method: 'get', params, signal }); +}; + +export const getGetTopStoriesQueryKey = (params?: GetTopStoriesParams) => { + return [`/top-stories`, ...(params ? [params] : [])] as const; +}; + +export const getGetTopStoriesInfiniteQueryOptions = < + TData = Awaited>, + TError = ErrorType +>( + params?: GetTopStoriesParams, + options?: { + query?: UseInfiniteQueryOptions>, TError, TData>; + } +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetTopStoriesQueryKey(params); + + const queryFn: QueryFunction>> = ({ + signal, + pageParam, + }) => getTopStories({ 'pagination[page]': pageParam, ...params }, signal); + + return { queryKey, queryFn, staleTime: 10000, ...queryOptions } as UseInfiniteQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetTopStoriesInfiniteQueryResult = NonNullable< + Awaited> +>; +export type GetTopStoriesInfiniteQueryError = ErrorType; + +export const useGetTopStoriesInfinite = < + TData = Awaited>, + TError = ErrorType +>( + params?: GetTopStoriesParams, + options?: { + query?: UseInfiniteQueryOptions>, TError, TData>; + } +): UseInfiniteQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetTopStoriesInfiniteQueryOptions(params, options); + + const query = useInfiniteQuery(queryOptions) as UseInfiniteQueryResult & { + queryKey: QueryKey; + }; + + query.queryKey = queryOptions.queryKey; + + return query; +}; + +export const getGetTopStoriesQueryOptions = < + TData = Awaited>, + TError = ErrorType +>( + params?: GetTopStoriesParams, + options?: { query?: UseQueryOptions>, TError, TData> } +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetTopStoriesQueryKey(params); + + const queryFn: QueryFunction>> = ({ signal }) => + getTopStories(params, signal); + + return { queryKey, queryFn, staleTime: 10000, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetTopStoriesQueryResult = NonNullable>>; +export type GetTopStoriesQueryError = ErrorType; + +export const useGetTopStories = < + TData = Awaited>, + TError = ErrorType +>( + params?: GetTopStoriesParams, + options?: { query?: UseQueryOptions>, TError, TData> } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetTopStoriesQueryOptions(params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { queryKey: QueryKey }; + + query.queryKey = queryOptions.queryKey; + + return query; +}; + +export const postTopStories = (topStoryRequest: TopStoryRequest) => { + return API({ + url: `/top-stories`, + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data: topStoryRequest, + }); +}; + +export const getPostTopStoriesMutationOptions = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TopStoryRequest }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { data: TopStoryRequest }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {}; + + const mutationFn: MutationFunction< + Awaited>, + { data: TopStoryRequest } + > = (props) => { + const { data } = props ?? {}; + + return postTopStories(data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type PostTopStoriesMutationResult = NonNullable>>; +export type PostTopStoriesMutationBody = TopStoryRequest; +export type PostTopStoriesMutationError = ErrorType; + +export const usePostTopStories = , TContext = unknown>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { data: TopStoryRequest }, + TContext + >; +}) => { + const mutationOptions = getPostTopStoriesMutationOptions(options); + + return useMutation(mutationOptions); +}; +export const getTopStoriesId = ( + id: number, + params?: GetTopStoriesIdParams, + signal?: AbortSignal +) => { + return API({ url: `/top-stories/${id}`, method: 'get', params, signal }); +}; + +export const getGetTopStoriesIdQueryKey = (id: number, params?: GetTopStoriesIdParams) => { + return [`/top-stories/${id}`, ...(params ? [params] : [])] as const; +}; + +export const getGetTopStoriesIdQueryOptions = < + TData = Awaited>, + TError = ErrorType +>( + id: number, + params?: GetTopStoriesIdParams, + options?: { query?: UseQueryOptions>, TError, TData> } +) => { + const { query: queryOptions } = options ?? {}; + + const queryKey = queryOptions?.queryKey ?? getGetTopStoriesIdQueryKey(id, params); + + const queryFn: QueryFunction>> = ({ signal }) => + getTopStoriesId(id, params, signal); + + return { queryKey, queryFn, enabled: !!id, staleTime: 10000, ...queryOptions } as UseQueryOptions< + Awaited>, + TError, + TData + > & { queryKey: QueryKey }; +}; + +export type GetTopStoriesIdQueryResult = NonNullable>>; +export type GetTopStoriesIdQueryError = ErrorType; + +export const useGetTopStoriesId = < + TData = Awaited>, + TError = ErrorType +>( + id: number, + params?: GetTopStoriesIdParams, + options?: { query?: UseQueryOptions>, TError, TData> } +): UseQueryResult & { queryKey: QueryKey } => { + const queryOptions = getGetTopStoriesIdQueryOptions(id, params, options); + + const query = useQuery(queryOptions) as UseQueryResult & { queryKey: QueryKey }; + + query.queryKey = queryOptions.queryKey; + + return query; +}; + +export const putTopStoriesId = (id: number, topStoryRequest: TopStoryRequest) => { + return API({ + url: `/top-stories/${id}`, + method: 'put', + headers: { 'Content-Type': 'application/json' }, + data: topStoryRequest, + }); +}; + +export const getPutTopStoriesIdMutationOptions = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { id: number; data: TopStoryRequest }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { id: number; data: TopStoryRequest }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {}; + + const mutationFn: MutationFunction< + Awaited>, + { id: number; data: TopStoryRequest } + > = (props) => { + const { id, data } = props ?? {}; + + return putTopStoriesId(id, data); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type PutTopStoriesIdMutationResult = NonNullable< + Awaited> +>; +export type PutTopStoriesIdMutationBody = TopStoryRequest; +export type PutTopStoriesIdMutationError = ErrorType; + +export const usePutTopStoriesId = , TContext = unknown>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { id: number; data: TopStoryRequest }, + TContext + >; +}) => { + const mutationOptions = getPutTopStoriesIdMutationOptions(options); + + return useMutation(mutationOptions); +}; +export const deleteTopStoriesId = (id: number) => { + return API({ url: `/top-stories/${id}`, method: 'delete' }); +}; + +export const getDeleteTopStoriesIdMutationOptions = < + TError = ErrorType, + TContext = unknown +>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { id: number }, + TContext + >; +}): UseMutationOptions< + Awaited>, + TError, + { id: number }, + TContext +> => { + const { mutation: mutationOptions } = options ?? {}; + + const mutationFn: MutationFunction< + Awaited>, + { id: number } + > = (props) => { + const { id } = props ?? {}; + + return deleteTopStoriesId(id); + }; + + return { mutationFn, ...mutationOptions }; +}; + +export type DeleteTopStoriesIdMutationResult = NonNullable< + Awaited> +>; + +export type DeleteTopStoriesIdMutationError = ErrorType; + +export const useDeleteTopStoriesId = , TContext = unknown>(options?: { + mutation?: UseMutationOptions< + Awaited>, + TError, + { id: number }, + TContext + >; +}) => { + const mutationOptions = getDeleteTopStoriesIdMutationOptions(options); + + return useMutation(mutationOptions); +}; diff --git a/client/src/types/layers.ts b/client/src/types/layers.ts index 4f32859..f475840 100644 --- a/client/src/types/layers.ts +++ b/client/src/types/layers.ts @@ -21,9 +21,9 @@ export type ParamsConfigValue = { export type ParamsConfig = ParamsConfigValue[]; export type LegendConfig = { - displayControllers?: boolean; type: LegendType; style?: CSSProperties; + title?: string; items: { value: string; color: string; diff --git a/cms/src/api/layer/content-types/layer/schema.json b/cms/src/api/layer/content-types/layer/schema.json index f95e68e..6d97208 100644 --- a/cms/src/api/layer/content-types/layer/schema.json +++ b/cms/src/api/layer/content-types/layer/schema.json @@ -20,8 +20,7 @@ "type": "enumeration", "enum": [ "deckgl", - "mapbox", - "carto" + "mapbox" ], "required": true, "default": "mapbox" diff --git a/cms/src/api/top-story/content-types/top-story/schema.json b/cms/src/api/top-story/content-types/top-story/schema.json new file mode 100644 index 0000000..aa5eb70 --- /dev/null +++ b/cms/src/api/top-story/content-types/top-story/schema.json @@ -0,0 +1,40 @@ +{ + "kind": "collectionType", + "collectionName": "top_stories", + "info": { + "singularName": "top-story", + "pluralName": "top-stories", + "displayName": "Top story", + "description": "" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "story": { + "type": "relation", + "relation": "oneToOne", + "target": "api::story.story" + }, + "index": { + "type": "integer", + "required": true, + "unique": true, + "min": 0, + "max": 5 + }, + "cover_image": { + "type": "media", + "multiple": false, + "required": true, + "allowedTypes": [ + "images" + ] + }, + "location": { + "type": "string", + "required": true + } + } +} diff --git a/cms/src/api/top-story/controllers/top-story.ts b/cms/src/api/top-story/controllers/top-story.ts new file mode 100644 index 0000000..561cf8b --- /dev/null +++ b/cms/src/api/top-story/controllers/top-story.ts @@ -0,0 +1,7 @@ +/** + * top-story controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::top-story.top-story'); diff --git a/cms/src/api/top-story/documentation/1.0.0/top-story.json b/cms/src/api/top-story/documentation/1.0.0/top-story.json new file mode 100644 index 0000000..afc7f7c --- /dev/null +++ b/cms/src/api/top-story/documentation/1.0.0/top-story.json @@ -0,0 +1,507 @@ +{ + "/top-stories": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopStoryListResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Top-story" + ], + "parameters": [ + { + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } + }, + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/top-stories" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopStoryResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Top-story" + ], + "parameters": [], + "operationId": "post/top-stories", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopStoryRequest" + } + } + } + } + } + }, + "/top-stories/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopStoryResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Top-story" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/top-stories/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopStoryResponse" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Top-story" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/top-stories/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/TopStoryRequest" + } + } + } + } + }, + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + }, + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } + } + }, + "tags": [ + "Top-story" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/top-stories/{id}" + } + } +} diff --git a/cms/src/api/top-story/routes/top-story.ts b/cms/src/api/top-story/routes/top-story.ts new file mode 100644 index 0000000..eff3d9e --- /dev/null +++ b/cms/src/api/top-story/routes/top-story.ts @@ -0,0 +1,7 @@ +/** + * top-story router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::top-story.top-story'); diff --git a/cms/src/api/top-story/services/top-story.ts b/cms/src/api/top-story/services/top-story.ts new file mode 100644 index 0000000..ef1a3a6 --- /dev/null +++ b/cms/src/api/top-story/services/top-story.ts @@ -0,0 +1,7 @@ +/** + * top-story service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::top-story.top-story'); diff --git a/cms/src/components/disclaimer/discalimer.json b/cms/src/components/disclaimer/discalimer.json deleted file mode 100644 index e2f84b8..0000000 --- a/cms/src/components/disclaimer/discalimer.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "collectionName": "components_disclaimer_discalimers", - "info": { - "displayName": "discalimer", - "description": "" - }, - "options": {}, - "attributes": { - "title": { - "type": "string" - }, - "logos": { - "type": "media", - "multiple": true, - "required": false, - "allowedTypes": [ - "images" - ] - }, - "text": { - "type": "text" - }, - "url": { - "type": "string" - } - } -} diff --git a/cms/src/components/disclaimer/outro-step-disclaimer.json b/cms/src/components/disclaimer/outro-step-disclaimer.json new file mode 100644 index 0000000..53714e2 --- /dev/null +++ b/cms/src/components/disclaimer/outro-step-disclaimer.json @@ -0,0 +1,25 @@ +{ + "collectionName": "components_disclaimer_outro_step_disclaimers", + "info": { + "displayName": "outro_step_disclaimer" + }, + "options": {}, + "attributes": { + "name": { + "type": "string", + "required": true + }, + "url": { + "type": "string", + "required": true + }, + "logo": { + "allowedTypes": [ + "images" + ], + "type": "media", + "multiple": false, + "required": true + } + } +} diff --git a/cms/src/components/disclaimer/partners.json b/cms/src/components/disclaimer/partners.json new file mode 100644 index 0000000..04454f9 --- /dev/null +++ b/cms/src/components/disclaimer/partners.json @@ -0,0 +1,25 @@ +{ + "collectionName": "components_disclaimer_partners", + "info": { + "displayName": "partners" + }, + "options": {}, + "attributes": { + "name": { + "type": "string", + "required": true + }, + "url": { + "type": "string", + "required": true + }, + "logo": { + "allowedTypes": [ + "images" + ], + "type": "media", + "multiple": false, + "required": true + } + } +} diff --git a/cms/src/components/map-layer/summary.json b/cms/src/components/map-layer/summary.json index 6c224af..629477a 100644 --- a/cms/src/components/map-layer/summary.json +++ b/cms/src/components/map-layer/summary.json @@ -16,6 +16,9 @@ }, "info": { "type": "string" + }, + "link": { + "type": "string" } } } diff --git a/cms/src/components/step-layout/outro-step.json b/cms/src/components/step-layout/outro-step.json index 7f8577b..5c0ca61 100644 --- a/cms/src/components/step-layout/outro-step.json +++ b/cms/src/components/step-layout/outro-step.json @@ -32,11 +32,11 @@ "type": "customField", "customField": "plugin::map-field.map-field" }, - "disclaimer": { - "displayName": "discalimer", + "story_disclaimer": { + "displayName": "disclaimer", "type": "component", "repeatable": true, - "component": "disclaimer.discalimer" + "component": "story-outro-disclaimer.disclaimer" } } } diff --git a/cms/src/components/story-outro-disclaimer/disclaimer.json b/cms/src/components/story-outro-disclaimer/disclaimer.json new file mode 100644 index 0000000..f1905db --- /dev/null +++ b/cms/src/components/story-outro-disclaimer/disclaimer.json @@ -0,0 +1,19 @@ +{ + "collectionName": "components_story_outro_disclaimer_disclaimers", + "info": { + "displayName": "disclaimer" + }, + "options": {}, + "attributes": { + "disclaimer": { + "type": "component", + "repeatable": true, + "required": true, + "component": "disclaimer.outro-step-disclaimer" + }, + "title": { + "type": "string", + "required": true + } + } +} diff --git a/cms/src/components/story-outro-disclaimer/story-disclaimer.json b/cms/src/components/story-outro-disclaimer/story-disclaimer.json new file mode 100644 index 0000000..73dac92 --- /dev/null +++ b/cms/src/components/story-outro-disclaimer/story-disclaimer.json @@ -0,0 +1,21 @@ +{ + "collectionName": "components_story_outro_disclaimer_story_disclaimers", + "info": { + "displayName": "Story Disclaimer", + "description": "" + }, + "options": {}, + "attributes": { + "story_disclaimer": { + "displayName": "outro_step_disclaimer", + "type": "component", + "repeatable": true, + "component": "disclaimer.outro-step-disclaimer", + "required": true + }, + "title": { + "type": "string", + "required": true + } + } +} diff --git a/cms/src/components/widget/widget.json b/cms/src/components/widget/widget.json index 4380418..4e325ce 100644 --- a/cms/src/components/widget/widget.json +++ b/cms/src/components/widget/widget.json @@ -30,6 +30,9 @@ }, "title": { "type": "string" + }, + "legend": { + "type": "richtext" } } } diff --git a/infrastructure/base/main.tf b/infrastructure/base/main.tf index 21d8ce5..f018410 100644 --- a/infrastructure/base/main.tf +++ b/infrastructure/base/main.tf @@ -62,6 +62,9 @@ locals { BUCKET_BUCKET = "${var.project_name}-staging-cms" BUCKET_ENDPOINT = "https://${var.do_region}.digitaloceanspaces.com" + # DigitalOcean Spaces to store map data + BUCKET_MAP_DATA_ENDPOINT = "https://${var.project_name}-staging.${var.do_region}.cdn.digitaloceanspaces.com" + # Database DATABASE_CLIENT = "postgres" DATABASE_HOST = module.staging.postgresql_host diff --git a/infrastructure/base/modules/env/main.tf b/infrastructure/base/modules/env/main.tf index 349574e..445c327 100644 --- a/infrastructure/base/modules/env/main.tf +++ b/infrastructure/base/modules/env/main.tf @@ -47,6 +47,10 @@ module "app" { do_app_image_tag = var.do_app_image_tag } +resource "digitalocean_cdn" "space_cdn" { + origin = module.space.bucket_domain_name +} + resource "digitalocean_spaces_bucket_cors_configuration" "space_cms_cors" { bucket = module.space_cms.space_id region = var.do_region diff --git a/infrastructure/base/modules/space/outputs.tf b/infrastructure/base/modules/space/outputs.tf index 1c4d13f..c0c89c7 100644 --- a/infrastructure/base/modules/space/outputs.tf +++ b/infrastructure/base/modules/space/outputs.tf @@ -1,3 +1,7 @@ output "space_id" { value = digitalocean_spaces_bucket.project_space.id } + +output "bucket_domain_name" { + value = digitalocean_spaces_bucket.project_space.bucket_domain_name +} diff --git a/types/orval.config.ts b/types/orval.config.ts index 0a93bf7..6d9640d 100644 --- a/types/orval.config.ts +++ b/types/orval.config.ts @@ -82,6 +82,16 @@ module.exports = { staleTime: 10000, }, } + }, + "get/top-stories/{id}": { + query: { + useQuery: true, + useInfinite: false, + signal: true, + options: { + staleTime: 10000, + }, + } } } }, @@ -89,7 +99,7 @@ module.exports = { input: { target: '../cms/dist/src/extensions/documentation/documentation/1.0.0/full_documentation.json', filters: { - tags: ['Dataset', 'Dataset-group', 'Layer', 'Story', 'Category'], + tags: ['Dataset', 'Dataset-group', 'Layer', 'Story', 'Category', 'Top-story'], }, } } diff --git a/yarn.lock b/yarn.lock index c247245..59d0ecb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2823,6 +2823,7 @@ __metadata: "@playwright/test": ^1.35.1 "@radix-ui/react-accordion": ^1.1.2 "@radix-ui/react-checkbox": ^1.0.4 + "@radix-ui/react-collapsible": ^1.0.3 "@radix-ui/react-dialog": ^1.0.4 "@radix-ui/react-label": ^2.0.2 "@radix-ui/react-popover": ^1.0.6 @@ -2872,7 +2873,10 @@ __metadata: react-dom: 18.2.0 react-hook-form: ^7.45.0 react-map-gl: 7.1.5 - react-markdown: 8.0.7 + react-markdown: ^9.0.1 + rehype-raw: ^7.0.0 + remark-gfm: ^4.0.0 + remark-unwrap-images: ^4.0.0 rooks: 7.14.1 tailwind-merge: ^1.13.2 tailwindcss: 3.3.2 @@ -4579,7 +4583,7 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-collapsible@npm:1.0.3": +"@radix-ui/react-collapsible@npm:1.0.3, @radix-ui/react-collapsible@npm:^1.0.3": version: 1.0.3 resolution: "@radix-ui/react-collapsible@npm:1.0.3" dependencies: @@ -7510,6 +7514,15 @@ __metadata: languageName: node linkType: hard +"@types/estree-jsx@npm:^1.0.0": + version: 1.0.5 + resolution: "@types/estree-jsx@npm:1.0.5" + dependencies: + "@types/estree": "*" + checksum: a028ab0cd7b2950168a05c6a86026eb3a36a54a4adfae57f13911d7b49dffe573d9c2b28421b2d029b49b3d02fcd686611be2622dc3dad6d9791166c083f6008 + languageName: node + linkType: hard + "@types/estree@npm:*, @types/estree@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" @@ -7581,12 +7594,12 @@ __metadata: languageName: node linkType: hard -"@types/hast@npm:^2.0.0": - version: 2.3.8 - resolution: "@types/hast@npm:2.3.8" +"@types/hast@npm:^3.0.0": + version: 3.0.4 + resolution: "@types/hast@npm:3.0.4" dependencies: - "@types/unist": ^2 - checksum: 4c3b3efb7067d32a568a9bf5d2a7599f99ec08c2eaade3aaeb579b7a31bcdf8f6475f56c1ac5bc3f4e4e07b84a93a9b1cf1ef9a8b52b39e3deabea7989e5dd4b + "@types/unist": "*" + checksum: 7a973e8d16fcdf3936090fa2280f408fb2b6a4f13b42edeb5fbd614efe042b82eac68e298e556d50f6b4ad585a3a93c353e9c826feccdc77af59de8dd400d044 languageName: node linkType: hard @@ -7699,12 +7712,12 @@ __metadata: languageName: node linkType: hard -"@types/mdast@npm:^3.0.0": - version: 3.0.15 - resolution: "@types/mdast@npm:3.0.15" +"@types/mdast@npm:^4.0.0": + version: 4.0.4 + resolution: "@types/mdast@npm:4.0.4" dependencies: - "@types/unist": ^2 - checksum: af85042a4e3af3f879bde4059fa9e76c71cb552dffc896cdcc6cf9dc1fd38e37035c2dbd6245cfa6535b433f1f0478f5549696234ccace47a64055a10c656530 + "@types/unist": "*" + checksum: 20c4e9574cc409db662a35cba52b068b91eb696b3049e94321219d47d34c8ccc99a142be5c76c80a538b612457b03586bc2f6b727a3e9e7530f4c8568f6282ee languageName: node linkType: hard @@ -7775,7 +7788,7 @@ __metadata: languageName: node linkType: hard -"@types/prop-types@npm:*, @types/prop-types@npm:^15.0.0": +"@types/prop-types@npm:*": version: 15.7.11 resolution: "@types/prop-types@npm:15.7.11" checksum: 7519ff11d06fbf6b275029fe03fff9ec377b4cb6e864cac34d87d7146c7f5a7560fd164bdc1d2dbe00b60c43713631251af1fd3d34d46c69cd354602bc0c7c54 @@ -7921,7 +7934,14 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:^2, @types/unist@npm:^2.0.0": +"@types/unist@npm:*, @types/unist@npm:^3.0.0": + version: 3.0.2 + resolution: "@types/unist@npm:3.0.2" + checksum: 3d04d0be69316e5f14599a0d993a208606c12818cf631fd399243d1dc7a9bd8a3917d6066baa6abc290814afbd744621484756803c80cba892c39cd4b4a85616 + languageName: node + linkType: hard + +"@types/unist@npm:^2.0.0": version: 2.0.10 resolution: "@types/unist@npm:2.0.10" checksum: e2924e18dedf45f68a5c6ccd6015cd62f1643b1b43baac1854efa21ae9e70505db94290434a23da1137d9e31eb58e54ca175982005698ac37300a1c889f6c4aa @@ -8153,6 +8173,13 @@ __metadata: languageName: node linkType: hard +"@ungap/structured-clone@npm:^1.0.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 + languageName: node + linkType: hard + "@webassemblyjs/ast@npm:1.11.6, @webassemblyjs/ast@npm:^1.11.5": version: 1.11.6 resolution: "@webassemblyjs/ast@npm:1.11.6" @@ -9574,6 +9601,13 @@ __metadata: languageName: node linkType: hard +"ccount@npm:^2.0.0": + version: 2.0.1 + resolution: "ccount@npm:2.0.1" + checksum: 48193dada54c9e260e0acf57fc16171a225305548f9ad20d5471e0f7a8c026aedd8747091dccb0d900cde7df4e4ddbd235df0d8de4a64c71b12f0d3303eeafd4 + languageName: node + linkType: hard + "chalk@npm:4.1.2, chalk@npm:^4.0.0, chalk@npm:^4.1.0, chalk@npm:^4.1.1, chalk@npm:^4.1.2": version: 4.1.2 resolution: "chalk@npm:4.1.2" @@ -9634,6 +9668,20 @@ __metadata: languageName: node linkType: hard +"character-entities-html4@npm:^2.0.0": + version: 2.1.0 + resolution: "character-entities-html4@npm:2.1.0" + checksum: 7034aa7c7fa90309667f6dd50499c8a760c3d3a6fb159adb4e0bada0107d194551cdbad0714302f62d06ce4ed68565c8c2e15fdef2e8f8764eb63fa92b34b11d + languageName: node + linkType: hard + +"character-entities-legacy@npm:^3.0.0": + version: 3.0.0 + resolution: "character-entities-legacy@npm:3.0.0" + checksum: 7582af055cb488b626d364b7d7a4e46b06abd526fb63c0e4eb35bcb9c9799cc4f76b39f34fdccef2d1174ac95e53e9ab355aae83227c1a2505877893fce77731 + languageName: node + linkType: hard + "character-entities@npm:^2.0.0": version: 2.0.2 resolution: "character-entities@npm:2.0.2" @@ -9641,6 +9689,13 @@ __metadata: languageName: node linkType: hard +"character-reference-invalid@npm:^2.0.0": + version: 2.0.1 + resolution: "character-reference-invalid@npm:2.0.1" + checksum: 98d3b1a52ae510b7329e6ee7f6210df14f1e318c5415975d4c9e7ee0ef4c07875d47c6e74230c64551f12f556b4a8ccc24d9f3691a2aa197019e72a95e9297ee + languageName: node + linkType: hard + "chardet@npm:^0.7.0": version: 0.7.0 resolution: "chardet@npm:0.7.0" @@ -10999,6 +11054,15 @@ __metadata: languageName: node linkType: hard +"devlop@npm:^1.0.0, devlop@npm:^1.1.0": + version: 1.1.0 + resolution: "devlop@npm:1.1.0" + dependencies: + dequal: ^2.0.0 + checksum: d2ff650bac0bb6ef08c48f3ba98640bb5fec5cce81e9957eb620408d1bab1204d382a45b785c6b3314dc867bb0684936b84c6867820da6db97cbb5d3c15dd185 + languageName: node + linkType: hard + "didyoumean@npm:^1.2.2": version: 1.2.2 resolution: "didyoumean@npm:1.2.2" @@ -11006,13 +11070,6 @@ __metadata: languageName: node linkType: hard -"diff@npm:^5.0.0": - version: 5.1.0 - resolution: "diff@npm:5.1.0" - checksum: c7bf0df7c9bfbe1cf8a678fd1b2137c4fb11be117a67bc18a0e03ae75105e8533dbfb1cda6b46beb3586ef5aed22143ef9d70713977d5fb1f9114e21455fba90 - languageName: node - linkType: hard - "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -11755,6 +11812,13 @@ __metadata: languageName: node linkType: hard +"escape-string-regexp@npm:^5.0.0": + version: 5.0.0 + resolution: "escape-string-regexp@npm:5.0.0" + checksum: 20daabe197f3cb198ec28546deebcf24b3dbb1a5a269184381b3116d12f0532e06007f4bc8da25669d6a7f8efb68db0758df4cd981f57bc5b57f521a3e12c59e + languageName: node + linkType: hard + "eslint-config-next@npm:13.4.5": version: 13.4.5 resolution: "eslint-config-next@npm:13.4.5" @@ -12094,6 +12158,13 @@ __metadata: languageName: node linkType: hard +"estree-util-is-identifier-name@npm:^3.0.0": + version: 3.0.0 + resolution: "estree-util-is-identifier-name@npm:3.0.0" + checksum: ea3909f0188ea164af0aadeca87c087e3e5da78d76da5ae9c7954ff1340ea3e4679c4653bbf4299ffb70caa9b322218cc1128db2541f3d2976eb9704f9857787 + languageName: node + linkType: hard + "esutils@npm:2.0.3, esutils@npm:^2.0.2": version: 2.0.3 resolution: "esutils@npm:2.0.3" @@ -13473,10 +13544,109 @@ __metadata: languageName: node linkType: hard -"hast-util-whitespace@npm:^2.0.0": - version: 2.0.1 - resolution: "hast-util-whitespace@npm:2.0.1" - checksum: 431be6b2f35472f951615540d7a53f69f39461e5e080c0190268bdeb2be9ab9b1dddfd1f467dd26c1de7e7952df67beb1307b6ee940baf78b24a71b5e0663868 +"hast-util-from-parse5@npm:^8.0.0": + version: 8.0.1 + resolution: "hast-util-from-parse5@npm:8.0.1" + dependencies: + "@types/hast": ^3.0.0 + "@types/unist": ^3.0.0 + devlop: ^1.0.0 + hastscript: ^8.0.0 + property-information: ^6.0.0 + vfile: ^6.0.0 + vfile-location: ^5.0.0 + web-namespaces: ^2.0.0 + checksum: fdd1ab8b03af13778ecb94ef9a58b1e3528410cdfceb3d6bb7600508967d0d836b451bc7bc3baf66efb7c730d3d395eea4bb1b30352b0162823d9f0de976774b + languageName: node + linkType: hard + +"hast-util-parse-selector@npm:^4.0.0": + version: 4.0.0 + resolution: "hast-util-parse-selector@npm:4.0.0" + dependencies: + "@types/hast": ^3.0.0 + checksum: 76087670d3b0b50b23a6cb70bca53a6176d6608307ccdbb3ed18b650b82e7c3513bfc40348f1389dc0c5ae872b9a768851f4335f44654abd7deafd6974c52402 + languageName: node + linkType: hard + +"hast-util-raw@npm:^9.0.0": + version: 9.0.3 + resolution: "hast-util-raw@npm:9.0.3" + dependencies: + "@types/hast": ^3.0.0 + "@types/unist": ^3.0.0 + "@ungap/structured-clone": ^1.0.0 + hast-util-from-parse5: ^8.0.0 + hast-util-to-parse5: ^8.0.0 + html-void-elements: ^3.0.0 + mdast-util-to-hast: ^13.0.0 + parse5: ^7.0.0 + unist-util-position: ^5.0.0 + unist-util-visit: ^5.0.0 + vfile: ^6.0.0 + web-namespaces: ^2.0.0 + zwitch: ^2.0.0 + checksum: 99061946777fa0d8fade8ce5511195c41fd49d2b7dc253d7f8590764d2e7ea6a0af90f1355a20940d8ad395c74b138b42686adfc5d9deb01bfd67f6641d835ae + languageName: node + linkType: hard + +"hast-util-to-jsx-runtime@npm:^2.0.0": + version: 2.3.0 + resolution: "hast-util-to-jsx-runtime@npm:2.3.0" + dependencies: + "@types/estree": ^1.0.0 + "@types/hast": ^3.0.0 + "@types/unist": ^3.0.0 + comma-separated-tokens: ^2.0.0 + devlop: ^1.0.0 + estree-util-is-identifier-name: ^3.0.0 + hast-util-whitespace: ^3.0.0 + mdast-util-mdx-expression: ^2.0.0 + mdast-util-mdx-jsx: ^3.0.0 + mdast-util-mdxjs-esm: ^2.0.0 + property-information: ^6.0.0 + space-separated-tokens: ^2.0.0 + style-to-object: ^1.0.0 + unist-util-position: ^5.0.0 + vfile-message: ^4.0.0 + checksum: 599a97c6ec61c1430776813d7fb42e6f96032bf4a04dfcbb8eceef3bc8d1845ecf242387a4426b9d3f52320dbbfa26450643b81124b3d6a0b9bbb0fff4d0ba83 + languageName: node + linkType: hard + +"hast-util-to-parse5@npm:^8.0.0": + version: 8.0.0 + resolution: "hast-util-to-parse5@npm:8.0.0" + dependencies: + "@types/hast": ^3.0.0 + comma-separated-tokens: ^2.0.0 + devlop: ^1.0.0 + property-information: ^6.0.0 + space-separated-tokens: ^2.0.0 + web-namespaces: ^2.0.0 + zwitch: ^2.0.0 + checksum: 137469209cb2b32b57387928878dc85310fbd5afa4807a8da69529199bb1d19044bfc95b50c3dc68d4fb2b6cb8bf99b899285597ab6ab318f50422eefd5599dd + languageName: node + linkType: hard + +"hast-util-whitespace@npm:^3.0.0": + version: 3.0.0 + resolution: "hast-util-whitespace@npm:3.0.0" + dependencies: + "@types/hast": ^3.0.0 + checksum: 41d93ccce218ba935dc3c12acdf586193c35069489c8c8f50c2aa824c00dec94a3c78b03d1db40fa75381942a189161922e4b7bca700b3a2cc779634c351a1e4 + languageName: node + linkType: hard + +"hastscript@npm:^8.0.0": + version: 8.0.0 + resolution: "hastscript@npm:8.0.0" + dependencies: + "@types/hast": ^3.0.0 + comma-separated-tokens: ^2.0.0 + hast-util-parse-selector: ^4.0.0 + property-information: ^6.0.0 + space-separated-tokens: ^2.0.0 + checksum: ae3c20223e7b847320c0f98b6fb3c763ebe1bf3913c5805fbc176cf84553a9db1117ca34cf842a5235890b4b9ae0e94501bfdc9a9b870a5dbf5fc52426db1097 languageName: node linkType: hard @@ -13621,6 +13791,20 @@ __metadata: languageName: node linkType: hard +"html-url-attributes@npm:^3.0.0": + version: 3.0.0 + resolution: "html-url-attributes@npm:3.0.0" + checksum: 9f499d33e6ddff6c2d2766fd73d2f22f3c370b4e485a92b0b2938303665b306dc7f36b2724c9466764e8f702351c01f342f5ec933be41a31c1fa40b72087b91d + languageName: node + linkType: hard + +"html-void-elements@npm:^3.0.0": + version: 3.0.0 + resolution: "html-void-elements@npm:3.0.0" + checksum: 59be397525465a7489028afa064c55763d9cccd1d7d9f630cca47137317f0e897a9ca26cef7e745e7cff1abc44260cfa407742b243a54261dfacd42230e94fce + languageName: node + linkType: hard + "html-webpack-plugin@npm:5.5.0": version: 5.5.0 resolution: "html-webpack-plugin@npm:5.5.0" @@ -13964,10 +14148,10 @@ __metadata: languageName: node linkType: hard -"inline-style-parser@npm:0.1.1": - version: 0.1.1 - resolution: "inline-style-parser@npm:0.1.1" - checksum: 5d545056a3e1f2bf864c928a886a0e1656a3517127d36917b973de581bd54adc91b4bf1febcb0da054f204b4934763f1a4e09308b4d55002327cf1d48ac5d966 +"inline-style-parser@npm:0.2.3": + version: 0.2.3 + resolution: "inline-style-parser@npm:0.2.3" + checksum: ed6454de80759e7faef511f51b5716b33c40a6b05b8a8f5383dc01e8a087c6fd5df877446d05e8e3961ae0751e028e25e180f5cffc192a5ce7822edef6810ade languageName: node linkType: hard @@ -14115,6 +14299,23 @@ __metadata: languageName: node linkType: hard +"is-alphabetical@npm:^2.0.0": + version: 2.0.1 + resolution: "is-alphabetical@npm:2.0.1" + checksum: 56207db8d9de0850f0cd30f4966bf731eb82cedfe496cbc2e97e7c3bacaf66fc54a972d2d08c0d93bb679cb84976a05d24c5ad63de56fabbfc60aadae312edaa + languageName: node + linkType: hard + +"is-alphanumerical@npm:^2.0.0": + version: 2.0.1 + resolution: "is-alphanumerical@npm:2.0.1" + dependencies: + is-alphabetical: ^2.0.0 + is-decimal: ^2.0.0 + checksum: 87acc068008d4c9c4e9f5bd5e251041d42e7a50995c77b1499cf6ed248f971aadeddb11f239cabf09f7975ee58cac7a48ffc170b7890076d8d227b24a68663c9 + languageName: node + linkType: hard + "is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.2": version: 3.0.2 resolution: "is-array-buffer@npm:3.0.2" @@ -14184,13 +14385,6 @@ __metadata: languageName: node linkType: hard -"is-buffer@npm:^2.0.0": - version: 2.0.5 - resolution: "is-buffer@npm:2.0.5" - checksum: 764c9ad8b523a9f5a32af29bdf772b08eb48c04d2ad0a7240916ac2688c983bf5f8504bf25b35e66240edeb9d9085461f9b5dae1f3d2861c6b06a65fe983de42 - languageName: node - linkType: hard - "is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": version: 1.2.7 resolution: "is-callable@npm:1.2.7" @@ -14232,6 +14426,13 @@ __metadata: languageName: node linkType: hard +"is-decimal@npm:^2.0.0": + version: 2.0.1 + resolution: "is-decimal@npm:2.0.1" + checksum: 97132de7acdce77caa7b797632970a2ecd649a88e715db0e4dbc00ab0708b5e7574ba5903962c860cd4894a14fd12b100c0c4ac8aed445cf6f55c6cf747a4158 + languageName: node + linkType: hard + "is-descriptor@npm:^0.1.0": version: 0.1.7 resolution: "is-descriptor@npm:0.1.7" @@ -14334,6 +14535,13 @@ __metadata: languageName: node linkType: hard +"is-hexadecimal@npm:^2.0.0": + version: 2.0.1 + resolution: "is-hexadecimal@npm:2.0.1" + checksum: 66a2ea85994c622858f063f23eda506db29d92b52580709eb6f4c19550552d4dcf3fb81952e52f7cf972097237959e00adc7bb8c9400cd12886e15bf06145321 + languageName: node + linkType: hard + "is-interactive@npm:^1.0.0": version: 1.0.0 resolution: "is-interactive@npm:1.0.0" @@ -15077,13 +15285,6 @@ __metadata: languageName: node linkType: hard -"kleur@npm:^4.0.3": - version: 4.1.5 - resolution: "kleur@npm:4.1.5" - checksum: 1dc476e32741acf0b1b5b0627ffd0d722e342c1b0da14de3e8ae97821327ca08f9fb944542fb3c126d90ac5f27f9d804edbe7c585bf7d12ef495d115e0f22c12 - languageName: node - linkType: hard - "knex@npm:2.4.0": version: 2.4.0 resolution: "knex@npm:2.4.0" @@ -15695,6 +15896,13 @@ __metadata: languageName: node linkType: hard +"longest-streak@npm:^3.0.0": + version: 3.1.0 + resolution: "longest-streak@npm:3.1.0" + checksum: d7f952ed004cbdb5c8bcfc4f7f5c3d65449e6c5a9e9be4505a656e3df5a57ee125f284286b4bf8ecea0c21a7b3bf2b8f9001ad506c319b9815ad6a63a47d0fd0 + languageName: node + linkType: hard + "loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.2.0, loose-envify@npm:^1.3.1, loose-envify@npm:^1.4.0": version: 1.4.0 resolution: "loose-envify@npm:1.4.0" @@ -15958,6 +16166,13 @@ __metadata: languageName: node linkType: hard +"markdown-table@npm:^3.0.0": + version: 3.0.3 + resolution: "markdown-table@npm:3.0.3" + checksum: 8fcd3d9018311120fbb97115987f8b1665a603f3134c93fbecc5d1463380c8036f789e2a62c19432058829e594fff8db9ff81c88f83690b2f8ed6c074f8d9e10 + languageName: node + linkType: hard + "match-sorter@npm:^6.0.2": version: 6.3.1 resolution: "match-sorter@npm:6.3.1" @@ -15977,59 +16192,213 @@ __metadata: languageName: node linkType: hard -"mdast-util-definitions@npm:^5.0.0": - version: 5.1.2 - resolution: "mdast-util-definitions@npm:5.1.2" +"mdast-util-find-and-replace@npm:^3.0.0": + version: 3.0.1 + resolution: "mdast-util-find-and-replace@npm:3.0.1" dependencies: - "@types/mdast": ^3.0.0 - "@types/unist": ^2.0.0 - unist-util-visit: ^4.0.0 - checksum: 2544daccab744ea1ede76045c2577ae4f1cc1b9eb1ea51ab273fe1dca8db5a8d6f50f87759c0ce6484975914b144b7f40316f805cb9c86223a78db8de0b77bae + "@types/mdast": ^4.0.0 + escape-string-regexp: ^5.0.0 + unist-util-is: ^6.0.0 + unist-util-visit-parents: ^6.0.0 + checksum: 05d5c4ff02e31db2f8a685a13bcb6c3f44e040bd9dfa54c19a232af8de5268334c8755d79cb456ed4cced1300c4fb83e88444c7ae8ee9ff16869a580f29d08cd languageName: node linkType: hard -"mdast-util-from-markdown@npm:^1.0.0": - version: 1.3.1 - resolution: "mdast-util-from-markdown@npm:1.3.1" +"mdast-util-from-markdown@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-from-markdown@npm:2.0.0" dependencies: - "@types/mdast": ^3.0.0 - "@types/unist": ^2.0.0 + "@types/mdast": ^4.0.0 + "@types/unist": ^3.0.0 decode-named-character-reference: ^1.0.0 - mdast-util-to-string: ^3.1.0 - micromark: ^3.0.0 - micromark-util-decode-numeric-character-reference: ^1.0.0 - micromark-util-decode-string: ^1.0.0 - micromark-util-normalize-identifier: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - unist-util-stringify-position: ^3.0.0 - uvu: ^0.5.0 - checksum: c2fac225167e248d394332a4ea39596e04cbde07d8cdb3889e91e48972c4c3462a02b39fda3855345d90231eb17a90ac6e082fb4f012a77c1d0ddfb9c7446940 - languageName: node - linkType: hard - -"mdast-util-to-hast@npm:^12.1.0": - version: 12.3.0 - resolution: "mdast-util-to-hast@npm:12.3.0" - dependencies: - "@types/hast": ^2.0.0 - "@types/mdast": ^3.0.0 - mdast-util-definitions: ^5.0.0 - micromark-util-sanitize-uri: ^1.1.0 + devlop: ^1.0.0 + mdast-util-to-string: ^4.0.0 + micromark: ^4.0.0 + micromark-util-decode-numeric-character-reference: ^2.0.0 + micromark-util-decode-string: ^2.0.0 + micromark-util-normalize-identifier: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + unist-util-stringify-position: ^4.0.0 + checksum: 4e8d8a46b4b588486c41b80c39da333a91593bc8d60cd7421c6cd3c22003b8e5a62478292fb7bc97b9255b6301a2250cca32340ef43c309156e215453c5b92be + languageName: node + linkType: hard + +"mdast-util-gfm-autolink-literal@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-autolink-literal@npm:2.0.0" + dependencies: + "@types/mdast": ^4.0.0 + ccount: ^2.0.0 + devlop: ^1.0.0 + mdast-util-find-and-replace: ^3.0.0 + micromark-util-character: ^2.0.0 + checksum: 10322662e5302964bed7c9829c5fd3b0c9899d4f03e63fb8620ab141cf4f3de9e61fcb4b44d46aacc8a23f82bcd5d900980a211825dfe026b1dab5fdbc3e8742 + languageName: node + linkType: hard + +"mdast-util-gfm-footnote@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-footnote@npm:2.0.0" + dependencies: + "@types/mdast": ^4.0.0 + devlop: ^1.1.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + micromark-util-normalize-identifier: ^2.0.0 + checksum: 45d26b40e7a093712e023105791129d76e164e2168d5268e113298a22de30c018162683fb7893cdc04ab246dac0087eed708b2a136d1d18ed2b32b3e0cae4a79 + languageName: node + linkType: hard + +"mdast-util-gfm-strikethrough@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-strikethrough@npm:2.0.0" + dependencies: + "@types/mdast": ^4.0.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + checksum: fe9b1d0eba9b791ff9001c008744eafe3dd7a81b085f2bf521595ce4a8e8b1b44764ad9361761ad4533af3e5d913d8ad053abec38172031d9ee32a8ebd1c7dbd + languageName: node + linkType: hard + +"mdast-util-gfm-table@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-table@npm:2.0.0" + dependencies: + "@types/mdast": ^4.0.0 + devlop: ^1.0.0 + markdown-table: ^3.0.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + checksum: 063a627fd0993548fd63ca0c24c437baf91ba7d51d0a38820bd459bc20bf3d13d7365ef8d28dca99176dd5eb26058f7dde51190479c186dfe6af2e11202957c9 + languageName: node + linkType: hard + +"mdast-util-gfm-task-list-item@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-gfm-task-list-item@npm:2.0.0" + dependencies: + "@types/mdast": ^4.0.0 + devlop: ^1.0.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + checksum: 37db90c59b15330fc54d790404abf5ef9f2f83e8961c53666fe7de4aab8dd5e6b3c296b6be19797456711a89a27840291d8871ff0438e9b4e15c89d170efe072 + languageName: node + linkType: hard + +"mdast-util-gfm@npm:^3.0.0": + version: 3.0.0 + resolution: "mdast-util-gfm@npm:3.0.0" + dependencies: + mdast-util-from-markdown: ^2.0.0 + mdast-util-gfm-autolink-literal: ^2.0.0 + mdast-util-gfm-footnote: ^2.0.0 + mdast-util-gfm-strikethrough: ^2.0.0 + mdast-util-gfm-table: ^2.0.0 + mdast-util-gfm-task-list-item: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + checksum: 62039d2f682ae3821ea1c999454863d31faf94d67eb9b746589c7e136076d7fb35fabc67e02f025c7c26fd7919331a0ee1aabfae24f565d9a6a9ebab3371c626 + languageName: node + linkType: hard + +"mdast-util-mdx-expression@npm:^2.0.0": + version: 2.0.0 + resolution: "mdast-util-mdx-expression@npm:2.0.0" + dependencies: + "@types/estree-jsx": ^1.0.0 + "@types/hast": ^3.0.0 + "@types/mdast": ^4.0.0 + devlop: ^1.0.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + checksum: 4e1183000e183e07a7264e192889b4fd57372806103031c71b9318967f85fd50a5dd0f92ef14f42c331e77410808f5de3341d7bc8ad4ee91b7fa8f0a30043a8a + languageName: node + linkType: hard + +"mdast-util-mdx-jsx@npm:^3.0.0": + version: 3.1.2 + resolution: "mdast-util-mdx-jsx@npm:3.1.2" + dependencies: + "@types/estree-jsx": ^1.0.0 + "@types/hast": ^3.0.0 + "@types/mdast": ^4.0.0 + "@types/unist": ^3.0.0 + ccount: ^2.0.0 + devlop: ^1.1.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + parse-entities: ^4.0.0 + stringify-entities: ^4.0.0 + unist-util-remove-position: ^5.0.0 + unist-util-stringify-position: ^4.0.0 + vfile-message: ^4.0.0 + checksum: 33cb8a657702d5bb8d3f658d158f448c45147664cdb2475501a1c467e3a167d75842546296a06f758f07cce4d2a6ba1add405dbdb6caa145a6980c9782e411e2 + languageName: node + linkType: hard + +"mdast-util-mdxjs-esm@npm:^2.0.0": + version: 2.0.1 + resolution: "mdast-util-mdxjs-esm@npm:2.0.1" + dependencies: + "@types/estree-jsx": ^1.0.0 + "@types/hast": ^3.0.0 + "@types/mdast": ^4.0.0 + devlop: ^1.0.0 + mdast-util-from-markdown: ^2.0.0 + mdast-util-to-markdown: ^2.0.0 + checksum: 1f9dad04d31d59005332e9157ea9510dc1d03092aadbc607a10475c7eec1c158b475aa0601a3a4f74e13097ca735deb8c2d9d37928ddef25d3029fd7c9e14dc3 + languageName: node + linkType: hard + +"mdast-util-phrasing@npm:^4.0.0": + version: 4.1.0 + resolution: "mdast-util-phrasing@npm:4.1.0" + dependencies: + "@types/mdast": ^4.0.0 + unist-util-is: ^6.0.0 + checksum: 3a97533e8ad104a422f8bebb34b3dde4f17167b8ed3a721cf9263c7416bd3447d2364e6d012a594aada40cac9e949db28a060bb71a982231693609034ed5324e + languageName: node + linkType: hard + +"mdast-util-to-hast@npm:^13.0.0": + version: 13.1.0 + resolution: "mdast-util-to-hast@npm:13.1.0" + dependencies: + "@types/hast": ^3.0.0 + "@types/mdast": ^4.0.0 + "@ungap/structured-clone": ^1.0.0 + devlop: ^1.0.0 + micromark-util-sanitize-uri: ^2.0.0 trim-lines: ^3.0.0 - unist-util-generated: ^2.0.0 - unist-util-position: ^4.0.0 - unist-util-visit: ^4.0.0 - checksum: ea40c9f07dd0b731754434e81c913590c611b1fd753fa02550a1492aadfc30fb3adecaf62345ebb03cea2ddd250c15ab6e578fffde69c19955c9b87b10f2a9bb + unist-util-position: ^5.0.0 + unist-util-visit: ^5.0.0 + vfile: ^6.0.0 + checksum: 640bc897286af8fe760cd477fb04bbf544a5a897cdc2220ce36fe2f892f067b483334610387aeb969511bd78a2d841a54851079cd676ac513d6a5ff75852514e languageName: node linkType: hard -"mdast-util-to-string@npm:^3.1.0": - version: 3.2.0 - resolution: "mdast-util-to-string@npm:3.2.0" +"mdast-util-to-markdown@npm:^2.0.0": + version: 2.1.0 + resolution: "mdast-util-to-markdown@npm:2.1.0" + dependencies: + "@types/mdast": ^4.0.0 + "@types/unist": ^3.0.0 + longest-streak: ^3.0.0 + mdast-util-phrasing: ^4.0.0 + mdast-util-to-string: ^4.0.0 + micromark-util-decode-string: ^2.0.0 + unist-util-visit: ^5.0.0 + zwitch: ^2.0.0 + checksum: 3a2cf3957e23b34e2e092e6e76ae72ee0b8745955bd811baba6814cf3a3d916c3fd52264b4b58f3bb3d512a428f84a1e998b6fc7e28434e388a9ae8fb6a9c173 + languageName: node + linkType: hard + +"mdast-util-to-string@npm:^4.0.0": + version: 4.0.0 + resolution: "mdast-util-to-string@npm:4.0.0" dependencies: - "@types/mdast": ^3.0.0 - checksum: dc40b544d54339878ae2c9f2b3198c029e1e07291d2126bd00ca28272ee6616d0d2194eb1c9828a7c34d412a79a7e73b26512a734698d891c710a1e73db1e848 + "@types/mdast": ^4.0.0 + checksum: 35489fb5710d58cbc2d6c8b6547df161a3f81e0f28f320dfb3548a9393555daf07c310c0c497708e67ed4dfea4a06e5655799e7d631ca91420c288b4525d6c29 languageName: node linkType: hard @@ -16112,239 +16481,332 @@ __metadata: languageName: node linkType: hard -"micromark-core-commonmark@npm:^1.0.1": - version: 1.1.0 - resolution: "micromark-core-commonmark@npm:1.1.0" +"micromark-core-commonmark@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-core-commonmark@npm:2.0.1" dependencies: decode-named-character-reference: ^1.0.0 - micromark-factory-destination: ^1.0.0 - micromark-factory-label: ^1.0.0 - micromark-factory-space: ^1.0.0 - micromark-factory-title: ^1.0.0 - micromark-factory-whitespace: ^1.0.0 - micromark-util-character: ^1.0.0 - micromark-util-chunked: ^1.0.0 - micromark-util-classify-character: ^1.0.0 - micromark-util-html-tag-name: ^1.0.0 - micromark-util-normalize-identifier: ^1.0.0 - micromark-util-resolve-all: ^1.0.0 - micromark-util-subtokenize: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.1 - uvu: ^0.5.0 - checksum: c6dfedc95889cc73411cb222fc2330b9eda6d849c09c9fd9eb3cd3398af246167e9d3cdb0ae3ce9ae59dd34a14624c8330e380255d41279ad7350cf6c6be6c5b - languageName: node - linkType: hard - -"micromark-factory-destination@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-destination@npm:1.1.0" + devlop: ^1.0.0 + micromark-factory-destination: ^2.0.0 + micromark-factory-label: ^2.0.0 + micromark-factory-space: ^2.0.0 + micromark-factory-title: ^2.0.0 + micromark-factory-whitespace: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-chunked: ^2.0.0 + micromark-util-classify-character: ^2.0.0 + micromark-util-html-tag-name: ^2.0.0 + micromark-util-normalize-identifier: ^2.0.0 + micromark-util-resolve-all: ^2.0.0 + micromark-util-subtokenize: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 6a9891cc883a531e090dc8dab6669945f3df9448e84216a8f2a91f9258281e6abea5ae3940fde2bd77a57dc3e0d67f2add6762aed63a378f37b09eaf7e7426c4 + languageName: node + linkType: hard + +"micromark-extension-gfm-autolink-literal@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-gfm-autolink-literal@npm:2.0.0" dependencies: - micromark-util-character: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: 9e2b5fb5fedbf622b687e20d51eb3d56ae90c0e7ecc19b37bd5285ec392c1e56f6e21aa7cfcb3c01eda88df88fe528f3acb91a5f57d7f4cba310bc3cd7f824fa + micromark-util-character: ^2.0.0 + micromark-util-sanitize-uri: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: fa16d59528239262d6d04d539a052baf1f81275954ec8bfadea40d81bfc25667d5c8e68b225a5358626df5e30a3933173a67fdad2fed011d37810a10b770b0b2 languageName: node linkType: hard -"micromark-factory-label@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-label@npm:1.1.0" +"micromark-extension-gfm-footnote@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-gfm-footnote@npm:2.0.0" dependencies: - micromark-util-character: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - uvu: ^0.5.0 - checksum: fcda48f1287d9b148c562c627418a2ab759cdeae9c8e017910a0cba94bb759a96611e1fc6df33182e97d28fbf191475237298983bb89ef07d5b02464b1ad28d5 + devlop: ^1.0.0 + micromark-core-commonmark: ^2.0.0 + micromark-factory-space: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-normalize-identifier: ^2.0.0 + micromark-util-sanitize-uri: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: a426fddecfac6144fc622b845cd2dc09d46faa75be5b76ff022cb76a03301b1d4929a5e5e41e071491787936be65e03d0b03c7aebc0e0136b3cdbfadadd6632c languageName: node linkType: hard -"micromark-factory-space@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-space@npm:1.1.0" +"micromark-extension-gfm-strikethrough@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-gfm-strikethrough@npm:2.0.0" dependencies: - micromark-util-character: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: b58435076b998a7e244259a4694eb83c78915581206b6e7fc07b34c6abd36a1726ade63df8972fbf6c8fa38eecb9074f4e17be8d53f942e3b3d23d1a0ecaa941 + devlop: ^1.0.0 + micromark-util-chunked: ^2.0.0 + micromark-util-classify-character: ^2.0.0 + micromark-util-resolve-all: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 4e35fbbf364bfce08066b70acd94b9d393a8fd09a5afbe0bae70d0c8a174640b1ba86ab6b78ee38f411a813e2a718b07959216cf0063d823ba1c569a7694e5ad languageName: node linkType: hard -"micromark-factory-title@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-title@npm:1.1.0" +"micromark-extension-gfm-table@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-gfm-table@npm:2.0.0" dependencies: - micromark-factory-space: ^1.0.0 - micromark-util-character: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: 4432d3dbc828c81f483c5901b0c6591a85d65a9e33f7d96ba7c3ae821617a0b3237ff5faf53a9152d00aaf9afb3a9f185b205590f40ed754f1d9232e0e9157b1 + devlop: ^1.0.0 + micromark-factory-space: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 71484dcf8db7b189da0528f472cc81e4d6d1a64ae43bbe7fcb7e2e1dba758a0a4f785f9f1afb9459fe5b4a02bbe023d78c95c05204414a14083052eb8219e5eb languageName: node linkType: hard -"micromark-factory-whitespace@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-factory-whitespace@npm:1.1.0" +"micromark-extension-gfm-tagfilter@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-extension-gfm-tagfilter@npm:2.0.0" dependencies: - micromark-factory-space: ^1.0.0 - micromark-util-character: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: ef0fa682c7d593d85a514ee329809dee27d10bc2a2b65217d8ef81173e33b8e83c549049764b1ad851adfe0a204dec5450d9d20a4ca8598f6c94533a73f73fcd + micromark-util-types: ^2.0.0 + checksum: cf21552f4a63592bfd6c96ae5d64a5f22bda4e77814e3f0501bfe80e7a49378ad140f827007f36044666f176b3a0d5fea7c2e8e7973ce4b4579b77789f01ae95 languageName: node linkType: hard -"micromark-util-character@npm:^1.0.0": - version: 1.2.0 - resolution: "micromark-util-character@npm:1.2.0" +"micromark-extension-gfm-task-list-item@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-extension-gfm-task-list-item@npm:2.0.1" dependencies: - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: 089e79162a19b4a28731736246579ab7e9482ac93cd681c2bfca9983dcff659212ef158a66a5957e9d4b1dba957d1b87b565d85418a5b009f0294f1f07f2aaac + devlop: ^1.0.0 + micromark-factory-space: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 80e569ab1a1d1f89d86af91482e9629e24b7e3f019c9d7989190f36a9367c6de723b2af48e908c1b73479f35b2215d3d38c1fdbf02ab01eb2fc90a59d1cf4465 languageName: node linkType: hard -"micromark-util-chunked@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-chunked@npm:1.1.0" +"micromark-extension-gfm@npm:^3.0.0": + version: 3.0.0 + resolution: "micromark-extension-gfm@npm:3.0.0" dependencies: - micromark-util-symbol: ^1.0.0 - checksum: c435bde9110cb595e3c61b7f54c2dc28ee03e6a57fa0fc1e67e498ad8bac61ee5a7457a2b6a73022ddc585676ede4b912d28dcf57eb3bd6951e54015e14dc20b + micromark-extension-gfm-autolink-literal: ^2.0.0 + micromark-extension-gfm-footnote: ^2.0.0 + micromark-extension-gfm-strikethrough: ^2.0.0 + micromark-extension-gfm-table: ^2.0.0 + micromark-extension-gfm-tagfilter: ^2.0.0 + micromark-extension-gfm-task-list-item: ^2.0.0 + micromark-util-combine-extensions: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 2060fa62666a09532d6b3a272d413bc1b25bbb262f921d7402795ac021e1362c8913727e33d7528d5b4ccaf26922ec51208c43f795a702964817bc986de886c9 languageName: node linkType: hard -"micromark-util-classify-character@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-classify-character@npm:1.1.0" +"micromark-factory-destination@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-factory-destination@npm:2.0.0" dependencies: - micromark-util-character: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: 8499cb0bb1f7fb946f5896285fcca65cd742f66cd3e79ba7744792bd413ec46834f932a286de650349914d02e822946df3b55d03e6a8e1d245d1ddbd5102e5b0 + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: d36e65ed1c072ff4148b016783148ba7c68a078991154625723e24bda3945160268fb91079fb28618e1613c2b6e70390a8ddc544c45410288aa27b413593071a languageName: node linkType: hard -"micromark-util-combine-extensions@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-combine-extensions@npm:1.1.0" +"micromark-factory-label@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-factory-label@npm:2.0.0" dependencies: - micromark-util-chunked: ^1.0.0 - micromark-util-types: ^1.0.0 - checksum: ee78464f5d4b61ccb437850cd2d7da4d690b260bca4ca7a79c4bb70291b84f83988159e373b167181b6716cb197e309bc6e6c96a68cc3ba9d50c13652774aba9 + devlop: ^1.0.0 + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: c021dbd0ed367610d35f2bae21209bc804d1a6d1286ffce458fd6a717f4d7fe581a7cba7d5c2d7a63757c44eb927c80d6a571d6ea7969fae1b48ab6461d109c4 languageName: node linkType: hard -"micromark-util-decode-numeric-character-reference@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-decode-numeric-character-reference@npm:1.1.0" +"micromark-factory-space@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-factory-space@npm:2.0.0" dependencies: - micromark-util-symbol: ^1.0.0 - checksum: 4733fe75146e37611243f055fc6847137b66f0cde74d080e33bd26d0408c1d6f44cabc984063eee5968b133cb46855e729d555b9ff8d744652262b7b51feec73 + micromark-util-character: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 4ffdcdc2f759887bbb356500cb460b3915ecddcb5d85c3618d7df68ad05d13ed02b1153ee1845677b7d8126df8f388288b84fcf0d943bd9c92bcc71cd7222e37 languageName: node linkType: hard -"micromark-util-decode-string@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-decode-string@npm:1.1.0" +"micromark-factory-title@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-factory-title@npm:2.0.0" + dependencies: + micromark-factory-space: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 39e1ac23af3554e6e652e56065579bc7faf21ade7b8704b29c175871b4152b7109b790bb3cae0f7e088381139c6bac9553b8400772c3d322e4fa635f813a3578 + languageName: node + linkType: hard + +"micromark-factory-whitespace@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-factory-whitespace@npm:2.0.0" + dependencies: + micromark-factory-space: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 9587c2546d1a58b4d5472b42adf05463f6212d0449455285662d63cd8eaed89c6b159ac82713fcee5f9dd88628c24307d9533cccd8971a2f3f4d48702f8f850a + languageName: node + linkType: hard + +"micromark-util-character@npm:^2.0.0": + version: 2.1.0 + resolution: "micromark-util-character@npm:2.1.0" + dependencies: + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 36ee910f84077cf16626fa618cfe46ac25956b3242e3166b8e8e98c5a8c524af7e5bf3d70822264b1fd2d297a36104a7eb7e3462c19c28353eaca7b0d8717594 + languageName: node + linkType: hard + +"micromark-util-chunked@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-chunked@npm:2.0.0" + dependencies: + micromark-util-symbol: ^2.0.0 + checksum: 324f95cccdae061332a8241936eaba6ef0782a1e355bac5c607ad2564fd3744929be7dc81651315a2921535747a33243e6a5606bcb64b7a56d49b6d74ea1a3d4 + languageName: node + linkType: hard + +"micromark-util-classify-character@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-classify-character@npm:2.0.0" + dependencies: + micromark-util-character: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 086e52904deffebb793fb1c08c94aabb8901f76958142dfc3a6282890ebaa983b285e69bd602b9d507f1b758ed38e75a994d2ad9fbbefa7de2584f67a16af405 + languageName: node + linkType: hard + +"micromark-util-combine-extensions@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-combine-extensions@npm:2.0.0" + dependencies: + micromark-util-chunked: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 107c47700343f365b4ed81551e18bc3458b573c500e56ac052b2490bd548adc475216e41d2271633a8867fac66fc22ba3e0a2d74a31ed79b9870ca947eb4e3ba + languageName: node + linkType: hard + +"micromark-util-decode-numeric-character-reference@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-decode-numeric-character-reference@npm:2.0.1" + dependencies: + micromark-util-symbol: ^2.0.0 + checksum: 9512507722efd2033a9f08715eeef787fbfe27e23edf55db21423d46d82ab46f76c89b4f960be3f5e50a2d388d89658afc0647989cf256d051e9ea01277a1adb + languageName: node + linkType: hard + +"micromark-util-decode-string@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-decode-string@npm:2.0.0" dependencies: decode-named-character-reference: ^1.0.0 - micromark-util-character: ^1.0.0 - micromark-util-decode-numeric-character-reference: ^1.0.0 - micromark-util-symbol: ^1.0.0 - checksum: f1625155db452f15aa472918499689ba086b9c49d1322a08b22bfbcabe918c61b230a3002c8bc3ea9b1f52ca7a9bb1c3dd43ccb548c7f5f8b16c24a1ae77a813 + micromark-util-character: ^2.0.0 + micromark-util-decode-numeric-character-reference: ^2.0.0 + micromark-util-symbol: ^2.0.0 + checksum: a75daf32a4a6b549e9f19b4d833ebfeb09a32a9a1f9ce50f35dec6b6a3e4f9f121f49024ba7f9c91c55ebe792f7c7a332fc9604795181b6a612637df0df5b959 languageName: node linkType: hard -"micromark-util-encode@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-encode@npm:1.1.0" - checksum: 4ef29d02b12336918cea6782fa87c8c578c67463925221d4e42183a706bde07f4b8b5f9a5e1c7ce8c73bb5a98b261acd3238fecd152e6dd1cdfa2d1ae11b60a0 +"micromark-util-encode@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-encode@npm:2.0.0" + checksum: 853a3f33fce72aaf4ffa60b7f2b6fcfca40b270b3466e1b96561b02185d2bd8c01dd7948bc31a24ac014f4cc854e545ca9a8e9cf7ea46262f9d24c9e88551c66 languageName: node linkType: hard -"micromark-util-html-tag-name@npm:^1.0.0": - version: 1.2.0 - resolution: "micromark-util-html-tag-name@npm:1.2.0" - checksum: ccf0fa99b5c58676dc5192c74665a3bfd1b536fafaf94723bd7f31f96979d589992df6fcf2862eba290ef18e6a8efb30ec8e1e910d9f3fc74f208871e9f84750 +"micromark-util-html-tag-name@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-html-tag-name@npm:2.0.0" + checksum: d786d4486f93eb0ac5b628779809ca97c5dc60f3c9fc03eb565809831db181cf8cb7f05f9ac76852f3eb35461af0f89fa407b46f3a03f4f97a96754d8dc540d8 languageName: node linkType: hard -"micromark-util-normalize-identifier@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-normalize-identifier@npm:1.1.0" +"micromark-util-normalize-identifier@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-normalize-identifier@npm:2.0.0" dependencies: - micromark-util-symbol: ^1.0.0 - checksum: 8655bea41ffa4333e03fc22462cb42d631bbef9c3c07b625fd852b7eb442a110f9d2e5902a42e65188d85498279569502bf92f3434a1180fc06f7c37edfbaee2 + micromark-util-symbol: ^2.0.0 + checksum: b36da2d3fd102053dadd953ce5c558328df12a63a8ac0e5aad13d4dda8e43b6a5d4a661baafe0a1cd8a260bead4b4a8e6e0e74193dd651e8484225bd4f4e68aa languageName: node linkType: hard -"micromark-util-resolve-all@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-resolve-all@npm:1.1.0" +"micromark-util-resolve-all@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-resolve-all@npm:2.0.0" dependencies: - micromark-util-types: ^1.0.0 - checksum: 1ce6c0237cd3ca061e76fae6602cf95014e764a91be1b9f10d36cb0f21ca88f9a07de8d49ab8101efd0b140a4fbfda6a1efb72027ab3f4d5b54c9543271dc52c + micromark-util-types: ^2.0.0 + checksum: 31fe703b85572cb3f598ebe32750e59516925c7ff1f66cfe6afaebe0771a395a9eaa770787f2523d3c46082ea80e6c14f83643303740b3d650af7c96ebd30ccc languageName: node linkType: hard -"micromark-util-sanitize-uri@npm:^1.0.0, micromark-util-sanitize-uri@npm:^1.1.0": - version: 1.2.0 - resolution: "micromark-util-sanitize-uri@npm:1.2.0" +"micromark-util-sanitize-uri@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-sanitize-uri@npm:2.0.0" dependencies: - micromark-util-character: ^1.0.0 - micromark-util-encode: ^1.0.0 - micromark-util-symbol: ^1.0.0 - checksum: 6663f365c4fe3961d622a580f4a61e34867450697f6806f027f21cf63c92989494895fcebe2345d52e249fe58a35be56e223a9776d084c9287818b40c779acc1 + micromark-util-character: ^2.0.0 + micromark-util-encode: ^2.0.0 + micromark-util-symbol: ^2.0.0 + checksum: ea4c28bbffcf2430e9aff2d18554296789a8b0a1f54ac24020d1dde76624a7f93e8f2a83e88cd5a846b6d2c4287b71b1142d1b89fa7f1b0363a9b33711a141fe languageName: node linkType: hard -"micromark-util-subtokenize@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-subtokenize@npm:1.1.0" +"micromark-util-subtokenize@npm:^2.0.0": + version: 2.0.1 + resolution: "micromark-util-subtokenize@npm:2.0.1" dependencies: - micromark-util-chunked: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.0 - uvu: ^0.5.0 - checksum: 4a9d780c4d62910e196ea4fd886dc4079d8e424e5d625c0820016da0ed399a281daff39c50f9288045cc4bcd90ab47647e5396aba500f0853105d70dc8b1fc45 + devlop: ^1.0.0 + micromark-util-chunked: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: 5d338883ad8889c63f9b262b9cae0c02a42088201981d820ae7af7aa6d38fab6585b89fd4cf2206a46a7c4002e41ee6c70e1a3e0ceb3ad8b7adcffaf166b1511 languageName: node linkType: hard -"micromark-util-symbol@npm:^1.0.0": - version: 1.1.0 - resolution: "micromark-util-symbol@npm:1.1.0" - checksum: 02414a753b79f67ff3276b517eeac87913aea6c028f3e668a19ea0fc09d98aea9f93d6222a76ca783d20299af9e4b8e7c797fe516b766185dcc6e93290f11f88 +"micromark-util-symbol@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-symbol@npm:2.0.0" + checksum: fa4a05bff575d9fbf0ad96a1013003e3bb6087ed6b34b609a141b6c0d2137b57df594aca409a95f4c5fda199f227b56a7d8b1f82cea0768df161d8a3a3660764 languageName: node linkType: hard -"micromark-util-types@npm:^1.0.0, micromark-util-types@npm:^1.0.1": - version: 1.1.0 - resolution: "micromark-util-types@npm:1.1.0" - checksum: b0ef2b4b9589f15aec2666690477a6a185536927ceb7aa55a0f46475852e012d75a1ab945187e5c7841969a842892164b15d58ff8316b8e0d6cc920cabd5ede7 +"micromark-util-types@npm:^2.0.0": + version: 2.0.0 + resolution: "micromark-util-types@npm:2.0.0" + checksum: 819fef3ab5770c37893d2a60381fb2694396c8d22803b6e103c830c3a1bc1490363c2b0470bb2acaaddad776dfbc2fc1fcfde39cb63c4f54d95121611672e3d0 languageName: node linkType: hard -"micromark@npm:^3.0.0": - version: 3.2.0 - resolution: "micromark@npm:3.2.0" +"micromark@npm:^4.0.0": + version: 4.0.0 + resolution: "micromark@npm:4.0.0" dependencies: "@types/debug": ^4.0.0 debug: ^4.0.0 decode-named-character-reference: ^1.0.0 - micromark-core-commonmark: ^1.0.1 - micromark-factory-space: ^1.0.0 - micromark-util-character: ^1.0.0 - micromark-util-chunked: ^1.0.0 - micromark-util-combine-extensions: ^1.0.0 - micromark-util-decode-numeric-character-reference: ^1.0.0 - micromark-util-encode: ^1.0.0 - micromark-util-normalize-identifier: ^1.0.0 - micromark-util-resolve-all: ^1.0.0 - micromark-util-sanitize-uri: ^1.0.0 - micromark-util-subtokenize: ^1.0.0 - micromark-util-symbol: ^1.0.0 - micromark-util-types: ^1.0.1 - uvu: ^0.5.0 - checksum: 56c15851ad3eb8301aede65603473443e50c92a54849cac1dadd57e4ec33ab03a0a77f3df03de47133e6e8f695dae83b759b514586193269e98c0bf319ecd5e4 + devlop: ^1.0.0 + micromark-core-commonmark: ^2.0.0 + micromark-factory-space: ^2.0.0 + micromark-util-character: ^2.0.0 + micromark-util-chunked: ^2.0.0 + micromark-util-combine-extensions: ^2.0.0 + micromark-util-decode-numeric-character-reference: ^2.0.0 + micromark-util-encode: ^2.0.0 + micromark-util-normalize-identifier: ^2.0.0 + micromark-util-resolve-all: ^2.0.0 + micromark-util-sanitize-uri: ^2.0.0 + micromark-util-subtokenize: ^2.0.0 + micromark-util-symbol: ^2.0.0 + micromark-util-types: ^2.0.0 + checksum: b84ab5ab1a0b28c063c52e9c2c9d7d44b954507235c10c9492d66e0b38f7de24bf298f914a1fbdf109f2a57a88cf0412de217c84cfac5fd60e3e42a74dbac085 languageName: node linkType: hard @@ -16687,13 +17149,6 @@ __metadata: languageName: node linkType: hard -"mri@npm:^1.1.0": - version: 1.2.0 - resolution: "mri@npm:1.2.0" - checksum: 83f515abbcff60150873e424894a2f65d68037e5a7fcde8a9e2b285ee9c13ac581b63cfc1e6826c4732de3aeb84902f7c1e16b7aff46cd3f897a0f757a894e85 - languageName: node - linkType: hard - "ms@npm:2.0.0": version: 2.0.0 resolution: "ms@npm:2.0.0" @@ -17738,6 +18193,22 @@ __metadata: languageName: node linkType: hard +"parse-entities@npm:^4.0.0": + version: 4.0.1 + resolution: "parse-entities@npm:4.0.1" + dependencies: + "@types/unist": ^2.0.0 + character-entities: ^2.0.0 + character-entities-legacy: ^3.0.0 + character-reference-invalid: ^2.0.0 + decode-named-character-reference: ^1.0.0 + is-alphanumerical: ^2.0.0 + is-decimal: ^2.0.0 + is-hexadecimal: ^2.0.0 + checksum: 32a6ff5b9acb9d2c4d71537308521fd265e685b9215691df73feedd9edfe041bb6da9f89bd0c35c4a2bc7d58e3e76e399bb6078c2fd7d2a343ff1dd46edbf1bd + languageName: node + linkType: hard + "parse-filepath@npm:^1.0.1": version: 1.0.2 resolution: "parse-filepath@npm:1.0.2" @@ -18529,7 +19000,7 @@ __metadata: languageName: node linkType: hard -"prop-types@npm:^15.0.0, prop-types@npm:^15.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": +"prop-types@npm:^15.6.0, prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1": version: 15.8.1 resolution: "prop-types@npm:15.8.1" dependencies: @@ -18902,29 +19373,24 @@ __metadata: languageName: node linkType: hard -"react-markdown@npm:8.0.7": - version: 8.0.7 - resolution: "react-markdown@npm:8.0.7" +"react-markdown@npm:^9.0.1": + version: 9.0.1 + resolution: "react-markdown@npm:9.0.1" dependencies: - "@types/hast": ^2.0.0 - "@types/prop-types": ^15.0.0 - "@types/unist": ^2.0.0 - comma-separated-tokens: ^2.0.0 - hast-util-whitespace: ^2.0.0 - prop-types: ^15.0.0 - property-information: ^6.0.0 - react-is: ^18.0.0 - remark-parse: ^10.0.0 - remark-rehype: ^10.0.0 - space-separated-tokens: ^2.0.0 - style-to-object: ^0.4.0 - unified: ^10.0.0 - unist-util-visit: ^4.0.0 - vfile: ^5.0.0 + "@types/hast": ^3.0.0 + devlop: ^1.0.0 + hast-util-to-jsx-runtime: ^2.0.0 + html-url-attributes: ^3.0.0 + mdast-util-to-hast: ^13.0.0 + remark-parse: ^11.0.0 + remark-rehype: ^11.0.0 + unified: ^11.0.0 + unist-util-visit: ^5.0.0 + vfile: ^6.0.0 peerDependencies: - "@types/react": ">=16" - react: ">=16" - checksum: 0f3e570975134a3382c3fe5189e04e742ae154941463bdfaab2293319da1f1585cb9b75b6f07d99f514c4d728d69cc1af3c96ab37df90003b3bcc210dd0001ba + "@types/react": ">=18" + react: ">=18" + checksum: ca1daa650d48b84a5a9771683cdb3f3d2d418247ce0faf73ede3207c65f2a21cdebb9df37afda67f6fc8f0f0a7b9ce00eb239781954a4d6c7ad88ea4df068add languageName: node linkType: hard @@ -19404,6 +19870,17 @@ __metadata: languageName: node linkType: hard +"rehype-raw@npm:^7.0.0": + version: 7.0.0 + resolution: "rehype-raw@npm:7.0.0" + dependencies: + "@types/hast": ^3.0.0 + hast-util-raw: ^9.0.0 + vfile: ^6.0.0 + checksum: f9e28dcbf4c6c7d91a97c10a840310f18ef3268aa45abb3e0428b6b191ff3c4fa8f753b910d768588a2dac5c7da7e557b4ddc3f1b6cd252e8d20cb62d60c65ed + languageName: node + linkType: hard + "relateurl@npm:^0.2.7": version: 0.2.7 resolution: "relateurl@npm:0.2.7" @@ -19411,26 +19888,64 @@ __metadata: languageName: node linkType: hard -"remark-parse@npm:^10.0.0": - version: 10.0.2 - resolution: "remark-parse@npm:10.0.2" +"remark-gfm@npm:^4.0.0": + version: 4.0.0 + resolution: "remark-gfm@npm:4.0.0" dependencies: - "@types/mdast": ^3.0.0 - mdast-util-from-markdown: ^1.0.0 - unified: ^10.0.0 - checksum: 5041b4b44725f377e69986e02f8f072ae2222db5e7d3b6c80829756b842e811343ffc2069cae1f958a96bfa36104ab91a57d7d7e2f0cef521e210ab8c614d5c7 + "@types/mdast": ^4.0.0 + mdast-util-gfm: ^3.0.0 + micromark-extension-gfm: ^3.0.0 + remark-parse: ^11.0.0 + remark-stringify: ^11.0.0 + unified: ^11.0.0 + checksum: 84bea84e388061fbbb697b4b666089f5c328aa04d19dc544c229b607446bc10902e46b67b9594415a1017bbbd7c811c1f0c30d36682c6d1a6718b66a1558261b languageName: node linkType: hard -"remark-rehype@npm:^10.0.0": - version: 10.1.0 - resolution: "remark-rehype@npm:10.1.0" +"remark-parse@npm:^11.0.0": + version: 11.0.0 + resolution: "remark-parse@npm:11.0.0" dependencies: - "@types/hast": ^2.0.0 - "@types/mdast": ^3.0.0 - mdast-util-to-hast: ^12.1.0 - unified: ^10.0.0 - checksum: b9ac8acff3383b204dfdc2599d0bdf86e6ca7e837033209584af2e6aaa6a9013e519a379afa3201299798cab7298c8f4b388de118c312c67234c133318aec084 + "@types/mdast": ^4.0.0 + mdast-util-from-markdown: ^2.0.0 + micromark-util-types: ^2.0.0 + unified: ^11.0.0 + checksum: d83d245290fa84bb04fb3e78111f09c74f7417e7c012a64dd8dc04fccc3699036d828fbd8eeec8944f774b6c30cc1d925c98f8c46495ebcee7c595496342ab7f + languageName: node + linkType: hard + +"remark-rehype@npm:^11.0.0": + version: 11.1.0 + resolution: "remark-rehype@npm:11.1.0" + dependencies: + "@types/hast": ^3.0.0 + "@types/mdast": ^4.0.0 + mdast-util-to-hast: ^13.0.0 + unified: ^11.0.0 + vfile: ^6.0.0 + checksum: f0c731f0ab92a122e7f9c9bcbd10d6a31fdb99f0ea3595d232ddd9f9d11a308c4ec0aff4d56e1d0d256042dfad7df23b9941e50b5038da29786959a5926814e1 + languageName: node + linkType: hard + +"remark-stringify@npm:^11.0.0": + version: 11.0.0 + resolution: "remark-stringify@npm:11.0.0" + dependencies: + "@types/mdast": ^4.0.0 + mdast-util-to-markdown: ^2.0.0 + unified: ^11.0.0 + checksum: 59e07460eb629d6c3b3c0f438b0b236e7e6858fd5ab770303078f5a556ec00354d9c7fb9ef6d5f745a4617ac7da1ab618b170fbb4dac120e183fecd9cc86bce6 + languageName: node + linkType: hard + +"remark-unwrap-images@npm:^4.0.0": + version: 4.0.0 + resolution: "remark-unwrap-images@npm:4.0.0" + dependencies: + "@types/mdast": ^4.0.0 + hast-util-whitespace: ^3.0.0 + unist-util-visit: ^5.0.0 + checksum: 2418ab94b5ce148367e59494c4e66c05426ecf4bdfe92a53a1a33489e4fc9eedff17f56ae2abc6e89ce70519576099ae0f3a04c942f3e56cd5a0981162ec268f languageName: node linkType: hard @@ -19834,15 +20349,6 @@ __metadata: languageName: node linkType: hard -"sade@npm:^1.7.3": - version: 1.8.1 - resolution: "sade@npm:1.8.1" - dependencies: - mri: ^1.1.0 - checksum: 0756e5b04c51ccdc8221ebffd1548d0ce5a783a44a0fa9017a026659b97d632913e78f7dca59f2496aa996a0be0b0c322afd87ca72ccd909406f49dbffa0f45d - languageName: node - linkType: hard - "safe-array-concat@npm:^1.0.1": version: 1.0.1 resolution: "safe-array-concat@npm:1.0.1" @@ -20847,6 +21353,16 @@ __metadata: languageName: node linkType: hard +"stringify-entities@npm:^4.0.0": + version: 4.0.4 + resolution: "stringify-entities@npm:4.0.4" + dependencies: + character-entities-html4: ^2.0.0 + character-entities-legacy: ^3.0.0 + checksum: ac1344ef211eacf6cf0a0a8feaf96f9c36083835b406560d2c6ff5a87406a41b13f2f0b4c570a3b391f465121c4fd6822b863ffb197e8c0601a64097862cc5b5 + languageName: node + linkType: hard + "strip-ansi-cjs@npm:strip-ansi@^6.0.1, strip-ansi@npm:^6.0.0, strip-ansi@npm:^6.0.1": version: 6.0.1 resolution: "strip-ansi@npm:6.0.1" @@ -20950,12 +21466,12 @@ __metadata: languageName: node linkType: hard -"style-to-object@npm:^0.4.0": - version: 0.4.4 - resolution: "style-to-object@npm:0.4.4" +"style-to-object@npm:^1.0.0": + version: 1.0.6 + resolution: "style-to-object@npm:1.0.6" dependencies: - inline-style-parser: 0.1.1 - checksum: 41656c06f93ac0a7ac260ebc2f9d09a8bd74b8ec1836f358cc58e169235835a3a356977891d2ebbd76f0e08a53616929069199f9cce543214d3dc98346e19c9a + inline-style-parser: 0.2.3 + checksum: 5b58295dcc2c21f1da1b9308de1e81b4a987b876a177e677453a76b2e3151a0e21afc630e99c1ea6c82dd8dbec0d01a8b1a51a829422aca055162b03e52572a9 languageName: node linkType: hard @@ -21800,18 +22316,18 @@ __metadata: languageName: node linkType: hard -"unified@npm:^10.0.0": - version: 10.1.2 - resolution: "unified@npm:10.1.2" +"unified@npm:^11.0.0": + version: 11.0.4 + resolution: "unified@npm:11.0.4" dependencies: - "@types/unist": ^2.0.0 + "@types/unist": ^3.0.0 bail: ^2.0.0 + devlop: ^1.0.0 extend: ^3.0.0 - is-buffer: ^2.0.0 is-plain-obj: ^4.0.0 trough: ^2.0.0 - vfile: ^5.0.0 - checksum: 053e7c65ede644607f87bd625a299e4b709869d2f76ec8138569e6e886903b6988b21cd9699e471eda42bee189527be0a9dac05936f1d069a5e65d0125d5d756 + vfile: ^6.0.0 + checksum: cfb023913480ac2bd5e787ffb8c27782c43e6be4a55f8f1c288233fce46a7ebe7718ccc5adb80bf8d56b7ef85f5fc32239c7bfccda006f9f2382e0cc2e2a77e4 languageName: node linkType: hard @@ -21854,58 +22370,61 @@ __metadata: languageName: node linkType: hard -"unist-util-generated@npm:^2.0.0": - version: 2.0.1 - resolution: "unist-util-generated@npm:2.0.1" - checksum: 6221ad0571dcc9c8964d6b054f39ef6571ed59cc0ce3e88ae97ea1c70afe76b46412a5ffaa91f96814644ac8477e23fb1b477d71f8d70e625728c5258f5c0d99 +"unist-util-is@npm:^6.0.0": + version: 6.0.0 + resolution: "unist-util-is@npm:6.0.0" + dependencies: + "@types/unist": ^3.0.0 + checksum: f630a925126594af9993b091cf807b86811371e465b5049a6283e08537d3e6ba0f7e248e1e7dab52cfe33f9002606acef093441137181b327f6fe504884b20e2 languageName: node linkType: hard -"unist-util-is@npm:^5.0.0": - version: 5.2.1 - resolution: "unist-util-is@npm:5.2.1" +"unist-util-position@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-position@npm:5.0.0" dependencies: - "@types/unist": ^2.0.0 - checksum: ae76fdc3d35352cd92f1bedc3a0d407c3b9c42599a52ab9141fe89bdd786b51f0ec5a2ab68b93fb532e239457cae62f7e39eaa80229e1cb94875da2eafcbe5c4 + "@types/unist": ^3.0.0 + checksum: f89b27989b19f07878de9579cd8db2aa0194c8360db69e2c99bd2124a480d79c08f04b73a64daf01a8fb3af7cba65ff4b45a0b978ca243226084ad5f5d441dde languageName: node linkType: hard -"unist-util-position@npm:^4.0.0": - version: 4.0.4 - resolution: "unist-util-position@npm:4.0.4" +"unist-util-remove-position@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-remove-position@npm:5.0.0" dependencies: - "@types/unist": ^2.0.0 - checksum: e7487b6cec9365299695e3379ded270a1717074fa11fd2407c9b934fb08db6fe1d9077ddeaf877ecf1813665f8ccded5171693d3d9a7a01a125ec5cdd5e88691 + "@types/unist": ^3.0.0 + unist-util-visit: ^5.0.0 + checksum: 8aabdb9d0e3e744141bc123d8f87b90835d521209ad3c6c4619d403b324537152f0b8f20dda839b40c3aa0abfbf1828b3635a7a8bb159c3ed469e743023510ee languageName: node linkType: hard -"unist-util-stringify-position@npm:^3.0.0": - version: 3.0.3 - resolution: "unist-util-stringify-position@npm:3.0.3" +"unist-util-stringify-position@npm:^4.0.0": + version: 4.0.0 + resolution: "unist-util-stringify-position@npm:4.0.0" dependencies: - "@types/unist": ^2.0.0 - checksum: dbd66c15183607ca942a2b1b7a9f6a5996f91c0d30cf8966fb88955a02349d9eefd3974e9010ee67e71175d784c5a9fea915b0aa0b0df99dcb921b95c4c9e124 + "@types/unist": ^3.0.0 + checksum: e2e7aee4b92ddb64d314b4ac89eef7a46e4c829cbd3ee4aee516d100772b490eb6b4974f653ba0717a0071ca6ea0770bf22b0a2ea62c65fcba1d071285e96324 languageName: node linkType: hard -"unist-util-visit-parents@npm:^5.1.1": - version: 5.1.3 - resolution: "unist-util-visit-parents@npm:5.1.3" +"unist-util-visit-parents@npm:^6.0.0": + version: 6.0.1 + resolution: "unist-util-visit-parents@npm:6.0.1" dependencies: - "@types/unist": ^2.0.0 - unist-util-is: ^5.0.0 - checksum: 8ecada5978994f846b64658cf13b4092cd78dea39e1ba2f5090a5de842ba4852712c02351a8ae95250c64f864635e7b02aedf3b4a093552bb30cf1bd160efbaa + "@types/unist": ^3.0.0 + unist-util-is: ^6.0.0 + checksum: 08927647c579f63b91aafcbec9966dc4a7d0af1e5e26fc69f4e3e6a01215084835a2321b06f3cbe7bf7914a852830fc1439f0fc3d7153d8804ac3ef851ddfa20 languageName: node linkType: hard -"unist-util-visit@npm:^4.0.0": - version: 4.1.2 - resolution: "unist-util-visit@npm:4.1.2" +"unist-util-visit@npm:^5.0.0": + version: 5.0.0 + resolution: "unist-util-visit@npm:5.0.0" dependencies: - "@types/unist": ^2.0.0 - unist-util-is: ^5.0.0 - unist-util-visit-parents: ^5.1.1 - checksum: 95a34e3f7b5b2d4b68fd722b6229972099eb97b6df18913eda44a5c11df8b1e27efe7206dd7b88c4ed244a48c474a5b2e2629ab79558ff9eb936840295549cee + "@types/unist": ^3.0.0 + unist-util-is: ^6.0.0 + unist-util-visit-parents: ^6.0.0 + checksum: 9ec42e618e7e5d0202f3c191cd30791b51641285732767ee2e6bcd035931032e3c1b29093f4d7fd0c79175bbc1f26f24f26ee49770d32be76f8730a652a857e6 languageName: node linkType: hard @@ -22115,20 +22634,6 @@ __metadata: languageName: node linkType: hard -"uvu@npm:^0.5.0": - version: 0.5.6 - resolution: "uvu@npm:0.5.6" - dependencies: - dequal: ^2.0.0 - diff: ^5.0.0 - kleur: ^4.0.3 - sade: ^1.7.3 - bin: - uvu: bin.js - checksum: 09460a37975627de9fcad396e5078fb844d01aaf64a6399ebfcfd9e55f1c2037539b47611e8631f89be07656962af0cf48c334993db82b9ae9c3d25ce3862168 - languageName: node - linkType: hard - "v8flags@npm:^2.0.10": version: 2.1.1 resolution: "v8flags@npm:2.1.1" @@ -22159,25 +22664,34 @@ __metadata: languageName: node linkType: hard -"vfile-message@npm:^3.0.0": - version: 3.1.4 - resolution: "vfile-message@npm:3.1.4" +"vfile-location@npm:^5.0.0": + version: 5.0.2 + resolution: "vfile-location@npm:5.0.2" dependencies: - "@types/unist": ^2.0.0 - unist-util-stringify-position: ^3.0.0 - checksum: d0ee7da1973ad76513c274e7912adbed4d08d180eaa34e6bd40bc82459f4b7bc50fcaff41556135e3339995575eac5f6f709aba9332b80f775618ea4880a1367 + "@types/unist": ^3.0.0 + vfile: ^6.0.0 + checksum: b61c048cedad3555b4f007f390412c6503f58a6a130b58badf4ee340c87e0d7421e9c86bbc1494c57dedfccadb60f5176cc60ba3098209d99fb3a3d8804e4c38 languageName: node linkType: hard -"vfile@npm:^5.0.0": - version: 5.3.7 - resolution: "vfile@npm:5.3.7" +"vfile-message@npm:^4.0.0": + version: 4.0.2 + resolution: "vfile-message@npm:4.0.2" dependencies: - "@types/unist": ^2.0.0 - is-buffer: ^2.0.0 - unist-util-stringify-position: ^3.0.0 - vfile-message: ^3.0.0 - checksum: 642cce703afc186dbe7cabf698dc954c70146e853491086f5da39e1ce850676fc96b169fcf7898aa3ff245e9313aeec40da93acd1e1fcc0c146dc4f6308b4ef9 + "@types/unist": ^3.0.0 + unist-util-stringify-position: ^4.0.0 + checksum: 964e7e119f4c0e0270fc269119c41c96da20afa01acb7c9809a88365c8e0c64aa692fafbd952669382b978002ecd7ad31ef4446d85e8a22cdb62f6df20186c2d + languageName: node + linkType: hard + +"vfile@npm:^6.0.0": + version: 6.0.1 + resolution: "vfile@npm:6.0.1" + dependencies: + "@types/unist": ^3.0.0 + unist-util-stringify-position: ^4.0.0 + vfile-message: ^4.0.0 + checksum: 05ccee73aeb00402bc8a5d0708af299e9f4a33f5132805449099295085e3ca3b0d018328bad9ff44cf2e6f4cd364f1d558d3fb9b394243a25b2739207edcb0ed languageName: node linkType: hard @@ -22227,6 +22741,13 @@ __metadata: languageName: node linkType: hard +"web-namespaces@npm:^2.0.0": + version: 2.0.1 + resolution: "web-namespaces@npm:2.0.1" + checksum: b6d9f02f1a43d0ef0848a812d89c83801d5bbad57d8bb61f02eb6d7eb794c3736f6cc2e1191664bb26136594c8218ac609f4069722c6f56d9fc2d808fa9271c6 + languageName: node + linkType: hard + "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" @@ -22805,3 +23326,10 @@ __metadata: checksum: 80bfd7f8039b24fddeb0718a2ec7c02aa9856e4838d6aa4864335a047b6b37a3273b191ef335bf0b2002e5c514ef261ffcda5a589fb084a48c336ffc4cdbab7f languageName: node linkType: hard + +"zwitch@npm:^2.0.0": + version: 2.0.4 + resolution: "zwitch@npm:2.0.4" + checksum: f22ec5fc2d5f02c423c93d35cdfa83573a3a3bd98c66b927c368ea4d0e7252a500df2a90a6b45522be536a96a73404393c958e945fdba95e6832c200791702b6 + languageName: node + linkType: hard