9.0.10076 • Published 4 years ago

@acoustic-content-sdk/component-rest v9.0.10076

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

npm

Implementation of base classes to implement SDK services based on REST.

API Documentation

Home > @acoustic-content-sdk/component-rest

component-rest package

Implementation of base classes to implement SDK services based on REST.

Classes

ClassDescription
AbstractAuthStatusServiceChecks for the authentication status based on a REST request
AbstractDeliveryContentResolverServiceBase class to implement DeliveryContentResolver
AbstractDeliveryLayoutMappingResolverServiceBase class to implement DeliveryLayoutMappingResolver
AbstractDeliveryLayoutResolverServiceBase class to implement DeliveryLayoutResolver
AbstractDeliveryPageResolverServiceBase class to implement DeliveryPageResolver
AbstractDeliveryTypeResolverServiceBase class to implement DeliveryTypeResolver
AbstractSiteResolverService

Functions

FunctionDescription
createUrlConfig(aBaseUrl, aApiUrl, aResourceUrl, aDocument)Construcs a UrlConfig object based on some configuration

Variables

VariableDescription
VERSIONVersion and build number of the package

Home > @acoustic-content-sdk/component-rest > AbstractAuthStatusService

AbstractAuthStatusService class

Checks for the authentication status based on a REST request

Signature:

export declare class AbstractAuthStatusService implements AuthStatus 

Constructors

ConstructorModifiersDescription
(constructor)(aFetchText, aLogSvc)Initialization of the service.

Properties

PropertyModifiersTypeDescription
authenticated$Observable<boolean>

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryContentResolverService

AbstractDeliveryContentResolverService class

Base class to implement DeliveryContentResolver

Signature:

export declare class AbstractDeliveryContentResolverService implements DeliveryContentResolver 

Constructors

ConstructorModifiersDescription
(constructor)(aSearch, aLogSvc)Initialization

Properties

PropertyModifiersTypeDescription
getDeliveryContentItem(aID: string) => Observable<DeliveryContentItem>

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryLayoutMappingResolverService

AbstractDeliveryLayoutMappingResolverService class

Base class to implement DeliveryLayoutMappingResolver

Signature:

export declare class AbstractDeliveryLayoutMappingResolverService implements DeliveryLayoutMappingResolver 

Constructors

ConstructorModifiersDescription
(constructor)(aSearch, aLogSvc)Initialization

Properties

PropertyModifiersTypeDescription
getDeliveryLayoutMapping(aTypeId: string) => Observable<DeliveryLayoutMapping>

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryLayoutResolverService

AbstractDeliveryLayoutResolverService class

Base class to implement DeliveryLayoutResolver

Signature:

export declare class AbstractDeliveryLayoutResolverService implements DeliveryLayoutResolver 

Constructors

ConstructorModifiersDescription
(constructor)(aSearch, aLogSvc)Initialization

Properties

PropertyModifiersTypeDescription
getDeliveryLayout(aID: string) => Observable<DeliveryLayout>

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryPageResolverService

AbstractDeliveryPageResolverService class

Base class to implement DeliveryPageResolver

Signature:

export declare class AbstractDeliveryPageResolverService implements DeliveryPageResolver 

Constructors

ConstructorModifiersDescription
(constructor)(aSearch, aLogSvc)Initialization

Properties

PropertyModifiersTypeDescription
getDeliveryPage(aPath: string) => Observable<DeliveryContentItem>

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryTypeResolverService

AbstractDeliveryTypeResolverService class

Base class to implement DeliveryTypeResolver

Signature:

export declare class AbstractDeliveryTypeResolverService implements DeliveryTypeResolver 

Constructors

ConstructorModifiersDescription
(constructor)(aSearch, aLogSvc)Initialization

Properties

PropertyModifiersTypeDescription
getDeliveryType(aId: string) => Observable<DeliveryType>

Home > @acoustic-content-sdk/component-rest > AbstractSiteResolverService

AbstractSiteResolverService class

Signature:

export declare class AbstractSiteResolverService implements DeliverySiteResolver 

Constructors

ConstructorModifiersDescription
(constructor)(aFetchText, aProtected, aLogSvc)Constructs a new instance of the AbstractSiteResolverService class

Properties

PropertyModifiersTypeDescription
getSiteDeliveryContentItem() => Observable<SiteDeliveryContentItem>

Home > @acoustic-content-sdk/component-rest > createUrlConfig

createUrlConfig() function

Construcs a UrlConfig object based on some configuration

Signature:

export declare function createUrlConfig(aBaseUrl?: HubInfoUrlProvider, aApiUrl?: HubInfoUrlProvider, aResourceUrl?: HubInfoUrlProvider, aDocument?: any): Observable<UrlConfig>;

Parameters

ParameterTypeDescription
aBaseUrlHubInfoUrlProviderthe base URL
aApiUrlHubInfoUrlProviderthe API URL
aResourceUrlHubInfoUrlProviderthe resource URL
aDocumentanythe document

