contensis-delivery-api
Advanced tools
Comparing version 1.1.5-beta.0 to 1.1.5-beta.1
@@ -1,3 +0,3 @@ | ||
import { EntryGetOptions, EntryListOptions, IEntryOperations } from '../models'; | ||
import { Entry, IHttpClient, IParamsProvider, PagedList } from 'contensis-core-api'; | ||
import { Entry, EntryGetOptions, EntryListOptions, IEntryOperations } from '../models'; | ||
import { IHttpClient, IParamsProvider, PagedList } from 'contensis-core-api'; | ||
export declare class EntryOperations implements IEntryOperations { | ||
@@ -4,0 +4,0 @@ private httpClient; |
@@ -1,2 +0,3 @@ | ||
import { Entry, VersionStatus, PagedList } from 'contensis-core-api'; | ||
import { Entry } from '../models'; | ||
import { VersionStatus, PagedList } from 'contensis-core-api'; | ||
export declare class LinkResolver<T extends Entry | Entry[] | PagedList<Entry>> { | ||
@@ -3,0 +4,0 @@ private entryOrList; |
@@ -0,4 +1,5 @@ | ||
import { Entry } from './Entry'; | ||
import { EntryGetOptions } from './EntryGetOptions'; | ||
import { EntryListOptions } from './EntryListOptions'; | ||
import { Entry, PagedList } from 'contensis-core-api'; | ||
import { PagedList } from 'contensis-core-api'; | ||
export interface IEntryOperations { | ||
@@ -5,0 +6,0 @@ get(idOrOptions: string | EntryGetOptions): Promise<Entry>; |
@@ -11,4 +11,6 @@ export * from './ClientConfigFactory'; | ||
export * from './ContensisStatic'; | ||
export * from './Entry'; | ||
export * from './EntryGetOptions'; | ||
export * from './EntryListOptions'; | ||
export * from './EntrySys'; | ||
export * from './ExpressionValueType'; | ||
@@ -41,2 +43,3 @@ export * from './IContentTypeOperations'; | ||
export * from './TaxonomyResolveChildrenOptions'; | ||
export * from './Workflow'; | ||
export * from './ZengentiStatic'; |
@@ -0,1 +1,2 @@ | ||
import { Entry } from './Entry'; | ||
import { Node } from './Node'; | ||
@@ -6,3 +7,2 @@ import { NodeGetByIdOptions } from './NodeGetByIdOptions'; | ||
import { NodeGetRootOptions } from './NodeGetRootOptions'; | ||
import { Entry } from 'contensis-core-api'; | ||
import { NodeGetChildrenOptions } from './NodeGetChildrenOptions'; | ||
@@ -9,0 +9,0 @@ import { NodeGetParentOptions } from './NodeGetParentOptions'; |
@@ -1,2 +0,2 @@ | ||
import { Entry } from 'contensis-core-api'; | ||
import { Entry } from './Entry'; | ||
export interface Node { | ||
@@ -3,0 +3,0 @@ id: string; |
@@ -0,3 +1,3 @@ | ||
import { Entry } from './Entry'; | ||
import { NodeDefaultOptions } from './NodeDefaultOptions'; | ||
import { Entry } from 'contensis-core-api'; | ||
export interface NodeGetByEntryOptions extends NodeDefaultOptions { | ||
@@ -4,0 +4,0 @@ entryId?: string; |
@@ -1,3 +0,3 @@ | ||
import { INodeOperations, Node, NodeGetByEntryOptions, NodeGetByIdOptions, NodeGetByPathOptions, NodeGetRootOptions, NodeGetChildrenOptions, NodeGetParentOptions, NodeGetAncestorsOptions, NodeGetAncestorAtLevelOptions, NodeGetSiblingOptions } from '../models'; | ||
import { Entry, IHttpClient, IParamsProvider } from 'contensis-core-api'; | ||
import { Entry, INodeOperations, Node, NodeGetByEntryOptions, NodeGetByIdOptions, NodeGetByPathOptions, NodeGetRootOptions, NodeGetChildrenOptions, NodeGetParentOptions, NodeGetAncestorsOptions, NodeGetAncestorAtLevelOptions, NodeGetSiblingOptions } from '../models'; | ||
import { IHttpClient, IParamsProvider } from 'contensis-core-api'; | ||
export declare class NodeOperations implements INodeOperations { | ||
@@ -4,0 +4,0 @@ private httpClient; |
@@ -283,2 +283,7 @@ interface AssetUpload { | ||
interface Entry { | ||
sys: Partial<EntrySys>; | ||
[key: string]: any; | ||
} | ||
interface EntryGetOptions { | ||
@@ -300,2 +305,23 @@ id: string; | ||
interface EntrySys { | ||
id: string; | ||
projectId: string; | ||
contentTypeId: string; | ||
dataFormat: string; | ||
language: string; | ||
availableLanguage: string[]; | ||
uri: string; | ||
allUris: string[]; | ||
metadata: { | ||
[key: string]: any; | ||
}; | ||
workflow: Workflow; | ||
isPublished: boolean; | ||
version: VersionInfo; | ||
properties: { | ||
[key: string]: any; | ||
}; | ||
owner: string; | ||
} | ||
declare type ExpressionValueType = 'single' | 'array' | 'unknown'; | ||
@@ -451,2 +477,7 @@ | ||
interface Workflow { | ||
id: string; | ||
state: string; | ||
} | ||
interface ZengentiStatic { | ||
@@ -453,0 +484,0 @@ Contensis: ContensisStatic; |
@@ -7,2 +7,6 @@ # Changelog | ||
## [1.1.5-beta.1] - 2020-04-09 | ||
### Added | ||
- additional EntrySys properties; | ||
## [1.1.5-beta.0] - 2019-12-13 | ||
@@ -9,0 +13,0 @@ ### Added |
@@ -1,3 +0,3 @@ | ||
import { EntryGetOptions, EntryListOptions, IEntryOperations } from '../models'; | ||
import { Entry, IHttpClient, IParamsProvider, PagedList } from 'contensis-core-api'; | ||
import { Entry, EntryGetOptions, EntryListOptions, IEntryOperations } from '../models'; | ||
import { IHttpClient, IParamsProvider, PagedList } from 'contensis-core-api'; | ||
export declare class EntryOperations implements IEntryOperations { | ||
@@ -4,0 +4,0 @@ private httpClient; |
@@ -1,2 +0,3 @@ | ||
import { Entry, VersionStatus, PagedList } from 'contensis-core-api'; | ||
import { Entry } from '../models'; | ||
import { VersionStatus, PagedList } from 'contensis-core-api'; | ||
export declare class LinkResolver<T extends Entry | Entry[] | PagedList<Entry>> { | ||
@@ -3,0 +4,0 @@ private entryOrList; |
@@ -0,4 +1,5 @@ | ||
import { Entry } from './Entry'; | ||
import { EntryGetOptions } from './EntryGetOptions'; | ||
import { EntryListOptions } from './EntryListOptions'; | ||
import { Entry, PagedList } from 'contensis-core-api'; | ||
import { PagedList } from 'contensis-core-api'; | ||
export interface IEntryOperations { | ||
@@ -5,0 +6,0 @@ get(idOrOptions: string | EntryGetOptions): Promise<Entry>; |
@@ -11,4 +11,6 @@ export * from './ClientConfigFactory'; | ||
export * from './ContensisStatic'; | ||
export * from './Entry'; | ||
export * from './EntryGetOptions'; | ||
export * from './EntryListOptions'; | ||
export * from './EntrySys'; | ||
export * from './ExpressionValueType'; | ||
@@ -41,2 +43,3 @@ export * from './IContentTypeOperations'; | ||
export * from './TaxonomyResolveChildrenOptions'; | ||
export * from './Workflow'; | ||
export * from './ZengentiStatic'; |
@@ -0,1 +1,2 @@ | ||
import { Entry } from './Entry'; | ||
import { Node } from './Node'; | ||
@@ -6,3 +7,2 @@ import { NodeGetByIdOptions } from './NodeGetByIdOptions'; | ||
import { NodeGetRootOptions } from './NodeGetRootOptions'; | ||
import { Entry } from 'contensis-core-api'; | ||
import { NodeGetChildrenOptions } from './NodeGetChildrenOptions'; | ||
@@ -9,0 +9,0 @@ import { NodeGetParentOptions } from './NodeGetParentOptions'; |
@@ -1,2 +0,2 @@ | ||
import { Entry } from 'contensis-core-api'; | ||
import { Entry } from './Entry'; | ||
export interface Node { | ||
@@ -3,0 +3,0 @@ id: string; |
@@ -0,3 +1,3 @@ | ||
import { Entry } from './Entry'; | ||
import { NodeDefaultOptions } from './NodeDefaultOptions'; | ||
import { Entry } from 'contensis-core-api'; | ||
export interface NodeGetByEntryOptions extends NodeDefaultOptions { | ||
@@ -4,0 +4,0 @@ entryId?: string; |
@@ -1,3 +0,3 @@ | ||
import { INodeOperations, Node, NodeGetByEntryOptions, NodeGetByIdOptions, NodeGetByPathOptions, NodeGetRootOptions, NodeGetChildrenOptions, NodeGetParentOptions, NodeGetAncestorsOptions, NodeGetAncestorAtLevelOptions, NodeGetSiblingOptions } from '../models'; | ||
import { Entry, IHttpClient, IParamsProvider } from 'contensis-core-api'; | ||
import { Entry, INodeOperations, Node, NodeGetByEntryOptions, NodeGetByIdOptions, NodeGetByPathOptions, NodeGetRootOptions, NodeGetChildrenOptions, NodeGetParentOptions, NodeGetAncestorsOptions, NodeGetAncestorAtLevelOptions, NodeGetSiblingOptions } from '../models'; | ||
import { IHttpClient, IParamsProvider } from 'contensis-core-api'; | ||
export declare class NodeOperations implements INodeOperations { | ||
@@ -4,0 +4,0 @@ private httpClient; |
{ | ||
"name": "contensis-delivery-api", | ||
"version": "1.1.5-beta.0", | ||
"version": "1.1.5-beta.1", | ||
"description": "Contensis Javascript Delivery API", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -25,3 +25,3 @@ # contensis-delivery-api [![NPM version](https://img.shields.io/npm/v/contensis-delivery-api.svg?style=flat)](https://www.npmjs.com/package/contensis-delivery-api) | ||
## Contensis support | ||
This version supports the current Contensis 12.0 beta release. For Contensis 11.3 support use [this version](https://github.com/contensis/contensis-delivery-api/tree/release/1.0) . | ||
This version supports the upcoming Contensis 12.2 release. For Contensis 11.3 support use [this version](https://github.com/contensis/contensis-delivery-api/tree/release/1.0) . | ||
@@ -28,0 +28,0 @@ ## Examples |
import { | ||
EntryGetOptions, EntryListOptions, | ||
Entry, EntryGetOptions, EntryListOptions, | ||
IEntryOperations | ||
@@ -8,3 +8,3 @@ } from '../models'; | ||
import { | ||
ClientParams, defaultMapperForLanguage, defaultMapperForPublishedVersionStatus, Entry, | ||
ClientParams, defaultMapperForLanguage, defaultMapperForPublishedVersionStatus, | ||
IHttpClient, IParamsProvider, isBrowser, isIE, MapperFn, PagedList, UrlBuilder | ||
@@ -11,0 +11,0 @@ } from 'contensis-core-api'; |
@@ -1,4 +0,4 @@ | ||
import { IExpression } from '../models'; | ||
import { Entry, IExpression } from '../models'; | ||
import { Query, Op } from './query'; | ||
import { Entry, VersionStatus, PagedList } from 'contensis-core-api'; | ||
import { VersionStatus, PagedList } from 'contensis-core-api'; | ||
@@ -5,0 +5,0 @@ interface ResolvedEntry { |
@@ -0,4 +1,5 @@ | ||
import { Entry } from './Entry'; | ||
import { EntryGetOptions } from './EntryGetOptions'; | ||
import { EntryListOptions } from './EntryListOptions'; | ||
import { Entry, PagedList } from 'contensis-core-api'; | ||
import { PagedList } from 'contensis-core-api'; | ||
@@ -5,0 +6,0 @@ export interface IEntryOperations { |
@@ -11,4 +11,6 @@ export * from './ClientConfigFactory'; | ||
export * from './ContensisStatic'; | ||
export * from './Entry'; | ||
export * from './EntryGetOptions'; | ||
export * from './EntryListOptions'; | ||
export * from './EntrySys'; | ||
export * from './ExpressionValueType'; | ||
@@ -41,2 +43,3 @@ export * from './IContentTypeOperations'; | ||
export * from './TaxonomyResolveChildrenOptions'; | ||
export * from './Workflow'; | ||
export * from './ZengentiStatic'; |
@@ -0,1 +1,2 @@ | ||
import { Entry } from './Entry'; | ||
import { Node } from './Node'; | ||
@@ -6,3 +7,2 @@ import { NodeGetByIdOptions } from './NodeGetByIdOptions'; | ||
import { NodeGetRootOptions } from './NodeGetRootOptions'; | ||
import { Entry } from 'contensis-core-api'; | ||
import { NodeGetChildrenOptions } from './NodeGetChildrenOptions'; | ||
@@ -9,0 +9,0 @@ import { NodeGetParentOptions } from './NodeGetParentOptions'; |
@@ -1,2 +0,2 @@ | ||
import { Entry } from 'contensis-core-api'; | ||
import { Entry } from './Entry'; | ||
@@ -3,0 +3,0 @@ export interface Node { |
@@ -0,3 +1,4 @@ | ||
import { Entry } from './Entry'; | ||
import { NodeDefaultOptions } from './NodeDefaultOptions'; | ||
import { Entry } from 'contensis-core-api'; | ||
export interface NodeGetByEntryOptions extends NodeDefaultOptions { | ||
@@ -4,0 +5,0 @@ entryId?: string; |
import { | ||
INodeOperations, Node, NodeGetByEntryOptions, | ||
Entry, INodeOperations, Node, NodeGetByEntryOptions, | ||
NodeGetByIdOptions, NodeGetByPathOptions, NodeGetRootOptions, NodeGetChildrenOptions, | ||
@@ -7,3 +7,3 @@ NodeGetParentOptions, NodeGetAncestorsOptions, NodeGetAncestorAtLevelOptions, NodeGetSiblingOptions | ||
import { | ||
Entry, defaultMapperForLanguage, defaultMapperForPublishedVersionStatus, IHttpClient, IParamsProvider, | ||
defaultMapperForLanguage, defaultMapperForPublishedVersionStatus, IHttpClient, IParamsProvider, | ||
isString, UrlBuilder | ||
@@ -10,0 +10,0 @@ } from 'contensis-core-api'; |
Sorry, the diff of this file is not supported yet
866714
333
14543