@commercetools-demo/puck-content-manager 0.5.2 → 0.6.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.d.mts CHANGED
@@ -17,6 +17,8 @@ interface ContentEditorProps {
17
17
  projectKey: string;
18
18
  businessUnitKey: string;
19
19
  jwtToken: string;
20
+ /** Content locale (e.g. "en-US") used for locale-aware calls like product search */
21
+ locale?: string;
20
22
  contentKey: string;
21
23
  /** Puck component config — must match what's used in the renderer */
22
24
  config: Config;
@@ -33,6 +35,8 @@ interface ContentManagerProps {
33
35
  projectKey: string;
34
36
  businessUnitKey: string;
35
37
  jwtToken: string;
38
+ /** Content locale (e.g. "en-US") used for locale-aware calls like product search */
39
+ locale?: string;
36
40
  /** Puck component config — must match what's used in the renderer. Defaults to defaultPuckConfig. */
37
41
  config?: Config;
38
42
  defaultContentType?: string;
package/dist/index.d.ts CHANGED
@@ -17,6 +17,8 @@ interface ContentEditorProps {
17
17
  projectKey: string;
18
18
  businessUnitKey: string;
19
19
  jwtToken: string;
20
+ /** Content locale (e.g. "en-US") used for locale-aware calls like product search */
21
+ locale?: string;
20
22
  contentKey: string;
21
23
  /** Puck component config — must match what's used in the renderer */
22
24
  config: Config;
@@ -33,6 +35,8 @@ interface ContentManagerProps {
33
35
  projectKey: string;
34
36
  businessUnitKey: string;
35
37
  jwtToken: string;
38
+ /** Content locale (e.g. "en-US") used for locale-aware calls like product search */
39
+ locale?: string;
36
40
  /** Puck component config — must match what's used in the renderer. Defaults to defaultPuckConfig. */
37
41
  config?: Config;
38
42
  defaultContentType?: string;