All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ducks.pages.Actions.d.ts Maven / Gradle / Ivy

The newest version!
import { Action } from '../Action'

import { Metadata } from './Pages'

export type MetadataRequestPayload = {
    pageId: string
    rootPage: string
    pageUrl: string
    mapping: Record
}

export type MetadataSuccessPayload = {
    pageId: string
    json: Metadata
    pageUrl: string
}

export type MetadataFailPayload = {
    pageId: string
    err: Record | boolean
}

export type SetStatusPayload = {
    pageId: string
    status: number | null
}

export type SetPageLoadingPayload = {
    pageId: string
    loading: boolean
    spinner: boolean
}

export type MetadataRequest = Action
export type MetadataSuccess = Action
export type MetadataFail = Action
export type SetStatus = Action
export type SetPageLoading = Action
export type Reset = Action




© 2015 - 2024 Weber Informatics LLC | Privacy Policy