@tailor-cms/ce-table-server 0.0.1
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.cjs +2367 -0
- package/dist/index.d.cts +25 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +2346 -0
- package/package.json +51 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _tailor_cms_ce_table_manifest from '@tailor-cms/ce-table-manifest';
|
|
2
|
+
import { Element } from '@tailor-cms/ce-table-manifest';
|
|
3
|
+
export { initState, type } from '@tailor-cms/ce-table-manifest';
|
|
4
|
+
import { HookServices, ServerRuntime } from '@tailor-cms/cek-common';
|
|
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;
|
|
12
|
+
declare const hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
|
|
13
|
+
declare const _default: {
|
|
14
|
+
type: string;
|
|
15
|
+
hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
|
|
16
|
+
initState: _tailor_cms_ce_table_manifest.DataInitializer;
|
|
17
|
+
beforeSave: typeof beforeSave;
|
|
18
|
+
afterSave: typeof afterSave;
|
|
19
|
+
afterLoaded: typeof afterLoaded;
|
|
20
|
+
afterRetrieve: typeof afterRetrieve;
|
|
21
|
+
onUserInteraction: typeof onUserInteraction;
|
|
22
|
+
beforeDisplay: typeof beforeDisplay;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { afterLoaded, afterRetrieve, afterSave, beforeDisplay, beforeSave, _default as default, hookMap, onUserInteraction };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _tailor_cms_ce_table_manifest from '@tailor-cms/ce-table-manifest';
|
|
2
|
+
import { Element } from '@tailor-cms/ce-table-manifest';
|
|
3
|
+
export { initState, type } from '@tailor-cms/ce-table-manifest';
|
|
4
|
+
import { HookServices, ServerRuntime } from '@tailor-cms/cek-common';
|
|
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;
|
|
12
|
+
declare const hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
|
|
13
|
+
declare const _default: {
|
|
14
|
+
type: string;
|
|
15
|
+
hookMap: Map<string, typeof beforeSave | typeof afterSave | typeof afterLoaded | typeof afterRetrieve | typeof onUserInteraction | typeof beforeDisplay>;
|
|
16
|
+
initState: _tailor_cms_ce_table_manifest.DataInitializer;
|
|
17
|
+
beforeSave: typeof beforeSave;
|
|
18
|
+
afterSave: typeof afterSave;
|
|
19
|
+
afterLoaded: typeof afterLoaded;
|
|
20
|
+
afterRetrieve: typeof afterRetrieve;
|
|
21
|
+
onUserInteraction: typeof onUserInteraction;
|
|
22
|
+
beforeDisplay: typeof beforeDisplay;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export { afterLoaded, afterRetrieve, afterSave, beforeDisplay, beforeSave, _default as default, hookMap, onUserInteraction };
|