@ninetailed/experience.js-utils-contentful
Version:
Contentful utilities for Experience.js
215 lines (214 loc) • 7.03 kB
TypeScript
export declare const experienceEntryWithoutLinkType: {
sys: {
id: string;
contentType: {
sys: {
id: string;
type: string;
revision: number;
createdAt: string;
updatedAt: string;
environment: {
sys: {
type: string;
id: string;
linkType: string;
};
};
space: {
sys: {
type: string;
id: string;
linkType: string;
};
};
};
name: string;
description: string;
displayField: string;
fields: ({
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
disabled?: undefined;
linkType?: undefined;
items?: undefined;
} | {
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
disabled: boolean;
linkType?: undefined;
items?: undefined;
} | {
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
disabled: boolean;
linkType: string;
items?: undefined;
} | {
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
disabled: boolean;
items: {
type: string;
linkType: string;
};
linkType?: undefined;
})[];
};
publishedAt: string;
firstPublishedAt: string;
};
fields: {
nt_name: string;
nt_description: null;
nt_type: string;
nt_experience_id: string;
nt_config: {
traffic: number;
components: {
baseline: {
id: string;
};
variants: {
id: string;
hidden: boolean;
}[];
}[];
distribution: number[];
};
nt_audience: null;
nt_variants: {
sys: {
id: string;
contentType: {
sys: {
id: string;
type: string;
revision: number;
createdAt: string;
updatedAt: string;
environment: {
sys: {
type: string;
id: string;
linkType: string;
};
};
space: {
sys: {
type: string;
id: string;
linkType: string;
};
};
};
name: string;
description: string;
displayField: string;
fields: ({
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
linkType?: undefined;
items?: undefined;
} | {
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
linkType: string;
items?: undefined;
} | {
id: string;
name: string;
type: string;
required: boolean;
localized: boolean;
items: {
type: string;
linkType: string;
};
linkType?: undefined;
})[];
};
publishedAt: string;
firstPublishedAt: string;
};
fields: {
internalTitle: string;
component: string;
images: {
alt: null;
bynder: {
id: string;
expires: null;
};
srcset: {
lg: string;
md: string;
xl: string;
xs: string;
xxs: string;
};
caption: null;
primary: boolean;
copyright: null;
}[];
videoId: null;
category: null;
title: string;
body: {
nodeType: string;
content: {
nodeType: string;
content: {
nodeType: string;
value: string;
marks: never[];
content: never[];
}[];
data: never[];
}[];
};
layout: string;
homepageLayout: string;
homepageStyle: string;
videoType: null;
video: null;
animation: null;
homepagePanelColour: string;
homepagePanelOptions: string;
homepageCountdown: null;
buttonLabel: string;
buttonUrl: string;
loginOptions: boolean;
campaignOptions: null;
anchor: string;
nt_experiences: never[];
};
metadata: {
tags: never[];
tagNames: never[];
};
}[];
};
metadata: {
tags: never[];
tagNames: never[];
};
}[];