@localess/js-client 0.8.2-next.20250625-063005.0 → 0.8.2-next.20250625-083423.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.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -274,8 +274,11 @@ type EventToApp = {
|
|
|
274
274
|
} | {
|
|
275
275
|
type: 'enterSchema' | 'hoverSchema';
|
|
276
276
|
id: string;
|
|
277
|
+
schema: string;
|
|
278
|
+
field?: string;
|
|
277
279
|
};
|
|
278
280
|
interface LocalessSync {
|
|
281
|
+
onChange: (callback: EventCallback) => void;
|
|
279
282
|
on: (event: EventToAppType | EventToAppType[], callback: EventCallback) => void;
|
|
280
283
|
}
|
|
281
284
|
declare global {
|
|
@@ -284,4 +287,4 @@ declare global {
|
|
|
284
287
|
}
|
|
285
288
|
}
|
|
286
289
|
|
|
287
|
-
export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type
|
|
290
|
+
export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type Links, type LinksFetchParams, type LocalessClient, type LocalessClientOptions, type LocalessSync, type Translations, llEditable, llEditableField, loadLocalessSync, localessClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -274,8 +274,11 @@ type EventToApp = {
|
|
|
274
274
|
} | {
|
|
275
275
|
type: 'enterSchema' | 'hoverSchema';
|
|
276
276
|
id: string;
|
|
277
|
+
schema: string;
|
|
278
|
+
field?: string;
|
|
277
279
|
};
|
|
278
280
|
interface LocalessSync {
|
|
281
|
+
onChange: (callback: EventCallback) => void;
|
|
279
282
|
on: (event: EventToAppType | EventToAppType[], callback: EventCallback) => void;
|
|
280
283
|
}
|
|
281
284
|
declare global {
|
|
@@ -284,4 +287,4 @@ declare global {
|
|
|
284
287
|
}
|
|
285
288
|
}
|
|
286
289
|
|
|
287
|
-
export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type
|
|
290
|
+
export { type Content, type ContentAsset, type ContentData, type ContentDataField, type ContentDataSchema, type ContentFetchParams, type ContentLink, type ContentMetadata, type ContentReference, type ContentRichText, type EventCallback, type Links, type LinksFetchParams, type LocalessClient, type LocalessClientOptions, type LocalessSync, type Translations, llEditable, llEditableField, loadLocalessSync, localessClient };
|