@craftercms/classes
Advanced tools
Changelog
4.1.0
/api/1/site/search/search.json
to api/1/site/elasticsearch/search
.urlTransform
, getTree
, getItem
, getChildren
fix config argument to accept partial CrafterConfigELASTICSEARCH
property to SEARCH
.Query
class instead of removed ElasticQuery
class in createQuery
function.Changelog
4.0.3
parseProps
(internally used by parseDescriptor
) to include orderDefault_f
(parsed as orderInNav
) in the resulting ContentInstance.parseProps
and parseDescriptor
options to receive systemPropMap
, ignoredProps
, systemProps
to be used during parsing.
ContentInstance
interface and extend it accordingly.parseDescriptor
signatures definitionsorderInNav
and disabled
to their target data types (float and boolean, respectively).extractContent
and extractChildren
functions.systemPropMap
, ignoredProps
, systemProps
.Changelog
2.0.6
fetchModelByPath
and fetchModelByUrl
shortcuts methodsparseDescriptor
typingsurlTransform
typingscrafterConf
docsChangelog
2.0.5
parsedDescriptor
addAuthoringSupport
Changelog
2.0.4
flatten
argument to getDescriptor getting lost/ignoredChangelog
2.0.3
Changelog
2.0.2
crafterConf.configure({ cors: true, ... })
to enable CORs mode.fetchIsAuthoring
and addAuthoringSupport
not retrieving for baseUrl from crafterConf
.