@tailor-cms/ce-table-server 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -3,12 +3,12 @@ import { Element } from '@tailor-cms/ce-table-manifest';
3
3
  export { initState, type } from '@tailor-cms/ce-table-manifest';
4
4
  import { HookServices, ServerRuntime } from '@tailor-cms/cek-common';
5
5
 
6
- declare function beforeSave(element: Element, services: HookServices): Element;
7
- declare function afterSave(element: Element, services: HookServices): Element;
8
- declare function afterLoaded(element: Element, services: HookServices, runtime: ServerRuntime): Element;
9
- declare function afterRetrieve(element: Element, services: HookServices, runtime: ServerRuntime): Element;
10
- declare function beforeDisplay(element: Element, context: any): any;
11
- declare function onUserInteraction(element: Element, context: any, payload: any): any;
6
+ declare function beforeSave(element: Element, _services: HookServices): Element;
7
+ declare function afterSave(element: Element, _services: HookServices): Element;
8
+ declare function afterLoaded(element: Element, _services: HookServices, _runtime: ServerRuntime): Element;
9
+ declare function afterRetrieve(element: Element, _services: HookServices, _runtime: ServerRuntime): Element;
10
+ declare function beforeDisplay(_element: Element, context: any): any;
11
+ declare function onUserInteraction(_element: Element, context: any, payload: any): any;
12
12
  declare const hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
13
13
  declare const _default: {
14
14
  type: string;
package/dist/index.d.ts CHANGED
@@ -3,12 +3,12 @@ import { Element } from '@tailor-cms/ce-table-manifest';
3
3
  export { initState, type } from '@tailor-cms/ce-table-manifest';
4
4
  import { HookServices, ServerRuntime } from '@tailor-cms/cek-common';
5
5
 
6
- declare function beforeSave(element: Element, services: HookServices): Element;
7
- declare function afterSave(element: Element, services: HookServices): Element;
8
- declare function afterLoaded(element: Element, services: HookServices, runtime: ServerRuntime): Element;
9
- declare function afterRetrieve(element: Element, services: HookServices, runtime: ServerRuntime): Element;
10
- declare function beforeDisplay(element: Element, context: any): any;
11
- declare function onUserInteraction(element: Element, context: any, payload: any): any;
6
+ declare function beforeSave(element: Element, _services: HookServices): Element;
7
+ declare function afterSave(element: Element, _services: HookServices): Element;
8
+ declare function afterLoaded(element: Element, _services: HookServices, _runtime: ServerRuntime): Element;
9
+ declare function afterRetrieve(element: Element, _services: HookServices, _runtime: ServerRuntime): Element;
10
+ declare function beforeDisplay(_element: Element, context: any): any;
11
+ declare function onUserInteraction(_element: Element, context: any, payload: any): any;
12
12
  declare const hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
13
13
  declare const _default: {
14
14
  type: string;