Returns:

Observable<UrlConfig>

the observable of the UrlConfig object

Home > @acoustic-content-sdk/component-rest > VERSION

VERSION variable

Version and build number of the package

Signature:

VERSION: {
    version: {
        major: string;
        minor: string;
        patch: string;
        branch: string;
    };
    build: Date;
}

Home > @acoustic-content-sdk/component-rest > AbstractAuthStatusService > (constructor)

AbstractAuthStatusService.(constructor)

Initialization of the service.

Signature:

protected constructor(aFetchText: FetchText, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aFetchTextFetchTextthe callback to make a request
aLogSvcLoggerServicethe logger service

Home > @acoustic-content-sdk/component-rest > AbstractAuthStatusService > authenticated$

AbstractAuthStatusService.authenticated$ property

Signature:

authenticated$: Observable<boolean>;

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryContentResolverService > (constructor)

AbstractDeliveryContentResolverService.(constructor)

Initialization

Signature:

protected constructor(aSearch: DeliverySearchResolver, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aSearchDeliverySearchResolversearch service that is uses to back the content service
aLogSvcLoggerServicelogger service

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryContentResolverService > getDeliveryContentItem

AbstractDeliveryContentResolverService.getDeliveryContentItem property

Signature:

getDeliveryContentItem: (aID: string) => Observable<DeliveryContentItem>;

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryLayoutMappingResolverService > (constructor)

AbstractDeliveryLayoutMappingResolverService.(constructor)

Initialization

Signature:

protected constructor(aSearch: DeliverySearchResolver, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aSearchDeliverySearchResolversearch service that is uses to back the content service
aLogSvcLoggerServicelogger service

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryLayoutMappingResolverService > getDeliveryLayoutMapping

AbstractDeliveryLayoutMappingResolverService.getDeliveryLayoutMapping property

Signature:

getDeliveryLayoutMapping: (aTypeId: string) => Observable<DeliveryLayoutMapping>;

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryLayoutResolverService > (constructor)

AbstractDeliveryLayoutResolverService.(constructor)

Initialization

Signature:

protected constructor(aSearch: DeliverySearchResolver, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aSearchDeliverySearchResolversearch service that is uses to back the content service
aLogSvcLoggerServicelogger service

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryLayoutResolverService > getDeliveryLayout

AbstractDeliveryLayoutResolverService.getDeliveryLayout property

Signature:

getDeliveryLayout: (aID: string) => Observable<DeliveryLayout>;

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryPageResolverService > (constructor)

AbstractDeliveryPageResolverService.(constructor)

Initialization

Signature:

protected constructor(aSearch: DeliverySearchResolver, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aSearchDeliverySearchResolversearch service that is uses to back the content service
aLogSvcLoggerServicelogger service

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryPageResolverService > getDeliveryPage

AbstractDeliveryPageResolverService.getDeliveryPage property

Signature:

getDeliveryPage: (aPath: string) => Observable<DeliveryContentItem>;

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryTypeResolverService > (constructor)

AbstractDeliveryTypeResolverService.(constructor)

Initialization

Signature:

protected constructor(aSearch: DeliverySearchResolver, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aSearchDeliverySearchResolversearch service that is uses to back the content service
aLogSvcLoggerServicelogger service

Home > @acoustic-content-sdk/component-rest > AbstractDeliveryTypeResolverService > getDeliveryType

AbstractDeliveryTypeResolverService.getDeliveryType property

Signature:

getDeliveryType: (aId: string) => Observable<DeliveryType>;

Home > @acoustic-content-sdk/component-rest > AbstractSiteResolverService > (constructor)

AbstractSiteResolverService.(constructor)

Constructs a new instance of the AbstractSiteResolverService class

Signature:

protected constructor(aFetchText: FetchText, aProtected: ProtectedContent, aLogSvc?: LoggerService);

Parameters

ParameterTypeDescription
aFetchTextFetchText
aProtectedProtectedContent
aLogSvcLoggerService

Home > @acoustic-content-sdk/component-rest > AbstractSiteResolverService > getSiteDeliveryContentItem

AbstractSiteResolverService.getSiteDeliveryContentItem property

Signature:

getSiteDeliveryContentItem: () => Observable<SiteDeliveryContentItem>;
9.0.10076

4 years ago

9.0.10067

4 years ago

9.0.10040

4 years ago

9.0.10034

4 years ago

9.0.495

4 years ago

9.0.493

4 years ago

9.0.462

4 years ago

9.0.407

4 years ago

9.0.384

4 years ago

9.0.361

4 years ago

9.0.360

4 years ago

9.0.271

4 years ago

9.0.270

4 years ago

9.0.251

4 years ago

9.0.242

4 years ago

9.0.216

4 years ago

9.0.209

4 years ago

9.0.89

4 years ago

9.0.30

4 years ago