@dotcms/types 1.2.1-next.2 → 1.2.1-next.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/types",
3
- "version": "1.2.1-next.2",
3
+ "version": "1.2.1-next.4",
4
4
  "keywords": [
5
5
  "dotCMS",
6
6
  "CMS",
package/src/internal.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './lib/components/block-editor-renderer/internal';
2
2
  export * from './lib/events/internal';
3
3
  export * from './lib/editor/internal';
4
4
  export * from './lib/ai/internal';
5
+ export * from './lib/client/internal';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Callback for a fulfilled promise.
3
+ *
4
+ * @template T - The type of the response.
5
+ * @callback ThenableCallback
6
+ * @param {T} value - The response value.
7
+ * @returns {T | PromiseLike<T> | void} The processed response or a promise.
8
+ */
9
+ export type ThenableCallback<T> = ((value: T) => T | PromiseLike<T> | void) | undefined | null;