@localess/js-client 0.3.2-next.20250108-102315.0 → 0.3.2-next.20250108-105141.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/cjs/editable.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function llEditable(content:
|
|
1
|
+
import { ContentDataSchema } from "./models";
|
|
2
|
+
export declare function llEditable(content: ContentDataSchema): {
|
|
3
3
|
'data-ll-id': string;
|
|
4
4
|
'data-ll-schema': string;
|
|
5
5
|
};
|
package/dist/cjs/editable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable.js","sourceRoot":"","sources":["../../src/editable.ts"],"names":[],"mappings":";;;AAEA,SAAgB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"editable.js","sourceRoot":"","sources":["../../src/editable.ts"],"names":[],"mappings":";;;AAEA,SAAgB,UAAU,CAAC,OAA0B;IACnD,OAAO;QACL,YAAY,EAAE,OAAO,CAAC,GAAG;QACzB,gBAAgB,EAAE,OAAO,CAAC,MAAM;KACjC,CAAA;AACH,CAAC;AALD,gCAKC"}
|
|
@@ -3,7 +3,10 @@ import { ContentLink } from "./content-link";
|
|
|
3
3
|
import { ContentRichText } from "./content-rich-text";
|
|
4
4
|
import { ContentReference } from "./content-reference";
|
|
5
5
|
export type ContentDataField = any | string | string[] | number | boolean | ContentLink | ContentRichText | ContentData | ContentData[] | ContentAsset | ContentAsset[] | ContentReference | ContentReference[];
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Content Data Schema related information.
|
|
8
|
+
*/
|
|
9
|
+
export interface ContentDataSchema {
|
|
7
10
|
/**
|
|
8
11
|
* Unique identifier of a component in a content.
|
|
9
12
|
*/
|
|
@@ -16,7 +19,7 @@ export interface ContentDataMetadata {
|
|
|
16
19
|
/**
|
|
17
20
|
* ContentData defined Object to connect all possible root Schemas.
|
|
18
21
|
*/
|
|
19
|
-
export interface ContentData extends
|
|
22
|
+
export interface ContentData extends ContentDataSchema {
|
|
20
23
|
/**
|
|
21
24
|
* Other Schema specific fields
|
|
22
25
|
*/
|
package/dist/editable.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function llEditable(content:
|
|
1
|
+
import { ContentDataSchema } from "./models";
|
|
2
|
+
export declare function llEditable(content: ContentDataSchema): {
|
|
3
3
|
'data-ll-id': string;
|
|
4
4
|
'data-ll-schema': string;
|
|
5
5
|
};
|
package/dist/editable.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editable.js","sourceRoot":"","sources":["../src/editable.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"editable.js","sourceRoot":"","sources":["../src/editable.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,UAAU,CAAC,OAA0B;IACnD,OAAO;QACL,YAAY,EAAE,OAAO,CAAC,GAAG;QACzB,gBAAgB,EAAE,OAAO,CAAC,MAAM;KACjC,CAAA;AACH,CAAC"}
|
|
@@ -3,7 +3,10 @@ import { ContentLink } from "./content-link";
|
|
|
3
3
|
import { ContentRichText } from "./content-rich-text";
|
|
4
4
|
import { ContentReference } from "./content-reference";
|
|
5
5
|
export type ContentDataField = any | string | string[] | number | boolean | ContentLink | ContentRichText | ContentData | ContentData[] | ContentAsset | ContentAsset[] | ContentReference | ContentReference[];
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Content Data Schema related information.
|
|
8
|
+
*/
|
|
9
|
+
export interface ContentDataSchema {
|
|
7
10
|
/**
|
|
8
11
|
* Unique identifier of a component in a content.
|
|
9
12
|
*/
|
|
@@ -16,7 +19,7 @@ export interface ContentDataMetadata {
|
|
|
16
19
|
/**
|
|
17
20
|
* ContentData defined Object to connect all possible root Schemas.
|
|
18
21
|
*/
|
|
19
|
-
export interface ContentData extends
|
|
22
|
+
export interface ContentData extends ContentDataSchema {
|
|
20
23
|
/**
|
|
21
24
|
* Other Schema specific fields
|
|
22
25
|
*/
|