enonic-types
Advanced tools
Comparing version 0.0.30 to 0.0.31
@@ -5,3 +5,3 @@ export interface EventLibrary { | ||
} | ||
interface ListenerParams<A extends object> { | ||
export interface ListenerParams<A extends object> { | ||
readonly type: string; | ||
@@ -11,3 +11,3 @@ readonly callback: (event: EnonicEvent<A>) => void; | ||
} | ||
interface SendParams { | ||
export interface SendParams { | ||
readonly type: EnonicEventTypes; | ||
@@ -17,3 +17,3 @@ readonly distributed: boolean; | ||
} | ||
interface EnonicEvent<A extends object> { | ||
export interface EnonicEvent<A extends object> { | ||
readonly type: EnonicEventTypes; | ||
@@ -34,3 +34,2 @@ readonly timestamp: number; | ||
} | ||
declare type EnonicEventTypes = "node.created" | "node.deleted" | "node.pushed" | "node.duplicated" | "node.updated" | "node.moved" | "node.renamed" | "node.sorted" | "node.stateUpdated" | "node.permissionsUpdated"; | ||
export {}; | ||
export declare type EnonicEventTypes = "node.created" | "node.deleted" | "node.pushed" | "node.duplicated" | "node.updated" | "node.moved" | "node.renamed" | "node.sorted" | "node.stateUpdated" | "node.permissionsUpdated"; |
{ | ||
"name": "enonic-types", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"description": "TypeScript types for Enonic XP", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
39643
1112