enonic-types
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -139,2 +139,12 @@ import { PermissionsParams } from "./content"; | ||
} | ||
export interface NodeModifyParams<A> { | ||
/** | ||
* Path or ID of the node | ||
*/ | ||
readonly key: string; | ||
/** | ||
* Editor callback function | ||
*/ | ||
readonly editor: (node: A & RepoNode) => A & RepoNode; | ||
} | ||
export interface RepoNode { | ||
@@ -154,2 +164,3 @@ readonly _id: string; | ||
query<A>(params: NodeQueryParams): NodeQueryResponse; | ||
modify<A>(params: NodeModifyParams<A>): A & RepoNode; | ||
} |
{ | ||
"name": "enonic-types", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
45995
1288