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

@bfwk/document-model

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/document-model - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

dist/types/dataprovider-model.d.ts

2

CHANGELOG.md

@@ -6,3 +6,3 @@ # Change Log

## [0.7.2](https://github.com/salesforce/builder-framework/compare/v0.7.0...v0.7.2) (2021-08-04)
## [0.7.3](https://github.com/salesforce/builder-framework/compare/v0.7.2...v0.7.3) (2021-08-05)

@@ -9,0 +9,0 @@ **Note:** Version bump only for package @bfwk/document-model

@@ -9,2 +9,16 @@ import { Guid } from '@bfwk/utils';

export declare const GET_ANCESTORS_SELECTOR = "getAncestors";
export declare const GET_DEFINITION_SELECTOR = "getDefinition";
export interface PropertyPair {
name: string;
value: {
value: any;
error: any;
};
}
export declare type GetPropertiesSelectorPayload = PropertyPair[];
export interface GetPropertiesSelectorInput {
nodeId: string;
}
declare type DocState = any;
export declare type GetPropertiesSelector = (document: DocState, props: GetPropertiesSelectorInput) => GetPropertiesSelectorPayload;
export declare function getNodes<T>(document: ACTDocument<T>): NormalizedNodeMap<T>;

@@ -27,6 +41,2 @@ export declare function getNode<T>(document: ACTDocument<T>, props: {

}): any;
export interface PropertyPair {
name: string;
value: any;
}
export declare function getProperties(document: ACTDocument, props: {

@@ -45,2 +55,5 @@ nodeId: Guid;

}): T[];
export declare function getDefinition(document: ACTDocument, props: {
nodeId: string;
}): string;
/**

@@ -55,1 +68,2 @@ * Maps all the children to their parents. ChildParentMap is a simple LUT { childId: parentId, ... }

}
export {};

@@ -15,3 +15,3 @@ export { Document, DocumentModel, DocumentMutator, DOCUMENT_MODEL_PART, } from './model';

export { ActNodeService } from './act/act-node-service';
export { getNodes, getNode, PropertyPair, getPropertySelectorHelper, getPropertiesSelectorHelper, getAncestors, GET_PROPERTY_SELECTOR, GET_PROPERTIES_SELECTOR, GET_NODE_SELECTOR, GET_ANCESTORS_SELECTOR, } from './act/act-selectors';
export { getNodes, getNode, PropertyPair, getPropertySelectorHelper, getPropertiesSelectorHelper, getAncestors, GET_PROPERTY_SELECTOR, GET_PROPERTIES_SELECTOR, GET_NODE_SELECTOR, GET_NODES_SELECTOR, GET_ANCESTORS_SELECTOR, GET_DEFINITION_SELECTOR, GetPropertiesSelectorPayload, } from './act/act-selectors';
export { find, findParent, findTrailingSibling, getRootId, flattenTrees, getTree, } from './act/utils/act-document-utils';

@@ -33,4 +33,5 @@ export { ModelHostRemote } from './act/legacy-client-model/model-host-remote';

export { ADD_DI, UPDATE_DI, DELETE_DI, DIPubSubEventPayload, } from './act/legacy-client-model/model-with-di/model-with-di-events';
export { ADD_DP, UPDATE_DP, DELETE_DP, DataProviderPropertyValue, DPPropertyValues, DPUpdatePayload, DPAddPayload, DPDeletePayload, DataProviderNode, GET_DATA_PROVIDERS_FOR_SOURCE_SELECTOR, DataProvidersSelectorPayload, DataSourceConnector, } from './dataprovider-model';
export { SaveCommand } from './commands/save';
export { UndoCommand } from './commands/undo';
export { RedoCommand } from './commands/redo';
{
"name": "@bfwk/document-model",
"version": "0.7.2",
"version": "0.7.3",
"description": "Lightning Builder Framework - Document Model",

@@ -28,11 +28,11 @@ "type": "module",

"dependencies": {
"@bfwk/command": "0.7.2",
"@bfwk/data-service": "0.7.2",
"@bfwk/error-handler": "0.7.2",
"@bfwk/instrumentation": "0.7.2",
"@bfwk/pub-sub": "0.7.2",
"@bfwk/sf-selector": "0.7.2",
"@bfwk/store": "0.7.2",
"@bfwk/undo-redo": "0.7.2",
"@bfwk/utils": "0.7.2",
"@bfwk/command": "0.7.3",
"@bfwk/data-service": "0.7.3",
"@bfwk/error-handler": "0.7.3",
"@bfwk/instrumentation": "0.7.3",
"@bfwk/pub-sub": "0.7.3",
"@bfwk/sf-selector": "0.7.3",
"@bfwk/store": "0.7.3",
"@bfwk/undo-redo": "0.7.3",
"@bfwk/utils": "0.7.3",
"@lwc/wire-service": "2.2.9"

@@ -39,0 +39,0 @@ },

Sorry, the diff of this file is too big to display

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