@bfwk/document-model
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143452
53
3075
+ Added@bfwk/command@0.7.3(transitive)
+ Added@bfwk/data-service@0.7.3(transitive)
+ Added@bfwk/error-handler@0.7.3(transitive)
+ Added@bfwk/instrumentation@0.7.3(transitive)
+ Added@bfwk/pub-sub@0.7.3(transitive)
+ Added@bfwk/sf-selector@0.7.3(transitive)
+ Added@bfwk/store@0.7.3(transitive)
+ Added@bfwk/undo-redo@0.7.3(transitive)
+ Added@bfwk/utils@0.7.3(transitive)
- Removed@bfwk/command@0.7.2(transitive)
- Removed@bfwk/data-service@0.7.2(transitive)
- Removed@bfwk/error-handler@0.7.2(transitive)
- Removed@bfwk/instrumentation@0.7.2(transitive)
- Removed@bfwk/pub-sub@0.7.2(transitive)
- Removed@bfwk/sf-selector@0.7.2(transitive)
- Removed@bfwk/store@0.7.2(transitive)
- Removed@bfwk/undo-redo@0.7.2(transitive)
- Removed@bfwk/utils@0.7.2(transitive)
Updated@bfwk/command@0.7.3
Updated@bfwk/data-service@0.7.3
Updated@bfwk/error-handler@0.7.3
Updated@bfwk/instrumentation@0.7.3
Updated@bfwk/pub-sub@0.7.3
Updated@bfwk/sf-selector@0.7.3
Updated@bfwk/store@0.7.3
Updated@bfwk/undo-redo@0.7.3
Updated@bfwk/utils@0.7.3