diff --git a/client/src/app/api/preview/route.ts b/client/src/app/api/preview/route.ts new file mode 100644 index 0000000..ef0f0c0 --- /dev/null +++ b/client/src/app/api/preview/route.ts @@ -0,0 +1,37 @@ +// route handler with secret and slug +import { draftMode } from 'next/headers'; +import { redirect } from 'next/navigation'; + +import env from '@/env.mjs'; + +import { getStoriesId } from '@/types/generated/story'; + +export async function GET(request: Request) { + // Parse query string parameters + const { searchParams } = new URL(request.url); + const secret = searchParams.get('secret'); + const slug = searchParams.get('slug'); + + // Check the secret and next parameters + // This secret should only be known to this route handler and the CMS + if (secret !== env.NEXT_PUBLIC_PREVIEW_SECRET || !slug) { + return new Response('Invalid token', { status: 401 }); + } + + // Fetch the headless CMS to check if the provided `slug` exists + // getPostBySlug would implement the required fetching logic to the headless CMS + + const story = await getStoriesId(+slug); + + // If the slug doesn't exist prevent draft mode from being enabled + if (!story) { + return new Response('Invalid slug', { status: 401 }); + } + + // Enable Draft Mode by setting the cookie + draftMode().enable(); + + // Redirect to the path from the fetched story + // We don't redirect to searchParams.slug as that might lead to open redirect vulnerabilities + redirect(`${env.NEXT_PUBLIC_URL}/stories/${slug}`); +} diff --git a/client/src/containers/map/markers/story-markers/index.tsx b/client/src/containers/map/markers/story-markers/index.tsx index e40c807..75a2c01 100644 --- a/client/src/containers/map/markers/story-markers/index.tsx +++ b/client/src/containers/map/markers/story-markers/index.tsx @@ -11,6 +11,7 @@ import { stepAtom } from '@/store/stories'; import { useGetStoriesId } from '@/types/generated/story'; import StoryMarkerMedia from './marker'; +import { StoryStepMap } from '@/types/story'; // import Carousel from './carousel'; // import { Dialog, DialogContent } from '@/components/ui/dialog'; @@ -33,12 +34,9 @@ const StoryMarkers = () => { populate: 'deep', }); // const [currentMedia, setCurrentMedia] = useState(); - const markers: StoryMarker[] = useMemo(() => { - return ( - storyData?.data?.attributes?.steps?.data?.[step]?.attributes?.layout[0].map?.markers || [] - ); - }, [step, storyData?.data?.attributes?.steps?.data]); + return (storyData?.data?.attributes?.steps?.[step]?.map as StoryStepMap)?.markers || []; + }, [step, storyData?.data?.attributes?.steps]); // const medias = useMemo(() => { // return markers?.map((marker) => ({ diff --git a/client/src/containers/story/index.tsx b/client/src/containers/story/index.tsx index 04cf93e..995fb46 100644 --- a/client/src/containers/story/index.tsx +++ b/client/src/containers/story/index.tsx @@ -15,28 +15,13 @@ import { layersAtom, tmpBboxAtom } from '@/store'; import { stepAtom } from '@/store/stories'; import { useGetStoriesId } from '@/types/generated/story'; -import { Bbox } from '@/types/map'; import { Button } from '@/components/ui/button'; import Step from './steps'; import { ScrollItemController } from './steps/controller/controller-item'; import { ScrollItem } from './steps/controller/scroll-item'; - -type StepLocation = { - bbox: Bbox; - zoom: number; - pitch: number; - bearing: number; - padding: { - top: number; - left: number; - right: number; - bottom: number; - }; - latitude: number; - longitude: number; -}; +import { isMapNotEmpty } from './utils'; const headerButtonClassName = 'rounded-4xl h-auto border-gray-800 bg-[hsl(198,100%,14%)]/75 px-5 py-2.5 hover:bg-gray-800'; @@ -54,7 +39,7 @@ const Story = () => { }); const story = useMemo(() => storyData?.data?.attributes, [storyData]); - const steps = useMemo(() => story?.steps?.data || [], [story]); + const steps = useMemo(() => story?.steps || [], [story]); const handleGoHome = () => { resetLayers(); @@ -63,23 +48,28 @@ const Story = () => { useEffect(() => { if (!steps) return; - const stepLayout = steps[step]?.attributes?.layout?.[0]; + const currStep = steps[step]; - // Location - const stepLocation = stepLayout?.map?.location; + if (!currStep || !isMapNotEmpty(currStep.map)) { + return; + } + + // Bbox + const stepLocation = currStep?.map.location; if (stepLocation) { - const { bbox, ...options } = stepLocation as StepLocation; + const { bbox, ...options } = stepLocation; setTmpBbox({ bbox, options, }); } + // Layers - const stepLayers = stepLayout?.layers; + const stepLayers = currStep.layers; if (stepLayers) { const _layers: number[] = stepLayers.data?.reduce( - (acc: number[], layer: { id: number }) => (layer.id ? [...acc, layer.id] : acc), + (acc: number[], layer) => (layer.id ? [...acc, layer.id] : acc), [] ) || []; setLayers(_layers); @@ -116,7 +106,7 @@ const Story = () => { )} key={index} newStep={index} - title={s.attributes?.layout[0]?.card && s.attributes?.layout[0]?.card[0]?.title} + title="" /> ))} diff --git a/client/src/containers/story/steps/index.tsx b/client/src/containers/story/steps/index.tsx index d7ac3c0..4484f75 100644 --- a/client/src/containers/story/steps/index.tsx +++ b/client/src/containers/story/steps/index.tsx @@ -8,20 +8,18 @@ import { cn } from '@/lib/classnames'; import { stepAtom } from '@/store/stories'; import { - StepLayoutMediaStepComponentMedia, StepLayoutOutroStepComponentMedia, StoryCategory, - StoryStepsDataItem, + StoryStepsItem, } from '@/types/generated/strapi.schemas'; import MapStepLayout from './layouts/map-step'; -import MediaStepLayout from './layouts/media-step'; import OutroStepLayout from './layouts/outro-step'; import { getStepType } from './utils'; type StepProps = PropsWithChildren<{ - media?: StepLayoutMediaStepComponentMedia | StepLayoutOutroStepComponentMedia; - step: StoryStepsDataItem; + media?: StepLayoutOutroStepComponentMedia; + step: StoryStepsItem; category?: StoryCategory; index: number; }>; @@ -31,7 +29,7 @@ const Step = ({ step, category, index }: StepProps) => { const type = getStepType(step); const STEP_COMPONENT = useMemo(() => { - const stepLayout = step?.attributes?.layout?.[0]; + const stepLayout = step; if (!type || !stepLayout) return null; switch (type) { @@ -40,17 +38,16 @@ const Step = ({ step, category, index }: StepProps) => { ); } - case 'media-step': - return ; + case 'outro-step': return ( @@ -58,14 +55,7 @@ const Step = ({ step, category, index }: StepProps) => { default: return null; } - }, [ - step?.attributes?.layout, - type, - currentStep, - index, - category?.data?.id, - category?.data?.attributes, - ]); + }, [step, type, currentStep, index, category?.data?.id, category?.data?.attributes]); return (
diff --git a/client/src/containers/story/steps/layouts/map-step.tsx b/client/src/containers/story/steps/layouts/map-step.tsx index ba98881..8792064 100644 --- a/client/src/containers/story/steps/layouts/map-step.tsx +++ b/client/src/containers/story/steps/layouts/map-step.tsx @@ -8,7 +8,7 @@ import { useScrollToItem } from '@/lib/scroll'; import { StepLayoutMapStepComponent, - StepLayoutItem, + StoryStepsItem, StoryCategoryDataAttributes, } from '@/types/generated/strapi.schemas'; @@ -21,7 +21,7 @@ const Legend = dynamic(() => import('@/containers/map/legend'), { }); type MapStepLayoutProps = { - step: StepLayoutItem; + step: StoryStepsItem; category: StoryCategoryDataAttributes | undefined; stepIndex: number; showContent?: boolean; @@ -78,30 +78,34 @@ const MapStepLayout = ({ step, category, showContent, stepIndex }: MapStepLayout
- {card?.map((item) => ( -
-
- {item?.title &&

{item?.title}

} - {!!item?.content && ( -
- {item.content.split('\n').map((p, i) => ( -

- {p} -

- ))} -
+ {card?.map((item) => { + return ( +
} + > +
+ {item?.title && ( +

{item?.title}

+ )} + {!!item?.content && ( +
+ {item.content.split('\n').map((p, i) => ( +

+ {p} +

+ ))} +
+ )} + {!!item?.widget && } +
-
- ))} + ); + })}
diff --git a/client/src/containers/story/steps/layouts/media-step.tsx b/client/src/containers/story/steps/layouts/media-step.tsx deleted file mode 100644 index 35c4a65..0000000 --- a/client/src/containers/story/steps/layouts/media-step.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import { StepLayoutItem, StepLayoutMediaStepComponent } from '@/types/generated/strapi.schemas'; - -type MediaStepLayoutProps = { - step: StepLayoutItem; -}; - -const MediaStepLayout = ({ step }: MediaStepLayoutProps) => { - const { content, title } = step as StepLayoutMediaStepComponent; - - return ( -
-
-

{title}

-

{content}

-
-
- ); -}; - -export default MediaStepLayout; diff --git a/client/src/containers/story/steps/layouts/outro-step.tsx b/client/src/containers/story/steps/layouts/outro-step.tsx index 87540a3..bfccebf 100644 --- a/client/src/containers/story/steps/layouts/outro-step.tsx +++ b/client/src/containers/story/steps/layouts/outro-step.tsx @@ -1,6 +1,6 @@ 'use client'; -import { useCallback, useEffect, useRef, useState } from 'react'; +import { useEffect, useRef, useState } from 'react'; import Image from 'next/image'; import { useRouter } from 'next/navigation'; @@ -80,13 +80,13 @@ 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 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']); diff --git a/client/src/containers/story/steps/utils.ts b/client/src/containers/story/steps/utils.ts index a2ef56d..89bc10d 100644 --- a/client/src/containers/story/steps/utils.ts +++ b/client/src/containers/story/steps/utils.ts @@ -1,16 +1,13 @@ import { - StepLayoutMediaStepComponentMedia, StepLayoutOutroStepComponentMedia, - StepListResponseDataItem, + StoryStepsItem, } from '@/types/generated/strapi.schemas'; -export const getStepType = (step: StepListResponseDataItem) => { - return step?.attributes?.layout?.[0]?.__component?.split('.')?.[1]; +export const getStepType = (step: StoryStepsItem) => { + return step?.__component?.split('.')?.[1]; }; -export const getMedia = ( - media?: StepLayoutMediaStepComponentMedia | StepLayoutOutroStepComponentMedia -) => { +export const getMedia = (media?: StepLayoutOutroStepComponentMedia) => { const url = `${process.env.NEXT_PUBLIC_API_URL?.replace('/api', '')}${ media?.data?.attributes?.url }`; diff --git a/client/src/containers/story/utils.ts b/client/src/containers/story/utils.ts new file mode 100644 index 0000000..ee9ab1d --- /dev/null +++ b/client/src/containers/story/utils.ts @@ -0,0 +1,10 @@ +import { StepLayoutMapStepComponent, StoryStepsItem } from '@/types/generated/strapi.schemas'; +import { StoryStepMap } from '@/types/story'; + +export const isMapStep = (step: StoryStepsItem): step is StepLayoutMapStepComponent => { + return !!step?.__component?.includes('map-step'); +}; + +export const isMapNotEmpty = (map: StoryStepsItem['map']): map is StoryStepMap => { + return Object.values((map as StoryStepMap)?.location).length > 0; +}; diff --git a/client/src/env.mjs b/client/src/env.mjs index 8d5e40d..65c0d7b 100644 --- a/client/src/env.mjs +++ b/client/src/env.mjs @@ -30,6 +30,7 @@ export const env = createEnv({ NEXT_PUBLIC_MAPBOX_API_TOKEN: z.string(), NEXT_PUBLIC_GA_TRACKING_ID: z.string().optional(), NEXT_PUBLIC_BASE_PATH: z.string().optional(), + NEXT_PUBLIC_PREVIEW_SECRET: z.string().optional(), }, /* * Due to how Next.js bundles environment variables on Edge and Client, @@ -46,6 +47,7 @@ export const env = createEnv({ RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED: process.env.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED, NEXT_PUBLIC_BASE_PATH: process.env.NEXT_PUBLIC_BASE_PATH, + NEXT_PUBLIC_PREVIEW_SECRET: process.env.NEXT_PUBLIC_PREVIEW_SECRET, }, }); diff --git a/client/src/types/generated/step.ts b/client/src/types/generated/step.ts deleted file mode 100644 index 0177da8..0000000 --- a/client/src/types/generated/step.ts +++ /dev/null @@ -1,327 +0,0 @@ -/** - * 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, - GetStepsIdParams, - GetStepsParams, - StepListResponse, - StepRequest, - StepResponse, -} from './strapi.schemas'; -import { API } from '../../services/api/index'; -import type { ErrorType } from '../../services/api/index'; - -export const getSteps = (params?: GetStepsParams, signal?: AbortSignal) => { - return API({ url: `/steps`, method: 'get', params, signal }); -}; - -export const getGetStepsQueryKey = (params?: GetStepsParams) => { - return [`/steps`, ...(params ? [params] : [])] as const; -}; - -export const getGetStepsInfiniteQueryOptions = < - TData = Awaited>, - TError = ErrorType ->( - params?: GetStepsParams, - options?: { query?: UseInfiniteQueryOptions>, TError, TData> } -) => { - const { query: queryOptions } = options ?? {}; - - const queryKey = queryOptions?.queryKey ?? getGetStepsQueryKey(params); - - const queryFn: QueryFunction>> = ({ signal, pageParam }) => - getSteps({ 'pagination[page]': pageParam, ...params }, signal); - - return { queryKey, queryFn, staleTime: 10000, ...queryOptions } as UseInfiniteQueryOptions< - Awaited>, - TError, - TData - > & { queryKey: QueryKey }; -}; - -export type GetStepsInfiniteQueryResult = NonNullable>>; -export type GetStepsInfiniteQueryError = ErrorType; - -export const useGetStepsInfinite = < - TData = Awaited>, - TError = ErrorType ->( - params?: GetStepsParams, - options?: { query?: UseInfiniteQueryOptions>, TError, TData> } -): UseInfiniteQueryResult & { queryKey: QueryKey } => { - const queryOptions = getGetStepsInfiniteQueryOptions(params, options); - - const query = useInfiniteQuery(queryOptions) as UseInfiniteQueryResult & { - queryKey: QueryKey; - }; - - query.queryKey = queryOptions.queryKey; - - return query; -}; - -export const getGetStepsQueryOptions = < - TData = Awaited>, - TError = ErrorType ->( - params?: GetStepsParams, - options?: { query?: UseQueryOptions>, TError, TData> } -) => { - const { query: queryOptions } = options ?? {}; - - const queryKey = queryOptions?.queryKey ?? getGetStepsQueryKey(params); - - const queryFn: QueryFunction>> = ({ signal }) => - getSteps(params, signal); - - return { queryKey, queryFn, staleTime: 10000, ...queryOptions } as UseQueryOptions< - Awaited>, - TError, - TData - > & { queryKey: QueryKey }; -}; - -export type GetStepsQueryResult = NonNullable>>; -export type GetStepsQueryError = ErrorType; - -export const useGetSteps = < - TData = Awaited>, - TError = ErrorType ->( - params?: GetStepsParams, - options?: { query?: UseQueryOptions>, TError, TData> } -): UseQueryResult & { queryKey: QueryKey } => { - const queryOptions = getGetStepsQueryOptions(params, options); - - const query = useQuery(queryOptions) as UseQueryResult & { queryKey: QueryKey }; - - query.queryKey = queryOptions.queryKey; - - return query; -}; - -export const postSteps = (stepRequest: StepRequest) => { - return API({ - url: `/steps`, - method: 'post', - headers: { 'Content-Type': 'application/json' }, - data: stepRequest, - }); -}; - -export const getPostStepsMutationOptions = < - TError = ErrorType, - TContext = unknown ->(options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { data: StepRequest }, - TContext - >; -}): UseMutationOptions< - Awaited>, - TError, - { data: StepRequest }, - TContext -> => { - const { mutation: mutationOptions } = options ?? {}; - - const mutationFn: MutationFunction< - Awaited>, - { data: StepRequest } - > = (props) => { - const { data } = props ?? {}; - - return postSteps(data); - }; - - return { mutationFn, ...mutationOptions }; -}; - -export type PostStepsMutationResult = NonNullable>>; -export type PostStepsMutationBody = StepRequest; -export type PostStepsMutationError = ErrorType; - -export const usePostSteps = , TContext = unknown>(options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { data: StepRequest }, - TContext - >; -}) => { - const mutationOptions = getPostStepsMutationOptions(options); - - return useMutation(mutationOptions); -}; -export const getStepsId = (id: number, params?: GetStepsIdParams, signal?: AbortSignal) => { - return API({ url: `/steps/${id}`, method: 'get', params, signal }); -}; - -export const getGetStepsIdQueryKey = (id: number, params?: GetStepsIdParams) => { - return [`/steps/${id}`, ...(params ? [params] : [])] as const; -}; - -export const getGetStepsIdQueryOptions = < - TData = Awaited>, - TError = ErrorType ->( - id: number, - params?: GetStepsIdParams, - options?: { query?: UseQueryOptions>, TError, TData> } -) => { - const { query: queryOptions } = options ?? {}; - - const queryKey = queryOptions?.queryKey ?? getGetStepsIdQueryKey(id, params); - - const queryFn: QueryFunction>> = ({ signal }) => - getStepsId(id, params, signal); - - return { queryKey, queryFn, enabled: !!id, staleTime: 10000, ...queryOptions } as UseQueryOptions< - Awaited>, - TError, - TData - > & { queryKey: QueryKey }; -}; - -export type GetStepsIdQueryResult = NonNullable>>; -export type GetStepsIdQueryError = ErrorType; - -export const useGetStepsId = < - TData = Awaited>, - TError = ErrorType ->( - id: number, - params?: GetStepsIdParams, - options?: { query?: UseQueryOptions>, TError, TData> } -): UseQueryResult & { queryKey: QueryKey } => { - const queryOptions = getGetStepsIdQueryOptions(id, params, options); - - const query = useQuery(queryOptions) as UseQueryResult & { queryKey: QueryKey }; - - query.queryKey = queryOptions.queryKey; - - return query; -}; - -export const putStepsId = (id: number, stepRequest: StepRequest) => { - return API({ - url: `/steps/${id}`, - method: 'put', - headers: { 'Content-Type': 'application/json' }, - data: stepRequest, - }); -}; - -export const getPutStepsIdMutationOptions = < - TError = ErrorType, - TContext = unknown ->(options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { id: number; data: StepRequest }, - TContext - >; -}): UseMutationOptions< - Awaited>, - TError, - { id: number; data: StepRequest }, - TContext -> => { - const { mutation: mutationOptions } = options ?? {}; - - const mutationFn: MutationFunction< - Awaited>, - { id: number; data: StepRequest } - > = (props) => { - const { id, data } = props ?? {}; - - return putStepsId(id, data); - }; - - return { mutationFn, ...mutationOptions }; -}; - -export type PutStepsIdMutationResult = NonNullable>>; -export type PutStepsIdMutationBody = StepRequest; -export type PutStepsIdMutationError = ErrorType; - -export const usePutStepsId = , TContext = unknown>(options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { id: number; data: StepRequest }, - TContext - >; -}) => { - const mutationOptions = getPutStepsIdMutationOptions(options); - - return useMutation(mutationOptions); -}; -export const deleteStepsId = (id: number) => { - return API({ url: `/steps/${id}`, method: 'delete' }); -}; - -export const getDeleteStepsIdMutationOptions = < - 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>, { id: number }> = ( - props - ) => { - const { id } = props ?? {}; - - return deleteStepsId(id); - }; - - return { mutationFn, ...mutationOptions }; -}; - -export type DeleteStepsIdMutationResult = NonNullable>>; - -export type DeleteStepsIdMutationError = ErrorType; - -export const useDeleteStepsId = , TContext = unknown>(options?: { - mutation?: UseMutationOptions< - Awaited>, - TError, - { id: number }, - TContext - >; -}) => { - const mutationOptions = getDeleteStepsIdMutationOptions(options); - - return useMutation(mutationOptions); -}; diff --git a/client/src/types/generated/strapi.schemas.ts b/client/src/types/generated/strapi.schemas.ts index 9738aaa..3e07192 100644 --- a/client/src/types/generated/strapi.schemas.ts +++ b/client/src/types/generated/strapi.schemas.ts @@ -54,56 +54,6 @@ export type GetStoriesParams = { locale?: string; }; -export type GetStepsIdParams = { - /** - * Relations to return - */ - populate?: string; -}; - -export type GetStepsParams = { - /** - * 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 GetLayersIdParams = { /** * Relations to return @@ -377,308 +327,509 @@ export interface UploadFile { width?: number; } -export type StoryResponseMeta = { [key: string]: any }; - -export interface Story { - active?: boolean; - bbox: unknown; - category?: StoryCategory; +export type StepLayoutOutroStepComponentMediaDataAttributes = { + alternativeText?: string; + caption?: string; createdAt?: string; - createdBy?: StoryCreatedBy; - latitude: number; - longitude: number; - publishedAt?: string; - slug?: string; - status: StoryStatus; - steps?: StorySteps; - title: 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?: StoryUpdatedBy; -} + updatedBy?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedBy; + url?: string; + width?: number; +}; -export interface StoryResponseDataObject { - attributes?: Story; +export type StepLayoutOutroStepComponentMediaData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributes; id?: number; -} +}; -export interface StoryResponse { - data?: StoryResponseDataObject; - meta?: StoryResponseMeta; +export type StepLayoutOutroStepComponentMedia = { + data?: StepLayoutOutroStepComponentMediaData; +}; + +export interface StepLayoutOutroStepComponent { + __component?: string; + content?: string; + disclaimer?: DisclaimerDiscalimerComponent[]; + id?: number; + layers?: StepLayoutOutroStepComponentLayers; + map?: unknown; + media?: StepLayoutOutroStepComponentMedia; + title?: string; } -export type StoryUpdatedByDataAttributes = { [key: string]: any }; +export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes = { + [key: string]: any; +}; -export type StoryUpdatedByData = { - attributes?: StoryUpdatedByDataAttributes; +export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryUpdatedBy = { - data?: StoryUpdatedByData; +export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedBy = { + data?: StepLayoutOutroStepComponentMediaDataAttributesUpdatedByData; }; -export type StoryStepsDataItemAttributes = { [key: string]: any }; +export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes = { + [key: string]: any; +}; -export type StoryStepsDataItem = { - attributes?: StoryStepsDataItemAttributes; +export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type StorySteps = { - data?: StoryStepsDataItem[]; +export type StepLayoutOutroStepComponentMediaDataAttributesRelated = { + data?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem[]; }; -export type StoryStatus = (typeof StoryStatus)[keyof typeof StoryStatus]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StoryStatus = { - Completed: 'Completed', - In_progress: 'In progress', -} as const; - -export type StoryCreatedByDataAttributes = { [key: string]: any }; +export type StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes = { + [key: string]: any; +}; -export type StoryCreatedByData = { - attributes?: StoryCreatedByDataAttributes; +export type StepLayoutOutroStepComponentMediaDataAttributesFolderData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes; id?: number; }; -export type StoryCreatedBy = { - data?: StoryCreatedByData; +export type StepLayoutOutroStepComponentMediaDataAttributesFolder = { + data?: StepLayoutOutroStepComponentMediaDataAttributesFolderData; }; -export type StoryCategoryData = { - attributes?: StoryCategoryDataAttributes; +export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes = { + [key: string]: any; +}; + +export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByData = { + attributes?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategory = { - data?: StoryCategoryData; +export type StepLayoutOutroStepComponentMediaDataAttributesCreatedBy = { + data?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByData; }; -export type StoryCategoryDataAttributesUpdatedByDataAttributes = { [key: string]: any }; +export type StepLayoutOutroStepComponentLayersDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesUpdatedByDataAttributes; +export type StepLayoutOutroStepComponentLayersDataItem = { + attributes?: StepLayoutOutroStepComponentLayersDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesUpdatedByData; +export type StepLayoutOutroStepComponentLayers = { + data?: StepLayoutOutroStepComponentLayersDataItem[]; }; -export type StoryCategoryDataAttributes = { - createdAt?: string; - createdBy?: StoryCategoryDataAttributesCreatedBy; - name?: string; - publishedAt?: string; - slug?: string; - stories?: StoryCategoryDataAttributesStories; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesUpdatedBy; +export type DisclaimerDiscalimerComponentLogosDataItem = { + attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributes; + id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes = { - [key: string]: any; +export type DisclaimerDiscalimerComponentLogos = { + data?: DisclaimerDiscalimerComponentLogosDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes; +export interface DisclaimerDiscalimerComponent { id?: number; -}; + logos?: DisclaimerDiscalimerComponentLogos; + text?: string; + title?: string; + url?: string; +} -export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByDataAttributes = { + [key: string]: any; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributes; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByData = { + attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesSteps = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItem[]; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedBy = { + data?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributes = { - active?: boolean; - bbox?: unknown; - category?: StoryCategoryDataAttributesStoriesDataItemAttributesCategory; +export type DisclaimerDiscalimerComponentLogosDataItemAttributes = { + alternativeText?: string; + caption?: string; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedBy; - latitude?: number; - longitude?: number; - publishedAt?: string; - slug?: string; - status?: StoryCategoryDataAttributesStoriesDataItemAttributesStatus; - steps?: StoryCategoryDataAttributesStoriesDataItemAttributesSteps; - title?: string; + createdBy?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedBy; + ext?: string; + folder?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelated; + size?: number; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy; + updatedBy?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedBy; + url?: string; + width?: number; }; -export type StoryCategoryDataAttributesStoriesDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributes; - id?: number; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItemAttributes = { + [key: string]: any; }; -export type StoryCategoryDataAttributesStories = { - data?: StoryCategoryDataAttributesStoriesDataItem[]; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItem = { + attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItemAttributes; + id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelated = { + data?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItem = - | StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf - | StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzero - | StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefour; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributes = { - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedBy; - layout?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItem[]; - publishedAt?: string; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolderDataAttributes = { + [key: string]: any; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefour = - { - __component?: string; - content?: string; - disclaimer?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItem[]; - id?: number; - layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourLayers; - map?: unknown; - media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMedia; - title?: string; - }; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolderData = { + attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolderDataAttributes; + id?: number; +}; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedBy; - ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedBy; - url?: string; - width?: number; - }; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolder = { + data?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolderData; +}; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributes; - id?: number; - }; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByDataAttributes = { + [key: string]: any; +}; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMedia = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaData; - }; +export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByData = { + attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByDataAttributes; + id?: number; +}; + +export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedBy = { + data?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByData; +}; + +export type StepLayoutMapStepComponentLayersDataItemAttributes = { [key: string]: any }; + +export type StepLayoutMapStepComponentLayersDataItem = { + attributes?: StepLayoutMapStepComponentLayersDataItemAttributes; + id?: number; +}; + +export type StepLayoutMapStepComponentLayers = { + data?: StepLayoutMapStepComponentLayersDataItem[]; +}; + +export interface MapLayerSummaryComponent { + content?: string; + id?: number; + info?: string; + title?: string; +} + +export interface MapLayerCardComponent { + content?: string; + id?: number; + title?: string; + widget?: unknown; +} + +export interface StepLayoutMapStepComponent { + __component?: string; + card?: MapLayerCardComponent[]; + id?: number; + layers?: StepLayoutMapStepComponentLayers; + map?: unknown; + story_summary?: MapLayerSummaryComponent[]; + title?: string; +} + +export type StoryResponseMeta = { [key: string]: any }; + +export interface StoryResponseDataObject { + attributes?: Story; + id?: number; +} + +export interface StoryResponse { + data?: StoryResponseDataObject; + meta?: StoryResponseMeta; +} + +export type StoryUpdatedByDataAttributes = { [key: string]: any }; + +export type StoryUpdatedByData = { + attributes?: StoryUpdatedByDataAttributes; + id?: number; +}; + +export type StoryUpdatedBy = { + data?: StoryUpdatedByData; +}; + +export type StoryStepsItem = StepLayoutMapStepComponent | StepLayoutOutroStepComponent; + +export type StoryStatus = (typeof StoryStatus)[keyof typeof StoryStatus]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const StoryStatus = { + Completed: 'Completed', + In_progress: 'In progress', +} as const; + +export interface Story { + bbox: unknown; + category?: StoryCategory; + createdAt?: string; + createdBy?: StoryCreatedBy; + latitude: number; + longitude: number; + publishedAt?: string; + slug?: string; + status: StoryStatus; + steps?: StoryStepsItem[]; + title: string; + updatedAt?: string; + updatedBy?: StoryUpdatedBy; + active?: boolean; +} -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByDataAttributes = +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 = { + attributes?: StoryCategoryDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesUpdatedBy = { + data?: StoryCategoryDataAttributesUpdatedByData; +}; + +export type StoryCategoryDataAttributesStoriesDataItem = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesStories = { + data?: StoryCategoryDataAttributesStoriesDataItem[]; +}; + +export type StoryCategoryDataAttributes = { + createdAt?: string; + createdBy?: StoryCategoryDataAttributesCreatedBy; + name?: string; + publishedAt?: string; + slug?: string; + stories?: StoryCategoryDataAttributesStories; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesUpdatedBy; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes = { + [key: string]: any; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributes = { + bbox?: unknown; + category?: StoryCategoryDataAttributesStoriesDataItemAttributesCategory; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedBy; + latitude?: number; + longitude?: number; + publishedAt?: string; + slug?: string; + status?: StoryCategoryDataAttributesStoriesDataItemAttributesStatus; + steps?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItem[]; + title?: string; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaData = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMedia = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaData; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzero = { + __component?: string; + content?: string; + disclaimer?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItem[]; + id?: number; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayers; + map?: unknown; + media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMedia; + title?: string; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItem = + | StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOf + | StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzero; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelated = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelated = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderDataAttributes = - { [key: string]: any }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes = + { + children?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy; + files?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles; + name?: string; + parent?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent; + path?: string; + pathId?: number; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy; + }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolder = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolder = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributes = + { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedBy; + ext?: string; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedBy; + url?: string; + width?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourLayersDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourLayersDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourLayersDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourLayers = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourLayersDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesFolder; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -688,1230 +839,144 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAtt previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesRelated; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; url?: string; width?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogos = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItem = - { - id?: number; - logos?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogos; - text?: string; - title?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesRelatedDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesRelated = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesRelatedDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesFolderDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesFolderData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesFolderDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesFolder = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesFolderData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourDisclaimerItemLogosDataItemAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaType = - (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaType]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaType = - { - image: 'image', - video: 'video', - } as const; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzero = - { - __component?: string; - content?: string; - id?: number; - media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMedia; - media_type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaType; - title?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedBy; - ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMedia = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelated = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolder = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes = - { - children?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy; - files?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; - ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem = - { - content?: string; - id?: number; - info?: string; - title?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf = - { - __component?: string; - card?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfCardItem[]; - id?: number; - layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers; - map?: unknown; - story_summary?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = - (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = - { - deckgl: 'deckgl', - mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', - } as const; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata = - { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes = - { - config?: unknown; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy; - dataset?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata; - params_config?: unknown; - publishedAt?: string; - title?: string; - type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = - { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes = - { - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = - { - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = - { - blocked?: boolean; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; - email?: string; - firstname?: string; - isActive?: boolean; - lastname?: string; - preferedLanguage?: string; - registrationToken?: string; - resetPasswordToken?: string; - roles?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; - username?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = - { - code?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfCardItem = - { - content?: string; - id?: number; - title?: string; - widget?: unknown; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByData; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStatus = - (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStatus)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStatus]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StoryCategoryDataAttributesStoriesDataItemAttributesStatus = { - Completed: 'Completed', - In_progress: 'In progress', -} as const; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByDataAttributes = { - [key: string]: any; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByDataAttributes; - id?: number; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByData; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes = { - [key: string]: any; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes; - id?: number; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesCategory = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesCategoryData; -}; - -export type StoryCategoryDataAttributesCreatedBy = { - data?: StoryCategoryDataAttributesCreatedByData; -}; - -export type StoryCategoryDataAttributesCreatedByDataAttributes = { [key: string]: any }; - -export type StoryCategoryDataAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesCreatedByDataAttributes; - id?: number; -}; - -export type StoryListResponseMetaPagination = { - page?: number; - pageCount?: number; - pageSize?: number; - total?: number; -}; - -export type StoryListResponseMeta = { - pagination?: StoryListResponseMetaPagination; -}; - -export interface StoryListResponseDataItem { - attributes?: Story; - id?: number; -} - -export interface StoryListResponse { - data?: StoryListResponseDataItem[]; - meta?: StoryListResponseMeta; -} - -export interface StoryRequest { - data: StoryRequestData; -} - -export type StoryRequestDataStepsItem = number | string; - -export type StoryRequestDataStatus = - (typeof StoryRequestDataStatus)[keyof typeof StoryRequestDataStatus]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StoryRequestDataStatus = { - Completed: 'Completed', - In_progress: 'In progress', -} as const; - -export type StoryRequestDataCategory = number | string; - -export type StoryRequestData = { - active?: boolean; - bbox: unknown; - category?: StoryRequestDataCategory; - latitude: number; - longitude: number; - slug?: string; - status: StoryRequestDataStatus; - steps?: StoryRequestDataStepsItem[]; - title: string; -}; - -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 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 StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes = { - [key: string]: any; -}; - -export type StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItemAttributes; - id?: number; -}; - -export type StepLayoutOutroStepComponentMediaDataAttributesRelated = { - data?: StepLayoutOutroStepComponentMediaDataAttributesRelatedDataItem[]; -}; - -export type StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes = { - [key: string]: any; -}; - -export type StepLayoutOutroStepComponentMediaDataAttributesFolderData = { - attributes?: StepLayoutOutroStepComponentMediaDataAttributesFolderDataAttributes; - id?: number; -}; - -export type StepLayoutOutroStepComponentMediaDataAttributesFolder = { - data?: StepLayoutOutroStepComponentMediaDataAttributesFolderData; -}; - -export type StepLayoutOutroStepComponentMediaDataAttributesCreatedByDataAttributes = { - [key: string]: any; -}; - -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 type DisclaimerDiscalimerComponentLogosDataItem = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributes; - id?: number; -}; - -export type DisclaimerDiscalimerComponentLogos = { - data?: DisclaimerDiscalimerComponentLogosDataItem[]; -}; - -export interface DisclaimerDiscalimerComponent { - id?: number; - logos?: DisclaimerDiscalimerComponentLogos; - text?: string; - title?: string; -} - -export interface StepLayoutOutroStepComponent { - __component?: string; - content?: string; - disclaimer?: DisclaimerDiscalimerComponent[]; - id?: number; - layers?: StepLayoutOutroStepComponentLayers; - map?: unknown; - media?: StepLayoutOutroStepComponentMedia; - title?: string; -} - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByData = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedBy = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedByData; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributes = { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedBy; - ext?: string; - folder?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: DisclaimerDiscalimerComponentLogosDataItemAttributesUpdatedBy; - url?: string; - width?: number; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItemAttributes = { - [key: string]: any; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItem = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItemAttributes; - id?: number; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesRelated = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesRelatedDataItem[]; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolderDataAttributes = { - [key: string]: any; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolderData = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolderDataAttributes; - id?: number; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesFolder = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesFolderData; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByDataAttributes = { - [key: string]: any; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByData = { - attributes?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByDataAttributes; - id?: number; -}; - -export type DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedBy = { - data?: DisclaimerDiscalimerComponentLogosDataItemAttributesCreatedByData; -}; - -export type StepLayoutMediaStepComponentMediaType = - (typeof StepLayoutMediaStepComponentMediaType)[keyof typeof StepLayoutMediaStepComponentMediaType]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StepLayoutMediaStepComponentMediaType = { - image: 'image', - video: 'video', -} as const; - -export interface StepLayoutMediaStepComponent { - __component?: string; - content?: string; - id?: number; - media?: StepLayoutMediaStepComponentMedia; - media_type?: StepLayoutMediaStepComponentMediaType; - title?: string; -} - -export type StepLayoutMediaStepComponentMediaDataAttributesUpdatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type StepLayoutMediaStepComponentMediaDataAttributesUpdatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesUpdatedByData; -}; - -export type StepLayoutMediaStepComponentMediaDataAttributes = { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StepLayoutMediaStepComponentMediaDataAttributesCreatedBy; - ext?: string; - folder?: StepLayoutMediaStepComponentMediaDataAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StepLayoutMediaStepComponentMediaDataAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StepLayoutMediaStepComponentMediaDataAttributesUpdatedBy; - url?: string; - width?: number; -}; - -export type StepLayoutMediaStepComponentMediaData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributes; - id?: number; -}; - -export type StepLayoutMediaStepComponentMedia = { - data?: StepLayoutMediaStepComponentMediaData; -}; - -export type StepLayoutMediaStepComponentMediaDataAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; - -export type StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItemAttributes = { - [key: string]: any; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItemAttributes; - id?: number; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesRelated = { - data?: StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItem[]; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = + { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributes; - id?: number; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolder = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; - id?: number; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentDataAttributes; - id?: number; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParent = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; - id?: number; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = + { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFiles = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItem[]; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItemAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItem = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItemAttributes; + id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayers = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItem[]; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesCreatedBy; ext?: string; - folder?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -1921,320 +986,288 @@ export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesF previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesUpdatedBy; url?: string; width?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogos = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItem[]; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItem = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; + id?: number; + logos?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogos; + text?: string; + title?: string; + url?: string; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesUpdatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesUpdatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesUpdatedByData; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesRelatedDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesRelated = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesRelatedDataItem[]; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesFolderDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; - id?: number; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesFolderData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesFolderDataAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesFolder = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesFolderData; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; - id?: number; -}; - -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildren = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItem[]; -}; - -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributes = { - children?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildren; - createdAt?: string; - createdBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedBy; - files?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; - updatedAt?: string; - updatedBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedBy; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesCreatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes; + id?: number; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesCreatedByDataAttributes = { - [key: string]: any; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroDisclaimerItemLogosDataItemAttributesCreatedByData; + }; -export type StepLayoutMediaStepComponentMediaDataAttributesCreatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesCreatedByDataAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem = { + content?: string; id?: number; + info?: string; + title?: string; }; -export type StepLayoutMediaStepComponentMediaDataAttributesCreatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesCreatedByData; -}; - -export type StepLayoutMapStepComponentLayersDataItem = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayers = { - data?: StepLayoutMapStepComponentLayersDataItem[]; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayers = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; }; -export interface StepLayoutMapStepComponent { +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOf = { __component?: string; - card?: MapLayerCardComponent[]; + card?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfCardItem[]; id?: number; - layers?: StepLayoutMapStepComponentLayers; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayers; map?: unknown; - story_summary?: MapLayerSummaryComponent[]; -} - -export type StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesUpdatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByData; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesType = - (typeof StepLayoutMapStepComponentLayersDataItemAttributesType)[keyof typeof StepLayoutMapStepComponentLayersDataItemAttributesType]; - -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const StepLayoutMapStepComponentLayersDataItemAttributesType = { - deckgl: 'deckgl', - mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', -} as const; - -export type StepLayoutMapStepComponentLayersDataItemAttributesMetadata = { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDataset = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetData; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributes = { - config?: unknown; - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesCreatedBy; - dataset?: StepLayoutMapStepComponentLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: StepLayoutMapStepComponentLayersDataItemAttributesMetadata; - params_config?: unknown; - publishedAt?: string; + story_summary?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem[]; title?: string; - type?: StepLayoutMapStepComponentLayersDataItemAttributesType; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesUpdatedBy; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; + id?: number; + }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesMetadata = { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData; + }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributes = { - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedBy; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = + (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType]; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = - { [key: string]: any }; +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = + { + deckgl: 'deckgl', + mapbox: 'mapbox', + carto: 'carto', + 'animated-tiles': 'animated-tiles', + } as const; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; + citation?: string; + content_date?: string; + description?: string; id?: number; + license?: string; + resolution?: string; + source?: string; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayers = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; + }; + +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 StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = + { + citation?: string; + content_date?: string; + description?: string; + id?: number; + license?: string; + resolution?: string; + source?: string; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = { createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; publishedAt?: string; title?: string; updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { blocked?: boolean; createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; email?: string; firstname?: string; isActive?: boolean; @@ -2242,267 +1275,312 @@ export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttribu preferedLanguage?: string; registrationToken?: string; resetPasswordToken?: string; - roles?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; + roles?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; username?: string; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = + { + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = { code?: string; createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; description?: string; name?: string; - permissions?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; + permissions?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy = { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfCardItem = { + content?: string; id?: number; + title?: string; + widget?: unknown; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByData; -}; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStatus = + (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStatus)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStatus]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const StoryCategoryDataAttributesStoriesDataItemAttributesStatus = { + Completed: 'Completed', + In_progress: 'In progress', +} as const; -export type StepLayoutMapStepComponentLayersDataItemAttributesCreatedByDataAttributes = { +export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByDataAttributes = { [key: string]: any; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesCreatedByDataAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByData = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesCreatedByData; +export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedBy = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByData; }; -export interface MapLayerSummaryComponent { - content?: string; - id?: number; - info?: string; - title?: string; -} - -export interface MapLayerCardComponent { - content?: string; - id?: number; - title?: string; - widget?: unknown; -} - -export type StepResponseMeta = { [key: string]: any }; - -export interface StepResponseDataObject { - attributes?: Step; - id?: number; -} - -export interface StepResponse { - data?: StepResponseDataObject; - meta?: StepResponseMeta; -} - -export type StepUpdatedByDataAttributes = { [key: string]: any }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes = { + [key: string]: any; +}; -export type StepUpdatedByData = { - attributes?: StepUpdatedByDataAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryData = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes; id?: number; }; -export type StepUpdatedBy = { - data?: StepUpdatedByData; +export type StoryCategoryDataAttributesStoriesDataItemAttributesCategory = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesCategoryData; }; -export type StepLayoutItem = - | StepLayoutMapStepComponent - | StepLayoutMediaStepComponent - | StepLayoutOutroStepComponent; - -export type StepCreatedByDataAttributes = { [key: string]: any }; +export type StoryCategoryDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepCreatedByData = { - attributes?: StepCreatedByDataAttributes; +export type StoryCategoryDataAttributesCreatedByData = { + attributes?: StoryCategoryDataAttributesCreatedByDataAttributes; id?: number; }; -export type StepCreatedBy = { - data?: StepCreatedByData; +export type StoryCategoryDataAttributesCreatedBy = { + data?: StoryCategoryDataAttributesCreatedByData; }; -export interface Step { - createdAt?: string; - createdBy?: StepCreatedBy; - layout?: StepLayoutItem[]; - publishedAt?: string; - updatedAt?: string; - updatedBy?: StepUpdatedBy; -} - -export type StepListResponseMetaPagination = { +export type StoryListResponseMetaPagination = { page?: number; pageCount?: number; pageSize?: number; total?: number; }; -export type StepListResponseMeta = { - pagination?: StepListResponseMetaPagination; +export type StoryListResponseMeta = { + pagination?: StoryListResponseMetaPagination; }; -export interface StepListResponseDataItem { - attributes?: Step; +export interface StoryListResponseDataItem { + attributes?: Story; id?: number; } -export interface StepListResponse { - data?: StepListResponseDataItem[]; - meta?: StepListResponseMeta; +export interface StoryListResponse { + data?: StoryListResponseDataItem[]; + meta?: StoryListResponseMeta; } -export type StepRequestDataLayoutItem = - | StepLayoutMapStepComponent - | StepLayoutMediaStepComponent - | StepLayoutOutroStepComponent; +export interface StoryRequest { + data: StoryRequestData; +} -export type StepRequestData = { - layout?: StepRequestDataLayoutItem[]; -}; +export type StoryRequestDataStepsItem = StepLayoutMapStepComponent | StepLayoutOutroStepComponent; -export interface StepRequest { - data: StepRequestData; -} +export type StoryRequestDataStatus = + (typeof StoryRequestDataStatus)[keyof typeof StoryRequestDataStatus]; + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const StoryRequestDataStatus = { + Completed: 'Completed', + In_progress: 'In progress', +} as const; + +export type StoryRequestDataCategory = number | string; + +export type StoryRequestData = { + bbox: unknown; + category?: StoryRequestDataCategory; + latitude: number; + longitude: number; + slug?: string; + status: StoryRequestDataStatus; + steps?: StoryRequestDataStepsItem[]; + title: string; +}; export type LayerResponseMeta = { [key: string]: any }; @@ -2537,10 +1615,6 @@ export const LayerType = { 'animated-tiles': 'animated-tiles', } as const; -export type LayerDataset = { - data?: LayerDatasetData; -}; - export interface Layer { config: unknown; createdAt?: string; @@ -2557,8 +1631,6 @@ export interface Layer { updatedBy?: LayerUpdatedBy; } -export type LayerDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; - export type LayerDatasetDataAttributesUpdatedByData = { attributes?: LayerDatasetDataAttributesUpdatedByDataAttributes; id?: number; @@ -2568,6 +1640,29 @@ export type LayerDatasetDataAttributesUpdatedBy = { data?: LayerDatasetDataAttributesUpdatedByData; }; +export type LayerDatasetDataAttributes = { + createdAt?: string; + createdBy?: LayerDatasetDataAttributesCreatedBy; + dataset_group?: LayerDatasetDataAttributesDatasetGroup; + layers?: LayerDatasetDataAttributesLayers; + metadata?: LayerDatasetDataAttributesMetadata; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: LayerDatasetDataAttributesUpdatedBy; +}; + +export type LayerDatasetData = { + attributes?: LayerDatasetDataAttributes; + id?: number; +}; + +export type LayerDataset = { + data?: LayerDatasetData; +}; + +export type LayerDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; + export type LayerDatasetDataAttributesMetadata = { citation?: string; content_date?: string; @@ -2587,23 +1682,6 @@ export type LayerDatasetDataAttributesLayers = { data?: LayerDatasetDataAttributesLayersDataItem[]; }; -export type LayerDatasetDataAttributes = { - createdAt?: string; - createdBy?: LayerDatasetDataAttributesCreatedBy; - dataset_group?: LayerDatasetDataAttributesDatasetGroup; - layers?: LayerDatasetDataAttributesLayers; - metadata?: LayerDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesUpdatedBy; -}; - -export type LayerDatasetData = { - attributes?: LayerDatasetDataAttributes; - id?: number; -}; - export type LayerDatasetDataAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -2638,6 +1716,19 @@ 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; @@ -2654,19 +1745,6 @@ 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; }; @@ -2680,6 +1758,15 @@ export type LayerDatasetDataAttributesLayersDataItemAttributesCreatedBy = { data?: LayerDatasetDataAttributesLayersDataItemAttributesCreatedByData; }; +export type LayerDatasetDataAttributesDatasetGroupData = { + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributes; + id?: number; +}; + +export type LayerDatasetDataAttributesDatasetGroup = { + data?: LayerDatasetDataAttributesDatasetGroupData; +}; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -2693,25 +1780,6 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributes = { - createdAt?: string; - createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: LayerDatasetDataAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; -}; - -export type LayerDatasetDataAttributesDatasetGroupData = { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributes; - id?: number; -}; - -export type LayerDatasetDataAttributesDatasetGroup = { - data?: LayerDatasetDataAttributesDatasetGroupData; -}; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = { [key: string]: any; }; @@ -2725,6 +1793,23 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesDatasets = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { + blocked?: boolean; + createdAt?: string; + createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; + email?: string; + firstname?: string; + isActive?: boolean; + lastname?: string; + preferedLanguage?: string; + registrationToken?: string; + resetPasswordToken?: string; + roles?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; + updatedAt?: string; + updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; + username?: string; +}; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = { attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; id?: number; @@ -2734,6 +1819,16 @@ 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 = { [key: string]: any }; @@ -2747,27 +1842,16 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { - blocked?: boolean; - createdAt?: string; - createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; - email?: string; - firstname?: string; - isActive?: boolean; - lastname?: string; - preferedLanguage?: string; - registrationToken?: string; - resetPasswordToken?: string; - roles?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; - updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; - username?: string; -}; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; @@ -2782,6 +1866,19 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = + { + code?: string; + createdAt?: string; + createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + description?: string; + name?: string; + permissions?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; + updatedAt?: string; + updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + }; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -2876,25 +1973,6 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = - { - code?: string; - createdAt?: string; - createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; - }; - -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = { [key: string]: any }; @@ -2990,6 +2068,17 @@ export interface DatasetGroupResponse { meta?: DatasetGroupResponseMeta; } +export type DatasetGroupUpdatedByDataAttributes = { [key: string]: any }; + +export type DatasetGroupUpdatedByData = { + attributes?: DatasetGroupUpdatedByDataAttributes; + id?: number; +}; + +export type DatasetGroupUpdatedBy = { + data?: DatasetGroupUpdatedByData; +}; + export interface DatasetGroup { createdAt?: string; createdBy?: DatasetGroupCreatedBy; @@ -3000,15 +2089,25 @@ export interface DatasetGroup { updatedBy?: DatasetGroupUpdatedBy; } -export type DatasetGroupUpdatedByDataAttributes = { [key: string]: any }; - -export type DatasetGroupUpdatedByData = { - attributes?: DatasetGroupUpdatedByDataAttributes; +export type DatasetGroupDatasetsDataItemAttributesUpdatedByData = { + attributes?: DatasetGroupDatasetsDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type DatasetGroupUpdatedBy = { - data?: DatasetGroupUpdatedByData; +export type DatasetGroupDatasetsDataItemAttributesUpdatedBy = { + data?: DatasetGroupDatasetsDataItemAttributesUpdatedByData; +}; + +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 = { @@ -3022,15 +2121,6 @@ export type DatasetGroupDatasets = { export type DatasetGroupDatasetsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type DatasetGroupDatasetsDataItemAttributesUpdatedByData = { - attributes?: DatasetGroupDatasetsDataItemAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type DatasetGroupDatasetsDataItemAttributesUpdatedBy = { - data?: DatasetGroupDatasetsDataItemAttributesUpdatedByData; -}; - export type DatasetGroupDatasetsDataItemAttributesMetadata = { citation?: string; content_date?: string; @@ -3050,18 +2140,6 @@ 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 DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3136,16 +2214,6 @@ export type DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesCreate data?: DatasetGroupDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributes = { - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesUpdatedBy; -}; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupData = { attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributes; id?: number; @@ -3179,6 +2247,24 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesData data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributes = + { + blocked?: boolean; + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; + email?: string; + firstname?: string; + isActive?: boolean; + lastname?: string; + preferedLanguage?: string; + registrationToken?: string; + resetPasswordToken?: string; + roles?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; + username?: string; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByData = { attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributes; id?: number; @@ -3188,6 +2274,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 }; @@ -3213,24 +2309,6 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributes = - { - blocked?: boolean; - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; - email?: string; - firstname?: string; - isActive?: boolean; - lastname?: string; - preferedLanguage?: string; - registrationToken?: string; - resetPasswordToken?: string; - roles?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; - username?: string; - }; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; @@ -3245,20 +2323,6 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = - { - attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = - { - data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; - }; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = { code?: string; @@ -3272,22 +2336,18 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea users?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = { - data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; + attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; + id?: number; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; }; export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = @@ -3310,6 +2370,11 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea id?: number; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = + { + data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = { [key: string]: any }; @@ -3338,6 +2403,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 }; @@ -3453,6 +2531,18 @@ export type DatasetUpdatedBy = { data?: DatasetUpdatedByData; }; +export interface Dataset { + createdAt?: string; + createdBy?: DatasetCreatedBy; + dataset_group?: DatasetDatasetGroup; + layers?: DatasetLayers; + metadata?: DocumentationMetadataComponent; + publishedAt?: string; + title: string; + updatedAt?: string; + updatedBy?: DatasetUpdatedBy; +} + export type DatasetLayersDataItemAttributes = { [key: string]: any }; export type DatasetLayersDataItem = { @@ -3464,16 +2554,6 @@ export type DatasetLayers = { data?: DatasetLayersDataItem[]; }; -export type DatasetDatasetGroupDataAttributes = { - createdAt?: string; - createdBy?: DatasetDatasetGroupDataAttributesCreatedBy; - datasets?: DatasetDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: DatasetDatasetGroupDataAttributesUpdatedBy; -}; - export type DatasetDatasetGroupData = { attributes?: DatasetDatasetGroupDataAttributes; id?: number; @@ -3483,18 +2563,6 @@ export type DatasetDatasetGroup = { data?: DatasetDatasetGroupData; }; -export interface Dataset { - createdAt?: string; - createdBy?: DatasetCreatedBy; - dataset_group?: DatasetDatasetGroup; - layers?: DatasetLayers; - metadata?: DocumentationMetadataComponent; - publishedAt?: string; - title: string; - updatedAt?: string; - updatedBy?: DatasetUpdatedBy; -} - export type DatasetDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; export type DatasetDatasetGroupDataAttributesUpdatedByData = { @@ -3506,15 +2574,20 @@ export type DatasetDatasetGroupDataAttributesUpdatedBy = { data?: DatasetDatasetGroupDataAttributesUpdatedByData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes; - id?: number; -}; - export type DatasetDatasetGroupDataAttributesDatasets = { data?: DatasetDatasetGroupDataAttributesDatasetsDataItem[]; }; +export type DatasetDatasetGroupDataAttributes = { + createdAt?: string; + createdBy?: DatasetDatasetGroupDataAttributesCreatedBy; + datasets?: DatasetDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: DatasetDatasetGroupDataAttributesUpdatedBy; +}; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -3538,15 +2611,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesMetadata source?: string; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem = { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes; - id?: number; -}; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayers = { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem[]; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes = { createdAt?: string; createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedBy; @@ -3559,6 +2623,20 @@ 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 }; @@ -3596,22 +2674,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat source?: string; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes = { - config?: unknown; - createdAt?: string; - createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedBy; - dataset?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesMetadata; - params_config?: unknown; - publishedAt?: string; - title?: string; - type?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesType; - updatedAt?: string; - updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesUpdatedBy; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDatasetDataAttributes = { [key: string]: any }; @@ -3626,17 +2688,27 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDatasetData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData = - { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedBy = { data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes = { + config?: unknown; + createdAt?: string; + createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedBy; + dataset?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDataset; + interaction_config?: unknown; + legend_config?: unknown; + metadata?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesMetadata; + params_config?: unknown; + publishedAt?: string; + title?: string; + type?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesType; + updatedAt?: string; + updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesUpdatedBy; +}; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3674,6 +2746,12 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat username?: string; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData = + { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributes; + id?: number; + }; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; @@ -3702,30 +2780,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; - }; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = - { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; - id?: number; - }; - -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = - { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; - }; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributes = { code?: string; @@ -3745,9 +2799,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat id?: number; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = { attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; @@ -3759,6 +2810,33 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = + { + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = + { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + id?: number; + }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = + { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; + }; + +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = { [key: string]: any }; @@ -3883,6 +2961,10 @@ export interface DatasetListResponse { meta?: DatasetListResponseMeta; } +export interface DatasetRequest { + data: DatasetRequestData; +} + export type DatasetRequestDataLayersItem = number | string; export type DatasetRequestDataDatasetGroup = number | string; @@ -3894,12 +2976,13 @@ export type DatasetRequestData = { title: string; }; -export interface DatasetRequest { - data: DatasetRequestData; -} - export type CategoryResponseMeta = { [key: string]: any }; +export interface CategoryResponseDataObject { + attributes?: Category; + id?: number; +} + export interface CategoryResponse { data?: CategoryResponseDataObject; meta?: CategoryResponseMeta; @@ -3936,11 +3019,6 @@ export interface Category { updatedBy?: CategoryUpdatedBy; } -export interface CategoryResponseDataObject { - attributes?: Category; - id?: number; -} - export type CategoryStoriesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; export type CategoryStoriesDataItemAttributesUpdatedByData = { @@ -3952,17 +3030,7 @@ export type CategoryStoriesDataItemAttributesUpdatedBy = { data?: CategoryStoriesDataItemAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributes; - id?: number; -}; - -export type CategoryStoriesDataItemAttributesSteps = { - data?: CategoryStoriesDataItemAttributesStepsDataItem[]; -}; - export type CategoryStoriesDataItemAttributes = { - active?: boolean; bbox?: unknown; category?: CategoryStoriesDataItemAttributesCategory; createdAt?: string; @@ -3972,307 +3040,145 @@ export type CategoryStoriesDataItemAttributes = { publishedAt?: string; slug?: string; status?: CategoryStoriesDataItemAttributesStatus; - steps?: CategoryStoriesDataItemAttributesSteps; + steps?: CategoryStoriesDataItemAttributesStepsItem[]; title?: string; updatedAt?: string; updatedBy?: CategoryStoriesDataItemAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItem = - | CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf - | CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzero - | CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfour; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributes = { - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedBy; - layout?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItem[]; - publishedAt?: string; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMedia = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMedia = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfour = { +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzero = { __component?: string; content?: string; - disclaimer?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItem[]; + disclaimer?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItem[]; id?: number; - layers?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourLayers; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayers; map?: unknown; - media?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMedia; + media?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMedia; title?: string; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesUpdatedByData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesRelatedDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesRelated = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesRelatedDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesFolderDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesFolderData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesFolderDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesFolder = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesFolderData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedBy; - ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourLayersDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourLayersDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourLayersDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourLayers = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourLayersDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesUpdatedByData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesCreatedBy; - ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogos = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItem = - { - id?: number; - logos?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogos; - text?: string; - title?: string; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesRelatedDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesRelated = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesRelatedDataItem[]; - }; +export type CategoryStoriesDataItemAttributesStepsItem = + | CategoryStoriesDataItemAttributesStepsItemAnyOf + | CategoryStoriesDataItemAttributesStepsItemAnyOfFourzero; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesFolderDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesFolderData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesFolderDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesFolder = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesFolderData; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelated = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItem[]; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourDisclaimerItemLogosDataItemAttributesCreatedByData; + children?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy; + files?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles; + name?: string; + parent?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent; + path?: string; + pathId?: number; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType = - (typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType)[keyof typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes; + id?: number; +}; -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType = - { - image: 'image', - video: 'video', - } as const; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolder = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderData; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributes = { + alternativeText?: string; + caption?: string; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedBy; + ext?: string; + folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolder; + folderPath?: string; + formats?: unknown; + hash?: string; + height?: number; + mime?: string; + name?: string; + previewUrl?: string; + provider?: string; + provider_metadata?: unknown; + related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelated; + size?: number; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedBy; + url?: string; + width?: number; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMedia = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaData; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzero = { - __component?: string; - content?: string; - id?: number; - media?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMedia; - media_type?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType; - title?: string; -}; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData; + }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedBy; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolder; + folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -4282,114 +3188,143 @@ export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAn previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelated; + related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedBy; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; url?: string; width?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelated = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItem[]; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolder = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData = { - children?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy; - files?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByData = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes; + id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByData; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItemAttributes = { + [key: string]: any; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItem = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItemAttributes; + id?: number; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayers = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItem[]; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesCreatedBy; ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; + folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -4399,205 +3334,186 @@ export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAn previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; + related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesUpdatedBy; url?: string; width?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItem = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributes; + id?: number; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogos = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItem[]; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItem = { + id?: number; + logos?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogos; + text?: string; + title?: string; + url?: string; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesRelatedDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesRelatedDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesRelated = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesRelatedDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesFolderDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesFolderData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesFolderDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesFolder = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesFolderData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroDisclaimerItemLogosDataItemAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes = - { [key: string]: any }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem = { + content?: string; + id?: number; + info?: string; + title?: string; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes; + id?: number; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem = - { - content?: string; - id?: number; - info?: string; - title?: string; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayers = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf = { +export type CategoryStoriesDataItemAttributesStepsItemAnyOf = { __component?: string; - card?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfCardItem[]; + card?: CategoryStoriesDataItemAttributesStepsItemAnyOfCardItem[]; id?: number; - layers?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayers; map?: unknown; - story_summary?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem[]; + story_summary?: CategoryStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem[]; + title?: string; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; + id?: number; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = - (typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType)[keyof typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = + (typeof CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType)[keyof typeof CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = - { - deckgl: 'deckgl', - mapbox: 'mapbox', - carto: 'carto', - 'animated-tiles': 'animated-tiles', - } as const; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata = - { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes = - { - config?: unknown; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy; - dataset?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata; - params_config?: unknown; - publishedAt?: string; - title?: string; - type?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy; - }; +export const CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = { + deckgl: 'deckgl', + mapbox: 'mapbox', + carto: 'carto', + 'animated-tiles': 'animated-tiles', +} as const; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = { + citation?: string; + content_date?: string; + description?: string; + id?: number; + license?: string; + resolution?: string; + source?: string; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem[]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes = { + config?: unknown; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy; + dataset?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset; + interaction_config?: unknown; + legend_config?: unknown; + metadata?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata; + params_config?: unknown; + publishedAt?: string; + title?: string; + type?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = { citation?: string; content_date?: string; @@ -4608,143 +3524,128 @@ export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAn source?: string; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = { createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; publishedAt?: string; title?: string; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = + { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; + id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = { - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = + { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfCardItem = { - content?: string; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; id?: number; - title?: string; - widget?: unknown; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedByDataAttributes = { - [key: string]: any; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedByDataAttributes; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfCardItem = { + content?: string; id?: number; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedByData; + title?: string; + widget?: unknown; }; export type CategoryStoriesDataItemAttributesStatus = @@ -4767,15 +3668,6 @@ export type CategoryStoriesDataItemAttributesCreatedBy = { data?: CategoryStoriesDataItemAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByData; -}; - export type CategoryStoriesDataItemAttributesCategoryDataAttributes = { createdAt?: string; createdBy?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy; @@ -4800,6 +3692,15 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByData [key: string]: any; }; +export type CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByData = { + attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedBy = { + data?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByData; +}; + export type CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItemAttributes = { [key: string]: any; }; @@ -4813,6 +3714,15 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesStories = { data?: CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItem[]; }; +export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData = { + attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributes; + id?: number; +}; + +export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy = { + data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData; +}; + export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -4854,15 +3764,6 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData username?: string; }; -export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributes; - id?: number; -}; - -export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData; -}; - export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; diff --git a/cms/config/plugins.ts b/cms/config/plugins.ts index 54099b3..f2ee67a 100644 --- a/cms/config/plugins.ts +++ b/cms/config/plugins.ts @@ -1,5 +1,5 @@ -module.exports = ({env}) => ({ +module.exports = ({ env }) => ({ documentation: { config: { "x-strapi-config": { @@ -56,4 +56,24 @@ module.exports = ({env}) => ({ }, }, }), + 'preview-button': { + config: { + contentTypes: [ + { + uid: 'api::story.story', + draft: { + url: `${env('STRAPI_ADMIN_PREVIEW_URL')}/api/preview`, + query: { + secret: env('STRAPI_ADMIN_PREVIEW_SECRET'), + slug: '{id}' + }, + }, + published: { + url: 'http://localhost:3000/stories/{id}', + }, + }, + ], + }, + }, }); + diff --git a/cms/package.json b/cms/package.json index 1017e54..166461a 100644 --- a/cms/package.json +++ b/cms/package.json @@ -19,7 +19,8 @@ "@strapi/strapi": "4.11.2", "pg": "8.8.0", "strapi-plugin-import-export-entries": "^1.21.0", - "strapi-plugin-populate-deep": "^3.0.0" + "strapi-plugin-populate-deep": "^3.0.0", + "strapi-plugin-preview-button": "^2.2.1" }, "devDependencies": { "typescript": "5.1.3" diff --git a/cms/src/api/step/content-types/step/schema.json b/cms/src/api/step/content-types/step/schema.json deleted file mode 100644 index 38cf99c..0000000 --- a/cms/src/api/step/content-types/step/schema.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "kind": "collectionType", - "collectionName": "steps", - "info": { - "singularName": "step", - "pluralName": "steps", - "displayName": "Step", - "description": "" - }, - "options": { - "draftAndPublish": true - }, - "pluginOptions": {}, - "attributes": { - "layout": { - "type": "dynamiczone", - "components": [ - "step-layout.map-step", - "step-layout.media-step", - "step-layout.outro-step" - ], - "required": false, - "min": 1, - "max": 1 - } - } -} diff --git a/cms/src/api/step/controllers/step.ts b/cms/src/api/step/controllers/step.ts deleted file mode 100644 index 8d829b4..0000000 --- a/cms/src/api/step/controllers/step.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * step controller - */ - -import { factories } from '@strapi/strapi' - -export default factories.createCoreController('api::step.step'); diff --git a/cms/src/api/step/documentation/1.0.0/step.json b/cms/src/api/step/documentation/1.0.0/step.json deleted file mode 100644 index adb13e4..0000000 --- a/cms/src/api/step/documentation/1.0.0/step.json +++ /dev/null @@ -1,507 +0,0 @@ -{ - "/steps": { - "get": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StepListResponse" - } - } - } - }, - "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": [ - "Step" - ], - "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/steps" - }, - "post": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StepResponse" - } - } - } - }, - "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": [ - "Step" - ], - "parameters": [], - "operationId": "post/steps", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StepRequest" - } - } - } - } - } - }, - "/steps/{id}": { - "get": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StepResponse" - } - } - } - }, - "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": [ - "Step" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "get/steps/{id}" - }, - "put": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StepResponse" - } - } - } - }, - "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": [ - "Step" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "put/steps/{id}", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StepRequest" - } - } - } - } - }, - "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": [ - "Step" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "delete/steps/{id}" - } - } -} diff --git a/cms/src/api/step/routes/step.ts b/cms/src/api/step/routes/step.ts deleted file mode 100644 index b3df9ad..0000000 --- a/cms/src/api/step/routes/step.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * step router - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreRouter('api::step.step'); diff --git a/cms/src/api/step/services/step.ts b/cms/src/api/step/services/step.ts deleted file mode 100644 index a509526..0000000 --- a/cms/src/api/step/services/step.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * step service - */ - -import { factories } from '@strapi/strapi'; - -export default factories.createCoreService('api::step.step'); diff --git a/cms/src/api/story/content-types/story/schema.json b/cms/src/api/story/content-types/story/schema.json index 3050592..c7528b9 100644 --- a/cms/src/api/story/content-types/story/schema.json +++ b/cms/src/api/story/content-types/story/schema.json @@ -53,9 +53,11 @@ "required": true }, "steps": { - "type": "relation", - "relation": "oneToMany", - "target": "api::step.step" + "type": "dynamiczone", + "components": [ + "step-layout.map-step", + "step-layout.outro-step" + ] }, "active": { "type": "boolean" diff --git a/cms/src/components/step-layout/comparation-layer.json b/cms/src/components/step-layout/comparation-layer.json deleted file mode 100644 index 385739f..0000000 --- a/cms/src/components/step-layout/comparation-layer.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "collectionName": "components_step_layer_comparation_layers", - "info": { - "displayName": "comparation-step", - "description": "" - }, - "options": {}, - "attributes": { - "title": { - "type": "string" - }, - "side": { - "type": "enumeration", - "enum": [ - "left", - "right" - ], - "required": true - }, - "type": { - "type": "enumeration", - "enum": [ - "image", - "layer" - ], - "required": true - }, - "image": { - "type": "media", - "multiple": false, - "required": false, - "allowedTypes": [ - "images" - ] - }, - "layer": { - "type": "relation", - "relation": "oneToOne", - "target": "api::layer.layer" - } - } -} diff --git a/cms/src/components/step-layout/map-step.json b/cms/src/components/step-layout/map-step.json index c0c96f1..57600f8 100644 --- a/cms/src/components/step-layout/map-step.json +++ b/cms/src/components/step-layout/map-step.json @@ -26,6 +26,10 @@ "map": { "type": "customField", "customField": "plugin::map-field.map-field" + }, + "title": { + "type": "string", + "required": true } } } diff --git a/cms/src/components/step-layout/media-step.json b/cms/src/components/step-layout/media-step.json deleted file mode 100644 index 6fd03a0..0000000 --- a/cms/src/components/step-layout/media-step.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "collectionName": "components_step_layer_media_steps", - "info": { - "displayName": "media-step", - "description": "" - }, - "options": {}, - "attributes": { - "media_type": { - "type": "enumeration", - "enum": [ - "image", - "video" - ], - "required": true - }, - "media": { - "type": "media", - "multiple": false, - "required": true, - "allowedTypes": [ - "images", - "videos" - ] - }, - "title": { - "type": "string", - "required": true - }, - "content": { - "type": "richtext" - } - } -} diff --git a/types/orval.config.ts b/types/orval.config.ts index 5f389d9..0a93bf7 100644 --- a/types/orval.config.ts +++ b/types/orval.config.ts @@ -89,7 +89,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', 'Step'], + tags: ['Dataset', 'Dataset-group', 'Layer', 'Story', 'Category'], }, } } diff --git a/yarn.lock b/yarn.lock index 2728174..a09c433 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2893,6 +2893,7 @@ __metadata: pg: 8.8.0 strapi-plugin-import-export-entries: ^1.21.0 strapi-plugin-populate-deep: ^3.0.0 + strapi-plugin-preview-button: ^2.2.1 typescript: 5.1.3 languageName: unknown linkType: soft @@ -10267,6 +10268,15 @@ __metadata: languageName: node linkType: hard +"copy-to-clipboard@npm:^3.3.1": + version: 3.3.3 + resolution: "copy-to-clipboard@npm:3.3.3" + dependencies: + toggle-selection: ^1.0.6 + checksum: e0a325e39b7615108e6c1c8ac110ae7b829cdc4ee3278b1df6a0e4228c490442cc86444cd643e2da344fbc424b3aab8909e2fec82f8bc75e7e5b190b7c24eecf + languageName: node + linkType: hard + "copyfiles@npm:2.4.1": version: 2.4.1 resolution: "copyfiles@npm:2.4.1" @@ -13866,7 +13876,7 @@ __metadata: languageName: node linkType: hard -"immer@npm:^9.0.6": +"immer@npm:9.0.21, immer@npm:^9.0.6": version: 9.0.21 resolution: "immer@npm:9.0.21" checksum: 70e3c274165995352f6936695f0ef4723c52c92c92dd0e9afdfe008175af39fa28e76aafb3a2ca9d57d1fb8f796efc4dd1e1cc36f18d33fa5b74f3dfb0375432 @@ -18677,6 +18687,18 @@ __metadata: languageName: node linkType: hard +"react-copy-to-clipboard@npm:5.1.0": + version: 5.1.0 + resolution: "react-copy-to-clipboard@npm:5.1.0" + dependencies: + copy-to-clipboard: ^3.3.1 + prop-types: ^15.8.1 + peerDependencies: + react: ^15.3.0 || 16 || 17 || 18 + checksum: f00a4551b9b63c944a041a6ab46af5ef20ba1106b3bc25173e7ef9bffbfba17a613368682ab8820cfe8d4b3acc5335cd9ce20229145bcc1e6aa8d1db04c512e5 + languageName: node + linkType: hard + "react-dnd-html5-backend@npm:15.1.3": version: 15.1.3 resolution: "react-dnd-html5-backend@npm:15.1.3" @@ -18905,6 +18927,38 @@ __metadata: languageName: node linkType: hard +"react-redux@npm:8.1.1": + version: 8.1.1 + resolution: "react-redux@npm:8.1.1" + dependencies: + "@babel/runtime": ^7.12.1 + "@types/hoist-non-react-statics": ^3.3.1 + "@types/use-sync-external-store": ^0.0.3 + hoist-non-react-statics: ^3.3.2 + react-is: ^18.0.0 + use-sync-external-store: ^1.0.0 + peerDependencies: + "@types/react": ^16.8 || ^17.0 || ^18.0 + "@types/react-dom": ^16.8 || ^17.0 || ^18.0 + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + react-native: ">=0.59" + redux: ^4 || ^5.0.0-beta.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + react-dom: + optional: true + react-native: + optional: true + redux: + optional: true + checksum: 370676330727764d78f35e9c5a0ed0591d79482fe9b70fffcab4aa6bcccc6194e4f1ebd818b4b390351dea5557e70d3bd4d95d7a0ac9baa1f45d6bf2230ee713 + languageName: node + linkType: hard + "react-refresh@npm:0.14.0": version: 0.14.0 resolution: "react-refresh@npm:0.14.0" @@ -20603,6 +20657,29 @@ __metadata: languageName: node linkType: hard +"strapi-plugin-preview-button@npm:^2.2.1": + version: 2.2.1 + resolution: "strapi-plugin-preview-button@npm:2.2.1" + dependencies: + immer: 9.0.21 + react-copy-to-clipboard: 5.1.0 + react-redux: 8.1.1 + peerDependencies: + "@strapi/design-system": ^1.9.0 + "@strapi/helper-plugin": ^4.13.1 + "@strapi/icons": ^1.9.0 + "@strapi/strapi": ^4.13.1 + "@strapi/utils": ^4.13.1 + lodash: 4.17.21 + prop-types: ^15.8.1 + qs: ^6.11.0 + react: ^18.0.0 + react-intl: ^6.4.1 + react-router-dom: ^5.3.4 + checksum: 1c61ed4e7503303389c89c9977b3c58d18ecc8acadb4e0669ea0eb5797e30eb111235b1fc47e418db11ecf6a5eb858bd3c1a10b5faa916a860a176bb02b34075 + languageName: node + linkType: hard + "stream-browserify@npm:3.0.0": version: 3.0.0 resolution: "stream-browserify@npm:3.0.0" @@ -21358,6 +21435,13 @@ __metadata: languageName: node linkType: hard +"toggle-selection@npm:^1.0.6": + version: 1.0.6 + resolution: "toggle-selection@npm:1.0.6" + checksum: a90dc80ed1e7b18db8f4e16e86a5574f87632dc729cfc07d9ea3ced50021ad42bb4e08f22c0913e0b98e3837b0b717e0a51613c65f30418e21eb99da6556a74c + languageName: node + linkType: hard + "toidentifier@npm:1.0.1": version: 1.0.1 resolution: "toidentifier@npm:1.0.1"