Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bfwk/data-service

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bfwk/data-service - npm Package Compare versions

Comparing version 0.6.22 to 0.6.23

7

CHANGELOG.md

@@ -6,10 +6,13 @@ # Change Log

## [0.6.22](https://github.com/salesforce/builder-framework/compare/v0.6.21...v0.6.22) (2021-05-25)
## [0.6.23](https://github.com/salesforce/builder-framework/compare/v0.6.22...v0.6.23) (2021-05-27)
**Note:** Version bump only for package @bfwk/data-service
### Bug Fixes
* binding sheet refactor for target as service @W-9281810 ([#52](https://github.com/salesforce/builder-framework/issues/52)) ([eb3cdc7](https://github.com/salesforce/builder-framework/commit/eb3cdc78e9e3820de8bf936ff2956e3dc74c3181))
## [0.6.7](https://git.soma.salesforce.com/BuilderFramework/builder-framework/compare/v0.6.6...v0.6.7) (2021-04-05)

@@ -16,0 +19,0 @@

@@ -231,5 +231,13 @@ import { generateGuid } from '@bfwk/utils';

async getComponentInfo(fullyQualifiedName, params = {}) {
let resource = 'componentInfo';
if (params &&
params.config &&
params.config.resource === 'getBindingSheetInfo') {
// When the property sheet is used for a binding sheet(DI), the resource to
// be obtained is different - bindingSheetInfo.
resource = 'bindingSheetInfo';
}
const result = await this.dataService.get({
id: fullyQualifiedName,
resource: 'componentInfo',
resource: resource,
}, {

@@ -236,0 +244,0 @@ params,

@@ -1,2 +0,2 @@

import { DesignTimeComponentInfo, DesignTimeComponentInfoService, DesignTimeInfoParams } from './design-time-component-info-service';
import { DesignTimeComponentInfo, BindingSheet, DesignTimeComponentInfoService, DesignTimeInfoParams } from './design-time-component-info-service';
import { DataService } from './data-service';

@@ -6,3 +6,3 @@ export declare class DesignTimeComponentInfoServiceImpl implements DesignTimeComponentInfoService {

constructor(dataService: DataService);
getComponentInfo(fullyQualifiedName: string, params?: DesignTimeInfoParams): Promise<DesignTimeComponentInfo | undefined>;
getComponentInfo(fullyQualifiedName: string, params?: DesignTimeInfoParams): Promise<DesignTimeComponentInfo | BindingSheet | undefined>;
}

@@ -34,2 +34,7 @@ import { DeclarativeType, DeclarativeTypeMap, Json } from '@lcem/canonical-ui-metadata-schema';

}
export interface BindingSheet extends DesignTimeComponentInfo {
serviceTypeName: string;
serviceName: string;
methodName: string;
}
export interface DesignTimeComponentLayoutInfo {

@@ -52,3 +57,3 @@ sections: DesignTimeComponentLayoutSectionInfo[];

export interface DesignTimeComponentInfoService {
getComponentInfo(fullyQualifiedName: string, params?: DesignTimeInfoParams): Promise<DesignTimeComponentInfo | undefined>;
getComponentInfo(fullyQualifiedName: string, params?: DesignTimeInfoParams): Promise<DesignTimeComponentInfo | BindingSheet | undefined>;
}

@@ -1,4 +0,4 @@

import { DesignTimeComponentInfo, DesignTimeComponentInfoService } from './design-time-component-info-service';
import { DesignTimeComponentInfo, BindingSheet, DesignTimeComponentInfoService } from './design-time-component-info-service';
export declare class LocalDesignTimeComponentInfoService implements DesignTimeComponentInfoService {
getComponentInfo(fullyQualifiedName: string): Promise<DesignTimeComponentInfo | undefined>;
getComponentInfo(fullyQualifiedName: string): Promise<DesignTimeComponentInfo | BindingSheet | undefined>;
}
{
"name": "@bfwk/data-service",
"version": "0.6.22",
"version": "0.6.23",
"description": "LBF Data Services",

@@ -31,3 +31,3 @@ "type": "module",

"dependencies": {
"@bfwk/utils": "0.6.22",
"@bfwk/utils": "0.6.23",
"@lcem/canonical-ui-metadata-schema": "0.6.8",

@@ -34,0 +34,0 @@ "@lcem/declarative-type-validator": "0.6.8"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc