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/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 aeb3217..deaae4e 100644 --- a/client/src/containers/story/steps/index.tsx +++ b/client/src/containers/story/steps/index.tsx @@ -8,7 +8,7 @@ import { StepLayoutMediaStepComponentMedia, StepLayoutOutroStepComponentMedia, StoryCategory, - StoryStepsDataItem, + StoryStepsItem, } from '@/types/generated/strapi.schemas'; import MapStepLayout from './layouts/map-step'; @@ -18,7 +18,7 @@ import { getStepType } from './utils'; type StepProps = PropsWithChildren<{ media?: StepLayoutMediaStepComponentMedia | StepLayoutOutroStepComponentMedia; - step: StoryStepsDataItem; + step: StoryStepsItem; category?: StoryCategory; index: number; }>; @@ -28,8 +28,7 @@ const Step = ({ step, category, index }: StepProps) => { const STEP_COMPONENT = useMemo(() => { const type = getStepType(step); - const stepLayout = step?.attributes?.layout?.[0]; - if (!type || !stepLayout) return null; + if (!type || !step) return null; switch (type) { case 'map-step': { @@ -37,17 +36,17 @@ const Step = ({ step, category, index }: StepProps) => { ); } case 'media-step': - return ; + return ; case 'outro-step': return ( 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/strapi.schemas.ts b/client/src/types/generated/strapi.schemas.ts index d0955d8..580f8ea 100644 --- a/client/src/types/generated/strapi.schemas.ts +++ b/client/src/types/generated/strapi.schemas.ts @@ -379,11 +379,6 @@ export interface UploadFile { export type StoryResponseMeta = { [key: string]: any }; -export interface StoryResponseDataObject { - attributes?: Story; - id?: number; -} - export interface StoryResponse { data?: StoryResponseDataObject; meta?: StoryResponseMeta; @@ -400,32 +395,7 @@ export type StoryUpdatedBy = { data?: StoryUpdatedByData; }; -export interface Story { - bbox: unknown; - category?: StoryCategory; - createdAt?: string; - createdBy?: StoryCreatedBy; - latitude: number; - longitude: number; - publishedAt?: string; - slug?: string; - status: StoryStatus; - steps?: StorySteps; - title: string; - updatedAt?: string; - updatedBy?: StoryUpdatedBy; -} - -export type StoryStepsDataItemAttributes = { [key: string]: any }; - -export type StoryStepsDataItem = { - attributes?: StoryStepsDataItemAttributes; - id?: number; -}; - -export type StorySteps = { - data?: StoryStepsDataItem[]; -}; +export type StoryStepsItem = StepLayoutMapStepComponent | StepLayoutOutroStepComponent; export type StoryStatus = (typeof StoryStatus)[keyof typeof StoryStatus]; @@ -455,6 +425,27 @@ export type StoryCategory = { data?: StoryCategoryData; }; +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; +} + +export interface StoryResponseDataObject { + attributes?: Story; + id?: number; +} + export type StoryCategoryDataAttributesUpdatedByDataAttributes = { [key: string]: any }; export type StoryCategoryDataAttributesUpdatedByData = { @@ -466,10 +457,6 @@ export type StoryCategoryDataAttributesUpdatedBy = { data?: StoryCategoryDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStories = { - data?: StoryCategoryDataAttributesStoriesDataItem[]; -}; - export type StoryCategoryDataAttributes = { createdAt?: string; createdBy?: StoryCategoryDataAttributesCreatedBy; @@ -481,6 +468,15 @@ export type StoryCategoryDataAttributes = { updatedBy?: StoryCategoryDataAttributesUpdatedBy; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData; +}; + export type StoryCategoryDataAttributesStoriesDataItemAttributes = { bbox?: unknown; category?: StoryCategoryDataAttributesStoriesDataItemAttributesCategory; @@ -491,7 +487,7 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributes = { publishedAt?: string; slug?: string; status?: StoryCategoryDataAttributesStoriesDataItemAttributesStatus; - steps?: StoryCategoryDataAttributesStoriesDataItemAttributesSteps; + steps?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItem[]; title?: string; updatedAt?: string; updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy; @@ -502,134 +498,59 @@ export type StoryCategoryDataAttributesStoriesDataItem = { id?: number; }; +export type StoryCategoryDataAttributesStories = { + data?: StoryCategoryDataAttributesStoriesDataItem[]; +}; + export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByDataAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaData = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesUpdatedByData; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMedia = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributes; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzero = { + __component?: string; + content?: string; id?: number; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayers; + map?: unknown; + media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMedia; + title?: string; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesSteps = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItem[]; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributes = { - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedBy; - layout?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItem[]; - publishedAt?: string; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy; -}; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMedia = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefour = - { - __component?: string; - content?: string; - id?: number; - media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMedia; - title?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelated = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelatedDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderDataAttributes; - id?: number; - }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItem = + | StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOf + | StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzero; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolder = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolderData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedBy; ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesFolder; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -639,175 +560,114 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAtt previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesRelated; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefourMediaDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesUpdatedBy; url?: string; width?: number; }; -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 StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMedia = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelated = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzero = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderData = { - __component?: string; - content?: string; - id?: number; - media?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMedia; - media_type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaType; - title?: string; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItem = - | StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf - | StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzero - | StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfOneonefour; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolder = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesUpdatedByData; - }; - -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; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelated = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesRelatedDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolder = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributes = { - children?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren; + children?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy; - files?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy; + files?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles; name?: string; - parent?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent; + parent?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent; path?: string; pathId?: number; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParent = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesParentData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFiles = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; ext?: string; - folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; + folder?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -817,154 +677,155 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAtt previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; + related?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; url?: string; width?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; - id?: number; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildren = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroMediaDataAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfSevenzeroMediaDataAttributesCreatedByData; - }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItemAttributes = + { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItem = { - content?: string; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItemAttributes; id?: number; - info?: string; - title?: string; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem[]; - }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayers = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfSevenzeroLayersDataItem[]; +}; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf = - { - __component?: string; - card?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfCardItem[]; - id?: number; - layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers; - map?: unknown; - story_summary?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem[]; - }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem = { + content?: string; + id?: number; + info?: string; + title?: string; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes; + id?: number; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayers = { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; +}; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOf = { + __component?: string; + card?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfCardItem[]; + id?: number; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayers; + map?: unknown; + story_summary?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem[]; +}; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = - (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType]; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = + (typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType)[keyof typeof StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType]; // eslint-disable-next-line @typescript-eslint/no-redeclare -export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = +export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = { deckgl: 'deckgl', mapbox: 'mapbox', @@ -972,7 +833,7 @@ export const StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAt 'animated-tiles': 'animated-tiles', } as const; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = { citation?: string; content_date?: string; @@ -983,49 +844,49 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAtt source?: string; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = + { + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + id?: number; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes = { config?: unknown; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy; - dataset?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy; + dataset?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset; interaction_config?: unknown; legend_config?: unknown; - metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata; + metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata; params_config?: unknown; publishedAt?: string; title?: string; - type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType; + type?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes; - id?: number; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = { citation?: string; content_date?: string; @@ -1036,119 +897,88 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAtt 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 StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = { createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; publishedAt?: string; title?: string; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { blocked?: boolean; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; email?: string; firstname?: string; isActive?: boolean; @@ -1156,205 +986,216 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAtt preferedLanguage?: string; registrationToken?: string; resetPasswordToken?: string; - roles?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; + roles?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; username?: string; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = - { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = - { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; - }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = { - action?: string; - conditions?: unknown; + code?: string; createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + description?: string; + name?: string; + permissions?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = { - code?: string; - createdAt?: string; - createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; + id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData; + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedByData; + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfCardItem = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = + { [key: string]: any }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = { - content?: string; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; id?: number; - title?: string; - widget?: unknown; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByDataAttributes = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByData = +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData = { - attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByDataAttributes; + attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedBy = { - data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsDataItemAttributesCreatedByData; +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedBy = + { + data?: StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesCreatedByData; + }; + +export type StoryCategoryDataAttributesStoriesDataItemAttributesStepsItemAnyOfCardItem = { + content?: string; + id?: number; + title?: string; + widget?: unknown; }; export type StoryCategoryDataAttributesStoriesDataItemAttributesStatus = @@ -1379,6 +1220,10 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesCreatedBy = { data?: StoryCategoryDataAttributesStoriesDataItemAttributesCreatedByData; }; +export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes = { + [key: string]: any; +}; + export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryData = { attributes?: StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes; id?: number; @@ -1388,10 +1233,6 @@ export type StoryCategoryDataAttributesStoriesDataItemAttributesCategory = { data?: StoryCategoryDataAttributesStoriesDataItemAttributesCategoryData; }; -export type StoryCategoryDataAttributesStoriesDataItemAttributesCategoryDataAttributes = { - [key: string]: any; -}; - export type StoryCategoryDataAttributesCreatedByDataAttributes = { [key: string]: any }; export type StoryCategoryDataAttributesCreatedByData = { @@ -1428,7 +1269,7 @@ export interface StoryRequest { data: StoryRequestData; } -export type StoryRequestDataStepsItem = number | string; +export type StoryRequestDataStepsItem = StepLayoutMapStepComponent | StepLayoutOutroStepComponent; export type StoryRequestDataStatus = (typeof StoryRequestDataStatus)[keyof typeof StoryRequestDataStatus]; @@ -1461,14 +1302,6 @@ export type StepLayoutOutroStepComponentMedia = { data?: StepLayoutOutroStepComponentMediaData; }; -export interface StepLayoutOutroStepComponent { - __component?: string; - content?: string; - id?: number; - media?: StepLayoutOutroStepComponentMedia; - title?: string; -} - export type StepLayoutOutroStepComponentMediaDataAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -1545,88 +1378,169 @@ export type StepLayoutOutroStepComponentMediaDataAttributesCreatedBy = { data?: StepLayoutOutroStepComponentMediaDataAttributesCreatedByData; }; -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 type StepLayoutOutroStepComponentLayersDataItemAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributes; +export type StepLayoutOutroStepComponentLayersDataItem = { + attributes?: StepLayoutOutroStepComponentLayersDataItemAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMedia = { - data?: StepLayoutMediaStepComponentMediaData; +export type StepLayoutOutroStepComponentLayers = { + data?: StepLayoutOutroStepComponentLayersDataItem[]; }; -export interface StepLayoutMediaStepComponent { +export interface StepLayoutOutroStepComponent { __component?: string; content?: string; id?: number; - media?: StepLayoutMediaStepComponentMedia; - media_type?: StepLayoutMediaStepComponentMediaType; + layers?: StepLayoutOutroStepComponentLayers; + map?: unknown; + media?: StepLayoutOutroStepComponentMedia; title?: string; } -export type StepLayoutMediaStepComponentMediaDataAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; +export type StepLayoutMapStepComponentLayersDataItemAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesUpdatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesUpdatedByDataAttributes; +export type StepLayoutMapStepComponentLayersDataItem = { + attributes?: StepLayoutMapStepComponentLayersDataItemAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesUpdatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesUpdatedByData; +export type StepLayoutMapStepComponentLayers = { + data?: StepLayoutMapStepComponentLayersDataItem[]; }; -export type StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItemAttributes = { - [key: string]: any; -}; +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[]; +} + +export type StepResponseMeta = { [key: string]: any }; + +export interface Step { + createdAt?: string; + createdBy?: StepCreatedBy; + layout?: StepLayoutItem[]; + publishedAt?: string; + story?: StepStory; + updatedAt?: string; + updatedBy?: StepUpdatedBy; +} -export type StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItemAttributes; +export interface StepResponseDataObject { + attributes?: Step; + id?: number; +} + +export interface StepResponse { + data?: StepResponseDataObject; + meta?: StepResponseMeta; +} + +export type StepUpdatedByDataAttributes = { [key: string]: any }; + +export type StepUpdatedByData = { + attributes?: StepUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesRelated = { - data?: StepLayoutMediaStepComponentMediaDataAttributesRelatedDataItem[]; +export type StepUpdatedBy = { + data?: StepUpdatedByData; +}; + +export type StepStoryDataAttributesUpdatedBy = { + data?: StepStoryDataAttributesUpdatedByData; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributes = { - children?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildren; +export type StepStoryDataAttributes = { + bbox?: unknown; + category?: StepStoryDataAttributesCategory; createdAt?: string; - createdBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedBy; - files?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; + createdBy?: StepStoryDataAttributesCreatedBy; + latitude?: number; + longitude?: number; + publishedAt?: string; + slug?: string; + status?: StepStoryDataAttributesStatus; + steps?: StepStoryDataAttributesStepsItem[]; + title?: string; updatedAt?: string; - updatedBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedBy; + updatedBy?: StepStoryDataAttributesUpdatedBy; +}; + +export type StepStoryData = { + attributes?: StepStoryDataAttributes; + id?: number; +}; + +export type StepStory = { + data?: StepStoryData; +}; + +export type StepStoryDataAttributesUpdatedByDataAttributes = { [key: string]: any }; + +export type StepStoryDataAttributesUpdatedByData = { + attributes?: StepStoryDataAttributesUpdatedByDataAttributes; + id?: number; +}; + +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaData = { + attributes?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributes; + id?: number; +}; + +export type StepStoryDataAttributesStepsItemAnyOfSevenMedia = { + data?: StepStoryDataAttributesStepsItemAnyOfSevenMediaData; +}; + +export type StepStoryDataAttributesStepsItemAnyOfSeven = { + __component?: string; + content?: string; + id?: number; + layers?: StepStoryDataAttributesStepsItemAnyOfSevenLayers; + map?: unknown; + media?: StepStoryDataAttributesStepsItemAnyOfSevenMedia; + title?: string; +}; + +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesUpdatedByDataAttributes = { + [key: string]: any; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributes; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesUpdatedByData = { + attributes?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolder = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderData; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesUpdatedBy = { + data?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesUpdatedByData; }; -export type StepLayoutMediaStepComponentMediaDataAttributes = { +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: StepLayoutMediaStepComponentMediaDataAttributesCreatedBy; + createdBy?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesCreatedBy; ext?: string; - folder?: StepLayoutMediaStepComponentMediaDataAttributesFolder; + folder?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -1636,602 +1550,183 @@ export type StepLayoutMediaStepComponentMediaDataAttributes = { previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: StepLayoutMediaStepComponentMediaDataAttributesRelated; + related?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: StepLayoutMediaStepComponentMediaDataAttributesUpdatedBy; + updatedBy?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesUpdatedBy; url?: string; width?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesRelatedDataItem = { + attributes?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesUpdatedByData; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesRelated = { + data?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesRelatedDataItem[]; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentDataAttributes = - { [key: string]: any }; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesFolderDataAttributes = { + [key: string]: any; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentDataAttributes; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesFolderData = { + attributes?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesFolderDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParent = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesParentData; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesFolder = { + data?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesFolderData; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFiles = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItem[]; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesCreatedByDataAttributes = { + [key: string]: any; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = - { - alternativeText?: string; - caption?: string; - createdAt?: string; - createdBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; - ext?: string; - folder?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; - name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; - size?: number; - updatedAt?: string; - updatedBy?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; - url?: string; - width?: number; - }; - -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesCreatedByData = { + attributes?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; +export type StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesCreatedBy = { + data?: StepStoryDataAttributesStepsItemAnyOfSevenMediaDataAttributesCreatedByData; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = - { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; +export type StepStoryDataAttributesStepsItemAnyOfSevenLayersDataItemAttributes = { + [key: string]: any; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = - { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; - }; +export type StepStoryDataAttributesStepsItemAnyOfSevenLayersDataItem = { + attributes?: StepStoryDataAttributesStepsItemAnyOfSevenLayersDataItemAttributes; + id?: number; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = - { [key: string]: any }; +export type StepStoryDataAttributesStepsItemAnyOfSevenLayers = { + data?: StepStoryDataAttributesStepsItemAnyOfSevenLayersDataItem[]; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = - { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; - id?: number; - }; +export type StepStoryDataAttributesStepsItemAnyOfStorySummaryItem = { + content?: string; + id?: number; + info?: string; + title?: string; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = - { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; - }; +export type StepStoryDataAttributesStepsItemAnyOf = { + __component?: string; + card?: StepStoryDataAttributesStepsItemAnyOfCardItem[]; + id?: number; + layers?: StepStoryDataAttributesStepsItemAnyOfLayers; + map?: unknown; + story_summary?: StepStoryDataAttributesStepsItemAnyOfStorySummaryItem[]; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = - { [key: string]: any }; +export type StepStoryDataAttributesStepsItem = + | StepStoryDataAttributesStepsItemAnyOf + | StepStoryDataAttributesStepsItemAnyOfSeven; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = - { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; - id?: number; - }; +export type StepStoryDataAttributesStepsItemAnyOfLayersDataItemAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = - { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; - }; +export type StepStoryDataAttributesStepsItemAnyOfLayersDataItem = { + attributes?: StepStoryDataAttributesStepsItemAnyOfLayersDataItemAttributes; + id?: number; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; +export type StepStoryDataAttributesStepsItemAnyOfLayers = { + data?: StepStoryDataAttributesStepsItemAnyOfLayersDataItem[]; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = - { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; - id?: number; - }; +export type StepStoryDataAttributesStepsItemAnyOfCardItem = { + content?: string; + id?: number; + title?: string; + widget?: unknown; +}; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = - { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; - }; +export type StepStoryDataAttributesStatus = + (typeof StepStoryDataAttributesStatus)[keyof typeof StepStoryDataAttributesStatus]; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = - { [key: string]: any }; +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const StepStoryDataAttributesStatus = { + Completed: 'Completed', + In_progress: 'In progress', +} as const; + +export type StepStoryDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; +export type StepStoryDataAttributesCreatedByData = { + attributes?: StepStoryDataAttributesCreatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesCreatedByData; +export type StepStoryDataAttributesCreatedBy = { + data?: StepStoryDataAttributesCreatedByData; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = - { [key: string]: any }; - -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItem = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; +export type StepStoryDataAttributesCategoryData = { + attributes?: StepStoryDataAttributesCategoryDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildren = { - data?: StepLayoutMediaStepComponentMediaDataAttributesFolderDataAttributesChildrenDataItem[]; +export type StepStoryDataAttributesCategory = { + data?: StepStoryDataAttributesCategoryData; }; -export type StepLayoutMediaStepComponentMediaDataAttributesCreatedByDataAttributes = { +export type StepStoryDataAttributesCategoryDataAttributesUpdatedByDataAttributes = { [key: string]: any; }; -export type StepLayoutMediaStepComponentMediaDataAttributesCreatedByData = { - attributes?: StepLayoutMediaStepComponentMediaDataAttributesCreatedByDataAttributes; +export type StepStoryDataAttributesCategoryDataAttributesUpdatedByData = { + attributes?: StepStoryDataAttributesCategoryDataAttributesUpdatedByDataAttributes; id?: number; }; -export type StepLayoutMediaStepComponentMediaDataAttributesCreatedBy = { - data?: StepLayoutMediaStepComponentMediaDataAttributesCreatedByData; +export type StepStoryDataAttributesCategoryDataAttributesUpdatedBy = { + data?: StepStoryDataAttributesCategoryDataAttributesUpdatedByData; }; -export type StepLayoutMapStepComponentLayers = { - data?: StepLayoutMapStepComponentLayersDataItem[]; +export type StepStoryDataAttributesCategoryDataAttributes = { + createdAt?: string; + createdBy?: StepStoryDataAttributesCategoryDataAttributesCreatedBy; + name?: string; + publishedAt?: string; + slug?: string; + stories?: StepStoryDataAttributesCategoryDataAttributesStories; + updatedAt?: string; + updatedBy?: StepStoryDataAttributesCategoryDataAttributesUpdatedBy; }; -export interface StepLayoutMapStepComponent { - __component?: string; - card?: MapLayerCardComponent[]; - id?: number; - layers?: StepLayoutMapStepComponentLayers; - map?: unknown; - story_summary?: MapLayerSummaryComponent[]; -} - -export type StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByDataAttributes = { +export type StepStoryDataAttributesCategoryDataAttributesStoriesDataItemAttributes = { [key: string]: any; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByDataAttributes; +export type StepStoryDataAttributesCategoryDataAttributesStoriesDataItem = { + attributes?: StepStoryDataAttributesCategoryDataAttributesStoriesDataItemAttributes; id?: number; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesUpdatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesUpdatedByData; +export type StepStoryDataAttributesCategoryDataAttributesStories = { + data?: StepStoryDataAttributesCategoryDataAttributesStoriesDataItem[]; }; -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 StepStoryDataAttributesCategoryDataAttributesCreatedByDataAttributes = { + [key: string]: any; +}; -export type StepLayoutMapStepComponentLayersDataItemAttributesMetadata = { - citation?: string; - content_date?: string; - description?: string; +export type StepStoryDataAttributesCategoryDataAttributesCreatedByData = { + attributes?: StepStoryDataAttributesCategoryDataAttributesCreatedByDataAttributes; id?: number; - license?: string; - resolution?: string; - source?: string; }; -export type StepLayoutMapStepComponentLayersDataItemAttributesDataset = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetData; +export type StepStoryDataAttributesCategoryDataAttributesCreatedBy = { + data?: StepStoryDataAttributesCategoryDataAttributesCreatedByData; }; -export type StepLayoutMapStepComponentLayersDataItemAttributes = { - config?: unknown; - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesCreatedBy; - dataset?: StepLayoutMapStepComponentLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: StepLayoutMapStepComponentLayersDataItemAttributesMetadata; - params_config?: unknown; - publishedAt?: string; - title?: string; - type?: StepLayoutMapStepComponentLayersDataItemAttributesType; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesUpdatedBy; -}; - -export type StepLayoutMapStepComponentLayersDataItem = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedByData; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesMetadata = { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributes = { - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesUpdatedBy; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItem = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayers = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = - { - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItem[]; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = - { - blocked?: boolean; - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; - email?: string; - firstname?: string; - isActive?: boolean; - lastname?: string; - preferedLanguage?: string; - registrationToken?: string; - resetPasswordToken?: string; - roles?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; - username?: string; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = - { - code?: string; - createdAt?: string; - createdBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData = - { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByDataAttributes; - id?: number; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy = - { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedByData; - }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesDatasetDataAttributesCreatedByData; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesCreatedByDataAttributes = { - [key: string]: any; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesCreatedByData = { - attributes?: StepLayoutMapStepComponentLayersDataItemAttributesCreatedByDataAttributes; - id?: number; -}; - -export type StepLayoutMapStepComponentLayersDataItemAttributesCreatedBy = { - data?: StepLayoutMapStepComponentLayersDataItemAttributesCreatedByData; -}; - -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 StepUpdatedByData = { - attributes?: StepUpdatedByDataAttributes; - id?: number; -}; - -export type StepUpdatedBy = { - data?: StepUpdatedByData; -}; - -export type StepLayoutItem = - | StepLayoutMapStepComponent - | StepLayoutMediaStepComponent - | StepLayoutOutroStepComponent; - -export interface Step { - createdAt?: string; - createdBy?: StepCreatedBy; - layout?: StepLayoutItem[]; - publishedAt?: string; - updatedAt?: string; - updatedBy?: StepUpdatedBy; -} +export type StepLayoutItem = StepLayoutMapStepComponent | StepLayoutOutroStepComponent; export type StepCreatedByDataAttributes = { [key: string]: any }; @@ -2265,13 +1760,13 @@ export interface StepListResponse { meta?: StepListResponseMeta; } -export type StepRequestDataLayoutItem = - | StepLayoutMapStepComponent - | StepLayoutMediaStepComponent - | StepLayoutOutroStepComponent; +export type StepRequestDataStory = number | string; + +export type StepRequestDataLayoutItem = StepLayoutMapStepComponent | StepLayoutOutroStepComponent; export type StepRequestData = { layout?: StepRequestDataLayoutItem[]; + story?: StepRequestDataStory; }; export interface StepRequest { @@ -2306,6 +1801,15 @@ export const LayerType = { 'animated-tiles': 'animated-tiles', } as const; +export type LayerDatasetData = { + attributes?: LayerDatasetDataAttributes; + id?: number; +}; + +export type LayerDataset = { + data?: LayerDatasetData; +}; + export interface Layer { config: unknown; createdAt?: string; @@ -2327,15 +1831,6 @@ export interface LayerResponseDataObject { id?: number; } -export type LayerDatasetData = { - attributes?: LayerDatasetDataAttributes; - id?: number; -}; - -export type LayerDataset = { - data?: LayerDatasetData; -}; - export type LayerDatasetDataAttributesUpdatedByDataAttributes = { [key: string]: any }; export type LayerDatasetDataAttributesUpdatedByData = { @@ -2369,6 +1864,15 @@ export type LayerDatasetDataAttributes = { updatedBy?: LayerDatasetDataAttributesUpdatedBy; }; +export type LayerDatasetDataAttributesLayersDataItem = { + attributes?: LayerDatasetDataAttributesLayersDataItemAttributes; + id?: number; +}; + +export type LayerDatasetDataAttributesLayers = { + data?: LayerDatasetDataAttributesLayersDataItem[]; +}; + export type LayerDatasetDataAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -2419,15 +1923,6 @@ export type LayerDatasetDataAttributesLayersDataItemAttributes = { updatedBy?: LayerDatasetDataAttributesLayersDataItemAttributesUpdatedBy; }; -export type LayerDatasetDataAttributesLayersDataItem = { - attributes?: LayerDatasetDataAttributesLayersDataItemAttributes; - id?: number; -}; - -export type LayerDatasetDataAttributesLayers = { - data?: LayerDatasetDataAttributesLayersDataItem[]; -}; - export type LayerDatasetDataAttributesLayersDataItemAttributesDatasetDataAttributes = { [key: string]: any; }; @@ -2476,16 +1971,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 LayerDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = { [key: string]: any; }; @@ -2508,21 +1993,14 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { - blocked?: boolean; +export type LayerDatasetDataAttributesDatasetGroupDataAttributes = { createdAt?: string; - createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesCreatedBy; - email?: string; - firstname?: string; - isActive?: boolean; - lastname?: string; - preferedLanguage?: string; - registrationToken?: string; - resetPasswordToken?: string; - roles?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRoles; + createdBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: LayerDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; updatedAt?: string; - updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedBy; - username?: string; + updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; }; export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = @@ -2548,6 +2026,23 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt 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 }; @@ -2576,12 +2071,6 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; }; -export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = - { - attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; - id?: number; - }; - export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions = { data?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; @@ -2655,6 +2144,12 @@ export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAtt updatedBy?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; }; +export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = + { + attributes?: LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes; + id?: number; + }; + export type LayerDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; @@ -2759,10 +2254,6 @@ export interface DatasetGroupResponse { meta?: DatasetGroupResponseMeta; } -export type DatasetGroupUpdatedBy = { - data?: DatasetGroupUpdatedByData; -}; - export interface DatasetGroup { createdAt?: string; createdBy?: DatasetGroupCreatedBy; @@ -2785,6 +2276,10 @@ export type DatasetGroupUpdatedByData = { id?: number; }; +export type DatasetGroupUpdatedBy = { + data?: DatasetGroupUpdatedByData; +}; + export type DatasetGroupDatasetsDataItem = { attributes?: DatasetGroupDatasetsDataItemAttributes; id?: number; @@ -2953,24 +2448,6 @@ 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; @@ -3005,6 +2482,24 @@ 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 }; @@ -3019,44 +2514,18 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItem[]; }; -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = - { - code?: string; - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; - description?: string; - name?: string; - permissions?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; - users?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; - }; - export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData = { - attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; - -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = - { - data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; - }; - -export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = - { - action?: string; - conditions?: unknown; - createdAt?: string; - createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; - properties?: unknown; - role?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; - subject?: string; - updatedAt?: string; - updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + attributes?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByDataAttributes; + id?: number; + }; + +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy = + { + data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedByData; }; export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem = @@ -3070,6 +2539,19 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItem[]; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributes = + { + code?: string; + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesCreatedBy; + description?: string; + name?: string; + permissions?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissions; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUpdatedBy; + users?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsers; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3084,6 +2566,19 @@ export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCrea data?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedByData; }; +export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributes = + { + action?: string; + conditions?: unknown; + createdAt?: string; + createdBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesCreatedBy; + properties?: unknown; + role?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRole; + subject?: string; + updatedAt?: string; + updatedBy?: DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesUpdatedBy; + }; + export type DatasetGroupDatasetsDataItemAttributesDatasetGroupDataAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = { [key: string]: any }; @@ -3151,6 +2646,10 @@ export type DatasetGroupDatasetsDataItemAttributesCreatedBy = { data?: DatasetGroupDatasetsDataItemAttributesCreatedByData; }; +export type DatasetGroupCreatedBy = { + data?: DatasetGroupCreatedByData; +}; + export type DatasetGroupCreatedByDataAttributes = { [key: string]: any }; export type DatasetGroupCreatedByData = { @@ -3158,10 +2657,6 @@ export type DatasetGroupCreatedByData = { id?: number; }; -export type DatasetGroupCreatedBy = { - data?: DatasetGroupCreatedByData; -}; - export type DatasetGroupListResponseMetaPagination = { page?: number; pageCount?: number; @@ -3206,6 +2701,18 @@ export interface DocumentationMetadataComponent { export type DatasetResponseMeta = { [key: string]: any }; +export interface Dataset { + createdAt?: string; + createdBy?: DatasetCreatedBy; + dataset_group?: DatasetDatasetGroup; + layers?: DatasetLayers; + metadata?: DocumentationMetadataComponent; + publishedAt?: string; + title: string; + updatedAt?: string; + updatedBy?: DatasetUpdatedBy; +} + export interface DatasetResponseDataObject { attributes?: Dataset; id?: number; @@ -3227,18 +2734,6 @@ 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 = { @@ -3250,11 +2745,6 @@ export type DatasetLayers = { data?: DatasetLayersDataItem[]; }; -export type DatasetDatasetGroupData = { - attributes?: DatasetDatasetGroupDataAttributes; - id?: number; -}; - export type DatasetDatasetGroup = { data?: DatasetDatasetGroupData; }; @@ -3270,6 +2760,15 @@ export type DatasetDatasetGroupDataAttributesUpdatedBy = { data?: DatasetDatasetGroupDataAttributesUpdatedByData; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItem = { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes; + id?: number; +}; + +export type DatasetDatasetGroupDataAttributesDatasets = { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItem[]; +}; + export type DatasetDatasetGroupDataAttributes = { createdAt?: string; createdBy?: DatasetDatasetGroupDataAttributesCreatedBy; @@ -3280,6 +2779,11 @@ export type DatasetDatasetGroupDataAttributes = { updatedBy?: DatasetDatasetGroupDataAttributesUpdatedBy; }; +export type DatasetDatasetGroupData = { + attributes?: DatasetDatasetGroupDataAttributes; + id?: number; +}; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesUpdatedByDataAttributes = { [key: string]: any; }; @@ -3303,6 +2807,11 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesMetadata source?: string; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem = { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes; + id?: number; +}; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayers = { data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem[]; }; @@ -3319,15 +2828,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes = { updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesUpdatedBy; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributes; - id?: number; -}; - -export type DatasetDatasetGroupDataAttributesDatasets = { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItem[]; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -3381,11 +2881,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat updatedBy?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesUpdatedBy; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItem = { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributes; - id?: number; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDatasetDataAttributes = { [key: string]: any }; @@ -3400,12 +2895,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesDatasetData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData = - { - attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributes; - id?: number; - }; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedBy = { data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData; @@ -3454,6 +2943,12 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDat username?: string; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByData = + { + attributes?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributes; + id?: number; + }; + export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; @@ -3482,6 +2977,19 @@ 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; @@ -3520,19 +3028,6 @@ 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 DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesLayersDataItemAttributesCreatedByDataAttributesRolesDataItemAttributesPermissionsDataItemAttributesRoleDataAttributes = { [key: string]: any }; @@ -3601,10 +3096,6 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesDatasetGr data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesDatasetGroupData; }; -export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedBy = { - data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedByData; -}; - export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedByDataAttributes = { [key: string]: any; }; @@ -3614,6 +3105,10 @@ export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedBy id?: number; }; +export type DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedBy = { + data?: DatasetDatasetGroupDataAttributesDatasetsDataItemAttributesCreatedByData; +}; + export type DatasetDatasetGroupDataAttributesCreatedByDataAttributes = { [key: string]: any }; export type DatasetDatasetGroupDataAttributesCreatedByData = { @@ -3674,6 +3169,11 @@ export interface DatasetRequest { export type CategoryResponseMeta = { [key: string]: any }; +export interface CategoryResponse { + data?: CategoryResponseDataObject; + meta?: CategoryResponseMeta; +} + export interface Category { createdAt?: string; createdBy?: CategoryCreatedBy; @@ -3690,11 +3190,6 @@ export interface CategoryResponseDataObject { id?: number; } -export interface CategoryResponse { - data?: CategoryResponseDataObject; - meta?: CategoryResponseMeta; -} - export type CategoryUpdatedByDataAttributes = { [key: string]: any }; export type CategoryUpdatedByData = { @@ -3706,22 +3201,6 @@ export type CategoryUpdatedBy = { data?: CategoryUpdatedByData; }; -export type CategoryStoriesDataItemAttributes = { - bbox?: unknown; - category?: CategoryStoriesDataItemAttributesCategory; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesCreatedBy; - latitude?: number; - longitude?: number; - publishedAt?: string; - slug?: string; - status?: CategoryStoriesDataItemAttributesStatus; - steps?: CategoryStoriesDataItemAttributesSteps; - title?: string; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesUpdatedBy; -}; - export type CategoryStoriesDataItem = { attributes?: CategoryStoriesDataItemAttributes; id?: number; @@ -3742,271 +3221,179 @@ export type CategoryStoriesDataItemAttributesUpdatedBy = { data?: CategoryStoriesDataItemAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes = { - [key: string]: any; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByDataAttributes; - id?: number; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedByData; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItem = - | CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOf - | CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzero - | CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfour; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributes = { +export type CategoryStoriesDataItemAttributes = { + bbox?: unknown; + category?: CategoryStoriesDataItemAttributesCategory; createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesCreatedBy; - layout?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItem[]; + createdBy?: CategoryStoriesDataItemAttributesCreatedBy; + latitude?: number; + longitude?: number; publishedAt?: string; + slug?: string; + status?: CategoryStoriesDataItemAttributesStatus; + steps?: CategoryStoriesDataItemAttributesStepsItem[]; + title?: string; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesUpdatedBy; + updatedBy?: CategoryStoriesDataItemAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributes; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesSteps = { - data?: CategoryStoriesDataItemAttributesStepsDataItem[]; -}; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMedia = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfour = { - __component?: string; - content?: string; - id?: number; - media?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMedia; - title?: string; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMedia = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaData; }; -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 CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByData; - }; - -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 = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzero = { + __component?: string; + content?: string; + id?: number; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayers; + map?: unknown; + media?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMedia; + title?: string; +}; + +export type CategoryStoriesDataItemAttributesStepsItem = + | CategoryStoriesDataItemAttributesStepsItemAnyOf + | CategoryStoriesDataItemAttributesStepsItemAnyOfFourzero; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfEightfourMediaDataAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType = - (typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType)[keyof typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesUpdatedByData; +}; -// eslint-disable-next-line @typescript-eslint/no-redeclare -export const CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType = - { - image: 'image', - video: 'video', - } as const; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes = + { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMedia = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaData; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelated = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesRelatedDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzero = { - __component?: string; - content?: string; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes; id?: number; - media?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMedia; - media_type?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaType; - title?: string; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolder = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedByData; - }; +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 CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelated = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelatedDataItem[]; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = + { [key: string]: any }; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolder = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes = { - alternativeText?: string; - caption?: string; + children?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren; createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedBy; - ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolder; - folderPath?: string; - formats?: unknown; - hash?: string; - height?: number; - mime?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy; + files?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles; name?: string; - previewUrl?: string; - provider?: string; - provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesRelated; - size?: number; + parent?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent; + path?: string; + pathId?: number; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesUpdatedBy; - url?: string; - width?: number; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParentData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes = { alternativeText?: string; caption?: string; createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy; ext?: string; - folder?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; + folder?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder; folderPath?: string; formats?: unknown; hash?: string; @@ -4016,244 +3403,221 @@ export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAn previewUrl?: string; provider?: string; provider_metadata?: unknown; - related?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; + related?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated; size?: number; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy; url?: string; width?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItem[]; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributes = - { - children?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren; - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy; - files?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFiles; - name?: string; - parent?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesParent; - path?: string; - pathId?: number; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesUpdatedBy; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelated = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesRelatedDataItem[]; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolder = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesFolderData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesFilesDataItemAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildren = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesFolderDataAttributesChildrenDataItem[]; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroMediaDataAttributesCreatedByData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes = - { [key: string]: any }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItemAttributes = { + [key: string]: any; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItem = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItemAttributes; + id?: number; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfFourzeroMediaDataAttributesCreatedByData; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayers = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfFourzeroLayersDataItem[]; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfStorySummaryItem = - { - content?: string; - id?: number; - info?: string; - title?: string; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfStorySummaryItem = { + content?: string; + id?: number; + info?: string; + title?: string; +}; -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[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = + { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayers = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItem[]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; + id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes = - { [key: string]: any }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedBy = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesUpdatedByData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = + (typeof CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType)[keyof typeof CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType]; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedByData; - }; +// eslint-disable-next-line @typescript-eslint/no-redeclare +export const CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesType = { + deckgl: 'deckgl', + mapbox: 'mapbox', + carto: 'carto', + 'animated-tiles': 'animated-tiles', +} as const; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType = - (typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType)[keyof typeof CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType]; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesMetadata = { + citation?: string; + content_date?: string; + description?: string; + id?: number; + license?: string; + resolution?: string; + source?: string; +}; -// 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 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 CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata = - { - citation?: string; - content_date?: string; - description?: string; - id?: number; - license?: string; - resolution?: string; - source?: string; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributes; + id?: number; +}; + +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayers = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItem[]; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes = { - config?: unknown; createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesCreatedBy; - dataset?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDataset; - interaction_config?: unknown; - legend_config?: unknown; - metadata?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesMetadata; - params_config?: unknown; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; + dataset_group?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; + layers?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; + metadata?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; publishedAt?: string; title?: string; - type?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesType; updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesUpdatedBy; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = - { [key: string]: any }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData = { + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributes; + id?: number; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes; - id?: number; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDataset = { + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetData; +}; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByData; - }; +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedByDataAttributes = + { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata = { citation?: string; content_date?: string; @@ -4264,143 +3628,115 @@ export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAn source?: string; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributes = - { - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy; - dataset_group?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup; - layers?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers; - metadata?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesMetadata; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesUpdatedBy; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayers = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesLayersDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = { - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; - datasets?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; - publishedAt?: string; - title?: string; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = - { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; - id?: number; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroup = - { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData; - }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItemAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasetsDataItem[]; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes = { [key: string]: any }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByDataAttributes; id?: number; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; + data?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedByData; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes = - { [key: string]: any }; - -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes = { - attributes?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByDataAttributes; - id?: number; + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesCreatedBy; + datasets?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesDatasets; + publishedAt?: string; + title?: string; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributesUpdatedBy; }; -export type CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedBy = +export type CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupData = { - data?: CategoryStoriesDataItemAttributesStepsDataItemAttributesLayoutItemAnyOfLayersDataItemAttributesDatasetDataAttributesCreatedByData; + attributes?: CategoryStoriesDataItemAttributesStepsItemAnyOfLayersDataItemAttributesDatasetDataAttributesDatasetGroupDataAttributes; + id?: number; }; -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 = @@ -4423,6 +3759,17 @@ export type CategoryStoriesDataItemAttributesCreatedBy = { data?: CategoryStoriesDataItemAttributesCreatedByData; }; +export type CategoryStoriesDataItemAttributesCategoryDataAttributes = { + createdAt?: string; + createdBy?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy; + name?: string; + publishedAt?: string; + slug?: string; + stories?: CategoryStoriesDataItemAttributesCategoryDataAttributesStories; + updatedAt?: string; + updatedBy?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedBy; +}; + export type CategoryStoriesDataItemAttributesCategoryData = { attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributes; id?: number; @@ -4445,6 +3792,10 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedBy = { data?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedByData; }; +export type CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItemAttributes = { + [key: string]: any; +}; + export type CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItem = { attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItemAttributes; id?: number; @@ -4454,21 +3805,6 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesStories = { data?: CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItem[]; }; -export type CategoryStoriesDataItemAttributesCategoryDataAttributes = { - createdAt?: string; - createdBy?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy; - name?: string; - publishedAt?: string; - slug?: string; - stories?: CategoryStoriesDataItemAttributesCategoryDataAttributesStories; - updatedAt?: string; - updatedBy?: CategoryStoriesDataItemAttributesCategoryDataAttributesUpdatedBy; -}; - -export type CategoryStoriesDataItemAttributesCategoryDataAttributesStoriesDataItemAttributes = { - [key: string]: any; -}; - export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByDataAttributes = { [key: string]: any }; @@ -4483,16 +3819,6 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesUpdatedByData; }; -export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem = - { - attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributes; - id?: number; - }; - -export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRoles = { - data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem[]; -}; - export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributes = { blocked?: boolean; createdAt?: string; @@ -4519,6 +3845,16 @@ export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedBy = { data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByData; }; +export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem = + { + attributes?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributes; + id?: number; + }; + +export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRoles = { + data?: CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItem[]; +}; + export type CategoryStoriesDataItemAttributesCategoryDataAttributesCreatedByDataAttributesRolesDataItemAttributesUsersDataItemAttributes = { [key: string]: any }; diff --git a/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 index 38cf99c..15949d1 100644 --- a/cms/src/api/step/content-types/step/schema.json +++ b/cms/src/api/step/content-types/step/schema.json @@ -16,12 +16,16 @@ "type": "dynamiczone", "components": [ "step-layout.map-step", - "step-layout.media-step", "step-layout.outro-step" ], "required": false, "min": 1, "max": 1 + }, + "story": { + "type": "relation", + "relation": "oneToOne", + "target": "api::story.story" } } } diff --git a/cms/src/api/story/content-types/story/schema.json b/cms/src/api/story/content-types/story/schema.json index 2dab882..b2f2028 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" + ] } } } 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/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"