feature-libs/product-configurator/rulebased/cpq/rest/cpq-configurator-endpoint.config.ts
Properties |
|
Optional backend |
Type : CpqConfiguratorBackendConfig
|
import { Injectable } from '@angular/core';
import { Config } from '@spartacus/core';
interface CpqConfiguratorBackendConfig {
cpq?: {
endpoints: {
configurationInit: string;
configurationDisplay: string;
attributeUpdate: string;
valueUpdate: string;
};
prefix: string;
};
}
@Injectable({
providedIn: 'root',
useExisting: Config,
})
export abstract class CpqConfiguratorEndpointConfig {
backend?: CpqConfiguratorBackendConfig;
}
declare module '@spartacus/core' {
interface BackendConfig extends CpqConfiguratorBackendConfig {}
}