Search
Preparing search index...
The search index is not available
contentful.js - v10.0.0-beta-v10.7
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
contentful.js - v10.0.0-beta-v10.7
Index
Entities
Asset
Content
Type
Entry
Locale
Space
Other
Entry
Fields
Abstract
Entry
Collection
Asset
Details
Asset
Fields
Asset
File
Content
Type
Field
Content
Type
Field
Validation
Content
Type
Sys
Contentful
Collection
Create
Client
Params
Entry
Sys
Entry
With
All
Locales
And
Without
Link
Resolution
Field
Item
Link
Locale
Sys
Space
Sys
Sync
Collection
Tag
Sys
Asset
Collection
Asset
Key
Asset
Mime
Type
Asset
Queries
Asset
Sys
Basic
Entry
Field
Client
Log
Level
Content
Type
Collection
Content
Type
Field
Type
Content
Type
Link
Contentful
Client
Api
Entries
Queries
Entry
Collection
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Collection
With
All
Locales
And
Without
Link
Resolution
Entry
Collection
With
Link
Resolution
And
With
Unresolvable
Links
Entry
Collection
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Collection
Without
Link
Resolution
Entry
Link
Entry
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
Entry
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
With
Link
Resolution
And
With
Unresolvable
Links
Entry
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Without
Link
Resolution
Environment
Link
Get
Global
Options
Link
Type
Locale
Code
Locale
Collection
Metadata
Space
Link
Tag
Tag
Collection
Tag
Link
User
Link
create
Client
Other
Asset
Collection
Asset
Collection
:
ContentfulCollection
<
Asset
>
Asset
Key
Asset
Key
:
{
policy
:
string
;
secret
:
string
}
Type declaration
policy
:
string
secret
:
string
Asset
Mime
Type
Asset
Mime
Type
:
"attachment"
|
"plaintext"
|
"image"
|
"audio"
|
"video"
|
"richtext"
|
"presentation"
|
"spreadsheet"
|
"pdfdocument"
|
"archive"
|
"code"
|
"markup"
Asset
Queries
Asset
Queries
<
Fields
>
:
Partial
<
AssetFieldsQueries
<
Fields
>
&
SysQueries
<
Pick
<
AssetSys
,
"createdAt"
|
"updatedAt"
|
"revision"
|
"id"
|
"type"
>
>
&
FixedQueryOptions
&
FixedPagedOptions
&
{
mimetype_group
?:
AssetMimeType
}
&
Record
<
string
,
any
>
>
Type parameters
Fields
:
FieldsType
=
FieldsType
Asset
Sys
Asset
Sys
:
EntitySys
Basic
Entry
Field
Basic
Entry
Field
:
Symbol
|
Text
|
Integer
|
Number
|
Date
|
Boolean
|
Location
|
RichText
|
Object
Client
Log
Level
Client
Log
Level
:
"error"
|
"warning"
|
"info"
|
string
Content
Type
Collection
Content
Type
Collection
:
ContentfulCollection
<
ContentType
>
Content
Type
Field
Type
Content
Type
Field
Type
:
"Symbol"
|
"Text"
|
"Integer"
|
"Number"
|
"Date"
|
"Boolean"
|
"Location"
|
"Link"
|
"Array"
|
"Object"
|
"RichText"
Content
Type
Link
Content
Type
Link
:
Link
<
"ContentType"
>
Contentful
Client
Api
Contentful
Client
Api
:
{
withAllLocales
:
{
withoutLinkResolution
:
ClientWithAllLocalesAndWithoutLinkResolution
;
withoutUnresolvableLinks
:
ClientWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
}
&
ClientWithAllLocalesAndWithLinkResolutionAndWithUnresolvableLinks
;
withoutLinkResolution
:
{
withAllLocales
:
ClientWithAllLocalesAndWithoutLinkResolution
}
&
ClientWithoutLinkResolution
;
withoutUnresolvableLinks
:
{
withAllLocales
:
ClientWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
}
&
ClientWithLinkResolutionAndWithoutUnresolvableLinks
}
&
DefaultClient
Entries
Queries
Entries
Queries
<
Fields
>
:
Partial
<
EntryFieldsQueries
<
Fields
>
&
SysQueries
<
Pick
<
EntrySys
,
"createdAt"
|
"updatedAt"
|
"revision"
|
"id"
|
"type"
>
>
&
FixedQueryOptions
&
FixedPagedOptions
&
{
content_type
?:
string
}
&
Record
<
string
,
any
>
&
{
resolveLinks
?:
never
}
>
Type parameters
Fields
:
FieldsType
=
FieldsType
Entry
Collection
Entry
Collection
<
T
>
:
AbstractEntryCollection
<
Entry
<
T
>
>
Type parameters
T
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
<
Fields
,
Locales
>
:
AbstractEntryCollection
<
EntryWithAllLocalesAndWithLinkResolutionAndWithUnresolvableLinks
<
Fields
,
Locales
>
>
Type parameters
Fields
Locales
:
LocaleCode
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
<
Fields
,
Locales
>
:
AbstractEntryCollection
<
EntryWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
<
Fields
,
Locales
>
>
Type parameters
Fields
Locales
:
LocaleCode
Entry
Collection
With
All
Locales
And
Without
Link
Resolution
Entry
Collection
With
All
Locales
And
Without
Link
Resolution
<
Fields
,
Locales
>
:
AbstractEntryCollection
<
EntryWithAllLocalesAndWithoutLinkResolution
<
Fields
,
Locales
>
>
Type parameters
Fields
Locales
:
LocaleCode
Entry
Collection
With
Link
Resolution
And
With
Unresolvable
Links
Entry
Collection
With
Link
Resolution
And
With
Unresolvable
Links
<
T
>
:
AbstractEntryCollection
<
EntryWithLinkResolutionAndWithUnresolvableLinks
<
T
>
>
Type parameters
T
Entry
Collection
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Collection
With
Link
Resolution
And
Without
Unresolvable
Links
<
Fields
>
:
AbstractEntryCollection
<
EntryWithLinkResolutionAndWithoutUnresolvableLinks
<
Fields
>
>
Type parameters
Fields
Entry
Collection
Without
Link
Resolution
Entry
Collection
Without
Link
Resolution
<
T
>
:
EntryCollection
<
T
>
Type parameters
T
Entry
Link
Entry
Link
:
Link
<
"Entry"
>
Entry
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
Entry
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
<
Fields
,
Locales
>
:
{
fields
:
{
[
FieldName
in
keyof
Fields
]
:
{
[
LocaleName
in
Locales
]
?:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithAllLocalesAndWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
|
undefined
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
EntryWithAllLocalesAndWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
[]
|
undefined
:
Fields
[
FieldName
]
}
}
;
metadata
:
Metadata
;
sys
:
EntrySys
}
Type parameters
Fields
:
FieldsType
Locales
:
LocaleCode
Type declaration
fields
:
{
[
FieldName
in
keyof
Fields
]
:
{
[
LocaleName
in
Locales
]
?:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithAllLocalesAndWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
|
undefined
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
EntryWithAllLocalesAndWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
[]
|
undefined
:
Fields
[
FieldName
]
}
}
metadata
:
Metadata
sys
:
EntrySys
Entry
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
<
Fields
,
Locales
>
:
{
fields
:
{
[
FieldName
in
keyof
Fields
]
:
{
[
LocaleName
in
Locales
]
?:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
|
undefined
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
EntryWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
[]
|
undefined
:
Fields
[
FieldName
]
}
}
;
metadata
:
Metadata
;
sys
:
EntrySys
}
Type parameters
Fields
:
FieldsType
Locales
:
LocaleCode
Type declaration
fields
:
{
[
FieldName
in
keyof
Fields
]
:
{
[
LocaleName
in
Locales
]
?:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
|
undefined
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
EntryWithAllLocalesAndWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
,
Locales
>
[]
|
undefined
:
Fields
[
FieldName
]
}
}
metadata
:
Metadata
sys
:
EntrySys
Entry
With
Link
Resolution
And
With
Unresolvable
Links
Entry
With
Link
Resolution
And
With
Unresolvable
Links
<
Fields
>
:
{
fields
:
{
[
FieldName
in
keyof
Fields
]
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
>
|
EntryLink
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
(
EntryWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
>
|
EntryLink
)
[]
:
Fields
[
FieldName
]
}
;
metadata
:
Metadata
;
sys
:
EntrySys
}
Type parameters
Fields
:
FieldsType
Type declaration
fields
:
{
[
FieldName
in
keyof
Fields
]
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
>
|
EntryLink
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
(
EntryWithLinkResolutionAndWithUnresolvableLinks
<
LinkedEntryFields
>
|
EntryLink
)
[]
:
Fields
[
FieldName
]
}
metadata
:
Metadata
sys
:
EntrySys
Entry
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
With
Link
Resolution
And
Without
Unresolvable
Links
<
Fields
>
:
{
fields
:
{
[
FieldName
in
keyof
Fields
]
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
>
|
undefined
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
EntryWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
>
[]
|
undefined
:
Fields
[
FieldName
]
}
;
metadata
:
Metadata
;
sys
:
EntrySys
}
Type parameters
Fields
:
FieldsType
Type declaration
fields
:
{
[
FieldName
in
keyof
Fields
]
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
?
EntryWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
>
|
undefined
:
Fields
[
FieldName
]
extends
EntryFields
.
Link
<
infer
LinkedEntryFields
>
[]
?
EntryWithLinkResolutionAndWithoutUnresolvableLinks
<
LinkedEntryFields
>
[]
|
undefined
:
Fields
[
FieldName
]
}
metadata
:
Metadata
sys
:
EntrySys
Entry
Without
Link
Resolution
Entry
Without
Link
Resolution
<
T
>
:
Entry
<
T
>
Type parameters
T
Environment
Link
Environment
Link
:
Link
<
"Environment"
>
Get
Global
Options
Get
Global
Options
:
(
globalOptions
?:
GlobalOptionsParams
)
=>
Required
<
GlobalOptionsParams
>
Type declaration
(
globalOptions
?:
GlobalOptionsParams
)
:
Required
<
GlobalOptionsParams
>
Parameters
Optional
globalOptions:
GlobalOptionsParams
Returns
Required
<
GlobalOptionsParams
>
Link
Type
Link
Type
:
"Space"
|
"ContentType"
|
"Environment"
|
"Entry"
|
"Tag"
|
"User"
Locale
Code
Locale
Code
:
string
Locale
Collection
Locale
Collection
:
ContentfulCollection
<
Locale
>
Metadata
Metadata
:
{
tags
:
{
sys
:
TagLink
}
[]
}
Type declaration
tags
:
{
sys
:
TagLink
}
[]
Space
Link
Space
Link
:
Link
<
"Space"
>
Tag
Tag
:
{
name
:
string
;
sys
:
TagSys
}
Type declaration
name
:
string
sys
:
TagSys
Tag
Collection
Tag
Collection
:
ContentfulCollection
<
Tag
>
Tag
Link
Tag
Link
:
Link
<
"Tag"
>
User
Link
User
Link
:
Link
<
"User"
>
create
Client
create
Client
(
params
:
CreateClientParams
)
:
ContentfulClientApi
Parameters
params:
CreateClientParams
Returns
ContentfulClientApi
Exports
Entry
Fields
Abstract
Entry
Collection
Asset
Asset
Details
Asset
Fields
Asset
File
Content
Type
Content
Type
Field
Content
Type
Field
Validation
Content
Type
Sys
Contentful
Collection
Create
Client
Params
Entry
Entry
Sys
Entry
With
All
Locales
And
Without
Link
Resolution
Field
Item
Link
Locale
Locale
Sys
Space
Space
Sys
Sync
Collection
Tag
Sys
Asset
Collection
Asset
Key
Asset
Mime
Type
Asset
Queries
Asset
Sys
Basic
Entry
Field
Client
Log
Level
Content
Type
Collection
Content
Type
Field
Type
Content
Type
Link
Contentful
Client
Api
Entries
Queries
Entry
Collection
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
Entry
Collection
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Collection
With
All
Locales
And
Without
Link
Resolution
Entry
Collection
With
Link
Resolution
And
With
Unresolvable
Links
Entry
Collection
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Collection
Without
Link
Resolution
Entry
Link
Entry
With
All
Locales
And
With
Link
Resolution
And
With
Unresolvable
Links
Entry
With
All
Locales
And
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
With
Link
Resolution
And
With
Unresolvable
Links
Entry
With
Link
Resolution
And
Without
Unresolvable
Links
Entry
Without
Link
Resolution
Environment
Link
Get
Global
Options
Link
Type
Locale
Code
Locale
Collection
Metadata
Space
Link
Tag
Tag
Collection
Tag
Link
User
Link
create
Client